:root {
  color-scheme: light;
  --navy: #06192b;
  --navy-raised: #0b2940;
  --teal: #4ca9ad;
  --teal-bright: #77d4d0;
  --ivory: #f7f2e8;
  --white: #ffffff;
  --ink: #10253a;
  --muted: #536474;
  --amber: #ffb45f;
  --coral: #f38b67;
  --border-dark: rgba(119, 212, 208, 0.34);
  --border-light: #c8d5d4;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --content: 72rem;
  --reading: 47rem;
  --radius: 0.75rem;
  --shadow: 0 1.5rem 4.5rem rgba(0, 8, 18, 0.28);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--coral);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 0.18rem solid var(--amber);
  outline-offset: 0.24rem;
  box-shadow: 0 0 0 0.18rem var(--navy);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.4rem;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 140ms ease;
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border-dark);
  background: var(--navy);
  color: var(--ivory);
}

.header-inner,
.section-inner,
.footer-inner,
.hero-inner,
.document-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 2.7rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border: 0.16rem solid var(--amber);
  border-radius: 50%;
}

.brand-mark::before {
  position: absolute;
  top: 0.65rem;
  left: 0.78rem;
  width: 0.25rem;
  height: 0.85rem;
  border-radius: 1rem;
  background: var(--amber);
  box-shadow: 0.55rem 0 0 var(--amber);
  content: "";
}

.brand-mark::after {
  position: absolute;
  bottom: -0.32rem;
  left: 0.28rem;
  width: 0.66rem;
  height: 0.66rem;
  border-bottom: 0.16rem solid var(--amber);
  border-left: 0.16rem solid var(--amber);
  background: var(--navy);
  transform: rotate(-22deg) skew(-18deg);
  content: "";
}

.site-nav ul,
.footer-nav ul,
.inline-links,
.document-nav ul,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 1.6rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.65rem 0.15rem;
  color: var(--ivory);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--amber);
}

.hero {
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}

.hero-inner {
  display: grid;
  min-height: 47rem;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.hero-copy {
  max-width: 43rem;
}

.hero h1,
.page-intro h1,
.section-title,
.document-content h2,
.document-content h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  line-height: 0.98;
}

.hero h1::after {
  color: var(--coral);
  content: ".";
}

.hero-copy > p {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: rgba(247, 242, 232, 0.86);
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2.25rem;
}

.button,
.button-secondary {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.85rem 1.2rem;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

.button {
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--navy);
}

.button-secondary {
  border: 1px solid var(--teal);
  background: transparent;
  color: inherit;
}

.button:hover,
.button-secondary:hover {
  border-color: var(--coral);
  text-decoration: none;
}

.text-link {
  color: var(--amber);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.55rem;
  border-top: 0.12rem solid currentColor;
  border-right: 0.12rem solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.phone-preview {
  position: relative;
  width: min(100%, 22rem);
  margin-inline: auto;
  border: 0.55rem solid #d9d5ca;
  border-radius: 3.1rem;
  background: #020b13;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.phone-preview::before {
  position: absolute;
  z-index: 2;
  top: 0.72rem;
  left: 50%;
  width: 5.8rem;
  height: 1.55rem;
  border-radius: 1.2rem;
  background: #02070b;
  transform: translateX(-50%);
  content: "";
}

.phone-screen {
  min-height: 42rem;
  overflow: hidden;
  border: 0.18rem solid #314a5c;
  border-radius: 2.55rem;
  background: var(--navy);
  padding: 4rem 1.3rem 2rem;
  color: var(--ivory);
}

.phone-mark {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto 1.6rem;
  place-items: center;
  border: 0.13rem solid var(--amber);
  border-radius: 50%;
  color: var(--amber);
  font-weight: 900;
  letter-spacing: 0.22rem;
}

.phone-screen h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}

.phone-breath {
  margin: 0.5rem 0 1.6rem;
  color: rgba(247, 242, 232, 0.72);
  text-align: center;
}

.phone-goal {
  margin: 0 0 1.25rem;
  border-block: 1px solid var(--border-dark);
  padding: 1.15rem 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.45;
  text-align: center;
}

