/* Marketing layout only. Colors, type, buttons, and fields come from /styles.css. */

html,body{height:auto}
body{font-size:16px;line-height:1.55}
.site{min-height:100vh;display:flex;flex-direction:column}
.container{width:100%;max-width:1180px;margin:0 auto;padding-inline:clamp(16px,4vw,40px)}

/* header */
.site-head{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}
.site-head .container{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}
.wordmark{display:flex;align-items:baseline;gap:10px;text-decoration:none;color:var(--ink)}
.wordmark b{font-stretch:72%;font-weight:800;font-size:24px;letter-spacing:.01em;line-height:1}
.wordmark span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600}
.head-actions{display:flex;align-items:center;gap:8px}
.site .btn{min-height:40px;padding:9px 16px;font-size:15px}
.site .btn.lg{min-height:48px;padding:12px 22px;font-size:16px}

/* type */
.site h1{font-size:clamp(36px,5.6vw,64px);line-height:1;font-stretch:72%;font-weight:800;letter-spacing:-.01em;max-width:20ch}
.site h2{font-size:clamp(26px,3.2vw,38px);line-height:1.05;font-stretch:75%;font-weight:780;letter-spacing:-.005em;text-wrap:balance}
.site h3{font-size:18px;font-stretch:85%;font-weight:700;line-height:1.2}
.lede{font-size:clamp(17px,1.6vw,19px);color:var(--muted);max-width:56ch;margin:0}
.site p{margin:0}
.feat-copy{display:flex;flex-direction:column;gap:14px;max-width:60ch}
.feat-copy p{color:var(--muted)}
.feat-copy ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.feat-copy li{position:relative;padding-left:22px}
.feat-copy li::before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;border-radius:2px;background:var(--accent)}

/* hero */
.hero{padding-block:clamp(48px,8vw,96px) 0}
.hero-text{display:flex;flex-direction:column;gap:20px;max-width:760px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:6px}
.hero-note{font-size:14px;color:var(--muted)}
.shot.hero-shot{margin-top:clamp(36px,5vw,56px)}

/* screenshots */
.shot{display:block;margin:0}
.shot img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);background:var(--surface)}
.site .shot figcaption{margin-top:10px;font-size:13.5px;color:var(--muted)}

/* feature rows */
.features{padding-block:clamp(56px,8vw,112px);display:flex;flex-direction:column;gap:clamp(56px,8vw,104px)}
.feature{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,4vw,56px);align-items:center}
.feature.flip .feat-copy{order:2}
.feature.flip .shot{order:1}

/* security */
.band{background:var(--surface);border-block:1px solid var(--line);padding-block:clamp(56px,8vw,104px)}
.band-head{display:flex;flex-direction:column;gap:14px;max-width:62ch;margin-bottom:clamp(28px,4vw,44px)}
.band-head p{color:var(--muted)}
.sec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 32px;margin:0 0 clamp(32px,4vw,48px);padding:0;list-style:none}
.sec-grid li{display:flex;gap:12px;align-items:flex-start}
.sec-grid .ic{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--accent-soft);color:var(--accent);flex-shrink:0}
.sec-grid h3{margin-bottom:4px}
.sec-grid p{color:var(--muted);font-size:15px}

