:root{
  --ocean-deep:#0b4f6c;
  --ocean-teal:#0fa3b1;
  --ocean-orange:#ff8a1f;
  --ocean-side:#dcedf3;
  --ocean-panel:#f3fafc;
  --ocean-border:#a9d3e0;
  --ocean-text:#143642;
  --ocean-muted:#4d7381;
  --p1:#60A5FA;--p2:#34D399;--p3:#FBBF24;--p4:#F87171;--p5:#A78BFA;--p6:#9CA3AF;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ocean-text);background:var(--ocean-panel);line-height:1.6}
a{color:var(--ocean-deep)}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.strip{height:6px;background:linear-gradient(90deg,var(--ocean-deep),var(--ocean-teal),var(--ocean-orange))}

/* header */
header.top{background:#fff;border-bottom:1px solid var(--ocean-border);position:sticky;top:0;z-index:10}
header.top .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:64px}
header.top .btn{justify-self:end}
header.top .logo{justify-self:start}
.logo{font-weight:800;font-size:1.25rem;letter-spacing:-.01em;color:var(--ocean-deep);text-decoration:none;display:flex;align-items:center;gap:8px}
.logo b{color:var(--ocean-teal);font-weight:800}
.logo-text{white-space:nowrap}
.btn{display:inline-block;border:0;border-radius:8px;padding:12px 22px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;background:var(--ocean-orange);color:#fff;transition:transform .1s,filter .15s}
.btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
.btn.small{padding:8px 16px;font-size:.9rem}
.btn.ghost{background:transparent;color:var(--ocean-deep);border:2px solid var(--ocean-deep)}

/* hero */
.hero{background:linear-gradient(180deg,var(--ocean-side),var(--ocean-panel));padding:24px 0 28px}
.hero + section{padding-top:36px}
.hero .wrap{display:grid;grid-template-columns:1fr;gap:20px;justify-items:center;text-align:center}
.hero h1{margin:0 0 8px;font-size:clamp(2rem,4vw,2.9rem)}
.hero .lede{margin:0 auto;font-size:1.1rem;line-height:1.5}
.hero-art{width:100%}
.eyebrow{display:inline-block;background:var(--ocean-deep);color:#fff;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 12px;border-radius:99px}
.eyebrow::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ocean-orange);margin-right:8px}
h1{font-size:clamp(2rem,4.6vw,3.2rem);line-height:1.1;margin:12px 0 10px;letter-spacing:-.02em;color:var(--ocean-deep)}
h1 em{font-style:normal;color:var(--ocean-teal)}
.lede{font-size:1.15rem;color:var(--ocean-muted);margin:0 0 28px;max-width:34em}
.hero-art{background:#fff;border:1px solid var(--ocean-border);border-radius:14px;padding:14px;box-shadow:0 12px 32px rgba(11,79,108,.12)}
.hero-art img{display:block;width:100%;height:auto;border-radius:6px}
.hero-art{max-width:990px;padding:10px}
a.hero-art{display:block;color:inherit;text-decoration:none;transition:transform .15s,box-shadow .15s}
a.hero-art:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(11,79,108,.2)}
a.hero-art:focus-visible{outline:3px solid var(--ocean-teal);outline-offset:3px}

/* signup */
.signup{display:flex;gap:10px;flex-wrap:wrap;max-width:480px}
.signup input[type=email]{flex:1 1 230px;min-width:0;padding:12px 14px;font:inherit;color:var(--ocean-text);background:#fff;border:2px solid var(--ocean-border);border-radius:8px}
.signup input[type=email]:focus{outline:none;border-color:var(--ocean-teal);box-shadow:0 0 0 3px rgba(15,163,177,.2)}
.hp{position:absolute;left:-9999px;height:0;width:0;overflow:hidden}
.fineprint{font-size:.85rem;color:var(--ocean-muted);margin:10px 0 0}
.msg{margin-top:12px;padding:10px 14px;border-radius:8px;font-weight:600;display:none;max-width:480px}
.msg.ok{display:block;background:#dff6ee;color:#0b5b3d;border:1px solid #34D399}
.msg.err{display:block;background:#fde8e8;color:#8a1f1f;border:1px solid #F87171}

/* sections */
section{padding:64px 0}
h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:0 0 10px;color:var(--ocean-deep);letter-spacing:-.01em}
.sub{color:var(--ocean-muted);margin:0 0 36px;max-width:40em}
.about .sub{margin-bottom:14px}
section.about{padding:48px 0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--ocean-border);border-radius:10px;padding:22px}
.card h3{margin:0 0 8px;font-size:1.05rem;color:var(--ocean-deep);display:flex;align-items:center;gap:8px}
.card h3::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--ocean-orange);flex:none}
.card p{margin:0;color:var(--ocean-muted);font-size:.96rem}
.how{background:var(--ocean-side)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:s}
.step{background:#fff;border-radius:10px;border:1px solid var(--ocean-border);overflow:hidden}
.step .hd{background:var(--ocean-deep);color:#fff;font-weight:700;padding:10px 16px;display:flex;align-items:center;gap:8px}
.step .hd::before{counter-increment:s;content:counter(s);background:var(--ocean-orange);color:#fff;width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font-size:.8rem}
.step p{margin:0;padding:16px;color:var(--ocean-muted);font-size:.96rem}
.swatches{display:flex;justify-content:center;gap:8px;padding:0 16px 16px}
.swatches span{width:26px;height:26px;border-radius:6px}

.cta{background:var(--ocean-deep);color:#fff;text-align:center}
.cta h2{color:#fff}
.cta .sub{color:#bfe3ec;margin-left:auto;margin-right:auto}
.cta .signup{margin:0 auto;justify-content:center}
.cta .fineprint{color:#bfe3ec}
.cta .msg{margin-left:auto;margin-right:auto}

footer{background:#fff;border-top:1px solid var(--ocean-border);padding:24px 0;font-size:.88rem;color:var(--ocean-muted)}
footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

@media (max-width:820px){
  .cards,.steps{grid-template-columns:1fr}
}

/* launch additions (replace inline styles so the security policy can block inline code) */
.swatches .sw1{background:var(--p1)}.swatches .sw2{background:var(--p2)}.swatches .sw3{background:var(--p3)}
.swatches .sw4{background:var(--p4)}.swatches .sw5{background:var(--p5)}.swatches .sw6{background:var(--p6)}
.light-link{color:#fff}
.hero-cta{margin:0 0 6px}
.hero-cta .btn{font-size:1.1rem;padding:14px 30px}
.cta .hero-cta{margin:0 0 22px}

/* v1.1.8: quick tour. The "Take a quick tour" button sits beside the hero's Start Sankey button
   (the border of the outlined button is allowed for in its padding, so both are the same height); the tour's own styles are in tour/tour.css. */
.hero .hero-cta .btn{margin:4px 5px;vertical-align:middle}
.hero .hero-cta .btn.ghost{padding:12px 28px}
/* the header's tour button sits beside Start Sankey (outlined, with its border allowed for in the padding); hidden at 900px and under (the same point the small-screen banner starts), where the hero button is used */
header.top .head-actions{justify-self:end;display:flex;align-items:center;gap:10px}
header.top .btn.small.ghost{padding:6px 14px}
@media (max-width:900px){
  header.top .head-actions [data-tour-open]{display:none}
}
.linkish{display:inline;padding:0;border:0;background:none;font:inherit;color:var(--ocean-deep);text-decoration:underline;cursor:pointer}

/* v1.1.8: small-screen warning. It sits inside the sticky header, so the banner and the logo bar stay at the top together.
   Up to 900px: shown; up to 640px: phone wording (the same rules as the app page). */
.narrow-notice{display:none}
@media (max-width:900px){
  .narrow-notice{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#c2410c;color:#fff;border-bottom:4px solid #fdba74}
  .nn-icon{flex:none}
  .nn-text{margin:0;font-size:13px;line-height:1.35}
  .nn-text strong{display:block;font-size:15px}
  .nn-phone{display:none}
  .nn-tablet{display:block}
}
@media (max-width:640px){
  .narrow-notice{padding:12px 14px}
  .nn-icon{width:34px;height:34px}
  .nn-text{font-size:14px}
  .nn-text strong{font-size:17px;margin-bottom:2px}
  .nn-phone{display:block}
  .nn-tablet{display:none}
}

/* phones: not enough room for the pill in the header */
@media (max-width:640px){
  header.top .wrap{display:flex;justify-content:space-between}
  header.top .eyebrow{display:none}
}
/* v1.1.9 item 11: phone first screen. Phones (640px and under) arrive at a muted looping video (splash.mp4, 9:16) with a "Send me the link" button under it,
   sized to fit one screen. The headline and intro line stay in the page for search engines but are hidden visually (the video says it); the hero picture,
   the desktop buttons and the orange banner are hidden. The rest of the page is unchanged. Tablets keep the banner. */
.phone-first{display:none}
@media (max-width:640px){
  .narrow-notice{display:none}
  a.hero-art,.hero-desk{display:none}
  .hero{padding-top:12px}
  .hero h1,.hero .lede{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0}
  .phone-first{display:block;width:100%}
  .vid-card{width:fit-content;max-width:100%;margin:0 auto;border-radius:16px;overflow:hidden;background:#05070f;box-shadow:0 0 0 1px #26345e,0 0 24px rgba(0,229,255,.3)}
  .vid{display:block;height:min(calc(100svh - 240px),720px);min-height:380px;width:auto;max-width:100%;aspect-ratio:9/16}
  .pf-btn{display:block;width:100%;margin:14px 0 0;font-size:1.05rem;padding:14px 20px}
  .pf-note{margin:8px 0 0;font-size:.85rem;color:var(--ocean-muted)}
}