:root { --ink:#102d45; --paper:#fafbf8; --line:#cad6d7; --blue:#bdeafa; color:var(--ink); background:var(--paper); font:16px/1.5 system-ui,sans-serif; }
* { box-sizing:border-box; }
body, h1, h2, h3, p { margin:0; }
.wrap { width:min(1200px,calc(100% - clamp(40px,9vw,160px))); margin-inline:auto; }
a { color:inherit; text-underline-offset:.25em; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:3px solid #388ed2; outline-offset:4px; }
.skip { position:absolute; left:10px; top:-70px; z-index:5; padding:12px; background:white; }
.skip:focus { top:8px; }
header, .hero { background:var(--ink); color:white; }
.mast, nav, .brand, .action { display:flex; align-items:center; }
.mast { justify-content:space-between; padding-block:18px; }
header .mast { border-bottom:1px solid #ffffff30; }
.brand { gap:10px; font:700 25px/1 "Barlow Semi Condensed",system-ui,sans-serif; letter-spacing:-.03em; text-decoration:none; }
nav { gap:clamp(14px,3vw,40px); }
nav a,.guides a { display:inline-flex; align-items:center; min-height:44px; font-weight:600; font-size:14px; text-decoration:none; }
nav a:hover,.guides a:hover { text-decoration:underline; }
.nav-sign { border:1px solid #ffffff70; border-radius:30px; padding:0 19px; gap:9px; }
.hero-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:6%; min-height:calc(100svh - 81px); padding-block:clamp(36px,6vh,70px); }
.eyebrow { display:flex; align-items:center; gap:10px; text-transform:uppercase; letter-spacing:.15em; font-size:12px; font-weight:700; color:var(--blue); }
.eyebrow i { width:8px; height:8px; background:currentColor; border-radius:50%; }
h1 { font-size:clamp(52px,6.3vw,100px); letter-spacing:-.065em; line-height:.99; margin:24px 0; }
h1 em { white-space:nowrap; font-family:Georgia,serif; font-weight:400; color:var(--blue); }
.summary { max-width:40ch; font-size:clamp(16px,1.4vw,20px); color:#d1dfe7; }
.action,button { justify-content:space-between; gap:32px; width:fit-content; border:0; border-radius:40px; padding:14px 22px; background:var(--blue); color:var(--ink); font:bold 15px/1.4 system-ui; text-decoration:none; cursor:pointer; transition:transform .18s,background .18s; }
.action { margin-top:32px; }
.action:hover,button:hover { transform:translateY(-2px); }
.action:active,button:active { transform:translateY(1px); }
.stage { isolation:isolate; overflow:hidden; position:relative; display:grid; place-items:center; height:clamp(430px,70svh,720px); border-radius:8px; background:radial-gradient(ellipse at 65% 13%,#edfafb,#b1dceb 54%,#81b9ce); }
.orbit { position:absolute; width:84%; aspect-ratio:1; border-radius:50%; border:1px solid #fff8; z-index:-1; box-shadow:0 0 0 40px #ffffff20,0 0 0 41px #ffffff65,0 0 0 90px #ffffff10,0 0 0 91px #ffffff60; }
.screen { display:block; width:auto; max-width:100%; height:auto; border:5px solid #173446; border-radius:26px; box-shadow:0 16px 32px #17344629; }
.stage .screen { height:86%; max-height:580px; }
.tour,#signin { padding-block:clamp(54px,8vw,110px); }
h2 { font-size:clamp(36px,4.4vw,68px); letter-spacing:-.055em; line-height:1.08; }
.features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(18px,3vw,44px); margin-top:40px; }
.features article { display:grid; grid-template-rows:auto 1fr auto; min-width:0; border-top:1px solid var(--line); padding-top:17px; }
h3 { font-size:23px; letter-spacing:-.04em; }
article p,.access p { color:#3b5263; margin:8px 0 20px; }
.features article.wide { grid-column:1/-1; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); grid-template-rows:auto 1fr; column-gap:clamp(20px,4vw,56px); align-items:start; }
.features article.wide h3,.features article.wide p { grid-column:1; }
.features article.wide .frame { grid-column:2; grid-row:1 / span 2; }
.frame { display:grid; place-items:center; padding:clamp(14px,2.4vw,28px); background:#e4eef1; border-radius:8px; overflow:hidden; }
.frame img { display:block; width:100%; max-width:460px; height:auto; object-fit:contain; border-radius:6px; }
.theme-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px 28px; margin-top:clamp(28px,4vw,48px); }
.theme-row p { margin:0; font-weight:600; color:#3b5263; }
.theme-list { display:flex; flex-wrap:wrap; gap:10px 18px; padding:0; margin:0; list-style:none; }
.theme-list li { display:flex; align-items:center; gap:8px; width:104px; font-size:14px; font-weight:600; }
.theme-swatch { flex:none; width:28px; aspect-ratio:1; border-radius:50%; border:2px solid var(--theme-bar); background:linear-gradient(135deg,var(--theme-card) 50%,var(--theme-accent) 50%); }
/* Match the theme swatches in theme.js. */

.theme-swatch.glacier { --theme-bar:#0c2042; --theme-card:#2168a7; --theme-accent:#a1d7ff; }
.theme-swatch.sky { --theme-bar:#eaf2fc; --theme-card:#fff; --theme-accent:#1f6fd1; }
.theme-swatch.sand { --theme-bar:#f1e8d8; --theme-card:#fffcf5; --theme-accent:#c2570c; }
.theme-swatch.sunset { --theme-bar:#2a1518; --theme-card:#f97316; --theme-accent:#ec4899; }
.theme-swatch.lava { --theme-bar:#241008; --theme-card:#ff4500; --theme-accent:#ffb000; }
.theme-swatch.purple { --theme-bar:#211438; --theme-card:#7047c4; --theme-accent:#d4baff; }
#signin { background:#eaf2f3; }
.access { display:grid; grid-template-columns:1fr 1fr; gap:7%; }
.guides { display:grid; justify-items:start; }
label { display:grid; gap:6px; font-weight:600; margin-bottom:14px; }
input { width:100%; font:inherit; padding:12px; border:1px solid #859ca9; border-radius:6px; }
button { background:var(--ink); color:white; }
.form-box .beta,.hint { font-size:14px; margin-top:18px; }
#error { color:#9d2938; }
footer { background:var(--ink); color:white; }
@media(max-width:760px) {
 .hero-grid,.access,.features { grid-template-columns:minmax(0,1fr); gap:36px; }
 .hero-grid { min-height:0; }
 .features { margin-top:26px; }
 .features article.wide { grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr auto; }
 .features article.wide .frame { grid-column:1; grid-row:auto; }
 .theme-list li { width:auto; }
 .prompt-example li { max-width:100%; }
 .frame { width:100%; }
 .frame img { width:100%; max-width:100%; }
 .mast { padding-block:12px; }
}
@media(max-width:480px) {
 .brand { font-size:22px; }
 .brand img { width:34px;height:34px; }
 .action { width:100%; }
 .hero-grid { padding-block:36px 40px; gap:32px; }
 .hero h1 { font-size:clamp(36px,10vw,46px); line-height:1.04; margin-block:16px; text-wrap:balance; }
 .hero .action { margin-top:20px; }
 .facts { margin-top:22px; }
 .theme-list { gap:10px 14px; }
 .hero h1 em { white-space:normal; }
 .hero .summary { line-height:1.6; }
}
.facts { display:grid; gap:10px; margin:28px 0 0; padding:0; list-style:none; max-width:44ch; }
.facts li { position:relative; padding-left:26px; font-size:15px; line-height:1.4; color:#d1dfe7; }
.facts li::before { content:""; position:absolute; left:0; top:.28em; width:14px; height:14px; border-radius:50%; background:var(--blue); box-shadow:inset 0 0 0 4px var(--ink), 0 0 0 1.5px var(--blue); }
@media(prefers-reduced-motion:no-preference) {
 .lead { animation:enter .48s ease-out both; }
 @keyframes enter { from { opacity:0; transform:translateY(8px); } }
}


header { position:sticky; top:0; z-index:4; }
html { scroll-padding-top:90px; }
.signin-link, .back-link { padding:0 20px; background:var(--blue); color:var(--ink); border-radius:24px; }
footer .mast { flex-wrap:wrap; gap:8px 24px; }
footer nav { flex-wrap:wrap; }
.access-page { display:grid; align-items:center; min-height:calc(100svh - 160px); padding:48px 20px; background:#eaf2f3; }
.access-panel { width:min(440px,100%); margin:auto; }
.access-panel h1 { font-size:clamp(40px,5vw,60px); margin:0 0 14px; }
.access-panel > p { color:#3b5263; }
.access-panel .form-box { margin-top:30px; }
.access-panel .address { margin-top:12px; font-size:14px; }
@media(max-width:640px) {
 header nav { gap:12px; }
}
@media(max-width:420px) {
 header .mast { width:calc(100% - 24px); }
 header .brand { font-size:18px; gap:5px; }
 header .brand img { width:26px; height:26px; }
 header nav { gap:9px; }
 header nav a { font-size:12px; }
 .signin-link, .back-link { padding-inline:14px; }
}


.guided { background:#eaf2f3; padding-block:clamp(56px,8vw,108px); }
.guided-grid { display:grid; grid-template-columns:1.15fr 1fr; align-items:start; gap:8%; }
.guided-grid p { max-width:48ch; margin:20px 0 12px; color:#405967; }
.guided nav { flex-wrap:wrap; gap:4px 24px; }
.guided nav a { text-decoration:underline; }
.guided .action { margin-top:24px; }
.prompt-example { padding:clamp(18px,3vw,32px); background:#d6e6ea; border-radius:12px; }
.prompt-example h3 { margin-bottom:4px; }
.prompt-example ul { display:grid; gap:12px; list-style:none; margin:16px 0 0; padding:0; }
.prompt-example li { max-width:92%; padding:14px 18px; background:#fff; border-radius:18px 18px 18px 4px; font:italic clamp(17px,1.6vw,21px)/1.4 Georgia,serif; box-shadow:0 1px 0 #b9d0d6; }
.prompt-example li:nth-child(even) { justify-self:end; border-radius:18px 18px 4px 18px; background:#eef7fa; }
@media(max-width:760px) {
  .guided-grid { grid-template-columns:1fr; gap:32px; }
}

/* Each preview fills one snap position. */
.stage:has(.hero-previews) { grid-template-rows:minmax(0,1fr) 44px; padding:12px 0 0; }
.hero-previews { display:flex; width:100%; height:100%; min-width:0; min-height:0; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; }
.hero-previews:focus-visible { outline:3px solid #173446; outline-offset:-3px; }
.hero-preview { flex:0 0 100%; display:grid; grid-template-rows:minmax(0,1fr); place-items:center; min-width:0; scroll-snap-align:start; }
.hero-previews::-webkit-scrollbar { display:none; }
.preview-dots[hidden] { display:none; }
.preview-dots { display:flex; justify-content:center; }
.preview-dots button { display:grid; place-items:center; width:44px; height:44px; padding:0; background:transparent; }
.preview-dots button::after { content:""; width:9px; height:9px; border:2px solid #102d45; border-radius:50%; background:#edfafb; }
.preview-dots button[aria-pressed="true"]::after { background:#102d45; }
.stage .hero-preview .screen { align-self:center; width:auto; height:96%; max-height:580px; max-width:calc(100% - 24px); object-fit:contain; }
@media(max-width:760px) {
 .stage:has(.hero-previews) { height:454px; }
}
@media(max-width:480px) {
 .stage:has(.hero-previews) { height:clamp(380px,112vw,500px); }
}

.agree { display:flex; gap:10px; align-items:flex-start; font-size:15px; line-height:1.4; margin:0 0 14px; }
.agree input { width:20px; height:20px; margin-top:2px; flex:none; }
#accept:disabled { opacity:.5; cursor:not-allowed; }

#error.not-invited { color:#0c2042; background:#fff; border:1px solid #c9dbe8; border-radius:16px; padding:22px 24px; margin:0 0 22px; }
.not-invited p { margin:0; }
.ni-title { font-size:clamp(28px,4vw,38px); font-weight:700; line-height:1.1; letter-spacing:-.02em; }
.ni-email { margin-top:14px !important; font-weight:700; font-size:17px; word-break:break-all; background:#e8f1f7; border-radius:10px; padding:10px 12px; }
.ni-note { margin-top:12px !important; color:#3b5263; font-size:15px; line-height:1.45; }
.ni-link { display:inline-block; margin-left:18px; font-size:15px; font-weight:600; }

.ni-page { text-align:center; }
.ni-page #error.not-invited { text-align:left; }
.ni-page #hosted { display:block; width:100%; }
.ni-page .ni-link { display:block; margin:16px 0 0; }
.ni-page .beta { margin-top:28px; }
body:has(.ni-page) .signin-link { display:none; }

body:has(#agreement:not([hidden])) .signin-link { display:none; }

.welcome-page { text-align:center; }
.welcome-page .welcome-name { display:flex; align-items:center; justify-content:center; gap:10px; width:fit-content; max-width:100%; margin:10px auto 12px; padding:6px 16px 6px 6px; background:#fff; border:1px solid #c9dbe8; border-radius:999px; color:#0c2042; font-size:16px; word-break:break-all; }
.welcome-initial { display:grid; place-items:center; flex:none; width:28px; height:28px; border-radius:50%; background:#0c2042; color:#fff; font-size:14px; font-weight:700; }
.welcome-page .welcome-name + br { display:none; }
.welcome-page #agreement { text-align:left; margin-top:22px; padding:18px 20px; background:#fff; border:1px solid #c9dbe8; border-radius:16px; transition:border-color .18s, box-shadow .18s; }
.welcome-page #agreement:hover, .welcome-page #agreement:focus-within { border-color:#2168a7; box-shadow:0 6px 18px #0c204214; }
.welcome-page .agree { cursor:pointer; }
.welcome-page .agree input { accent-color:#0c2042; cursor:pointer; }
.welcome-page #accept { display:block; width:100%; justify-content:center; text-align:center; transition:transform .18s, background .18s, opacity .18s; }
.welcome-page #accept:not(:disabled) { background:linear-gradient(139deg,#0c2042,#2168a7); }
@media (prefers-reduced-motion:no-preference) {
  .welcome-page > h1, .welcome-page > p, .welcome-page #agreement { animation:welcome-in .5s cubic-bezier(.2,.7,.2,1) both; }
  .welcome-page > p { animation-delay:.08s; }
  .welcome-page #agreement { animation-delay:.16s; }
}
@keyframes welcome-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }

/* Sign-in page: asking for an invite is a clear button, not a footnote. */
.invite-ask { margin-top:24px; padding-top:20px; border-top:1px solid #c9dbe8; text-align:center; }
.invite-ask p { margin:0 0 12px; font-size:15px; color:#3b5263; }
.invite-ask a, .ni-link { display:flex; align-items:center; justify-content:center; min-height:48px; margin:0; padding:0 22px; border:1.5px solid #2168a7; border-radius:40px; color:#174d80; font-size:16px; font-weight:700; text-decoration:none; transition:transform .18s, background .18s, color .18s; }
.invite-ask a:hover, .ni-link:hover { background:#2168a7; color:#fff; transform:translateY(-2px); }
.invite-ask a:active, .ni-link:active { transform:translateY(1px); }
.ni-page .ni-link { margin:16px 0 0; }

/* Sign-in page: on wide screens the form has the app's phone preview beside it; on a phone the preview is hidden. */
.access-aside { display:none; }
.aside-shot { display:none; }
body:has(.ni-page) .access-aside, body:has(.welcome-page) .access-aside { display:none; }
@media (min-width:900px) {
  .access-page--split { grid-template-columns:minmax(0,440px) minmax(0,360px); justify-content:center; align-items:center; column-gap:clamp(48px,8vw,120px); }
  .access-page--split .access-panel { margin:0; }
  .access-aside { display:block; margin:0; width:auto; }
  .aside-shot { display:block; width:min(100%,240px); height:auto; margin-inline:auto; border:5px solid #173446; border-radius:26px; box-shadow:0 16px 32px #17344629; }
}
