/* KOZY info site — single dark brand theme (spec: docs/mockup-spec.md) */
:root{
  --bg:#07090F; --surface:#10141D; --surface2:#161B27;
  --line:rgba(255,255,255,.09);
  --text:#F4F6FB; --muted:#97A0B5;
  --accent:#2656FB; --accent-soft:rgba(38,86,251,.16);
  --radius:16px;
  --display:'Bricolage Grotesque',system-ui,sans-serif;
  --body:'Open Sans',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:var(--body);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wrap{max-width:1200px;margin:0 auto;padding:0 48px}

/* ---------- nav ---------- */
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 0;border-bottom:1px solid var(--line)}
.nav img.logo{height:26px;display:block}
.navlinks{display:flex;gap:28px;font-size:13.5px;font-weight:600;color:var(--muted)}
.navlinks a:hover,.navlinks a.here{color:var(--text)}
.burger{display:none;flex-direction:column;gap:4px;padding:6px}
.burger span{width:18px;height:2px;background:var(--text);border-radius:2px;display:block}
.mmenu{display:none;flex-direction:column;border-bottom:1px solid var(--line)}
.mmenu a{padding:14px 20px;font-size:14px;font-weight:600;color:var(--muted);border-top:1px solid var(--line)}

/* ---------- hero ---------- */
/* padding-block only: the section is also a .wrap, and a `padding` shorthand here
   would wipe .wrap's side gutters (it did — the copy ran edge to edge on phones). */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;
  padding-block:88px 72px;position:relative}
.heroGlow{position:absolute;width:640px;height:640px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(38,86,251,.22),transparent 70%);
  top:-260px;right:-140px;pointer-events:none}
.eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.18em;color:#7E96F5;margin-bottom:18px}
h1.display{font-family:var(--display);font-weight:800;font-size:clamp(40px,5vw,64px);line-height:1.02;
  letter-spacing:-.02em;text-wrap:balance;margin-bottom:22px}
.sub{font-size:17px;line-height:1.65;color:var(--muted);max-width:52ch;margin-bottom:34px}
.ctaRow{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.store{display:flex;align-items:center;gap:10px;background:var(--surface);
  border:1px solid var(--line);border-radius:14px;padding:11px 18px}
.store:hover{border-color:rgba(255,255,255,.25)}
.store .glyph{font-size:20px;line-height:1}
.store small{display:block;font-size:10px;letter-spacing:.08em;color:var(--muted);font-weight:700}
.store b{font-size:14.5px}
.soon{font-size:12px;font-weight:700;color:#7E96F5;background:var(--accent-soft);
  border-radius:999px;padding:6px 12px}

/* ---------- phone reel ---------- */
.phoneWrap{display:flex;justify-content:center}
.phone{width:290px;height:600px;border-radius:42px;background:#000;border:6px solid #1B2130;
  box-shadow:0 40px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.05);
  position:relative;overflow:hidden;flex-shrink:0}
.video{position:absolute;inset:0;background:#191A22}
.video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.62) 100%)}
.notch{position:absolute;top:10px;left:50%;transform:translateX(-50%);
  width:84px;height:22px;border-radius:12px;background:#000;z-index:3}
.reelUI{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;
  font-size:12px;text-align:left} /* the mockup mirrors the app — never inherit the hero's centering */
/* top-right search button (reels convention, matches the app's home feed), same scrim */
.rSearch{position:absolute;top:40px;right:12px;width:34px;height:34px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;color:#fff;
  background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.25)}
