/* Sign-up (/start/): the marketing site's sunrise look, with the app's form parts from ui.css */
*,*::before,*::after{box-sizing:border-box}
body.start{margin:0;min-height:calc(100vh / var(--zf,1));font-family:"Outfit",var(--u-fb),system-ui,sans-serif;color:#1d2433;background:#fff4ec;-webkit-font-smoothing:antialiased}
.st-sky{position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#ffc58a 0,#ff9db0 45%,#a7b9ff 85%,#c9d4ff 100%);overflow:hidden}
.st-sky i{position:absolute;background:radial-gradient(ellipse at center,rgba(255,255,255,.7),rgba(255,255,255,0) 68%)}
.st-sky .c1{left:-120px;top:120px;width:620px;height:220px}.st-sky .c2{right:-80px;top:460px;width:700px;height:240px}
.st-top{max-width:1120px;margin:0 auto;padding:max(20px,env(safe-area-inset-top)) clamp(16px,calc(4vw / var(--zf,1)),28px) 10px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.st-brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:21px;color:#1d2433;text-decoration:none}
.st-brand .u-emb{width:42px;height:42px}
.st-signin{font-weight:600;font-size:15px;color:#3a1f2e;text-decoration:none;padding:9px 16px;border-radius:99px;background:rgba(255,255,255,.65)}
.st-wrap{max-width:1120px;margin:0 auto;padding:20px clamp(16px,calc(4vw / var(--zf,1)),28px) 60px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:start}
.st-side h1{margin:24px 0 12px;font-size:clamp(40px,calc(6vw / var(--zf,1)),62px);line-height:1;font-weight:800;color:#3a1f2e}
.st-lede{margin:0 0 22px;font-size:19px;line-height:1.5;color:#3a1f2e}
.st-perks{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.st-perks li{background:rgba(255,255,255,.62);color:#3a1f2e;padding:10px 16px;border-radius:14px;font-size:16px}
.st-ref{margin-top:18px;display:flex;gap:10px;align-items:flex-start;padding:14px 16px;border-radius:16px;background:#fff;color:#3a1f2e;font-size:16px;box-shadow:0 10px 30px rgba(58,31,46,.12)}
.st-ref .u-ic{flex:none;color:#e0414e;font-size:20px;margin-top:2px}
.st-card{background:#fff;border-radius:28px;padding:26px clamp(18px,calc(4vw / var(--zf,1)),34px) 28px;box-shadow:0 30px 70px rgba(58,31,46,.2);min-height:420px}
.st-card h2{margin:6px 0 6px;font-size:28px;font-weight:800;letter-spacing:-.01em}
.st-sub{margin:0 0 18px;color:#5b6478;font-size:16px;line-height:1.45}
.st-steps{list-style:none;margin:0 0 20px;padding:0;display:flex;gap:6px;flex-wrap:wrap}
.st-steps li{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#8a93a6}
.st-steps li+li::before{content:"";width:14px;height:2px;background:#e3e7f0;border-radius:2px}
.st-steps i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;background:#eef1f7;color:#8a93a6;font-size:12px}
.st-steps i .u-ic{font-size:14px}
.st-steps li.on{color:#1d2433}.st-steps li.on i{background:#1d2433;color:#fff}
.st-steps li.done i{background:#157a46;color:#fff}
@media (max-width:520px){.st-steps li:not(.on) span{display:none}}
.st-f{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;font-weight:600;font-size:15px}
.st-f .u-in{font-size:17px}
.st-fine{margin:4px 0 0;color:#8a93a6;font-size:14px}
.st-err{min-height:22px;margin:10px 0 0;color:#c2410c;font-weight:600;font-size:15px}
.st-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}
.st-kid{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.st-kid .u-in{flex:1;font-size:17px}
.st-add{margin-top:4px}
.st-search{display:flex;gap:8px}
.st-search .u-in{flex:1;font-size:17px}
.st-places{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.st-places button{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;border:1.5px solid #e3e7f0;background:#fff;text-align:left;font:inherit;cursor:pointer;color:#1d2433}
.st-places button.on{border-color:#157a46;background:#eefaf3}
.st-places button span{display:flex;flex-direction:column}.st-places small{color:#8a93a6}
.st-places .u-ic{color:#c2410c;font-size:20px}
.st-chosen{display:flex;gap:8px;align-items:center;margin:12px 0 0;font-weight:600;color:#157a46}
.st-pins{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.st-pins .u-in{letter-spacing:.4em;text-align:center;font-size:22px}
.st-check{display:flex;gap:12px;align-items:flex-start;margin:6px 0 10px;padding:14px;border-radius:16px;background:#f3f5fa;font-size:15px;line-height:1.45;cursor:pointer}
.st-check input{width:22px;height:22px;flex:none;margin-top:1px;accent-color:#1d2433}
.st-done{text-align:left}
.st-done-emb{display:block;margin:4px 0 8px}
.st-done-emb .u-emb{width:72px;height:72px}
.st-code{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;margin:4px 0 22px;padding:16px 18px;border-radius:18px;background:#1d2433;color:#fff}
.st-code span{grid-column:1/-1;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#aab3c4}
.st-code b{font-size:28px;letter-spacing:.08em}
.st-code small{grid-column:1/-1;color:#c3cad8;font-size:14px}
.st-next{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:16px}
.st-next li{display:flex;gap:14px}
.st-next li>i{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;background:#ffe6d3;color:#c2410c}
.st-next b{font-size:17px}.st-next p{margin:3px 0 8px;color:#5b6478;font-size:15px;line-height:1.45}
.st-link{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.st-link code{flex:1 1 200px;min-width:0;padding:9px 12px;border-radius:12px;background:#f3f5fa;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-noscript{text-align:center;padding:40px}
@media (max-width:860px){.st-wrap{grid-template-columns:1fr;gap:20px}.st-side h1{margin-top:8px}.st-perks{grid-template-columns:1fr}.st-lede{font-size:17px}}

/* Setup wizard */
.st-kicker{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 14px;border-radius:14px;background:#eefaf3;color:#157a46;font-weight:700;font-size:15px}
.st-kicker .u-ic{font-size:18px}
.st-kidname{flex:1;font-size:18px}
.st-kid .st-age{flex:none;width:96px;text-align:center;font-size:18px}
.st-seg{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border-radius:16px;background:#f3f5fa;margin-bottom:16px}
.st-seg button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:0;border-radius:12px;background:transparent;font:600 16px "Outfit",sans-serif;color:#5b6478;cursor:pointer}
.st-seg button[aria-checked=true]{background:#fff;color:#1d2433;box-shadow:0 2px 8px rgba(29,36,51,.1)}
.st-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.st-times .u-in{text-align:center;padding-left:6px;padding-right:4px;font-size:15.5px}
@media (max-width:520px){.st-times{grid-template-columns:1fr 1fr}.st-times .st-f:last-child{grid-column:1/-1}}
.st-opts{display:grid;gap:8px;margin-bottom:16px}
.st-opt{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;border:1.5px solid #e3e7f0;background:#fff;font:600 17px "Outfit",sans-serif;color:#1d2433;text-align:left;cursor:pointer}
.st-opt .u-ic{font-size:22px;color:#8a93a6}
.st-opt.on{border-color:#1d2433;background:#f6f7fb}.st-opt.on .u-ic{color:#c2410c}
.st-chips{display:flex;flex-wrap:wrap;gap:8px}
.st-chip{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:8px 16px 8px 12px;border-radius:99px;border:1.5px solid #e3e7f0;background:#fff;font:600 15.5px "Outfit",sans-serif;color:#1d2433;cursor:pointer}
.st-chip span{font-size:20px}
.st-chip small{font-weight:600;color:#8a93a6;font-size:13px}
.st-chip.on{border-color:#157a46;background:#eefaf3}
.st-chip.on::after{content:"✓";font-weight:800;color:#157a46;margin-left:2px}
.st-rel{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:8px;align-items:center;margin-bottom:8px}
@media (max-width:520px){.st-rel{grid-template-columns:minmax(0,1fr) 112px auto}}
.st-skip{font-weight:600;color:#8a93a6;background:none;border:0;cursor:pointer;font-size:15px}
.st-inv{margin-top:6px}.st-inv b{min-width:110px}
.st-inv code{flex:0 1 auto;letter-spacing:.08em;font-weight:700}
.st-chip.add{border-style:dashed;color:#5b6478}
.st-chip.add .u-ic{font-size:18px}
.st-chip.own{border-color:#157a46;background:#eefaf3;cursor:default;padding-right:6px}
.st-chip.own::after{content:none}
.st-chip.own button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#5b6478;cursor:pointer}
.st-chip.own button .u-ic{font-size:16px}
.st-addown{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px;padding:12px;border-radius:16px;background:#f3f5fa}
.st-addown #ownname{flex:1 1 150px;min-width:0}
.st-cost{display:flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:#5b6478}
.st-cost .u-in{width:76px;text-align:center}
.st-chips+.st-fine,.st-addown+.st-fine{margin-top:14px}

/* One fixed-size box for every step: the questions scroll inside it, the buttons stay at the bottom */
.st-card{display:flex;flex-direction:column;height:clamp(540px,calc(calc(100vh / var(--zf,1)) - 120px),700px);height:clamp(540px,calc(calc(100dvh / var(--zf,1)) - 120px),700px);min-height:0}
.st-card>#f{flex:1;min-height:0;display:flex;flex-direction:column}
.st-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0 -6px;padding:2px 6px 8px}
.st-card .st-err{flex:none;min-height:22px}
.st-card .st-foot{flex:none;margin-top:6px;padding-top:12px;border-top:1px solid #eef1f7}
.st-card>.st-done{flex:1;min-height:0;overflow-y:auto;margin:0 -6px;padding:0 6px}
/* After sign-up: the wizard alone, centered on the sky */
body.start.setup .st-side{display:none}
body.start.setup .st-wrap{grid-template-columns:minmax(0,680px);justify-content:center;padding-top:8px}
@media (max-width:860px){.st-card{height:calc(calc(100vh / var(--zf,1)) - 100px);height:calc(calc(100dvh / var(--zf,1)) - 100px);min-height:460px}}
body.start.setup .st-signin{display:none}
.st-connect .u-ic{color:#3a63ec}
.st-connect a{display:block;margin-top:6px;color:#3a63ec;font-weight:700}
.st-connected{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;padding:14px 16px;border-radius:16px;background:#eef3ff;color:#1d2433;font-size:16px;line-height:1.45}
.st-connected .u-ic{flex:none;color:#3a63ec;font-size:20px;margin-top:2px}
.st-choose{display:flex;flex-direction:column;gap:12px}
.st-plan{display:flex;align-items:center;gap:14px;width:100%;padding:18px;border-radius:18px;border:2px solid #e3e6ee;background:#fff;color:#1d2433;text-align:left;cursor:pointer;font:inherit}
.st-plan:hover{border-color:#3a63ec}
.st-plan>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:4px}
.st-plan b{font-size:18px;font-weight:800}.st-plan small{font-size:14.5px;line-height:1.45;color:#5b6574}
.st-plan-ic{flex:none;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eef3ff;color:#3a63ec;font-size:24px}

/* Invited by another family: one welcoming card, no marketing column */
body.start.invite .st-side{display:none}
body.start.invite .st-wrap{grid-template-columns:minmax(0,600px);justify-content:center;padding-top:8px}
body.start.invite .st-card{min-height:0}
.st-iv{display:flex;flex-direction:column;gap:14px}
.st-iv .st-done-emb{align-self:center}
.st-iv-h{margin:4px 0 0;font-size:clamp(32px,calc(5vw / var(--zf,1)),44px);line-height:1.05;font-weight:800;color:#3a1f2e;text-align:center}
.st-iv-lede{margin:0;font-size:19px;line-height:1.5;color:#3a1f2e;text-align:center}
.st-iv-points{list-style:none;margin:6px 0;padding:0;display:grid;gap:10px}
.st-iv-points li{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;background:#f6f3fb;font-size:16px;color:#1d2433}
.st-iv-points .u-ic{color:#e0414e;font-size:20px;flex:none}
.st-iv-alt{margin:2px 0 0;text-align:center;color:#5b6478;font-size:15px}.st-iv-alt a{color:#3a63ec;font-weight:700}
.st-ivform .st-kid{margin-bottom:8px}
.st-iv-back{align-self:center;display:inline-flex;align-items:center;gap:6px;color:#5b6478;font-weight:600}
body.start.invite .st-card{height:auto;min-height:0}
