/* Sequencer by Analyticure. Landing page.
   Same quiet look as the app: Newsreader for headlines, Hanken Grotesk for text, slate blue, ochre only where something needs a second look.
   Fonts are bundled (SIL Open Font License, see /assets/fonts). Nothing loads from another site. */

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/newsreader-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/newsreader-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(../fonts/newsreader-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/hanken-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/hanken-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --paper: #f5f7fa; --panel: #ffffff; --sunken: #edf1f6; --line: #dfe5ed; --line-2: #c9d2de;
  --ink: #17202b; --ink-2: #435064; --ink-3: #5b6779;
  --accent: #3f5f8f; --accent-deep: #2f4a74; --accent-soft: #e6edf7;
  --ochre: #8a5d12; --ochre-soft: #f7ebd3; --sage: #2f6b52; --sage-soft: #e3efe8;
  --navy: #0b1230;
  --font: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-d: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 5vw, 48px); --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, figure { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; } .skip:focus { top: 12px; color: #fff; }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font: 600 15.5px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--sunken); border-color: var(--ink-3); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; } .btn.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn.light { background: #fff; border-color: #fff; color: var(--navy); } .btn.light:hover { background: #e9eefc; border-color: #e9eefc; color: var(--navy); }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; } .btn.ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245, 247, 250, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.on { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand .ring { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); align-self: center; flex: none; } .brand .ring::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--accent); }
.brand b { font: 400 25px/1 var(--font-d); letter-spacing: -.01em; }
.brand small { font-size: 13px; color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; } .nav a:hover { background: var(--sunken); color: var(--ink); }
.top-cta { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font: 600 14.5px/1 var(--font); cursor: pointer; }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; gap: 0; box-shadow: 0 24px 40px -28px rgba(23,32,43,.35); }
  .nav.open { display: flex; } .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; } .nav a:hover { background: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .top-cta .talk { display: none; }
  .brand small { display: none; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font: 400 clamp(40px, 4.7vw, 64px)/1.05 var(--font-d); letter-spacing: -.025em; max-width: 12em; text-wrap: balance; }
.hero .lede { margin-top: 26px; font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .invite { margin-top: 20px; font-size: 14.5px; color: var(--ink-3); max-width: 44ch; }
.stack { position: relative; padding-bottom: 34px; margin-right: calc(var(--gutter) * -1); }
.stack .back { border-radius: 16px 0 0 16px; border-right: 0; box-shadow: 0 2px 4px rgba(23,32,43,.05), 0 40px 70px -36px rgba(23,32,43,.45); }
.stack .front { position: absolute; left: -7%; bottom: 0; width: 50%; border-radius: 14px; box-shadow: 0 2px 4px rgba(23,32,43,.06), 0 28px 48px -22px rgba(23,32,43,.5); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero h1 { max-width: 13em; } .stack { margin-right: 0; } .stack .back { border-radius: 14px; border-right: 1px solid var(--line); } .stack .front { left: auto; right: 4%; width: 56%; } }

/* A screenshot in a plain frame */
.shot { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(23,32,43,.04), 0 28px 50px -34px rgba(23,32,43,.42); }
.shot img { width: 100%; }
figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); max-width: 62ch; }

/* Three short promises under the hero */
.promises { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.promises .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promise { padding: 38px 36px 40px 0; } .promise + .promise { padding-left: 36px; border-left: 1px solid var(--line); }
.promise h3 { font: 400 25px/1.2 var(--font-d); letter-spacing: -.01em; margin-bottom: 10px; }
.promise p { color: var(--ink-2); font-size: 16px; max-width: 34ch; }
@media (max-width: 860px) { .promises .wrap { grid-template-columns: minmax(0, 1fr); } .promise, .promise + .promise { padding: 28px 0; border-left: 0; } .promise + .promise { border-top: 1px solid var(--line); } }

/* A feature: words on one side, the real screen on the other */
.feature { padding: clamp(64px, 9vw, 120px) 0 0; }
.feature .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.flip .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .feature.flip .words { order: 2; }
.feature.narrow .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } .feature.narrow.flip .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.feature.top .wrap { align-items: start; }
.words h2 { font: 400 clamp(32px, 3.6vw, 46px)/1.1 var(--font-d); letter-spacing: -.02em; margin-bottom: 20px; max-width: 18ch; }
.words > p { color: var(--ink-2); max-width: 46ch; }
.words > p + p, .ticks + p { margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; max-width: 46ch; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; color: var(--ink); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg) translateY(-3px); }
.figs { display: grid; gap: 28px; min-width: 0; }
@media (max-width: 960px) { .feature .wrap, .feature.flip .wrap, .feature.narrow .wrap, .feature.narrow.flip .wrap { grid-template-columns: minmax(0, 1fr); } .feature.flip .words { order: 0; } .words h2 { max-width: 20ch; } }