.rSearch svg{width:17px;height:17px}
/* right action rail: heart / share / more, bottom-anchored above the info block */
.rActions{position:absolute;right:14px;bottom:150px;display:flex;flex-direction:column;
  align-items:center;gap:20px;color:#fff}
.rActions svg{width:21px;height:21px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}
.rBottom{padding:0 12px 10px}
.rInfo{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.rAvatar{width:34px;height:34px;border-radius:50%;flex-shrink:0;overflow:hidden;
  background:linear-gradient(135deg,#6C7A94,#3B4A66);border:1.5px solid rgba(255,255,255,.75);
  display:flex;align-items:flex-end;justify-content:center;color:rgba(255,255,255,.85)}
.rAvatar svg{width:24px;height:24px}
.rMeta{display:flex;flex-direction:column;gap:1px;min-width:0}
.rTitle{font-weight:700;font-size:12.5px;text-shadow:0 1px 3px rgba(0,0,0,.5);white-space:nowrap}
.rPrice{color:#E7EBF4;font-size:10.5px;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.rDetail{margin-left:auto;background:#fff;color:var(--accent);font-weight:700;font-size:10.5px;
  border-radius:999px;padding:6px 13px}
.rTags{font-weight:700;font-size:11.5px;margin-bottom:8px;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.rBar{height:2.5px;border-radius:2px;background:rgba(255,255,255,.32);overflow:hidden;margin-bottom:10px}
.rBar i{display:block;height:100%;width:46%;background:#fff;border-radius:2px;
  animation:fill 6s linear infinite}
@keyframes fill{from{width:4%}to{width:96%}}
@media (prefers-reduced-motion:reduce){.rBar i{animation:none;width:46%}}
/* floating tab bar — matches the app: dark rounded bar, home active */
.rTab{display:flex;justify-content:space-around;align-items:center;background:rgba(13,16,23,.92);
  border-radius:14px;padding:13px 6px;color:#8B93A3}
.rTab svg{width:19px;height:19px}
.rTab svg.on{color:#fff}

/* ---------- sections ---------- */
.band{padding:72px 0;border-top:1px solid var(--line)}
.bandHead{font-size:11.5px;font-weight:700;letter-spacing:.18em;color:#7E96F5;margin-bottom:14px}
h2.bandTitle{font-family:var(--display);font-weight:700;font-size:clamp(26px,3vw,34px);
  letter-spacing:-.015em;text-wrap:balance;margin-bottom:40px;max-width:24ch}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px 22px}
.card .ic{width:38px;height:38px;border-radius:12px;background:var(--accent-soft);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;color:#8CA4FF}
.card h3{font-size:16px;font-weight:700;margin-bottom:8px}
.card p{font-size:13.5px;line-height:1.6;color:var(--muted)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:step}
.step{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px 22px}
.step::before{counter-increment:step;content:counter(step,decimal-leading-zero);
  font-family:var(--display);font-weight:800;font-size:15px;color:var(--accent);
  display:block;margin-bottom:14px}
.step h3{font-size:17px;font-weight:700;margin-bottom:8px}
.step p{font-size:13.5px;line-height:1.6;color:var(--muted)}
.ctaBand{padding:80px 0;text-align:center;border-top:1px solid var(--line);
  background:radial-gradient(70% 120% at 50% 120%,rgba(38,86,251,.18),transparent 70%)}
.ctaBand h2{font-family:var(--display);font-weight:800;font-size:clamp(30px,4vw,40px);
  letter-spacing:-.02em;text-wrap:balance;margin-bottom:14px}
.ctaBand p{color:var(--muted);font-size:15.5px;margin-bottom:28px}
.ctaBand .ctaRow{justify-content:center}
.ctaBand a.mail{color:#9DB4FF}
.ctaBand a.mail:hover{text-decoration:underline}

/* ---------- footer ---------- */
.foot{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:28px 0;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.foot img{height:18px;opacity:.85}
.foot .flinks{display:flex;gap:20px;flex-wrap:wrap}
.foot a:hover{color:var(--text)}

/* ---------- legal pages ---------- */
.legal{max-width:760px;margin:0 auto;padding:72px 0 96px}
.legal h1{font-family:var(--display);font-weight:700;font-size:clamp(28px,4vw,38px);
  letter-spacing:-.015em;margin-bottom:10px}
.legal .meta{font-size:12.5px;color:var(--muted);margin-bottom:36px}
.legal h2{font-size:18px;font-weight:700;margin:34px 0 10px}
.legal h3{font-size:15px;font-weight:700;margin:24px 0 8px;color:var(--text)}
.legal p,.legal li{font-size:14.5px;line-height:1.75;color:var(--muted)}
.legal p{margin-bottom:12px}
.legal ul{margin:0 0 12px}
.legal li{margin-left:20px;margin-bottom:6px}
.legal a{color:#9DB4FF}
.legal a:hover{text-decoration:underline}
.tableWrap{overflow-x:auto;margin:16px 0 24px;border:1px solid var(--line);border-radius:12px}
.legal table{border-collapse:collapse;width:100%;min-width:560px;font-size:13.5px}
.legal th{background:var(--surface2);color:var(--text);font-weight:700;text-align:left;
  padding:10px 14px;border-bottom:1px solid var(--line)}
.legal td{padding:10px 14px;border-bottom:1px solid var(--line);color:var(--muted);
  line-height:1.6;vertical-align:top}
.legal tr:last-child td{border-bottom:none}
.phTag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.1em;color:#FFC66E;
  background:rgba(255,171,64,.12);border:1px solid rgba(255,171,64,.3);
  border-radius:999px;padding:5px 12px;margin-bottom:28px}

/* ---------- mobile ---------- */
@media (max-width:768px){
  .wrap{padding:0 20px}
  .navlinks{display:none}
  /* Negative margin cancels the button's own tap padding so the icon sits exactly
     on the 20px gutter — same distance from the edge as the logo. */
  .burger{display:flex;margin-right:-6px}
  .mmenu.open{display:flex}
  /* Single column: the phone mockup below the copy is centered, so the copy,
     paragraph and store badges center too — mixed alignment read as broken. */
  .hero{grid-template-columns:1fr;padding-block:48px 40px;gap:40px;text-align:center}
  .sub{margin-left:auto;margin-right:auto}
  .ctaRow{justify-content:center}
  .heroGlow{top:-320px;right:-240px}
  /* Scale the mockup with the viewport instead of a fixed 290px that could
     overhang narrow screens; the inner UI is absolutely positioned so it follows. */
  .phone{width:min(290px,78vw);height:auto;aspect-ratio:290/600}
  .band{padding:48px 0}
  h2.bandTitle{max-width:none}
  .cards,.steps{grid-template-columns:1fr}
  .ctaBand{padding:56px 0}
  .foot{flex-direction:column;align-items:center;text-align:center}
  .foot .flinks{justify-content:center}
  .legal{padding:44px 0 64px}
}
@media (max-width:480px){
  /* clamp()'s 40px floor ran nearly edge to edge inside 20px gutters */
  h1.display{font-size:34px}
  .sub{font-size:15.5px}
}
