/* Senva website styles. Brand: navy, cream, teal, mint; Cormorant Garamond + Outfit (self-hosted). */

@font-face { font-family: "Outfit"; src: url("fonts/outfit-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #1F3A5F;
  --cream: #F6F1E7;
  --paper: #FFFDF9;
  --teal: #276B64;
  --teal-bright: #2E8C83;
  --mint: #9FD8D1;
  --pale: #E3EFEC;
  --line: #DCD3C3;
  --ink: #1C2733;
  --muted: #4A5562;
  --on-navy: #D9E2EC;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.6 var(--sans); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
svg { display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 10; background: var(--paper); color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Buttons */
.button { display: inline-block; border: 0; border-radius: 999px; padding: 15px 28px; font: 600 17px/1.2 var(--sans); text-decoration: none; cursor: pointer; background: var(--teal); color: #FFFFFF; }
.button:hover { background: var(--navy); color: #FFFFFF; }
.button-mint { background: var(--mint); color: var(--navy); }
.button-mint:hover { background: #BFE6E0; color: var(--navy); }

/* Top bar and hero (navy) */
.hero { background: var(--navy); color: var(--paper); padding-bottom: 104px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.brand:hover { color: var(--paper); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand span { font: 600 34px/1 var(--serif); letter-spacing: 0.06em; }
.topbar-link { color: var(--paper); text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 18px; border: 1px solid rgba(246, 241, 231, 0.45); border-radius: 999px; }
.topbar-link:hover { color: var(--paper); background: rgba(246, 241, 231, 0.1); }

.hero-title { font: 600 clamp(46px, 6.6vw, 92px)/1 var(--serif); color: var(--mint); letter-spacing: -0.01em; padding-top: 64px; }
.hero-title span { display: block; text-wrap: balance; }
.hero-title span:nth-child(2) { padding-left: 0.6em; }
.hero-title span:nth-child(3) { padding-left: 1.2em; }
.hero-sub { max-width: 540px; margin: 44px 0 0 auto; }
.intro { color: var(--on-navy); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.launch-note { color: var(--on-navy); font-size: 16px; }

/* Sections */
.section { padding: 112px 0; }
.section.follow { padding-top: 24px; }
.section-title { font: 600 clamp(36px, 4.6vw, 56px)/1.08 var(--serif); color: var(--navy); max-width: 17em; text-wrap: balance; }
.section-lede { color: var(--muted); max-width: 36em; margin-top: 18px; }

/* How it works */
.steps { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.steps li { border-top: 2px solid var(--navy); padding-top: 18px; }
.step-num { font: 600 60px/1 var(--serif); color: var(--teal); font-variant-numeric: lining-nums; }
.steps h3 { font: 600 21px/1.3 var(--sans); color: var(--navy); margin-top: 14px; }
.steps p { color: var(--muted); font-size: 17px; margin-top: 8px; }

/* Epigenetic, not genetic */
.band { background: var(--pale); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split-body p { font-size: 20px; line-height: 1.6; max-width: 31em; }
.split-body p + p { margin-top: 16px; }

/* Our own model */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 72px; margin-top: 56px; }
.point { border-top: 1px solid var(--line); padding-top: 20px; }
.point h3 { font: 600 30px/1.15 var(--serif); color: var(--navy); }
.point p { color: var(--muted); margin-top: 8px; max-width: 30em; }

/* Where we are */
.timeline { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline li { position: relative; padding: 30px 28px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--teal-bright); }
.timeline li::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-bright); }
.timeline li.next::before { background: #B9D3CE; }
.timeline li:last-child::before { display: none; }
.timeline li.future::after { background: var(--cream); border: 2px solid var(--teal-bright); }
.timeline time { display: block; font-weight: 600; color: var(--navy); }
.timeline p { color: var(--muted); font-size: 17px; margin-top: 4px; max-width: 15em; }

/* News */
.news { margin-top: 48px; max-width: 880px; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.news-item time { color: var(--teal); font-weight: 600; font-size: 16px; padding-top: 2px; }
.news-item h3 { font: 600 21px/1.3 var(--sans); color: var(--navy); }
.news-item p { color: var(--muted); margin-top: 6px; max-width: 38em; }
.news-item a { font-weight: 500; }

/* Questions */
.faq { margin-top: 44px; max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 0; font-weight: 500; font-size: 19px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--sans); color: var(--teal); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 40em; }

/* Waiting list (navy) */
.signup { background: var(--navy); color: var(--paper); }
.signup .section-title { color: var(--paper); }
.signup .section-lede { color: var(--on-navy); }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.signup-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 32px; }
.field { display: block; font-weight: 500; font-size: 16px; }
.field + .field { margin-top: 16px; }
.optional { color: var(--muted); font-weight: 400; }
.field input { display: block; width: 100%; margin-top: 6px; font: 400 17px/1.4 var(--sans); color: var(--ink); background: #FFFFFF; border: 1px solid #BFB4A2; border-radius: 10px; padding: 12px 14px; }
.field input:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 15px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--teal); }
.signup-card .button { width: 100%; margin-top: 22px; }
.signup-card .button:disabled { opacity: 0.7; cursor: default; }
.form-status { margin-top: 14px; font-size: 15px; }
.form-status.error { color: #A2372C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks h3 { font: 600 34px/1.15 var(--serif); color: var(--navy); }
.thanks p { color: var(--muted); margin-top: 10px; }

/* Footer */
.footer { padding: 76px 0 44px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer h2 { font: 600 16px/1.4 var(--sans); color: var(--navy); }
.footer p, .footer li { font-size: 16px; color: var(--muted); }
.footer ul { list-style: none; padding: 0; }
.footer h2 + ul { margin-top: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.footer-brand svg { width: 32px; height: 32px; }
.footer-brand span { font: 600 28px/1 var(--serif); letter-spacing: 0.06em; }
.footer-brand + p { margin-top: 14px; max-width: 24em; }
.person + .person { margin-top: 12px; }
.person strong { display: block; color: var(--ink); font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Privacy page */
.page-head { background: var(--navy); }
.page-head .topbar { padding: 22px 0; }
.prose { max-width: 720px; padding: 72px 0 40px; }
.prose h1 { font: 600 clamp(40px, 5vw, 60px)/1.05 var(--serif); color: var(--navy); }
.prose .updated { color: var(--muted); font-size: 16px; margin-top: 10px; }
.prose h2 { font: 600 28px/1.2 var(--serif); color: var(--navy); margin-top: 40px; }
.prose p, .prose li { color: var(--ink); margin-top: 12px; }
.prose ul { padding-left: 1.2em; margin-top: 8px; }
.prose li { margin-top: 6px; }

/* Responsive */
@media (max-width: 960px) {
  .split, .signup-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-sub { margin-left: 0; }
  .steps, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .hero { padding-bottom: 72px; }
  .topbar { padding: 20px 0; }
  .brand span { font-size: 30px; }
  .topbar-link { font-size: 15px; padding: 8px 14px; }
  .hero-title { padding-top: 36px; }
  .hero-title span:nth-child(2), .hero-title span:nth-child(3) { padding-left: 0; }
  .hero-sub { margin-top: 32px; }
  .news-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .section { padding: 80px 0; }
  .section.follow { padding-top: 16px; }
  .steps, .points, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .timeline li { padding: 0 0 28px 34px; }
  .timeline li::before { top: 14px; bottom: -2px; left: 6px; right: auto; width: 2px; height: auto; }
  .timeline li::after { top: 4px; }
  .timeline p { max-width: none; }
  .split-body p { font-size: 18px; }
  .signup-card { padding: 24px 20px; }
}
