/* QADHA public website. Brand: black stage, white voice (same tokens as the app); red is energy only (LIVE). One font: IBM Plex Sans Arabic (OFL), self-hosted. Mobile-first, centered composition. */
@font-face { font-family: "Plex"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+2010-2011, U+204F, U+2E41, U+FE80-FEFC; }
@font-face { font-family: "Plex"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+2010-2011, U+204F, U+2E41, U+FE80-FEFC; }
@font-face { font-family: "Plex"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+2010-2011, U+204F, U+2E41, U+FE80-FEFC; }
@font-face { font-family: "Plex"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #000; --raised: #0d0d0d; --elevated: #141414; --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(255, 255, 255, 0.18);
  --text: #fff; --muted: #a3a3a3; --faint: #737373; --live: #ff2d35;
  --r-sm: 14px; --r-md: 20px; --r-lg: 28px;
  --font: "Plex", "Segoe UI", system-ui, -apple-system, "Noto Sans Arabic", Tahoma, sans-serif;
  --wrap: 1160px; --gutter: 20px; --header-h: 60px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px -24px rgba(0, 0, 0, 0.9);
}
@media (max-width: 380px) { :root { --gutter: 16px; } }
@media (min-width: 700px) { :root { --gutter: 32px; --header-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; z-index: 200; font-weight: 600; }
.skip:focus { top: 12px; }
.latin { letter-spacing: .04em; }

/* ───────── header ───────── */
.top { position: sticky; top: 0; z-index: 100; }
/* the blur lives on a pseudo-element: backdrop-filter on .top itself would turn it into the containing block of the fixed mobile menu */
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.66); -webkit-backdrop-filter: saturate(170%) blur(20px); backdrop-filter: saturate(170%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.top.scrolled::before { border-bottom-color: var(--line); background: rgba(0, 0, 0, 0.82); }
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; line-height: 1; }
.brand img { width: 32px; height: 32px; }
.brand span { letter-spacing: .06em; }
.actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; color: #fff; padding: 0; transition: background .2s, border-color .2s; }
.menu-btn:hover { background: rgba(255, 255, 255, 0.06); }
.menu-btn i { display: block; width: 18px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .2s; grid-area: 1 / 1; }
.menu-btn i:first-child { transform: translateY(-4px); }
.menu-btn i:last-child { transform: translateY(4px); }
.nav-open .menu-btn i:first-child { transform: rotate(45deg); }
.nav-open .menu-btn i:last-child { transform: rotate(-45deg); }
.nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px var(--gutter) 64px; background: rgba(0, 0, 0, 0.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav a.nav-link { font-size: 26px; font-weight: 600; padding: 12px 24px; color: #e8e8e8; border-radius: 16px; }
.nav a.nav-link:active { background: rgba(255, 255, 255, 0.07); }
.nav .btn { margin-top: 22px; min-width: 240px; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav { position: static; inset: auto; flex-direction: row; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; visibility: visible; transform: none; padding: 0; gap: 8px; justify-content: center; flex: 1; }
  .nav a.nav-link { font-size: 15px; font-weight: 500; padding: 8px 16px; color: var(--muted); transition: color .2s; }
  .nav a.nav-link:hover { color: #fff; }
  .nav .btn { display: none; }
  body.nav-open { overflow: auto; }
}

/* ───────── buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 16px; font-family: inherit; font-size: 16.5px; font-weight: 700; line-height: 1; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s, border-color .2s, box-shadow .25s; white-space: nowrap; }
.btn svg { width: 21px; height: 21px; flex: none; }
.btn-primary { background: #fff; color: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 12px 36px -8px rgba(255, 255, 255, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #fff, 0 16px 44px -8px rgba(255, 255, 255, 0.4); }
.btn-primary:active { transform: scale(.975); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-soon { background: rgba(255, 255, 255, 0.03); color: #8f8f8f; border-color: var(--line); cursor: default; font-weight: 600; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 13px; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }

/* ───────── hero ───────── */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 32px 0 44px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 38% at 50% 0%, rgba(255, 255, 255, 0.11), transparent 70%), radial-gradient(60% 40% at 50% 62%, rgba(255, 45, 53, 0.09), transparent 72%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mask-image: linear-gradient(#000 40%, transparent); -webkit-mask-image: linear-gradient(#000 40%, transparent); }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: center; width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; line-height: 1.4; color: #dcdcdc; background: rgba(255, 255, 255, 0.04); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 53, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 45, 53, 0); } }
.hero-logo { position: relative; width: 84px; height: 84px; margin: 28px 0 14px; filter: drop-shadow(0 12px 28px rgba(255, 255, 255, 0.12)); }
.hero h1 { font-size: clamp(64px, 19vw, 92px); line-height: 1.05; font-weight: 700; }
.slogan { margin-top: 2px; font-size: clamp(24px, 6.4vw, 32px); font-weight: 600; line-height: 1.3; }
.slogan em { font-style: normal; color: var(--live); }
.lead { margin: 16px auto 0; max-width: 27ch; font-size: clamp(16.5px, 4.4vw, 19px); line-height: 1.85; color: #c4c4c4; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 320px; margin-top: 28px; }
.cta .btn { width: 100%; }
.cta .btn-soon { min-height: 48px; font-size: 15px; }
.scroll-hint { margin-top: 18px; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.scroll-hint svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* device frame */
.device { position: relative; margin: 0; width: var(--dw, 252px); border-radius: calc(var(--dw, 252px) * 0.155); padding: 7px; background: linear-gradient(150deg, #4a4a4a 0%, #1a1a1a 22%, #0a0a0a 55%, #2d2d2d 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 20px 50px -20px rgba(255, 255, 255, 0.08); }
.device::after { content: ""; position: absolute; top: 14px; left: 50%; width: 28%; height: 17px; translate: -50% 0; border-radius: 12px; background: #000; z-index: 2; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04); }
.device img { width: 100%; height: auto; aspect-ratio: 760 / 1645; object-fit: cover; border-radius: calc(var(--dw, 252px) * 0.135); background: #080808; }
.hero-phone { position: relative; margin-top: 44px; }
.hero-phone::before { content: ""; position: absolute; inset: 8% -30% -4%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.10), transparent 70%); }
.hero-phone .device { --dw: min(66vw, 268px); animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

@media (min-width: 1000px) {
  .hero { padding: 56px 0 104px; text-align: start; }
  .hero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; column-gap: 48px; justify-items: start; }
  .hero-text { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-logo { margin: 30px 0 12px; width: 92px; height: 92px; }
  .lead { margin-inline: 0; max-width: 32ch; }
  .cta { align-items: stretch; max-width: 340px; }
  .hero-phone { margin-top: 0; justify-self: center; }
  .hero-phone .device { --dw: 300px; }
}

/* ───────── sections ───────── */
.section { padding-block: 76px; }
@media (min-width: 700px) { .section { padding-block: 104px; } }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; }
.eyebrow { font-size: 13px; letter-spacing: .02em; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--line-strong); }
.h2 { font-size: clamp(27px, 7.2vw, 46px); line-height: 1.25; font-weight: 700; max-width: 18ch; }
.sub { color: var(--muted); font-size: clamp(15.5px, 4vw, 18px); max-width: 34ch; line-height: 1.85; }

/* cards */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.card { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; text-align: start; column-gap: 16px; row-gap: 2px; padding: 18px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); box-shadow: var(--shadow); transition: transform .35s ease, border-color .35s, background .35s; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); border-color: var(--line-strong); } }
.ico { grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)); border: 1px solid var(--line-strong); }
.ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico.live { background: radial-gradient(100% 100% at 50% 0%, rgba(255, 45, 53, 0.28), rgba(255, 45, 53, 0.07)); border-color: rgba(255, 45, 53, 0.4); }
.ico.live svg { stroke: #ff4d54; }
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
@media (min-width: 640px) { .card h3 { font-size: 20px; } }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
@media (min-width: 640px) {
  .card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 30px 24px 28px; }
  .ico { margin-bottom: 4px; width: 56px; height: 56px; }
  .card p { font-size: 15.5px; max-width: 30ch; }
}

/* ───────── product showcase ───────── */
.showcase { position: relative; overflow: clip; background: radial-gradient(60% 55% at 50% 45%, rgba(255, 255, 255, 0.06), transparent 72%); border-block: 1px solid var(--line); }
.track { --dw: min(64vw, 262px); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px calc((100vw - var(--dw)) / 2) 30px; margin-inline: calc(var(--gutter) * -1); -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 var(--dw); scroll-snap-align: center; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.slide .device { width: var(--dw); transition: transform .5s ease, opacity .5s ease; }
.slide figcaption { font-size: 18px; font-weight: 700; line-height: 1.4; }
.slide figcaption small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.22); cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 26px; background: #fff; }
.dots button { position: relative; }
.dots button::after { content: ""; position: absolute; inset: -14px -6px; }
.note { margin-top: 26px; text-align: center; color: var(--faint); font-size: 13px; }
@media (min-width: 900px) {
  .track { --dw: 252px; overflow: visible; justify-content: center; align-items: center; gap: 44px; padding: 20px 0 20px; margin-inline: 0; scroll-snap-type: none; }
  .slide { flex: 0 0 auto; }
  .slide:nth-child(1) { order: 2; --dw: 300px; }
  .slide:nth-child(2) { order: 3; }
  .slide:nth-child(3) { order: 1; }
  .slide:nth-child(2) .device, .slide:nth-child(3) .device { opacity: .9; }
  .dots { display: none; }
}

/* ───────── identity ───────── */
.identity { position: relative; text-align: center; overflow: clip; background: radial-gradient(48% 70% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 72%); }
.identity .mark { width: 76px; height: 76px; margin: 0 auto 22px; }
.identity .big { font-size: clamp(60px, 18vw, 150px); font-weight: 700; line-height: 1.1; }
.identity .big span { color: var(--live); }
.identity p.words { margin: 18px auto 0; max-width: 30ch; color: var(--muted); font-size: clamp(16px, 4.2vw, 20px); line-height: 1.9; }

/* ───────── download ───────── */
.dl { display: grid; gap: 18px; justify-items: center; }
.dl-card { width: 100%; max-width: 520px; padding: 28px 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 700px) { .dl-card { padding: 38px 36px 32px; } }
.os { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: #000; margin-bottom: 18px; box-shadow: 0 16px 40px -12px rgba(255, 255, 255, 0.35); }
.os svg { width: 34px; height: 34px; }
.dl-card h3 { font-size: clamp(22px, 5.6vw, 28px); font-weight: 700; line-height: 1.3; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 22px; padding: 5px 14px; border-radius: 999px; font-size: 13px; color: #d4d4d4; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; width: 100%; display: grid; gap: 10px; text-align: start; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; font-size: 15.5px; line-height: 1.6; color: #dadada; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-weight: 700; font-size: 13.5px; }
.dl-card .btn { width: 100%; max-width: 360px; }
.dl-card .btn-soon { margin-top: 10px; min-height: 46px; font-size: 14.5px; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; color: var(--muted); font-size: 13.5px; }
.meta b { color: #e8e8e8; font-weight: 600; }
details.verify { margin-top: 12px; color: var(--faint); font-size: 12.5px; width: 100%; }
details.verify summary { cursor: pointer; list-style: none; }
details.verify summary::-webkit-details-marker { display: none; }
details.verify code { display: block; margin-top: 8px; padding: 10px 12px; background: #000; border: 1px solid var(--line); border-radius: 10px; direction: ltr; text-align: left; word-break: break-all; font-size: 11.5px; color: #cfcfcf; }
.qr { display: none; text-align: center; gap: 14px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.qr img { width: 168px; height: 168px; margin-inline: auto; border-radius: 16px; background: #fff; padding: 9px; }
.qr p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
@media (min-width: 960px) {
  .dl { grid-template-columns: 520px 220px; justify-content: center; align-items: center; gap: 28px; }
  .dl .qr { display: grid; }
}

/* ───────── footer ───────── */
.foot { border-top: 1px solid var(--line); padding: 52px 0 40px; text-align: center; color: var(--muted); font-size: 14.5px; }
.foot .brand { justify-content: center; font-size: 22px; color: #fff; }
.foot .brand img { width: 38px; height: 38px; }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 4px 34px; margin: 26px auto 0; }
@media (min-width: 640px) { .foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; } }
.foot nav a { padding: 6px 2px; transition: color .2s; }
.foot nav a:hover { color: #fff; }
.foot .mail { display: inline-block; margin-top: 18px; color: #d8d8d8; direction: ltr; font-size: 15px; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.foot .small { margin: 22px auto 0; max-width: 34ch; font-size: 12.5px; color: var(--faint); line-height: 1.8; }

/* ───────── article pages (support / privacy / terms / 404) ───────── */
.page { padding-block: 44px 72px; }
.page article { max-width: 760px; margin-inline: auto; }
.page h1 { font-size: clamp(32px, 8vw, 52px); line-height: 1.2; margin-bottom: 10px; }
.page .updated { color: var(--muted); margin-bottom: 36px; font-size: 15px; }
.page h2 { font-size: 22px; margin: 40px 0 10px; line-height: 1.4; }
.page p, .page li { color: #d0d0d0; line-height: 1.95; }
.page ul { padding-inline-start: 22px; }
.page a.link { text-decoration: underline; text-underline-offset: 4px; }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); padding: 2px 20px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1.2; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.contact { margin-top: 36px; padding: 26px 22px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); }
.contact h2 { margin-top: 0; }

/* reveal (only with JS; content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.hide-sm { display: none; }
@media (min-width: 460px) { .hide-sm { display: inline; } }