/* pricing */
.pricing{padding-block:clamp(56px,8vw,112px)}
.plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:860px;margin-top:clamp(28px,4vw,40px)}
.plan{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:26px 26px 24px;display:flex;flex-direction:column;gap:14px}
.plan.featured{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.plan-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.plan-name{font-stretch:85%;font-weight:700;font-size:18px}
.price{display:flex;align-items:baseline;gap:6px}
.price b{font-family:var(--mono);font-weight:500;font-size:44px;letter-spacing:-.02em;line-height:1}
.price span{color:var(--muted)}
.plan .hint{min-height:1.4em}
.plan .btn{margin-top:auto}
.site .plans-note{margin-top:20px;color:var(--muted);font-size:15px;max-width:70ch}

/* closing */
.closing{padding-block:clamp(48px,7vw,88px);border-top:1px solid var(--line)}
.closing .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.site .closing p{color:var(--muted);margin-top:8px}

/* footer */
.site-foot{margin-top:auto;border-top:1px solid var(--line);padding-block:24px;font-size:13.5px;color:var(--muted)}
.site-foot .container{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;align-items:center}
.site-foot nav{display:flex;gap:18px}
.site-foot a{color:var(--muted);text-decoration:none}
.site-foot a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.site-foot .made-by{margin-left:8px;font-size:11.5px;letter-spacing:.02em}

/* subscribe */
.sub-main{padding-block:clamp(32px,5vw,64px) clamp(48px,7vw,96px)}
.sub-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:32px clamp(32px,5vw,72px);align-items:start}
.sub-grid>*{grid-column:1;min-width:0}
.sub-grid>.sub-form-col{grid-column:2;grid-row:1 / span 3;align-self:stretch}
.sub-grid .intro{display:flex;flex-direction:column;gap:14px}
.feat-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 32px}
.feat-group h3{margin-bottom:8px}
.feat-group ul{margin:0;padding-left:18px;color:var(--muted);font-size:15px;display:flex;flex-direction:column;gap:5px}
.feat-group li::marker{color:var(--accent)}
.next-steps{margin:0;padding:0;list-style:none;counter-reset:step;display:flex;flex-direction:column;gap:14px}
.next-steps li{counter-increment:step;display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:start}
.next-steps li::before{content:counter(step);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-family:var(--mono);font-size:13px;font-weight:500}
.next-steps b{display:block}
.next-steps span{color:var(--muted);font-size:15px}
.sub-card{position:sticky;top:88px;max-width:none;animation:none}
.sub-card h2{font-size:24px}
.plan-pick{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.plan-opt{position:relative;display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--bg);cursor:pointer;min-height:44px}
.plan-opt input{position:absolute;opacity:0;pointer-events:none}
.plan-opt b{font-weight:650;font-size:14px}
.plan-opt .amt{font-family:var(--mono);font-size:20px;font-weight:500;color:var(--ink)}
.plan-opt small{font-size:12.5px;color:var(--muted)}
.plan-opt:hover{border-color:var(--faint)}
.plan-opt:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--surface)}
.plan-opt:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.plan-opt .chip{position:absolute;top:10px;right:10px}
.field input{min-height:42px}
.field-err a{color:inherit;font-weight:600}
.pay-note{font-size:13.5px;color:var(--muted);display:flex;flex-direction:column;gap:4px}
.hp{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.notice{display:flex;flex-direction:column;gap:12px}
.notice p{color:var(--muted)}
.banner a{color:inherit;font-weight:600}

/* welcome */
.welcome-main{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 16px}
.welcome-card{max-width:460px}
.wsteps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.wsteps li{display:flex;align-items:center;gap:12px;color:var(--faint)}
.wsteps .dot{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1.5px solid var(--line);flex-shrink:0;color:var(--accent-ink)}
.wsteps li[data-state="current"]{color:var(--ink);font-weight:600}
.wsteps li[data-state="current"] .dot{border-color:var(--accent);border-top-color:transparent;animation:spin 1s linear infinite}
.wsteps li[data-state="done"]{color:var(--muted)}
.wsteps li[data-state="done"] .dot{background:var(--accent);border-color:var(--accent)}
@keyframes spin{to{transform:rotate(360deg)}}
.status-text{color:var(--muted)}

@media (max-width:900px){
  .feature,.feature.flip{grid-template-columns:1fr}
  .feature.flip .feat-copy,.feature.flip .shot{order:0}
  .sec-grid{grid-template-columns:1fr 1fr}
  .sub-grid{grid-template-columns:1fr}
  .sub-grid>.sub-form-col{grid-column:1;grid-row:auto}
  .sub-card{position:static}
}
@media (max-width:620px){
  .wordmark span{display:none}
  .sec-grid,.plans,.feat-groups{grid-template-columns:1fr}
  .site .btn{min-height:44px}
  .head-actions .btn{padding-inline:12px}
  .plan-pick{grid-template-columns:1fr}
  .hero-actions .btn{flex:1 1 auto}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .wsteps li[data-state="current"] .dot{border-top-color:var(--accent)}
}
.site .pricing-lede{margin-top:12px}
fieldset.plan-pick{border:0;margin:0;padding:0;min-width:0}
.wsteps .dot svg{opacity:0}
.wsteps li[data-state="done"] .dot svg{opacity:1}
.status-text:empty{display:none}
.site .welcome-card h1{font-size:32px;max-width:none}

/* website helper */
.site-help .help-fab{position:fixed;right:20px;bottom:20px;z-index:40;border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:11px 18px;font:inherit;font-weight:600;cursor:pointer;box-shadow:var(--shadow-pop)}
.site-help .help-fab:hover{background:var(--accent-hover)}
.help-box{position:fixed;right:20px;bottom:76px;z-index:41;width:min(380px,calc(100vw - 32px));max-height:min(70vh,620px);display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-pop)}
.help-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line)}
.help-head b{font-stretch:85%;font-weight:700}
.help-close{border:0;background:none;font-size:22px;line-height:1;color:var(--muted);cursor:pointer;padding:2px 6px;border-radius:6px}
.help-close:hover{color:var(--ink);background:var(--surface-2)}
.help-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px;min-height:40px}
.help-msg{max-width:92%;padding:8px 11px;border-radius:10px;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.help-msg.q{align-self:flex-end;background:var(--accent-soft)}
.help-msg.a{align-self:flex-start;background:var(--surface-2)}
.help-msg.wait{color:var(--muted);font-style:italic}
.help-msg.err{background:var(--red-soft);color:var(--red)}
.help-suggest{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 8px}
.help-suggest button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:5px 10px;font:inherit;font-size:12.5px;cursor:pointer}
.help-suggest button:hover{border-color:var(--accent);color:var(--accent)}
.site-help form{display:flex;gap:8px;padding:10px 14px;border-top:1px solid var(--line)}
.site-help form input{flex:1;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font:inherit}
.site-help form input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}
.help-note{margin:0;padding:0 14px 12px;font-size:12px;color:var(--muted)}
@media (max-width:620px){.help-box{right:8px;left:8px;width:auto;bottom:72px}.site-help .help-fab{right:12px;bottom:12px}}
