/*
  voykind.com. Phone first: everything is one column until the window is wide.
  Colors are the app's own tokens (src/theme.ts). Pairs used for text:
  ink on sand 15.9:1, muted on sand 6.6:1, white on cta 6.6:1,
  oceanDark on sand 6.3:1, white on navy 15.2:1, #dfe6f7 on navy 11.4:1,
  turquoise on navy 8.2:1, mango on navy 11.5:1.
*/
:root {
  --ink: #101426;
  --muted: #515d73;
  --navy: #182149;
  --sand: #f0f8fa;
  --white: #ffffff;
  --line: #c3d0dc;
  --ocean-dark: #05636d;
  --ocean-tint: #e4f3f2;
  --turquoise: #18d4d0;
  --mango: #ffd32a;
  --mango-tint: #fff4cc;
  --pink: #f62578;
  --cta: #b61350;
  --cta-press: #9a0f43;
  --radius: 18px;
  --font-body:
    "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --font-display:
    "Trebuchet MS", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 1.0625rem/1.65 var(--font-body);
}

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.1rem, 8.5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.65rem, 5.5vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--ocean-dark);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--white);
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.skip:focus {
  left: 12px;
}

/* Header: logo on one row, the three links on the next. */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 16px;
  padding-block: 10px 4px;
}

.brand img {
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  order: 3;
  width: 100%;
  gap: 2px;
  margin-inline: -10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  background: var(--ocean-tint);
}

.nav a[aria-current="page"] {
  background: var(--mango-tint);
  box-shadow: inset 0 -3px 0 var(--mango);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border: 2px solid transparent;
  border-radius: 12px;
  font: 700 1rem/1.2 var(--font-display);
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cta-press);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ocean-tint);
}

/* The header button only appears when there is room beside the links. */
.btn.header-cta {
  display: none;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

/* Hero */
.hero {
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-grid {
  display: grid;
  gap: 36px;
  padding-top: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ocean-dark);
  font: 700 0.8125rem/1.4 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.band .eyebrow {
  color: var(--turquoise);
}

.hero h1 em {
  color: var(--mango);
  font-style: normal;
}

.lede {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero .lede,
.page-hero .lede,
.band .lede {
  color: #dfe6f7;
}

.hero-art {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  border-radius: 28px 28px 0 0;
}

/* Inner page heading */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: 48px 52px;
}

.page-hero h1 {
  margin-bottom: 0.35em;
}

/* Sections */
.section {
  padding-block: 56px;
}

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

.section-head {
  max-width: 40rem;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(16, 20, 38, 0.05);
}

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

.section-white .card {
  background: var(--sand);
  box-shadow: none;
}

.badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--ocean-tint);
}

.badge svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ocean-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 22px 22px 22px 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mango);
  color: var(--ink);
  font: 700 1.2rem var(--font-display);
}

.steps h3 {
  margin-bottom: 0.25em;
}

.steps p {
  margin: 0;
}

/* Question and answer */
.faq details {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.faq summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 18px;
  font: 700 1.05rem/1.3 var(--font-display);
  cursor: pointer;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq details p {
  margin: 0;
  padding: 14px 18px 16px;
}

/* Closing call to action */
.band {
  padding-block: 64px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.band .lede {
  margin-inline: auto;
}

.band .actions {
  align-items: center;
}

/* Plain reading pages: privacy, terms, contact */
/* The column stays as wide as the heading above it; the text stops at a readable width. */
.prose > * {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 1.6em;
  font-size: 1.45rem;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

.email-big {
  display: inline-block;
  margin: 4px 0 20px;
  font: 700 clamp(1.2rem, 5.5vw, 1.8rem) var(--font-display);
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-grid {
  display: grid;
  gap: 24px;
  padding-block: 36px 12px;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-tag {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  margin-inline: -10px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-legal {
  padding-block: 8px 32px;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-legal p {
  margin: 0;
}

@media (min-width: 540px) {
  .actions {
    flex-direction: row;
  }
}

@media (min-width: 760px) {
  .brand img {
    width: 180px;
  }

  .nav {
    order: 0;
    width: auto;
    margin-inline: 0 0;
    margin-left: auto;
  }

  .header-row {
    flex-wrap: nowrap;
    padding-block: 12px;
  }

  .btn.header-cta {
    display: inline-flex;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding-block: 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-block: 72px;
  }

  .hero-art {
    border-radius: 28px;
  }

  .page-hero {
    padding-block: 72px 76px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .nav a {
    transition: background-color 0.15s ease;
  }
}

@media (forced-colors: active) {
  .btn {
    border-color: ButtonText;
  }
}
