/* /download — the apps' front door, in the landing page's night-sky look (home.css), kept in
   its own sheet so the docs pages keep their light/dark theme. Everything on the page that
   names a version, a size or a signature comes from /api/downloads, never from this file. */
:root{
  --ink:#030611; --panel:rgba(12,17,42,.66);
  --line:rgba(255,255,255,.09); --line2:rgba(255,255,255,.17);
  --text:#eef1ff; --muted:#a3adc8; --muted2:#7681a2;
  --blue:#168cff; --cyan:#23d0ff; --violet:#7046ff; --mint:#37e9bd; --amber:#f8c75b;
  --page:1380px;
  --display:"Sora","Inter Display",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--ink)}
body{
  margin:0; min-width:320px; color:var(--text); overflow-x:hidden;
  font-family:"Inter Display",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(1100px 720px at 80% -10%, rgba(98,48,255,.17), transparent 62%),
    radial-gradient(900px 620px at 4% 2%, rgba(9,117,255,.13), transparent 60%),
    var(--ink);
}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.05;background:url("/hp/noise.png") repeat;background-size:210px 210px}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
/* The glow and the tilted devices reach past the edges on purpose; clip them there rather than
   let them widen the page (clip, not hidden, so nothing inside becomes a scroll box). */
main{overflow-x:clip}
::selection{background:rgba(37,182,255,.28);color:#fff}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
[hidden]{display:none !important}

/* ── header ─────────────────────────────────────────────────────────────── */
.top{position:sticky;top:0;z-index:60;padding:12px 18px 0}
.nav{
  max-width:1480px; min-height:62px; margin:0 auto; padding:0 10px 0 16px;
  display:flex; align-items:center; gap:24px;
  border:1px solid var(--line); border-radius:18px; background:rgba(3,6,17,.72);
  box-shadow:0 15px 55px rgba(0,0,0,.28);
  backdrop-filter:blur(22px) saturate(145%); -webkit-backdrop-filter:blur(22px) saturate(145%);
}
.brand{display:inline-flex;align-items:center;gap:12px;flex:none}
.brand .mark{width:30px;height:32px;object-fit:contain}
.brand .wm{width:138px;height:auto}
.links{display:flex;gap:30px;margin:0 auto}
.links a{position:relative;color:#a7afc8;font-size:13px;font-weight:550;letter-spacing:.01em;transition:color .18s}
.links a::after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:1px;background:linear-gradient(90deg,var(--cyan),var(--violet));transition:right .18s}
.links a:hover,.links a[aria-current]{color:#fff}
.links a:hover::after,.links a[aria-current]::after{right:0}
.nav .btn{margin-left:auto}
.links + .btn{margin-left:0}

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn{
  position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center; gap:12px;
  border-radius:14px; font-weight:650; letter-spacing:-.01em; cursor:pointer; white-space:nowrap;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.985)}
.btn:focus-visible{outline:2px solid #7cc8ff;outline-offset:3px}
.btn svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* A solid fill with the light moving AROUND it, as on the landing page's buttons. */
.btn-primary{color:#fff;background:#1256E8;border:1px solid rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.btn-primary::before{
  content:""; position:absolute; inset:-5px; z-index:-1; border-radius:inherit;
  background:conic-gradient(from var(--rot,0deg), rgba(14,165,255,0) 0deg, rgba(14,165,255,.9) 80deg, rgba(98,54,255,.9) 160deg, rgba(35,208,255,.75) 240deg, rgba(14,165,255,0) 330deg);
  filter:blur(13px); opacity:.7; animation:rot 3.8s linear infinite;
}
.btn-primary:hover{background:#1B61F5}
.btn-primary:hover::before{opacity:1;animation-duration:2.2s}
@property --rot{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes rot{to{--rot:360deg}}
@media (prefers-reduced-motion:reduce){.btn-primary::before{animation:none}.btn,.plat,.plat .pic img{transition:none}}
.btn-ghost{color:#e6eaff;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.13)}
.btn-ghost:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.25)}
.btn-sm{height:40px;padding:0 16px;font-size:13px;border-radius:12px}
.btn-md{min-height:48px;padding:0 18px;font-size:14.5px}
.btn-xl{min-height:70px;padding:12px 28px 12px 22px;font-size:17px;border-radius:18px}
.btn-xl svg{width:22px;height:22px}
.btn .lbl{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;text-align:left}
.btn .lbl small{margin-top:4px;font-size:12.5px;font-weight:500;letter-spacing:0;color:rgba(255,255,255,.74)}
.btn-ghost .lbl small{color:var(--muted)}

/* ── shared type ────────────────────────────────────────────────────────── */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px; padding:8px 14px 8px 12px;
  border:1px solid rgba(85,201,255,.22); border-radius:999px; background:rgba(15,40,90,.25);
  color:#55c9ff; font-size:11px; font-weight:750; letter-spacing:.18em; text-transform:uppercase;
}
.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 5px rgba(35,208,255,.08),0 0 20px rgba(35,208,255,.75)}
.grad{background:linear-gradient(95deg,#3fb6ff 0%,#6f7bff 55%,#a77bff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
kbd{font:600 12px/1 Inter,system-ui,sans-serif;padding:3px 6px;border-radius:6px;border:1px solid var(--line2);background:rgba(255,255,255,.06);color:#dfe5ff;white-space:nowrap}

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero{
  max-width:var(--page); margin:0 auto; padding:clamp(40px,6.5vw,92px) 28px 24px;
  display:grid; grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr); gap:clamp(28px,4vw,64px); align-items:center;
}
.hero h1{font-family:var(--display);font-weight:700;font-size:clamp(46px,5.6vw,88px);line-height:.98;letter-spacing:-.045em;margin:24px 0 22px;text-wrap:balance}
.lede{font-size:clamp(17px,1.35vw,20px);line-height:1.6;color:#b3bdd8;max-width:600px;margin:0 0 34px}
.cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.cta-alt{margin:16px 0 0;font-size:14px;color:var(--muted)}
.cta-alt a{color:#7cc8ff;font-weight:600}
.cta-alt a:hover{color:#fff}
.trust{list-style:none;padding:0;margin:30px 0 0;display:flex;flex-wrap:wrap;gap:10px 22px;color:var(--muted);font-size:13.5px}
.trust li{display:inline-flex;align-items:center;gap:8px}
.trust svg{width:17px;height:17px;flex:none;fill:none;stroke:var(--mint);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* The picture: the glass ring (made for this page), and Meetful itself — a real capture of the
   dashboard the app opens on, and of meetful.com on a phone — in plain device frames. */
.art{position:relative;aspect-ratio:1.06;width:100%}
.art .ring{position:absolute;left:57%;top:-6%;width:76%;max-width:none;height:auto;transform:translateX(-50%);mix-blend-mode:screen;opacity:.95;pointer-events:none;
  -webkit-mask-image:radial-gradient(closest-side,#000 76%,transparent 100%);mask-image:radial-gradient(closest-side,#000 76%,transparent 100%)}
.win{
  position:absolute; left:0; top:33%; width:82%; border-radius:14px; overflow:hidden; background:#0a0e23;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 44px 120px rgba(0,0,0,.62), 0 30px 90px rgba(25,119,255,.2);
  transform:perspective(1800px) rotateY(-8deg) rotateX(2deg); transform-origin:left center;
}
.win-bar{height:32px;display:flex;align-items:center;gap:7px;padding:0 13px;background:linear-gradient(#151b3c,#0e1330);border-bottom:1px solid rgba(255,255,255,.07)}
.win-bar i{width:10px;height:10px;border-radius:50%;background:#2c3459}
.win-bar span{flex:1;text-align:center;margin-right:44px;font-size:12px;font-weight:600;color:#8e98bb}
.win img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}
.phone{
  position:absolute; right:1%; bottom:0; width:25%; aspect-ratio:390/836; padding:7px; border-radius:38px;
  background:linear-gradient(160deg,#2c3462,#0b1029 42%,#1c2048);
  box-shadow:0 30px 90px rgba(0,0,0,.6), 0 0 70px rgba(112,70,255,.25), inset 0 0 0 1px rgba(255,255,255,.12);
  transform:perspective(1400px) rotateY(-12deg) rotateZ(2deg);
}
/* The screen: a status bar for the camera island to sit in, then meetful.com captured at a real
   phone's width (390px), so nothing is cropped off its sides. */
.phone .scr{position:relative;height:100%;border-radius:31px;overflow:hidden;background:#04060f;padding-top:9%}
.phone .scr::before{content:"";position:absolute;top:1.6%;left:50%;z-index:2;width:30%;height:3%;border-radius:999px;background:#000;transform:translateX(-50%)}
.phone img{width:100%;height:100%;object-fit:cover;object-position:top center}

/* ── sections ───────────────────────────────────────────────────────────── */
.section{max-width:var(--page);margin:0 auto;padding:clamp(64px,8vw,124px) 28px 0;scroll-margin-top:84px}
.plat[id]{scroll-margin-top:84px}
.head{max-width:780px;margin:0 auto 46px;text-align:center}
.head h2{font-family:var(--display);font-weight:700;font-size:clamp(34px,3.6vw,58px);line-height:1.02;letter-spacing:-.04em;margin:18px 0 14px;text-wrap:balance}
.head p{margin:0;color:var(--muted);font-size:17px;line-height:1.6}

/* ── the four platforms ─────────────────────────────────────────────────── */
.plats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.plat{
  position:relative; display:flex; flex-direction:column; overflow:hidden;
  border:1px solid var(--line); border-radius:26px;
  background:linear-gradient(180deg,rgba(16,22,52,.84),rgba(7,10,26,.94));
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.plat:hover{border-color:var(--line2);transform:translateY(-3px)}
.plat.you{border-color:rgba(35,208,255,.45);box-shadow:0 0 0 1px rgba(35,208,255,.22),0 30px 80px rgba(22,140,255,.18)}
.plat .pic{position:relative;aspect-ratio:4/3;overflow:hidden;background:#050817}
.plat .pic img{width:100%;height:100%;object-fit:cover;transform:scale(1.04);transition:transform .6s ease}
.plat:hover .pic img{transform:scale(1.09)}
.plat .pic::after{content:"";position:absolute;inset:auto 0 0;height:46%;background:linear-gradient(rgba(9,13,33,0),rgba(10,14,35,.96))}
.you-tag{
  position:absolute; top:14px; left:14px; z-index:2; padding:6px 11px; border-radius:999px;
  font-size:11px; font-weight:750; letter-spacing:.1em; text-transform:uppercase;
  color:#c4f4ff; background:rgba(8,36,74,.62); border:1px solid rgba(35,208,255,.42);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.plat .body{flex:1;display:flex;flex-direction:column;gap:10px;padding:2px 22px 24px}
.plat h3{font-family:var(--display);font-size:25px;font-weight:700;letter-spacing:-.03em;margin:0}
.plat .req{margin:0;color:var(--muted);font-size:13.5px;line-height:1.5}
.plat .say{margin:0;color:#c7cfe6;font-size:14.5px;line-height:1.55}
.chip{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;border:1px solid;font-size:12px;font-weight:650;line-height:1.3}
.chip svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.chip.ok{color:#93f4d8;border-color:rgba(55,233,189,.32);background:rgba(55,233,189,.08)}
.chip.soon{color:#ffd994;border-color:rgba(248,199,91,.32);background:rgba(248,199,91,.08)}
.acts{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:10px}
.acts .btn{width:100%}
.meta{font-size:12.5px;color:var(--muted2)}
.note{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035);color:#c2cbe3;font-size:13px;line-height:1.55}

.handoff{margin-top:20px;display:flex;align-items:center;gap:22px;padding:18px 24px 18px 18px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.025)}
.handoff img{width:104px;height:104px;flex:none;padding:6px;border-radius:14px;background:#fff}
.handoff b{display:block;font-family:var(--display);font-size:19px;letter-spacing:-.02em;margin-bottom:4px}
.handoff span{color:var(--muted);font-size:14.5px;line-height:1.55}
.is-phone .handoff{display:none}

.sums{margin-top:14px;color:var(--muted2);font-size:13px}
.sums summary{cursor:pointer;width:max-content;padding:6px 2px}
.sums summary:hover{color:#dfe5ff}
.sums ul{list-style:none;margin:8px 0 0;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.02);display:grid;gap:8px}
.sums li{display:grid;grid-template-columns:minmax(180px,auto) minmax(0,1fr);gap:4px 16px}
.sums code{font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#c9d2ec;overflow-wrap:anywhere}

/* ── what the app adds ──────────────────────────────────────────────────── */
.feats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.feat{padding:26px 26px 28px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012))}
.feat .ic{width:48px;height:48px;margin-bottom:20px;display:grid;place-items:center;border-radius:15px;border:1px solid rgba(122,160,255,.26);background:linear-gradient(135deg,rgba(22,140,255,.24),rgba(112,70,255,.24))}
.feat .ic svg{width:23px;height:23px;fill:none;stroke:#cfe8ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feat h3{font-family:var(--display);font-size:20px;font-weight:700;letter-spacing:-.025em;margin:0 0 9px}
.feat p{margin:0;color:var(--muted);font-size:15px;line-height:1.62}

/* ── install steps ──────────────────────────────────────────────────────── */
.install{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(28px,5vw,72px);align-items:start}
.install .head{margin:0;text-align:left}
.tabs{display:inline-flex;flex-wrap:wrap;gap:4px;margin-top:26px;padding:4px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.03)}
.tabs button{appearance:none;border:0;background:none;color:var(--muted);font:600 13.5px/1 Inter,system-ui,sans-serif;padding:10px 15px;border-radius:10px;cursor:pointer}
.tabs button:hover{color:#fff}
.tabs button[aria-selected="true"]{color:#fff;background:rgba(22,140,255,.2);box-shadow:inset 0 0 0 1px rgba(90,170,255,.38)}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:14px;counter-reset:step}
.steps li{display:grid;grid-template-columns:46px minmax(0,1fr);gap:18px;align-items:start;padding:22px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.025)}
.steps li::before{counter-increment:step;content:counter(step);width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font:700 18px/1 var(--display);color:#fff;background:linear-gradient(135deg,#1256E8,#6a3cff);box-shadow:0 10px 30px rgba(18,86,232,.35)}
.steps b{display:block;font-size:16.5px;margin:3px 0 5px}
.steps span{color:var(--muted);font-size:14.5px;line-height:1.6}

/* ── no download ────────────────────────────────────────────────────────── */
.band{max-width:var(--page);margin:clamp(64px,8vw,120px) auto 0;padding:0 28px}
.band-in{
  position:relative; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap:28px;
  padding:44px 48px; border:1px solid rgba(110,150,255,.22); border-radius:30px;
  background:radial-gradient(620px 320px at 92% -10%,rgba(112,70,255,.3),transparent 62%),radial-gradient(520px 300px at -4% 110%,rgba(22,140,255,.24),transparent 62%),#0a0f2b;
}
.band h2{font-family:var(--display);font-weight:700;font-size:clamp(28px,2.8vw,44px);letter-spacing:-.035em;line-height:1.05;margin:0 0 10px}
.band p{margin:0;color:#b3bdd8;font-size:16.5px;line-height:1.55}

/* ── footer ─────────────────────────────────────────────────────────────── */
.foot{max-width:var(--page);margin:80px auto 0;padding:28px 28px 52px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;gap:20px 30px;color:var(--muted2);font-size:13.5px}
.foot .wm{width:118px;opacity:.85}
.foot nav{display:flex;flex-wrap:wrap;gap:12px 22px}
.foot nav a:hover{color:#fff}
.foot span{margin-left:auto}

/* ── smaller screens ────────────────────────────────────────────────────── */
@media (max-width:1200px){
  .plats,.feats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plat.you{order:-1}
}
@media (max-width:1040px){
  .links{display:none}
  .hero{grid-template-columns:minmax(0,1fr);text-align:left}
  .art{max-width:760px;margin:6px auto 0}
  .install{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .top{padding:8px 10px 0}
  .nav{min-height:56px;border-radius:15px;gap:12px;padding-left:12px}
  .brand .wm{width:112px}
  .brand .mark{width:26px;height:28px}
  .hero{padding:34px 16px 8px}
  .hero h1{margin:20px 0 16px}
  .cta .btn{width:100%}
  .btn-xl{justify-content:flex-start}
  .section{padding:64px 16px 0}
  .head{margin-bottom:30px}
  .plats,.feats{grid-template-columns:minmax(0,1fr)}
  .plat .pic{aspect-ratio:16/9}
  .steps li{grid-template-columns:40px minmax(0,1fr);gap:14px;padding:18px}
  .steps li::before{width:40px;height:40px}
  .band{padding:0 16px}
  .band-in{flex-direction:column;align-items:stretch;padding:30px 22px}
  .foot{padding:24px 16px 40px}
  .foot span{margin-left:0}
  .sums li{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:360px){
  .nav,.brand{gap:8px}
  .brand .wm{width:92px}
  .nav .btn{padding-inline:11px}
  .nav .btn svg{display:none}
}
