/* Stop Smoking — calm modern theme (layout family shared with hp.havari.org) */
:root {
  --bg: #0f191c;
  --bg-2: #14222600;
  --bg-2: #142226;
  --panel: #1a2b30;
  --line: rgba(255,255,255,.08);
  --text: #eef3f2;
  --text-2: #a3b3b3;
  --paper: #f3f6f4;
  --paper-2: #ffffff;
  --ink: #14211f;
  --ink-2: #55676a;
  --accent: #8fd3b6;
  --accent-2: #63b596;
  --accent-soft: rgba(143,211,182,.16);
  --warm: #f0c987;
  --danger: #e6a3a3;
  --radius: 20px;
  --max: 1100px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.lede { font-size: 1.15rem; color: var(--text-2); max-width: 36rem; }
.light .lede { color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; cursor: pointer; font-family: var(--font-body); line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px rgba(143,211,182,.22); }
.btn-accent:hover { background: #a3ddc4; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26393a; }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn-soft:hover { background: rgba(143,211,182,.26); }
.btn-warm { background: var(--warm); color: var(--ink); box-shadow: 0 10px 30px rgba(240,201,135,.2); }
.btn-big { padding: 1.2rem 1.8rem; font-size: 1.1rem; width: 100%; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1rem; }
.site-header.scrolled { background: rgba(15,25,28,.84); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .wrap { height: 66px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.brand-mark { width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-top: .2rem; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a { position: relative; padding: .6rem .9rem; color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .35rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: .8rem; padding: .65rem 1.25rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: transform .25s, opacity .2s; }

/* Hero */
.hero { position: relative; min-height: 92svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,25,28,.72) 0%, rgba(15,25,28,.45) 55%, rgba(15,25,28,.25) 100%), linear-gradient(180deg, rgba(15,25,28,.45) 0%, rgba(15,25,28,.15) 35%, rgba(15,25,28,.7) 75%, var(--bg) 100%); }
.hero .wrap { padding-top: 8rem; padding-bottom: 4rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; width: 100%; }
.hero h1 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.5), 0 8px 40px rgba(0,0,0,.45); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .kicker { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.hero .kicker::before { background: var(--accent); }
.hero .lede { color: #fff; font-size: 1.2rem; text-shadow: 0 1px 4px rgba(0,0,0,.7), 0 4px 24px rgba(0,0,0,.5); }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }

/* Glass card (hero aside) */
.glass { background: rgba(20,34,38,.7); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.glass h3 { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; margin-bottom: 1rem; }
.glass h3 span { font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.glass ol { margin: 0; padding-left: 1.2rem; color: var(--text-2); }
.glass li { margin-bottom: .55rem; }
.glass li b { color: #fff; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 1.05rem 0; }
.strip-track { display: flex; gap: 3.5rem; white-space: nowrap; width: max-content; animation: marquee 44s linear infinite; }
.strip-track span { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text-2); display: inline-flex; align-items: center; gap: 3.5rem; }
.strip-track span::after { content: "◆"; color: var(--accent); font-size: .55rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.light { background: var(--paper); color: var(--ink); }
.light h2, .light h3 { color: var(--ink); }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-head .lede { margin: 0; }

/* Photo cards */
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.card { position: relative; grid-column: span 4; min-height: 360px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.card.wide { grid-column: span 6; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(10,18,20,.88)); }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 1.75rem; width: 100%; }
.card-body .num { font-size: .75rem; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.card-body h3 { color: #fff; font-size: 1.45rem; margin: .4rem 0 .3rem; }
.card-body p { color: rgba(255,255,255,.8); margin: 0; font-size: .95rem; }

/* Step tiles */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid rgba(20,33,31,.06); border-radius: var(--radius); padding: 1.8rem 1.5rem 1.5rem; box-shadow: 0 8px 30px rgba(20,33,31,.05); overflow: hidden; transition: transform .3s; }
.step:hover { transform: translateY(-5px); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: rgba(20,33,31,.06); position: absolute; right: 1rem; top: .7rem; }
.step .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent-2); margin-bottom: 1.2rem; box-shadow: 0 0 0 6px rgba(99,181,150,.15); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.dark .step { background: var(--panel); border-color: var(--line); box-shadow: none; }
.dark .step h3 { color: #fff; } .dark .step p { color: var(--text-2); } .dark .step::before { color: rgba(255,255,255,.06); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split .img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.split .img img { width: 100%; height: 100%; object-fit: cover; }
.split .img::after { content: ""; position: absolute; inset: auto -12% -12% auto; width: 60%; height: 60%; border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .75rem; }
.list li { display: flex; gap: .9rem; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1.1rem; color: var(--text-2); }
.light .list li { background: #fff; border-color: rgba(20,33,31,.06); color: var(--ink-2); }
.list li b { color: #fff; display: block; font-weight: 700; }
.light .list li b { color: var(--ink); }
.list .ico { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--accent-soft); color: var(--accent); }
.light .list .ico { background: #e4f3ec; color: #2c8a63; }

/* Banner CTA */
.banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; display: grid; align-items: center; isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,25,28,.85), rgba(15,25,28,.35)); }
.banner .inner { padding: clamp(2rem, 5vw, 4rem); max-width: 40rem; }
.banner h2 { color: #fff; }
.banner p { color: rgba(255,255,255,.85); }

/* Footer */
.site-footer { background: #0a1214; color: var(--text-2); padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--text-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand-name { color: #fff; }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: #6f7f80; }
.credit { font-size: .9rem; color: var(--text-2); max-width: 44rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- APP ---------- */
.app { min-height: 100svh; display: flex; flex-direction: column; }
.screen { display: none; flex: 1; animation: rise .4s ease both; }
.screen.on { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none; } }
.photo-head { position: relative; min-height: 300px; display: grid; align-items: end; isolation: isolate; overflow: hidden; border-radius: 0 0 28px 28px; }
.photo-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,25,28,.35) 0%, rgba(15,25,28,.1) 35%, rgba(15,25,28,.85) 100%); }
.photo-head .wrap { padding-top: 5.5rem; padding-bottom: 1.6rem; width: 100%; }
.photo-head h1 { font-size: clamp(2rem, 7vw, 3rem); color: #fff; margin-bottom: .2em; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.photo-head .kicker { color: #fff; margin-bottom: .6rem; }
.photo-head p { color: rgba(255,255,255,.9); margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.app-body { padding: 1.5rem 0 6rem; }
.app-body .wrap { max-width: 640px; }
.stack { display: grid; gap: .9rem; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.25rem; }
.panel h3 { margin-bottom: .4rem; }
.panel h3 small { display: block; font-family: var(--font-body); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: .4rem; }
.panel p { color: var(--text-2); font-size: .97rem; }
.panel p:last-child { margin-bottom: 0; }
.muted { color: var(--text-2); font-size: .9rem; }
.tiny { font-size: .8rem; color: var(--text-2); }
label.f { display: block; font-size: .85rem; font-weight: 700; color: var(--text-2); margin-bottom: .45rem; }
.input { width: 100%; font: inherit; font-size: 1.05rem; padding: .95rem 1.05rem; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input::placeholder { color: #6f7f80; }
.field { margin-bottom: 1.05rem; }
.check { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.05rem; color: var(--text); font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.check:hover { background: rgba(255,255,255,.07); }
.check .box { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; border: 2px solid rgba(255,255,255,.3); display: grid; place-items: center; font-size: 1rem; color: var(--ink); transition: background .2s, border-color .2s; }
.check.done { border-color: rgba(143,211,182,.5); background: var(--accent-soft); }
.check.done .box { background: var(--accent); border-color: var(--accent); }
.check.done .box::after { content: "✓"; font-weight: 800; }
.check .txt b { display: block; font-weight: 700; }
.check .txt span { display: block; font-size: .85rem; color: var(--text-2); }
.check.done .txt b { text-decoration: line-through; color: var(--text-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.choice { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem .9rem; color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-align: center; transition: background .2s, border-color .2s, transform .2s; font-size: 1rem; }
.choice:hover { background: rgba(255,255,255,.09); border-color: rgba(143,211,182,.4); transform: translateY(-2px); }
.choice .em { display: block; font-size: 1.7rem; margin-bottom: .3rem; }
.sos { position: fixed; left: 50%; bottom: calc(4.9rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; width: min(92vw, 600px); padding: 1.15rem 1.5rem; border-radius: 999px; background: var(--warm); color: var(--ink); font: inherit; font-weight: 800; font-size: 1.1rem; border: 0; cursor: pointer; box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 6px rgba(240,201,135,.18); display: none; align-items: center; justify-content: center; gap: .6rem; }
.sos.show { display: flex; }
.sos:active { transform: translateX(-50%) scale(.98); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.day { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 800; color: var(--text-2); font-size: .95rem; }
.day.done { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.day.today { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stat { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; padding: 1rem .6rem; text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: #fff; line-height: 1; }
.stat .l { font-size: .74rem; color: var(--text-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: .35rem; }
.breath { display: grid; place-items: center; padding: 1.5rem 0 .5rem; }
.breath .ring { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(143,211,182,.35), rgba(143,211,182,.08)); border: 2px solid rgba(143,211,182,.5); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; transform: scale(.7); transition: transform 4s ease-in-out; }
.breath.in .ring { transform: scale(1); }
.breath .count { margin-top: .9rem; color: var(--text-2); font-size: .9rem; }
.log { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.log li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.log li .ok { color: var(--accent); font-weight: 700; }
.log li .slip { color: var(--danger); font-weight: 700; }
.pledge { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: #fff; border-left: 3px solid var(--accent); padding-left: 1.1rem; margin: 1rem 0 1.4rem; }
.sig { font-family: "Sora", cursive; font-size: 1.6rem; color: var(--accent); }
.certificate { border: 2px solid var(--accent); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; background: linear-gradient(180deg, rgba(143,211,182,.12), rgba(143,211,182,.03)); }
.certificate h2 { color: #fff; font-size: 1.8rem; }
.certificate .name { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); margin: .6rem 0; }
.certificate p { color: var(--text-2); }
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: .9rem clamp(1rem, 4vw, 2rem); }
.topbar .brand-name { font-size: .95rem; }
.topbar .icon { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(15,25,28,.5); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 1.1rem; cursor: pointer; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(10,18,20,.9); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: none; grid-template-columns: repeat(3, 1fr); padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom)); }
.tabs.show { display: grid; }
.tabs button { background: none; border: 0; color: var(--text-2); font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .5rem .2rem; border-radius: 12px; cursor: pointer; display: grid; gap: .15rem; justify-items: center; }
.tabs button .em { font-size: 1.25rem; }
.tabs button.on { color: var(--accent); }
.app-body.with-sos { padding-bottom: 9.5rem; }
.toast { position: fixed; left: 50%; top: 5.2rem; transform: translateX(-50%); background: var(--accent); color: var(--ink); font-weight: 700; padding: .7rem 1.2rem; border-radius: 999px; z-index: 80; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.show { opacity: 1; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cards .card, .cards .card.wide { grid-column: span 6; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: fixed; inset: 0; background: rgba(10,18,20,.96); flex-direction: column; justify-content: center; align-items: center; gap: .6rem; z-index: 90; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.4rem; padding: .7rem 1.2rem; }
  .nav .btn { margin: .8rem 0 0; font-size: 1rem; }
  .site-header .nav-toggle { position: relative; z-index: 95; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .brand-name small { display: none; }
  .hero { min-height: 88svh; }
  .cards .card, .cards .card.wide { grid-column: span 12; min-height: 280px; }
  .steps, .site-footer .cols { grid-template-columns: 1fr; }
  .glass { padding: 1.3rem; }
  .photo-head { min-height: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  .strip-track { animation: none; }
}

/* Install sheet */
.sheet { position: fixed; inset: 0; z-index: 200; background: rgba(5,10,12,.7); backdrop-filter: blur(6px); display: none; align-items: flex-end; justify-content: center; padding: 1rem; }
.sheet.show { display: flex; }
.sheet-card { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom)); width: min(100%, 520px); animation: rise .35s ease both; }
.sheet-card h3 { color: #fff; margin-bottom: .8rem; }
.sheet-card ol { margin: 0 0 1.2rem; padding-left: 1.3rem; color: var(--text-2); display: grid; gap: .6rem; }
.sheet-card li b { color: #fff; }

/* Logo */
.hero-logo { width: min(72vw, 300px); height: auto; margin: 0 auto 1.6rem; display: block; filter: drop-shadow(0 16px 40px rgba(0,0,0,.5)); }
.hero-showcase { display: none; }
@media (min-width: 1001px) {
  .hero-logo { display: none; }
  .hero-showcase { display: grid; place-items: center; }
  .hero-showcase img { width: min(100%, 440px); height: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,.5)); animation: float 7s ease-in-out infinite; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.app-logo { width: min(64vw, 260px); height: auto; display: block; margin: 0 auto 1.2rem; filter: drop-shadow(0 12px 30px rgba(0,0,0,.45)); }
.certificate img { width: min(60vw, 220px); }
@media (prefers-reduced-motion: reduce) { .hero-showcase img { animation: none; } }
@media (max-width: 720px) { .brand-mark { width: 48px; height: 48px; flex-basis: 48px; } .topbar .brand-mark { width: 44px; height: 44px; flex-basis: 44px; } }
.site-footer .brand-name { display: inline-flex; align-items: center; gap: .6rem; }
@media (min-width: 721px) { .nav a { white-space: nowrap; padding: .6rem .7rem; font-size: .92rem; } .nav a:not(.btn)::after { left: .7rem; right: .7rem; } .brand-name small { white-space: nowrap; } }
@media (min-width: 721px) and (max-width: 1000px) { .nav a { padding: .5rem .5rem; font-size: .86rem; } .brand-name small { display: none; } }
