/* C&P packages store. Tokens follow creativityandplanning.com: near-black, one warm gold light, white type, glass, sparing red. Mobile first. */
:root {
  --bg: #111013; --bg2: #18171b; --ink: #fff; --ink2: rgba(255,255,255,.75); --muted: #8d8c90; --line: rgba(255,255,255,.1);
  --gold: #e4e8ee; --gold2: #8e97a2; --red: #d90a2c; --glass: rgba(18,17,20,.66);
  --r1: 12px; --r2: 16px; --r3: 24px; --gut: 16px;
  --ar: "IBM Plex Sans Arabic", system-ui, sans-serif; --en: "DM Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --tx: 0; --ty: 0; --hp: 0; --sp: 0;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--ar); overflow-x: hidden; }
html[lang="en"] body { font-family: var(--en); line-height: 1.55; }
body::after { content: ""; position: fixed; inset: 0; background: url(/img/grain.webp); opacity: .06; pointer-events: none; z-index: 60; }
img, video { max-width: 100%; height: auto; display: block; }
/* living background (bg.js): fixed WebGL behind everything; the CSS grain steps aside when it runs */
.bg-gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; display: block; }
html.gl body::after { display: none; }
html.gl .hero > .light { opacity: .55; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }
h2 { font-size: clamp(26px, 6.4vw, 46px); max-width: 22ch; }
h3 { font-size: 18px; }
p { margin: 0; }
.num { font-family: var(--en); font-variant-numeric: tabular-nums; }
.gold { color: var(--gold); }
.eyebrow { font-size: 13px; letter-spacing: .04em; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }
.lede { color: var(--ink2); font-size: 17px; max-width: 46ch; margin-top: 14px; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 16px; top: 16px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; touch-action: manipulation; transition: transform .2s, background .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(180deg, #ffffff, #cdd3db); color: #111013; box-shadow: 0 8px 30px -12px rgba(220,226,234,.55); }
.btn.ghost { background: var(--glass); border-color: var(--line); color: var(--ink); backdrop-filter: blur(10px); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.wide { width: 100%; margin-top: 18px; }
.btn:disabled { opacity: .6; }
.link { background: none; border: 0; color: var(--gold); font: inherit; cursor: pointer; padding: 6px; min-height: 34px; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px var(--gut); padding-top: max(10px, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(17,16,19,.85), rgba(17,16,19,0)); }
.brand img { height: 30px; width: auto; }
.nav { display: none; }
.lang, .cart-btn { margin-inline-start: auto; min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink);
  font: 600 14px var(--en); cursor: pointer; backdrop-filter: blur(10px); touch-action: manipulation; }
.cart-btn { margin-inline-start: 0; position: relative; display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--red); color: #fff; font: 700 12px/20px var(--en); text-align: center; }

/* hero: the living mark */
.hero { position: relative; min-height: 100svh; display: grid; align-content: start; gap: 26px; padding: 92px var(--gut) 76px; overflow: hidden; isolation: isolate; }
.light { position: absolute; inset: -10% -30% auto; height: 80vh; z-index: -2; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(220,226,234,.22), rgba(160,170,182,.08) 45%, transparent 70%);
  animation: breathe 7s ease-in-out infinite; will-change: opacity; transform: translate(calc(var(--tx) * -30px), calc(var(--ty) * -20px)); }
.light.small { inset: auto; width: 420px; height: 420px; left: 50%; top: 50%; translate: -50% -50%; }
@keyframes breathe { 50% { opacity: .7; } }
.mark-wrap { position: absolute; inset: 70px 0 auto; height: 52vh; display: grid; place-items: center; z-index: -1; perspective: 900px;
  opacity: calc(1 - var(--hp) * .9); transform: translateY(calc(var(--hp) * -60px)) scale(calc(1 - var(--hp) * .25)); }
.mark { width: min(62vw, 330px); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)) drop-shadow(0 0 60px rgba(220,226,234,.25));
  transform: rotateY(calc(var(--tx) * 28deg)) rotateX(calc(var(--ty) * -22deg)) rotateZ(calc(var(--hp) * 45deg)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
.hero h1 { font-size: clamp(34px, 9.5vw, 72px); line-height: 1.15; max-width: 16ch; }
html[lang="en"] .hero h1 { line-height: 1.05; letter-spacing: -.02em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cta-row .btn { flex: 1 1 200px; }
.from { margin-top: 18px; color: var(--ink2); }
.from b { font-size: 22px; color: var(--ink); }
.ticker { position: absolute; inset: auto 0 18px; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); opacity: .55; direction: ltr; }
.ticker-in { display: flex; gap: 28px; width: max-content; animation: tick 28s linear infinite; font-size: 14px; color: var(--muted); }
.ticker-in span::before { content: "✦"; color: var(--gold2); margin-inline-end: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
section[id] { scroll-margin-top: 64px; }
.sec, .film, .shop, .brief { padding: 72px var(--gut); max-width: 1180px; margin: 0 auto; }
.sec > h2, .shop > h2, .film > h2 { margin-bottom: 28px; }
.grid { display: grid; gap: 12px; }
.card, .chip, .stat { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r2); padding: 20px; }
.card h3 { margin-bottom: 6px; }
.card p, .chip span, .stat span { color: var(--ink2); font-size: 15px; }
.card.dim { opacity: .72; }
.card.lit, .stat.lit { border-color: rgba(220,226,234,.45); background: linear-gradient(160deg, rgba(220,226,234,.14), rgba(255,255,255,.03)); }
.idx { display: block; font: 700 13px var(--en); color: var(--gold); margin-bottom: 10px; }
.chip { display: grid; gap: 2px; padding: 16px; }
.stat b { display: block; font-size: 44px; line-height: 1.1; color: var(--gold); margin-bottom: 6px; }
.pull { margin: 22px 0 0; padding: 22px; border-inline-start: 3px solid var(--gold); font-size: 19px; font-weight: 600; background: linear-gradient(90deg, rgba(220,226,234,.08), transparent); border-radius: var(--r1); }
html[dir="rtl"] .pull { background: linear-gradient(270deg, rgba(220,226,234,.08), transparent); }
.sub { margin: 44px 0 16px; font-size: 22px; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* signature: petal split (physical quadrants, so left/top on purpose) */
.split-stage { height: auto; }
.split-sticky { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; align-items: center; justify-items: center; padding: 80px var(--gut) 92px; overflow: hidden; text-align: center; }
.split-copy h2 { margin: 0 auto; }
.petals { position: relative; width: min(56vw, 300px); aspect-ratio: 518 / 567; }
.petal { position: absolute; margin: 0; transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.split.open .petal { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
.petal img { width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.petal.tl { left: 0; top: 0; width: 55.2%; height: 50.6%; --dx: -14vw; --dy: -9vh; --rot: -6deg; }
.petal.tr { right: 0; top: 0; width: 44.8%; height: 50.6%; --dx: 14vw; --dy: -9vh; --rot: 6deg; }
.petal.bl { left: 0; bottom: 0; width: 55.2%; height: 49.4%; --dx: -14vw; --dy: 9vh; --rot: 6deg; }
.petal.br { right: 0; bottom: 0; width: 44.8%; height: 49.4%; --dx: 14vw; --dy: 9vh; --rot: -6deg; }
.petal figcaption { position: absolute; left: 50%; top: 50%; translate: -50% -50%; white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(17,16,19,.82); color: var(--gold); border: 1px solid rgba(220,226,234,.5); opacity: 0; transition: opacity .5s .9s; }
.split.open .petal figcaption { opacity: 1; }
.split-note { max-width: 40ch; color: var(--ink2); font-size: 16px; opacity: 0; transition: opacity .6s 1.3s; }
.split.open .split-note { opacity: 1; }
@media (min-width: 1000px) {
  .petals { width: 340px; }
  .petal.tl, .petal.bl { --dx: -150px; } .petal.tr, .petal.br { --dx: 150px; }
  .petal.tl, .petal.tr { --dy: -70px; } .petal.bl, .petal.br { --dy: 70px; }
  .petal figcaption { font-size: 16px; }
}

/* film */
.film-frame { border-radius: var(--r3); overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 80px -30px rgba(220,226,234,.35); }
.v16 { display: none; } .v9 { width: 100%; aspect-ratio: 9 / 16; max-height: 82svh; margin: 0 auto; object-fit: contain; background: #000; }

/* system: sticky stage, the pinwheel turns one petal per step */
.system { position: relative; }
.sys-stage { height: auto; }
.sys-sticky { position: relative; min-height: 100svh; display: grid; grid-template-rows: 34svh 1fr; padding: 70px var(--gut) 24px; max-width: 1180px; margin: 0 auto; overflow: hidden; }
.sys-mark { position: relative; display: grid; place-items: center; }
.sys-mark img { width: min(40vw, 200px); transform: rotate(calc(var(--step, 0) * 90deg)); filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.sys-mark .light.small { width: 300px; height: 300px; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); border-inline-start: 3px solid transparent; opacity: .45; cursor: pointer; transition: opacity .4s, border-color .4s, background .4s; }
.steps li:hover { opacity: .8; }
.steps li.on { opacity: 1; border-inline-start-color: var(--gold); background: linear-gradient(90deg, rgba(220,226,234,.1), transparent 75%); }
html[dir="rtl"] .steps li.on { background: linear-gradient(270deg, rgba(220,226,234,.1), transparent 75%); }
.steps li p { color: var(--ink2); font-size: 15px; }
.steps .price { color: var(--gold); font-weight: 600; }
.steps li:not(.on) p:not(.price) { display: none; }

/* kickoff */
.kick { display: grid; gap: 12px; padding: 24px; border-radius: var(--r3); border: 1px solid rgba(220,226,234,.4); background: linear-gradient(160deg, rgba(220,226,234,.12), rgba(255,255,255,.02)); margin-bottom: 12px; }
.kick-big b { font-size: 64px; line-height: 1; color: var(--gold); }
.kick-big span { margin-inline-start: 8px; color: var(--ink2); }
.kick .price { font-weight: 600; } .kick .price b { font-size: 24px; }
.grid.small { grid-template-columns: 1fr 1fr; }

/* shop */
.shop-head { display: grid; gap: 22px; margin-bottom: 26px; }
.shop-head h2 { margin-bottom: 0; }
.teaser { margin: 0 auto; width: min(280px, 70vw); display: grid; gap: 10px; justify-items: center; }
.teaser video { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r3); border: 1px solid rgba(220,226,234,.4); box-shadow: 0 30px 70px -30px rgba(220,226,234,.45); background: #111013; object-fit: cover; }
.teaser a { color: var(--gold); font-size: 14px; }
@media (min-width: 1000px) { .shop-head { grid-template-columns: 1fr 260px; align-items: center; gap: 48px; } .teaser { width: 260px; } }
.products { display: grid; gap: 14px; }
.product { position: relative; padding: 22px; border-radius: var(--r3); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(32,30,34,.88), rgba(18,17,20,.8)); display: grid; gap: 14px;
  transition-delay: calc(var(--i) * 80ms); }
.product:nth-child(2) { border-color: rgba(220,226,234,.45); }
.pname { font-size: 24px; font-weight: 700; }
.pprice b { font-size: 40px; color: var(--gold); }
.pprice span { color: var(--muted); }
.pkeys { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink2); font-size: 15px; }
.pkeys li::before { content: "✓"; color: var(--gold); margin-inline-end: 8px; }
.pkeys b { color: var(--ink); }
.tiles { display: flex; flex-wrap: wrap; gap: 5px; align-items: flex-end; }
.tiles i { display: block; border-radius: 4px; background: linear-gradient(160deg, var(--gold), var(--gold2)); }
.tiles .r { width: 16px; height: 28px; } .tiles .s { width: 22px; height: 22px; background: rgba(255,255,255,.22); }
.cmp-wrap { background: rgba(17,16,19,.78); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r2); -webkit-overflow-scrolling: touch; }
.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: start; color: var(--ink2); font-weight: 500; position: sticky; inset-inline-start: 0; background: var(--bg2); }
.cmp thead th { font-size: 16px; color: var(--gold); }

/* sectors, scope, rhythm, terms */
.sector p { color: var(--gold); font-size: 14px; }
.scope { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; }
.scope li { counter-increment: s; display: grid; gap: 2px; padding: 16px 18px; padding-inline-start: 56px; position: relative; border-radius: var(--r2); background: var(--glass); border: 1px solid var(--line); }
.scope li::before { content: counter(s, decimal-leading-zero); position: absolute; inset-inline-start: 18px; top: 17px; font: 700 13px var(--en); color: var(--gold); }
.scope span { color: var(--ink2); font-size: 15px; }
.rhythm { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.rhythm li { display: grid; gap: 2px; padding: 0 0 22px; padding-inline-start: 28px; position: relative; }
.rhythm li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(220,226,234,.18); }
.rhythm li::after { content: ""; position: absolute; inset-inline-start: 8px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.rhythm li:last-child::after { display: none; }
.rhythm b { color: var(--gold); } .rhythm span { color: var(--ink2); }
.next .btn { margin-top: 10px; }
.terms { display: grid; gap: 10px; margin: 0; }
.terms div { padding: 16px 18px; border-radius: var(--r2); background: var(--glass); border: 1px solid var(--line); }
.terms dt { font-weight: 700; } .terms dd { margin: 2px 0 0; color: var(--ink2); font-size: 15px; }

/* direct brief */
.brief { position: relative; text-align: center; display: grid; justify-items: center; gap: 4px; margin: 40px auto; padding: 64px var(--gut); border-radius: var(--r3);
  border: 1px solid rgba(220,226,234,.35); background: rgba(17,16,19,.55); overflow: hidden; isolation: isolate; max-width: min(1180px, calc(100% - 2 * var(--gut))); }
.brief .light { z-index: -1; }
.brief h2 { margin: 0 auto; }
.brief .lede { margin: 12px auto 22px; }

/* footer */
.foot { padding: 56px var(--gut) 120px; border-top: 1px solid var(--line); display: grid; justify-items: center; gap: 14px; text-align: center; }
.foot > img { height: 44px; width: auto; }
.tag { font: 600 12px var(--en); letter-spacing: .3em; color: var(--muted); }
.sister { display: grid; gap: 10px; width: 100%; max-width: 900px; margin-top: 10px; }
.sister a { display: grid; gap: 2px; padding: 16px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--glass); text-decoration: none; }
.sister b { font: 600 15px var(--en); } .sister span { color: var(--muted); font-size: 14px; }
.legal { color: var(--muted); font-size: 13px; }
.legal a { color: var(--muted); margin-inline-start: 8px; }

/* mobile buy bar */
.buybar { position: fixed; inset: auto 0 0; z-index: 45; display: flex; gap: 8px; padding: 10px var(--gut); padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(17,16,19,.9); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s; }
.buybar.show { transform: none; }
.buybar .btn.primary { flex: 1; } .buybar .btn.ghost { flex: 0 0 auto; }

/* sheets: bottom sheet on phones, centred dialog on desktop */
.sheet { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh; border-radius: var(--r3) var(--r3) 0 0; background: #17161a; color: var(--ink);
  border-top: 1px solid rgba(220,226,234,.35); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.sheet[open] { animation: up .35s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet > div { padding: 22px var(--gut) 32px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
.sheet h2 { font-size: 26px; max-width: none; } .sheet h2 small { font-size: 15px; color: var(--muted); font-weight: 500; }
.sheet h3 { margin: 26px 0 12px; font-size: 17px; }
.x { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 10px 10px 0; height: 0; z-index: 2; }
.x button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #222126; color: #fff; font-size: 16px; cursor: pointer; }
.spec, .qt { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.spec th { text-align: start; color: var(--muted); font-weight: 500; padding: 10px 0; width: 34%; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink2); } .spec td b { color: var(--gold); font-family: var(--en); }
.inc { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r1); padding: 12px 14px; }
.inc summary { cursor: pointer; font-weight: 600; } .inc ul { margin: 10px 0 0; padding-inline-start: 18px; color: var(--ink2); font-size: 15px; }
.fld { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--ink2); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r1); border: 1px solid #3a393d; background: #0f0e11; color: #fff; font: 16px inherit; font-family: inherit; }
.fld textarea { min-height: 90px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--gold); outline: none; }
.pillars { color: var(--gold); font-size: 14px; margin-top: 6px; min-height: 1em; }
.seg { border: 0; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-size: 14px; color: var(--ink2); margin-bottom: 6px; }
.seg label span { display: grid; place-items: center; min-height: 48px; padding: 6px 10px; text-align: center; border-radius: var(--r1); border: 1px solid #3a393d; font-size: 14px; cursor: pointer; }
.seg input, .tog input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { border-color: var(--gold); background: rgba(220,226,234,.12); color: var(--gold); }
.seg input:focus-visible + span, .tog input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.tog { display: flex; align-items: center; gap: 10px; margin-top: 16px; cursor: pointer; position: relative; min-height: 34px; font-size: 15px; }
.tog span::before { content: ""; display: inline-block; vertical-align: middle; width: 22px; height: 22px; margin-inline-end: 10px; border-radius: 6px; border: 1.5px solid #5a595d; }
.tog input:checked + span::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23111013' stroke-width='3'/%3E%3C/svg%3E") center/16px no-repeat; border-color: var(--gold); }
.quote { margin-top: 6px; }
.qt td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink2); } .qt td:last-child { text-align: end; font-family: var(--en); white-space: nowrap; }
.qt .st td { color: var(--ink); } .qt .tot td { color: var(--gold); font-weight: 700; font-size: 18px; border-bottom: 0; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px; margin-top: 16px; border-radius: var(--r2); background: var(--glass); border: 1px solid var(--line); }
.line > div:first-child { display: grid; } .line span { color: var(--muted); font-size: 14px; }
.line-btns { display: flex; gap: 4px; }
.err { color: #ff8a8a; font-size: 14px; margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.done { text-align: center; display: grid; justify-items: center; gap: 12px; padding-top: 10px; }
.done img { width: 96px; height: auto; } .done .qt { text-align: start; }
.ordno b { font-family: var(--en); color: var(--gold); font-size: 20px; }

/* tablet and up */
@media (min-width: 720px) {
  :root { --gut: 32px; }
  .grid.g2 { grid-template-columns: 1fr 1fr; }
  .grid.g3, .grid.g4, .grid.g5 { grid-template-columns: repeat(2, 1fr); }
  .grid.small { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .sister { grid-template-columns: repeat(3, 1fr); }
  .terms { grid-template-columns: 1fr 1fr; }
  .scope { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .nav { display: flex; gap: 26px; margin-inline-start: 40px; font-size: 15px; }
  .nav a { text-decoration: none; color: var(--ink2); } .nav a:hover { color: var(--gold); }
  .brand img { height: 36px; }
  .hero { align-content: center; padding-top: 120px; }
  .hero-copy { max-width: 620px; }
  .mark-wrap { inset: 0; inset-inline-start: 50%; height: auto; }
  .mark { width: min(32vw, 440px); }
  .light { inset: 0; inset-inline-start: 35%; height: auto; }
  .grid.g3 { grid-template-columns: repeat(3, 1fr); }
  .grid.g4 { grid-template-columns: repeat(4, 1fr); }
  .grid.g5 { grid-template-columns: repeat(5, 1fr); }
  .v9 { display: none; } .v16 { display: block; width: 100%; aspect-ratio: 16 / 9; }
  .sys-sticky { grid-template-rows: none; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; padding-top: 0; }
  .sys-mark img { width: 300px; }
  .steps li:not(.on) p:not(.price) { display: block; }
  .rhythm { grid-template-columns: repeat(7, 1fr); gap: 10px; }
  .rhythm.four { grid-template-columns: repeat(4, 1fr); }
  .rhythm li { padding: 26px 0 0; padding-inline-start: 0; }
  .rhythm li::before { inset-inline-start: 0; top: 0; }
  .rhythm li::after { inset-inline-start: 14px; inset-inline-end: -10px; top: 4px; bottom: auto; width: auto; height: 2px; }
  .buybar { display: none; }
  .sheet { margin: auto; width: min(640px, 92vw); max-height: 88vh; border-radius: var(--r3); border: 1px solid rgba(220,226,234,.35); }
  .sheet > div { padding: 30px 34px 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* the film is part of the intro: autoplays muted, sound on demand */
.hero-film { position: relative; border-radius: var(--r3); overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 80px -30px rgba(220,226,234,.25); }
.hero-film .v16 { display: none; } .hero-film .v9 { width: 100%; aspect-ratio: 9 / 16; max-height: 78svh; object-fit: cover; }
.snd { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(17,16,19,.6); color: #fff; font: 600 14px inherit; font-family: inherit; cursor: pointer; backdrop-filter: blur(8px); }
.snd[aria-pressed="true"] .ico { filter: grayscale(1); }
.film-cap { position: absolute; bottom: 12px; inset-inline-end: 14px; font-size: 12px; color: rgba(255,255,255,.7); pointer-events: none; }
@media (min-width: 1000px) {
  .hero { grid-template-columns: 1fr 1.15fr; align-content: center; align-items: center; gap: 48px; padding-top: 110px; }
  .hero-film .v9 { display: none; } .hero-film .v16 { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
}

/* Vulnary language (Ali, 11 Nov 2026): underline tabs, hairline rows, a corner glow that follows the pointer */
.ptabs { display: none; }
@media (max-width: 719px) {
  .ptabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
  .ptabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 4px; color: var(--muted); font: 600 16px inherit; font-family: inherit; cursor: pointer; touch-action: manipulation; }
  .ptabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
  .ptabs small { display: block; font: 500 12px var(--en); color: var(--muted); margin-top: 2px; }
  .products .product:not(.sel) { display: none; }
}
.scope li, .terms div { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.scope { gap: 0; } .terms { gap: 0 24px; }
.card, .product, .stat, .chip { border: 1px solid transparent;
  background: linear-gradient(rgba(18,17,20,.8), rgba(18,17,20,.8)) padding-box,
              radial-gradient(220px circle at var(--gx, 0%) var(--gy, 0%), rgba(255,255,255,.55), rgba(220,226,234,.10) 70%) border-box; }
.card::before, .product::before { content: none; }
.cmp td, .cmp th { border-bottom-color: rgba(220,226,234,.08); }