/* A sample month, on the one dark band */
.month { margin-top: clamp(72px, 10vw, 128px); background: var(--navy); background-image: radial-gradient(900px 420px at 85% -10%, rgba(80, 108, 255, .28), transparent 62%), radial-gradient(700px 360px at 0% 110%, rgba(20, 207, 160, .10), transparent 60%); color: #eef2ff; padding: clamp(56px, 8vw, 96px) 0; }
.month h2 { font: 400 clamp(32px, 3.8vw, 48px)/1.1 var(--font-d); letter-spacing: -.02em; max-width: 20ch; }
.month .sub { margin-top: 16px; color: #b2bbdb; max-width: 56ch; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 52px; border-top: 1px solid rgba(146,166,255,.22); }
.figure { padding: 28px 24px 0 0; } .figure + .figure { padding-left: 28px; border-left: 1px solid rgba(146,166,255,.22); }
.figure .v { font: 400 clamp(44px, 5.6vw, 76px)/1 var(--font-d); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.figure .v small { font-size: .4em; letter-spacing: 0; margin-left: 4px; color: #b2bbdb; }
.figure .l { margin-top: 12px; color: #b2bbdb; font-size: 15.5px; max-width: 24ch; }
.month .fine { margin-top: 40px; font-size: 13.5px; color: #8e99bf; }
@media (max-width: 860px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figure:nth-child(3) { border-left: 0; padding-left: 0; } .figure:nth-child(n+3) { border-top: 1px solid rgba(146,166,255,.22); margin-top: 28px; } }

/* How it starts: the same timeline motif as a sequence in the app */
.steps-sec { padding: clamp(72px, 10vw, 128px) 0 0; }
.steps-sec .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.steps-sec h2 { font: 400 clamp(32px, 3.6vw, 46px)/1.1 var(--font-d); letter-spacing: -.02em; max-width: 14ch; }
.steps-sec .intro { margin-top: 20px; color: var(--ink-2); max-width: 40ch; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 38px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--line-2); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 38px; } .timeline li:last-child { padding-bottom: 0; }
.timeline .node { position: absolute; left: -38px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); display: grid; place-items: center; font: 700 12px/1 var(--font); color: var(--accent-deep); }
.timeline li:first-child .node { background: var(--accent); color: #fff; }
.timeline h3 { font: 400 27px/1.2 var(--font-d); letter-spacing: -.01em; }
.timeline p { margin-top: 8px; color: var(--ink-2); max-width: 50ch; }
@media (max-width: 960px) { .steps-sec .wrap { grid-template-columns: minmax(0, 1fr); } }

/* The rest of what is inside */
.more { padding: clamp(72px, 10vw, 128px) 0 0; }
.more h2 { font: 400 clamp(32px, 3.6vw, 46px)/1.1 var(--font-d); letter-spacing: -.02em; max-width: 22ch; }
.more .intro { margin-top: 16px; color: var(--ink-2); max-width: 52ch; }
.defs { margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 88px); border-top: 1px solid var(--line-2); }
.defs div { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.defs dt { font: 400 22px/1.25 var(--font-d); letter-spacing: -.005em; margin: 0 0 6px; }
.defs dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 52ch; }
@media (max-width: 760px) { .defs { grid-template-columns: minmax(0, 1fr); } }

/* Mailboxes */
.boxes { padding-top: clamp(64px, 9vw, 120px); }
.provider-list { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; max-width: 52ch; }
.provider-list li { padding: 6px 14px; border-radius: 999px; background: var(--sunken); color: var(--ink-2); font-size: 14.5px; }

/* Questions */
.faq { padding: clamp(72px, 10vw, 128px) 0 0; }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); }
.faq h2 { font: 400 clamp(32px, 3.6vw, 46px)/1.1 var(--font-d); letter-spacing: -.02em; }
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 22px/1.3 var(--font-d); letter-spacing: -.005em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.qa details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa summary:hover { color: var(--accent-deep); }
.qa .a { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; } .qa .a p + p { margin-top: 12px; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact { margin-top: clamp(72px, 10vw, 128px); background: var(--sunken); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 100px) 0; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.contact h2 { font: 400 clamp(34px, 4.4vw, 58px)/1.06 var(--font-d); letter-spacing: -.025em; max-width: 16ch; }
.contact p { margin-top: 18px; color: var(--ink-2); max-width: 48ch; }
.contact .mail { display: inline-block; font: 400 clamp(24px, 2.8vw, 34px)/1.2 var(--font-d); color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; word-break: break-word; }
.contact .actions { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Footer */
.foot { padding: 40px 0 56px; color: var(--ink-3); font-size: 14.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: baseline; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; } .foot a { color: var(--ink-2); }
.foot .fine { flex-basis: 100%; font-size: 13.5px; max-width: 70ch; }

/* The portal page you land on after signing in */
.portal { min-height: calc(100vh - 72px); display: grid; align-items: center; padding: 56px 0; }
.portal h1 { font: 400 clamp(36px, 4.6vw, 58px)/1.06 var(--font-d); letter-spacing: -.025em; }
.portal p { margin-top: 18px; color: var(--ink-2); max-width: 52ch; }
.portal .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.portal form { display: inline; }

/* The one entrance: the health card settles into place beside the hero screen */
@keyframes settle { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.stack .front { animation: settle .8s cubic-bezier(.2,.7,.2,1) .25s both; }
