@font-face{font-family:Inter;src:url('./inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--navy:#01305f;--blue:#0a6bb0;--text:#334155;--muted:#475569;--line:#d8e2eb;--sky:#eef6fd;--green:#1e7a44;font-family:Inter,system-ui,sans-serif;color:var(--text);background:white}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.wrap{width:min(1320px,calc(100% - clamp(40px,9vw,156px)));margin-inline:auto}
.top{border-bottom:1px solid var(--line);flex-shrink:0}
.nav{height:clamp(52px,8vh,80px);display:flex;align-items:center;justify-content:space-between}
.wordmark{width:192px;height:auto;display:block}
a{color:var(--blue);text-underline-offset:4px}
.preview-link{font-size:.9rem;font-weight:600;text-decoration:none}
.preview-link:hover{text-decoration:underline}
.hero{flex:1;display:grid;grid-template-columns:minmax(0,.91fr) minmax(0,1.15fr);gap:clamp(28px,5vw,80px);align-items:center;padding-block:clamp(14px,3.4vh,48px)}
.kicker{margin:0 0 19px;display:flex;align-items:center;gap:12px;font-weight:650;font-size:.79rem;letter-spacing:.095em;text-transform:uppercase;color:var(--blue)}
.kicker span,.swatch{display:inline-block;width:34px;height:3px;background:linear-gradient(90deg,var(--blue),#34a9b2,#4ca537);border-radius:3px}
h1,h2,p{margin:0}
h1{font-size:clamp(2.4rem,min(4.6vw,8vh),4.65rem);line-height:1.04;letter-spacing:-.062em;font-weight:620;color:var(--navy);text-wrap:balance}
h1 em{font-style:normal;color:var(--blue)}
.lead{margin-top:22px;line-height:1.62;color:var(--muted);font-size:clamp(1rem,1.24vw,1.16rem);max-width:48ch}
form,.joined{border-top:1px solid var(--line);margin-top:30px;padding-top:25px;scroll-margin-top:20px}
h2{color:var(--navy);font-size:1.38rem;font-weight:630;letter-spacing:-.035em}
.form-note,.joined p:last-child{margin-top:7px;color:var(--muted);line-height:1.5;font-size:1rem}
.fields{display:grid;grid-template-columns:.95fr 1.12fr;gap:12px;margin:17px 0 13px}
label{display:grid;gap:7px;font-size:.875rem;font-weight:600}
input,button{font:inherit}
input{width:100%;height:46px;border:1px solid #aabaca;border-radius:7px;color:var(--text);padding:0 12px;font-size:1rem;font-weight:400;background:white}
input::placeholder{color:#65758a}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
form button{width:100%;border:0;border-radius:7px;background:var(--blue);color:white;font-weight:640;padding:13px 14px}
form button:hover{background:#085a96}
form button:disabled{cursor:wait;opacity:.75}
.trap,.skip:not(:focus){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.skip:focus{position:absolute;left:12px;top:12px;background:white;padding:12px;z-index:2}
.feedback:not(:empty){margin-top:12px;color:#a02b20}
.product{background:#f3f8fc;border-radius:22px;border:1px solid #d6e4ed;overflow:hidden;scroll-margin-top:18px}
.product-head{display:flex;align-items:center;gap:12px;padding:24px 7% 0}
.product-head h2{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--navy)}
.swatch{width:22px;height:3px}
.stage{padding:clamp(12px,3vh,30px) 5%;background:radial-gradient(ellipse at 100% 62%,#c3e8de 0,transparent 60%),radial-gradient(ellipse at 10% 75%,#cce5fa 0,transparent 68%),linear-gradient(#f3f8fc,#e2eff6);border-bottom:1px solid #d6e4ed}
.window{overflow:hidden;border-radius:9px;background:white;border:1px solid #b0c9d8;box-shadow:0 14px 27px -14px #275b7b6b,0 1px 2px #16486614}
.window-bar{display:flex;align-items:center;gap:4px;height:25px;background:white;border-bottom:1px solid #e1e7ee;padding:0 10px;position:relative}
.window-bar i{width:5px;height:5px;border-radius:50%;background:#ced9e3}
.window-bar span{position:absolute;left:50%;transform:translateX(-50%);color:var(--muted);font-size:.65rem;font-weight:550;letter-spacing:.005em}
.screen{width:100%;height:auto;max-height:min(40svh,480px);aspect-ratio:1.64;object-fit:contain;object-position:top;display:block}
.product-foot{padding:clamp(10px,2vh,22px) 7%;background:#fbfdff}
.views{display:flex;flex-wrap:wrap;gap:4px}
.views button{border:1px solid transparent;border-radius:18px;background:transparent;color:var(--muted);padding:7px 10px;font-size:.875rem;font-weight:570}
.views button:hover{background:var(--sky)}
.views button[aria-pressed=true]{color:#084c7f;background:#e4f0fa;border-color:#c4deef}
.caption{line-height:1.55;margin:14px 0 9px;min-height:3.1em;max-width:48ch}
small,footer{font-size:.81rem;color:var(--muted)}
.joined .kicker{color:var(--green);margin:0 0 8px}
footer{flex-shrink:0;display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:clamp(10px,1.8vh,22px) 0}

/* Shorter desktops and landscape tablets keep both columns comfortably visible. */
@media (min-width:561px) and (max-height:800px) and (orientation:landscape){
  .kicker{margin-bottom:10px}
  .lead{margin-top:12px;line-height:1.45}
  form,.joined{margin-top:18px;padding-top:16px}
  .fields{margin:12px 0 10px}
  .product-head{padding-top:14px}
  .caption{margin:8px 0 5px;min-height:0}
}
@media (min-width:561px) and (max-height:550px) and (orientation:landscape){
  .nav{height:46px}
  .hero{padding-block:8px;gap:24px}
  h1{font-size:clamp(1.65rem,6vh,2.7rem)}
  .kicker{margin-bottom:6px}
  .lead{margin-top:6px;font-size:.9rem}
  form,.joined{margin-top:10px;padding-top:8px}
  .form-note{font-size:.85rem}
  .fields{margin:8px 0;gap:8px}
  .stage{padding:8px 4%}
  .screen{max-height:35svh}
  .product-foot{padding:8px 5%}
  footer{padding:6px 0}
}
/* Portrait layouts put the signup first and let the preview use the remaining height. */
@media (max-width:560px), (max-width:1024px) and (orientation:portrait){
  body{height:100svh}
  .wrap{width:min(640px,calc(100% - 36px))}
  .nav{height:56px}
  .wordmark{width:164px}
  .hero{
    flex:1 1 auto;
    min-height:360px;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(170px,1fr);
    gap:clamp(10px,2svh,24px);
    padding-block:clamp(10px,2svh,24px);
    align-items:stretch;
  }
  .intro{align-self:center}
  .kicker{margin-bottom:8px}
  h1{font-size:clamp(1.85rem,6.5vw,3.4rem);text-wrap:balance}
  .lead{margin-top:10px;line-height:1.4;max-width:54ch}
  form,.joined{margin-top:14px;padding-top:12px}
  h2{font-size:1.2rem}
  .form-note{margin-top:4px;font-size:.9rem;line-height:1.35}
  .fields{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);margin:10px 0;gap:10px}
  label{gap:5px}
  input{height:44px;padding:0 9px}
  form button{min-height:44px;padding:11px}
  .product{
    display:flex;
    flex-direction:column;
    min-height:0;
    border-radius:15px;
    align-self:stretch;
  }
  .product-head{padding:10px 5% 0;gap:8px}
  .product-head h2{font-size:.75rem;line-height:1.3}
  .stage{
    flex:1;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px 5%;
  }
  .window{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;max-width:520px;max-height:calc(min(520px,100vw - 64px) * .64 + 20px)}
  .window-bar{height:16px;flex-shrink:0}
  .screen{flex:1;min-height:0;width:100%;height:0;max-height:none;aspect-ratio:auto;object-position:center}
  .product-foot{padding:6px 5% 9px}
  .views{gap:2px;justify-content:center;flex-wrap:nowrap}
  .views button{min-height:44px;padding:5px 8px;font-size:.82rem}
  .caption{min-height:2.55em;margin:4px 0;font-size:.84rem;line-height:1.28;max-width:none;text-align:center}
  .product-foot small{display:block;text-align:center;font-size:.72rem}
  footer{padding:8px 0;font-size:.75rem}
}
@media (max-width:480px){
  .wrap{width:calc(100% - 28px)}
  .nav{height:48px}
  .wordmark{width:149px}
  .preview-link{font-size:.8rem}
  .hero{gap:10px;padding-block:10px}
  .kicker{font-size:.7rem;gap:7px;margin-bottom:6px}
  h1{font-size:clamp(1.8rem,7.8vw,2.25rem);line-height:1.08}
  .lead{font-size:.9rem;margin-top:8px}
  .fields{gap:8px}
  label{font-size:.8rem}
  .stage{padding:6px 4%}
  .window-bar{display:none}
  .product-foot{padding:3px 4% 7px}
  .views button{font-size:.76rem;padding-inline:7px}
}
@media (max-width:480px) and (max-height:650px){
  .nav{height:44px}
  .hero{gap:6px;padding-block:6px}
  h1{font-size:clamp(1.65rem,7.8vw,2rem)}
  .lead{margin-top:6px;font-size:.86rem;line-height:1.3}
  form,.joined{margin-top:9px;padding-top:8px}
  .form-note{font-size:.78rem;line-height:1.25;margin-top:3px}
  .fields{margin:7px 0}
  .product-head{padding-top:6px}
  .stage{min-height:45px;padding-block:4px}
  .caption{font-size:.76rem;margin:2px 0;min-height:2.5em}
  footer{padding:5px 0;font-size:.7rem}
  footer span:last-child{display:none}
}

@media (min-width:561px) and (max-height:550px) and (orientation:landscape){
  .wrap{width:calc(100% - 32px)}
  .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding-block:6px}
  .nav{height:44px}
  .wordmark{width:150px}
  .kicker{font-size:.7rem;margin-bottom:4px}
  h1{font-size:clamp(1.45rem,6.3vh,2rem);line-height:1.05}
  .lead{font-size:.82rem;line-height:1.25;margin-top:5px}
  form,.joined{margin-top:8px;padding-top:7px}
  h2{font-size:1.05rem}
  .form-note{font-size:.78rem;margin-top:2px;line-height:1.25}
  .fields{margin:6px 0;gap:6px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
  label{font-size:.75rem;gap:4px}
  input{height:44px;padding:0 8px}
  form button{padding:10px;min-height:44px}
  .product-head{padding-top:8px}
  .stage{padding:6px 4%}
  .screen{max-height:30svh}
  .window-bar{height:15px}
  .product-foot{padding:4px 5% 6px}
  .views{flex-wrap:nowrap;gap:2px;justify-content:center}
  .views button{font-size:.75rem;padding:5px 6px;min-height:38px}
  .caption{font-size:.78rem;line-height:1.25;margin:3px 0}
  .product-foot small{font-size:.7rem}
  footer{font-size:.72rem;padding:5px 0}
}

/* On compact phones the two repeated headings yield space to the product image. */
@media (max-width:480px) and (max-height:740px){
  #signup h2,.product-head{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    overflow:hidden;
    clip-path:inset(50%);
  }
  .form-note{margin-top:0}
  .caption{min-height:0}
  .product{border-radius:12px}
  .stage{min-height:60px}
}
/* Allow validation messages and text zoom to take the space they need. */
@media (max-width:560px), (max-width:1024px) and (orientation:portrait){
  body:has(.feedback:not(:empty)){height:auto}
  body:has(.feedback:not(:empty)) .hero{min-height:calc(100svh - 88px);grid-template-rows:auto minmax(170px,1fr)}
}

@media (min-width:701px) and (min-height:551px) and (max-height:650px) and (orientation:landscape){
  .hero{padding-block:12px}
  .stage{padding-block:10px}
  .nav{height:48px}
  footer{padding-block:8px}
}
@media (max-width:560px) and (max-height:510px), (max-width:300px){
  body{height:auto}
  .hero{grid-template-rows:auto auto;min-height:auto}
  .stage{height:130px}
  .product{min-height:unset}
  .views{flex-wrap:wrap}
  .fields{grid-template-columns:minmax(0,1fr)}
}
