/*
  The landing page.

  Same tokens as the app and its share page — SF type, iOS greys, hairlines,
  orange for mods and blue for service — plus the icon's orange and near-black
  as the brand pair. The legal pages have their own stylesheet (legal.css).
*/
:root{
  --ink:#000; --ground:#fff; --grouped:#F2F2F7; --card:#fff;
  --secondary:rgba(60,60,67,.6); --tertiary:#6C6C70;
  --hairline:rgba(60,60,67,.2);
  --brand:#F97316; --brand-ink:#18181B;
  --action:#AE1800; --mod:#F97316; --service:#3B82F6;
  --accent-text:#C2410C;
  --bezel:#18181B;
}
@media (prefers-color-scheme:dark){
  :root{
    --ink:#fff; --ground:#000; --grouped:#1c1c1e; --card:#2c2c2e;
    --secondary:rgba(235,235,245,.6); --tertiary:rgba(235,235,245,.45);
    --hairline:rgba(235,235,245,.2);
    --action:#FF563C; --mod:#FB923C; --service:#60A5FA;
    --accent-text:#FB923C;
    --bezel:#3a3a3c;
  }
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);
  font:400 17px/1.5 -apple-system,"SF Pro Text",system-ui,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:var(--action)}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.kicker{font-size:13px;font-weight:590;letter-spacing:.04em;text-transform:uppercase;
  color:var(--accent-text)}
h1,h2,h3{margin:0;letter-spacing:-.02em}
.accent{color:var(--accent-text)}

/* Nav */
.nav{position:sticky;top:0;z-index:10;
  background:color-mix(in srgb,var(--ground) 82%,transparent);
  backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:.5px solid var(--hairline)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:56px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;
  font-weight:700;font-size:19px;letter-spacing:-.01em}
.brand img{border-radius:8px}
.nav-cta{font-size:15px;font-weight:590;text-decoration:none}

/* Hero */
.hero{padding:72px 0 40px;overflow:hidden}
.hero-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(40px,6vw,64px);line-height:1.04;font-weight:800;margin-top:12px}
.lede{font-size:20px;line-height:1.5;color:var(--secondary);margin:20px 0 0;max-width:30em}

/* Waitlist form */
.waitlist{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px;max-width:480px}
.waitlist input[type=email]{flex:1 1 220px;min-width:0;height:52px;padding:0 16px;
  font:inherit;color:var(--ink);background:var(--grouped);
  border:1px solid transparent;border-radius:12px;outline:none}
.waitlist input[type=email]:focus{border-color:var(--brand);background:var(--ground)}
.waitlist button{height:52px;padding:0 22px;font:inherit;font-weight:640;
  color:var(--brand-ink);background:var(--brand);border:0;border-radius:12px;cursor:pointer;
  transition:transform .1s ease,filter .15s ease}
.waitlist button:hover{filter:brightness(1.06)}
.waitlist button:active{transform:scale(.98)}
.waitlist button:disabled{opacity:.6;cursor:default}
.waitlist .hp{position:absolute;left:-9999px}
.form-note{flex-basis:100%;margin:2px 0 0;font-size:14px;color:var(--secondary)}
.form-note.is-error{color:var(--action)}
.waitlist.is-done input,.waitlist.is-done button{display:none}
.waitlist.is-done .form-note{font-size:17px;font-weight:590;color:var(--ink)}

/* Phones: the screenshots already carry the status bar and Dynamic Island,
   so the frame is only a bezel and a corner radius. */
.phone{margin:0;padding:7px;background:var(--bezel);border-radius:46px;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.35),0 0 0 .5px rgba(0,0,0,.2)}
.phone img{border-radius:39px;width:100%}

.hero-art{position:relative;height:620px}
.hero-art .phone{position:absolute;width:290px}
.phone-front{right:4%;top:0;z-index:2}
.phone-back{right:calc(4% + 190px);top:60px;transform:rotate(-6deg);opacity:.95}
/* An orange disc behind the phones, the icon's colour. */
.hero-art::before{content:"";position:absolute;width:440px;height:440px;border-radius:50%;
  right:-40px;top:90px;background:var(--brand);opacity:.18}

/* Sections */
.section{padding:88px 0}
.section-grouped{background:var(--grouped)}
.section-head{max-width:620px}
.section-head h2{font-size:clamp(30px,4vw,42px);line-height:1.1;font-weight:760;margin-top:10px}
.section-head p{font-size:19px;color:var(--secondary);margin:14px 0 0}

.screens{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:56px}
.screens figure{margin:0}
.screens .phone{max-width:300px;margin:0 auto}
.screens figcaption{max-width:300px;margin:22px auto 0;font-size:16px;color:var(--secondary)}
.screens figcaption strong{color:var(--ink);font-weight:640}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:48px}
.features article{background:var(--card);border-radius:16px;padding:24px 22px 26px}
.features h3{font-size:19px;font-weight:660;margin-top:14px;letter-spacing:-.01em}
.features p{font-size:16px;color:var(--secondary);margin:8px 0 0}
.dot{display:block;width:12px;height:12px;border-radius:50%}
.dot-mod{background:var(--mod)}
.dot-service{background:var(--service)}

.plans{display:grid;grid-template-columns:repeat(2,minmax(0,320px));gap:16px;margin-top:40px}
.plan{border:.5px solid var(--hairline);border-radius:16px;padding:24px 24px 20px}
.plan-pro{border:1.5px solid var(--brand)}
.plan-name{font-size:21px;font-weight:700;letter-spacing:-.01em}
.plan-what{color:var(--accent-text);font-weight:590;margin-top:2px}
.plan ul{list-style:none;padding:0;margin:16px 0 0}
.plan li{padding:9px 0;border-top:.5px solid var(--hairline);font-size:16px}

.join{background:var(--brand-ink);color:#fff;text-align:center}
.join-inner{display:flex;flex-direction:column;align-items:center}
.join-icon{border-radius:16px}
.join h2{font-size:clamp(32px,4.5vw,48px);font-weight:780;margin-top:24px}
.join p{font-size:19px;color:rgba(235,235,245,.7);margin:12px 0 0;max-width:30em}
.join .waitlist{justify-content:center;width:100%}
.join .waitlist input[type=email]{background:#2c2c2e;color:#fff}
.join .waitlist input[type=email]::placeholder{color:rgba(235,235,245,.45)}
.join .form-note{color:rgba(235,235,245,.6);text-align:center}
.join .waitlist.is-done .form-note{color:#fff}

.footer{padding:28px 0 40px;font-size:15px;color:var(--secondary)}
.footer-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer nav{display:flex;gap:20px}
.footer a{color:var(--secondary);text-decoration:none}
.footer a:hover{color:var(--ink)}

/* Narrow screens */
@media (max-width:900px){
  .hero{padding-top:44px}
  .hero-inner{grid-template-columns:1fr;gap:24px}
  .hero-art{height:520px;max-width:440px;width:100%;margin:0 auto}
  .hero-art .phone{width:240px}
  .phone-front{right:6%}
  .phone-back{right:calc(6% + 150px);top:50px}
  .hero-art::before{width:340px;height:340px;right:0;top:80px}
  .features{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .section{padding:64px 0}
  .hero-art{height:440px}
  .hero-art .phone{width:200px;padding:5px;border-radius:36px}
  .hero-art .phone img{border-radius:31px}
  .phone-front{right:4%}
  .phone-back{right:calc(4% + 120px)}
  .hero-art::before{width:280px;height:280px;top:70px}
  .screens{grid-template-columns:1fr;gap:48px}
  .features{grid-template-columns:1fr}
  .plans{grid-template-columns:1fr}
}
