:root {
  --petrol: #052f35;
  --petrol-deep: #032329;
  --petrol-soft: #164149;
  --paper: #ffffff;
  --bone: #f4efe5;
  --bone-deep: #e7ded0;
  --ink: #082b31;
  --text: #314c51;
  --muted: #5c6f72;
  --signal: #f45a48;
  --signal-dark: #a62e24;
  --aqua: #66dbce;
  --line: #cbd6d4;
  --focus: #008f83;
  --success: #0b6f51;
  --error: #a5221a;
  --shadow: 0 18px 50px rgba(3, 35, 41, .12);
  --content: 1120px;
  --display: "Arial Black", "Helvetica Neue", Arial, system-ui, sans-serif;
  --body: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--petrol-deep);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 280px;
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration-thickness: .1em;
  text-underline-offset: .2em;
}

a:hover {
  text-decoration-thickness: .16em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

h1 {
  font-size: 3.2rem;
  font-size: clamp(3rem, 7vw, 6.2rem);
  text-wrap: balance;
}

h2 {
  font-size: 2.25rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  text-wrap: balance;
}

p,
li {
  max-width: 72ch;
}

.wrap {
  width: calc(100% - 48px);
  max-width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--petrol-deep);
  background: var(--aqua);
  border-radius: 3px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  color: #fff;
  background: var(--petrol-deep);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--petrol-deep);
  background: var(--aqua);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
}

.brand > span:last-child {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 5px;
  color: var(--signal);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.privacy-link {
  min-height: 44px;
  padding: 10px 0;
  font-weight: 800;
}

.hero {
  padding: 78px 0 84px;
  color: #fff;
  background: var(--petrol-deep);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr);
  align-items: end;
  gap: 64px;
}

.hero h1 {
  max-width: 850px;
}

.hero-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: #d9e5e3;
  font-size: 1.2rem;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--signal-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--signal);
}

.eyebrow-light {
  color: #fff;
}

.privacy-summary {
  padding: 28px;
  color: var(--petrol-deep);
  background: var(--aqua);
  box-shadow: var(--shadow);
}

.privacy-summary h2 {
  font-size: 2rem;
}

.privacy-summary ul {
  padding-left: 22px;
  font-weight: 750;
}

.privacy-summary p:last-child {
  margin-bottom: 0;
  font-size: .91rem;
}

.panel-index {
  margin-bottom: 22px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.safety-band {
  padding: 48px 0;
  color: #fff;
  background: var(--signal-dark);
}

.safety-grid {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 64px;
}

.safety-band h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.safety-band p:last-child {
  margin-bottom: 0;
}

.noscript-notice {
  margin-top: 32px;
  padding: 18px 20px;
  color: #fff;
  background: var(--error);
  font-weight: 800;
}

.brief-section {
  padding: 90px 0 110px;
  background: var(--bone);
}

.brief-layout {
  display: grid;
  gap: 38px;
}

.brief-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: 16px 64px;
  padding-bottom: 10px;
}

.brief-heading .eyebrow,
.brief-heading h2 {
  grid-column: 1;
}

.brief-heading > p:not(.eyebrow) {
  grid-column: 2;
}

.brief-heading h2 {
  margin-bottom: 0;
}

.no-save-note {
  padding: 15px 18px;
  color: var(--petrol-deep);
  background: #fff;
  border-left: 5px solid var(--signal);
}

form {
  display: grid;
  gap: 28px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(3, 35, 41, .06);
}

legend {
  padding: 0 12px 0 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

legend span {
  display: inline-block;
  margin-right: 8px;
  color: var(--signal-dark);
  font-family: var(--body);
  font-size: .75rem;
  letter-spacing: .08em;
  vertical-align: middle;
}

.field + .field {
  margin-top: 30px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

input[type="text"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 2px solid #829695;
  border-radius: 0;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--petrol-soft);
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: var(--error);
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 7px;
  color: var(--muted);
}

.field-meta small:first-child {
  max-width: 65ch;
}

.field-meta small:last-child {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.confirmation {
  padding: 25px 28px;
  color: #fff;
  background: var(--petrol);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.checkbox-row input {
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--aqua);
}

.checkbox-row label {
  margin: 0;
  color: #fff;
}

.confirmation > p {
  margin: 14px 0 0 39px;
  color: #d6e5e3;
  font-size: .9rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--petrol-deep);
  background: #fff;
  border: 2px solid var(--petrol-deep);
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--petrol-soft);
}

.button-primary {
  color: #fff;
  background: var(--signal-dark);
  border-color: var(--signal-dark);
}

.button-primary:hover {
  background: var(--petrol-deep);
  border-color: var(--petrol-deep);
}

.button-reset {
  margin-left: auto;
  color: var(--error);
  border-color: currentColor;
}

.action-warning {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.action-status {
  min-height: 1.55em;
  margin: -4px 0 0;
  font-weight: 800;
}

.action-status[data-kind="success"] {
  color: var(--success);
}

.action-status[data-kind="error"] {
  color: var(--error);
}

.output-panel {
  padding: 32px;
  color: #fff;
  background: var(--petrol-deep);
  box-shadow: var(--shadow);
}

.output-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.output-heading h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.output-heading > span {
  padding: 6px 9px;
  color: var(--petrol-deep);
  background: var(--aqua);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

pre {
  max-height: 620px;
  margin: 26px 0 0;
  padding: 22px;
  overflow: auto;
  color: #e8f1ef;
  background: #021b20;
  border: 1px solid rgba(255, 255, 255, .15);
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: .9rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.site-footer {
  padding: 46px 0;
  color: #d8e5e3;
  background: var(--petrol-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid strong {
  color: #fff;
}

.footer-grid p {
  margin: 6px 0 0;
  font-size: .87rem;
}

.article-main {
  padding: 88px 0 110px;
  background: var(--bone);
}

.policy {
  max-width: 820px;
  padding: 46px;
  background: #fff;
  box-shadow: var(--shadow);
}

.policy h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.policy h2 {
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.policy li + li {
  margin-top: 9px;
}

.policy-lead {
  color: var(--petrol-soft);
  font-size: 1.2rem;
  font-weight: 650;
}

.policy-back {
  margin-top: 44px;
}

.error-page {
  color: #fff;
  background: var(--petrol-deep);
}

.error-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 0;
}

.error-card {
  max-width: 780px;
}

.error-card h1 {
  font-size: clamp(3.2rem, 9vw, 6.8rem);
}

.error-card > p:not(.eyebrow) {
  color: #d8e5e3;
  font-size: 1.15rem;
}

@media (max-width: 780px) {
  .hero-grid,
  .safety-grid,
  .brief-heading,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .safety-grid {
    gap: 38px;
  }

  .brief-heading .eyebrow,
  .brief-heading h2,
  .brief-heading > p:not(.eyebrow) {
    grid-column: 1;
  }

  .button-reset {
    margin-left: 0;
  }

  .policy {
    padding: 32px 26px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 30px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px 0;
  }

  .privacy-link {
    min-height: 38px;
  }

  .hero {
    padding: 54px 0 58px;
  }

  .brief-section,
  .article-main {
    padding: 60px 0 72px;
  }

  fieldset,
  .output-panel {
    padding: 24px 18px;
  }

  .field-meta,
  .output-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .form-actions,
  .button {
    width: 100%;
  }

  .confirmation {
    padding: 22px 18px;
  }

  .confirmation > p {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  .brand-mark,
  .privacy-summary,
  .output-heading > span {
    border: 2px solid currentColor;
  }

  .button,
  input,
  select,
  textarea {
    border: 2px solid currentColor;
  }
}