.phone-choice {
  margin-top: 0.7rem;
  border: 1px solid var(--border-dark);
  border-radius: 0.65rem;
  background: var(--navy-raised);
  padding: 0.82rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-white {
  background: var(--white);
}

.section-navy {
  background: var(--navy);
  color: var(--ivory);
}

.section-title {
  max-width: 14ch;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  line-height: 1.06;
}

.section-lead {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.section-navy .section-lead {
  color: rgba(247, 242, 232, 0.76);
}

.step-grid {
  display: grid;
  margin-top: 3.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--border-light);
}

.step {
  padding: 2.4rem 2.2rem 2.6rem 0;
}

.step + .step {
  border-left: 1px solid var(--border-light);
  padding-left: 2.2rem;
}

.step-number {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
}

.step h3 {
  margin: 1.5rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.15;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(20rem, 1.28fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.privacy-list {
  border-top: 1px solid var(--border-dark);
}

.privacy-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid var(--border-dark);
  padding: 1.4rem 0;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
}

.privacy-list li::before {
  color: var(--teal-bright);
  content: "—";
}

.support-band {
  background: var(--ivory);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(20rem, 1.25fr);
  align-items: end;
  gap: 3rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.inline-links a {
  color: #176b70;
  font-weight: 750;
}

.site-footer {
  border-top: 1px solid var(--border-dark);
  background: var(--navy);
  color: var(--ivory);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(20rem, 1.25fr);
  gap: 3rem;
  padding-block: 3.5rem;
}

.footer-name {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: 2rem;
}

.footer-note {
  max-width: 28rem;
  margin: 0;
  color: rgba(247, 242, 232, 0.68);
  font-size: 0.92rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}

.footer-nav a {
  color: var(--ivory);
  font-weight: 600;
}

.footer-contact {
  margin-top: 1.5rem;
}

.page-intro {
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

.page-intro .section-inner {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.page-intro h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.95;
}

.page-intro p {
  max-width: 48rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.22rem;
}

.not-found {
  display: grid;
  min-height: 38rem;
  align-items: center;
  background: var(--white);
}

.not-found-inner {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.not-found-code {
  margin: 0 0 1.1rem;
  color: #176b70;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.not-found h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.not-found h1::after {
  color: var(--coral);
  content: ".";
}

.not-found-inner > p:not(.not-found-code) {
  max-width: 39rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
}

.document-shell {
  display: grid;
  grid-template-columns: 14.5rem minmax(0, var(--reading));
  justify-content: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.document-nav {
  align-self: start;
  border-top: 0.2rem solid var(--teal);
  padding-top: 1rem;
}

.document-nav strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-nav a {
  display: block;
  border-left: 1px solid var(--border-light);
  padding: 0.55rem 0 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.document-nav a:hover {
  border-left-color: var(--coral);
  color: var(--ink);
}

.document-content {
  min-width: 0;
}

.document-content > :first-child {
  margin-top: 0;
}

.document-content h2 {
  margin-top: 3.3rem;
  padding-top: 0.45rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.document-content h3 {
  margin-top: 2rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

.document-content p,
.document-content li {
  font-size: 1.03rem;
}

.document-content p,
.document-content ul,
.document-content ol,
.document-content dl {
  margin-block: 1rem;
}

.document-content li + li {
  margin-top: 0.55rem;
}

.document-content dt {
  margin-top: 1.2rem;
  font-weight: 800;
}

.document-content dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.document-content hr {
  margin-block: 3.4rem;
  border: 0;
  border-top: 1px solid var(--border-light);
}

.notice,
.safety-panel {
  margin-block: 2rem;
  border: 1px solid var(--teal);
  border-left: 0.35rem solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.25rem 1.35rem;
}

.safety-panel {
  border-left-color: var(--coral);
}

.notice > :first-child,
.safety-panel > :first-child {
  margin-top: 0;
}

.notice > :last-child,
.safety-panel > :last-child {
  margin-bottom: 0;
}

.resource-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.resource-list li {
  border-top: 1px solid var(--border-light);
  padding: 1.2rem 0;
}

.resource-list li:last-child {
  border-bottom: 1px solid var(--border-light);
}

.resource-list a {
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  margin-block: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  font-size: 0.88rem;
}

details {
  border-top: 1px solid var(--border-light);
  padding-block: 0.9rem;
}

details:last-child {
  border-bottom: 1px solid var(--border-light);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

@media (min-width: 56rem) {
  .document-nav {
    position: sticky;
    top: 2rem;
  }
}

@media (max-width: 55.99rem) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
    padding-block: 1.1rem;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

  .hero-inner,
  .privacy-layout,
  .support-layout,
  .footer-inner,
  .document-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .phone-preview {
    margin-top: 1rem;
  }

  .document-shell {
    gap: 2.5rem;
  }

  .document-nav ul {
    columns: 2;
  }
}

@media (max-width: 42rem) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-inner,
  .document-shell {
    width: min(calc(100% - 1.4rem), var(--content));
  }

  .site-nav ul {
    gap: 0.15rem 1rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .not-found {
    min-height: 32rem;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .phone-preview {
    width: min(100%, 20rem);
  }

  .phone-screen {
    min-height: 38rem;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step {
    border-left: 0;
    border-bottom: 1px solid var(--border-light);
    padding: 2rem 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .document-nav ul {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }

  .skip-link,
  .site-header,
  .site-footer,
  .document-nav {
    display: none;
  }

  .page-intro,
  .notice,
  .safety-panel {
    border-color: #777;
    background: white;
  }

  .document-shell {
    display: block;
    width: 100%;
    padding: 0;
  }

  a {
    color: black;
  }
}
