@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f7f1e9;
  --ink-soft: #e7ddd4;
  --muted: #b8aca3;
  --muted-strong: #d0c1b7;
  --night: #211b1d;
  --night-deep: #151113;
  --panel: #2c2326;
  --panel-soft: #33282b;
  --line: #58454a;
  --maroon: #8a1538;
  --maroon-deep: #69112c;
  --maroon-bright: #ad2850;
  --maroon-soft: #43232d;
  --gold: #e9b949;
  --gold-pale: #f8db91;
  --sand: #efe4d6;
  --cream: #fbf7f1;
  --paper-ink: #211b1d;
  --paper-muted: #665b56;
  --paper-line: #d8cbc0;
  --focus: #ffe27e;
  --success: #81d2a1;
  --danger: #ff9c9c;
  --max: 1220px;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-deep: 0 30px 90px rgb(0 0 0 / 34%);
  --shadow-soft: 0 14px 42px rgb(0 0 0 / 20%);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #211b1d;
  --ink-soft: #3c3030;
  --muted: #665b56;
  --muted-strong: #4b403d;
  --night: #f4ede4;
  --night-deep: #e9ddd2;
  --panel: #fffaf4;
  --panel-soft: #f2e8dc;
  --line: #d5c5b7;
  --maroon-soft: #f2dce3;
  --gold: #946800;
  --gold-pale: #704d00;
  --sand: #f1e4d5;
  --cream: #fffaf4;
  --paper-ink: #211b1d;
  --paper-muted: #665b56;
  --paper-line: #d8cbc0;
  --focus: #6c3b00;
  --success: #1b6d45;
  --danger: #9d2626;
  --shadow-deep: 0 24px 70px rgb(74 46 35 / 17%);
  --shadow-soft: 0 12px 34px rgb(74 46 35 / 13%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  transition: background-color 180ms ease, color 180ms ease;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 86% 4%, rgb(138 21 56 / 24%), transparent 27rem), radial-gradient(circle at 5% 84%, rgb(233 185 73 / 8%), transparent 24rem);
  content: "";
  pointer-events: none;
}
:root[data-theme="light"] body::before { opacity: .4; }

a { color: inherit; }
 .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  inset-inline-start: 1rem;
  padding: .7rem 1rem;
  border-radius: 10px;
  background: var(--gold);
  color: #211b1d;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.progress-track { position: fixed; z-index: 90; inset: 0 0 auto; height: 3px; background: transparent; pointer-events: none; }
.progress-bar { width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left center; }
:root[dir="rtl"] .progress-bar { transform-origin: right center; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 64%, transparent);
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; min-height: 78px; align-items: center; gap: 1rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .65rem; color: var(--ink); font-size: 1.1rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.brand img { width: 2.35rem; height: 2.35rem; border-radius: 12px; box-shadow: 0 8px 22px rgb(138 21 56 / 25%); }
.desktop-nav { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: .1rem; }
.desktop-nav a, .footer-links a { color: var(--muted-strong); text-decoration: none; }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .72rem; border-radius: 10px; font-size: .88rem; transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--maroon-soft); color: var(--ink); }
.header-tools { display: flex; flex: 0 0 auto; align-items: center; gap: .35rem; }
.tool-button { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: .5rem .7rem; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--muted-strong); font-size: .82rem; transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease); }
.tool-button:hover { border-color: var(--line); background: var(--panel-soft); color: var(--ink); }
.tool-icon { width: 1.1rem; height: 1.1rem; display: block; }
.status-mark { display: inline-flex; align-items: center; gap: .42rem; padding: .5rem .72rem; border: 1px solid var(--line); border-radius: 11px; color: var(--muted-strong); font-size: .76rem; white-space: nowrap; }
.status-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgb(233 185 73 / 12%); }
.menu-details, .search-details { position: relative; }
.menu-details > summary, .search-details > summary { list-style: none; }
.menu-details > summary::-webkit-details-marker, .search-details > summary::-webkit-details-marker { display: none; }
.menu-panel, .search-panel { position: absolute; z-index: 70; top: calc(100% + .6rem); inset-inline-end: 0; width: min(18rem, calc(100vw - 2rem)); padding: .75rem; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow-soft); }
.menu-panel { display: grid; gap: .2rem; }
.menu-panel a { min-height: 44px; display: flex; align-items: center; padding: .65rem .75rem; border-radius: 10px; color: var(--muted-strong); text-decoration: none; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--maroon-soft); color: var(--ink); }
.search-panel { width: min(24rem, calc(100vw - 2rem)); }
.search-panel input { width: 100%; min-height: 44px; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--night); color: var(--ink); }
.search-status { display: block; min-height: 1.45em; margin-top: .55rem; color: var(--muted); font-size: .8rem; }

main { display: block; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(400px, 1.12fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; min-height: 690px; padding: clamp(5rem, 11vw, 9rem) 0 clamp(5rem, 9vw, 8rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1.2rem; color: var(--gold-pale); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1, .page-hero h1 { max-width: 880px; margin: 0; color: var(--ink); font-size: clamp(3.8rem, 8vw, 8.2rem); font-weight: 700; letter-spacing: -.075em; line-height: .94; }
h1 em, .accent { color: var(--gold); font-style: normal; }
.lead { max-width: 630px; margin: 1.7rem 0 0; color: var(--muted-strong); font-size: clamp(1.08rem, 1.8vw, 1.32rem); line-height: 1.72; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.05rem; border: 1px solid transparent; border-radius: 12px; background: var(--maroon); color: #fff9f2; font-weight: 700; text-decoration: none; transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease); }
.button:hover { background: var(--maroon-bright); transform: translateY(-2px); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button.secondary:hover { border-color: var(--gold); background: var(--maroon-soft); }
.button.gold { background: var(--gold); color: #211b1d; }
.button.gold:hover { background: var(--gold-pale); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--gold-pale); font-weight: 700; text-decoration: none; }
.text-link::after { content: "↗"; margin-inline-start: .45rem; font-size: .95rem; }

.hero-stage { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-stage::before { position: absolute; width: min(32rem, 90%); aspect-ratio: 1; border: 1px solid rgb(233 185 73 / 26%); border-radius: 50%; box-shadow: inset 0 0 90px rgb(138 21 56 / 24%); content: ""; }
.hero-stage::after { position: absolute; width: 80%; height: 42%; bottom: 6%; border-radius: 50%; background: rgb(0 0 0 / 28%); filter: blur(26px); content: ""; }
.product-frame { position: relative; z-index: 1; width: min(410px, 74%); margin: 0; padding: 10px; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 39px; background: var(--night-deep); box-shadow: var(--shadow-deep); transform: rotate(2.5deg); transition: transform 600ms var(--ease); }
.product-frame:hover { transform: rotate(0deg) translateY(-8px); }
.hero-shot { display: block; width: 100%; height: auto; border-radius: 31px; }
.product-screen { min-height: 560px; overflow: hidden; padding: 1.05rem; border-radius: 31px; background: linear-gradient(155deg, #fffaf4 0%, #f0e5d9 100%); color: var(--paper-ink); }
.screen-top { display: flex; align-items: center; justify-content: space-between; color: #6e6360; font-size: .73rem; }
.screen-brand { display: inline-flex; align-items: center; gap: .4rem; color: var(--paper-ink); font-size: .95rem; font-weight: 700; }
.screen-brand img { width: 1.45rem; height: 1.45rem; border-radius: 6px; }
.screen-greeting { margin-top: 1.8rem; }
.screen-greeting small { color: #7c706b; font-size: .76rem; }
.screen-greeting h2 { margin: .2rem 0 0; font-size: 1.8rem; letter-spacing: -.045em; }
.quest-card { margin-top: 1.05rem; padding: 1rem; border-radius: 18px; background: linear-gradient(145deg, #8a1538, #66102b); color: #fff9f2; box-shadow: 0 13px 28px rgb(138 21 56 / 25%); }
.quest-card small { color: #f8d9df; font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }
.quest-card strong { display: block; margin-top: .45rem; font-size: 2.55rem; letter-spacing: -.07em; line-height: 1; }
.quest-card p { margin: .4rem 0 0; color: #f2cbd5; font-size: .76rem; }
.screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: .75rem; }
.screen-tile { min-height: 93px; display: flex; flex-direction: column; justify-content: space-between; padding: .75rem; border-radius: 14px; background: #fffdf9; box-shadow: 0 5px 15px rgb(70 47 38 / 8%); }
.screen-tile b { display: block; color: #8a1538; font-size: 1.25rem; }
.screen-tile span { color: #776b65; font-size: .69rem; }
.screen-bar { height: .43rem; margin-top: .35rem; border-radius: 999px; background: #eadfd4; }
.screen-bar span { display: block; width: 68%; height: 100%; border-radius: inherit; background: #e9b949; }
.screen-next { margin-top: .8rem; padding: .75rem; border-radius: 14px; background: #fffdf9; box-shadow: 0 5px 15px rgb(70 47 38 / 8%); }
.screen-next > span { display: block; color: #8a1538; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.screen-next strong { display: block; margin-top: .28rem; font-size: .98rem; }
.screen-next p { margin: .18rem 0 0; color: #776b65; font-size: .7rem; }
.stage-note { position: absolute; z-index: 2; right: 0; bottom: 2.5rem; width: 160px; padding: .75rem; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--panel) 92%, transparent); box-shadow: var(--shadow-soft); color: var(--muted-strong); font-size: .74rem; }
.stage-note strong { display: block; margin-bottom: .25rem; color: var(--gold-pale); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section.band-paper { background: var(--sand); color: var(--paper-ink); }
.section.band-paper .eyebrow { color: var(--maroon); }
.section.band-paper h2, .section.band-paper h3 { color: var(--paper-ink); }
.section.band-paper p { color: var(--paper-muted); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr); gap: 2rem; align-items: end; margin-bottom: 3.3rem; }
.section-head h2 { max-width: 760px; margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -.065em; line-height: .98; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted-strong); font-size: 1rem; }
.area-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.area-card { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.55rem; border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow-soft); }
.area-card:nth-child(1) { grid-column: span 5; background: linear-gradient(145deg, var(--maroon), var(--maroon-deep)); color: #fffaf4; }
.area-card:nth-child(2) { grid-column: span 7; background: var(--sand); color: var(--paper-ink); }
.area-card:nth-child(3) { grid-column: span 4; min-height: 225px; }
.area-card:nth-child(4) { grid-column: span 4; min-height: 225px; border: 1px solid color-mix(in srgb, var(--gold) 60%, var(--line)); background: var(--gold); color: #211b1d; }
.area-card:nth-child(5) { grid-column: span 4; min-height: 225px; background: var(--panel-soft); }
.area-index { display: flex; justify-content: space-between; color: color-mix(in srgb, currentColor 60%, transparent); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.area-card h3 { max-width: 340px; margin: 2.6rem 0 0; color: inherit; font-size: clamp(1.45rem, 2.4vw, 2.1rem); letter-spacing: -.045em; }
.area-card p { max-width: 420px; margin: .6rem 0 0; color: color-mix(in srgb, currentColor 72%, transparent); font-size: .95rem; }
.area-card .text-link { color: inherit; }
.area-card .text-link::after { content: "↗"; }

.progress-layout, .discover-layout, .community-layout, .privacy-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(330px, 1.14fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.progress-copy h2, .discover-copy h2, .community-copy h2, .privacy-copy h2 { margin: 0; font-size: clamp(2.6rem, 5.2vw, 5.4rem); letter-spacing: -.065em; line-height: .96; }
.progress-copy p, .discover-copy p, .community-copy p, .privacy-copy p { max-width: 520px; margin: 1.35rem 0 0; color: var(--muted-strong); font-size: 1.06rem; }
.progress-visual { position: relative; min-height: 480px; padding: 2rem; border-radius: var(--radius-xl); background: var(--panel); box-shadow: var(--shadow-deep); transform: rotate(-1.5deg); }
.progress-visual::before { position: absolute; top: -1rem; inset-inline-end: 2rem; width: 5rem; height: 5rem; border: 1px solid var(--gold); border-radius: 50%; content: ""; opacity: .55; }
.progress-label { color: var(--gold-pale); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.progress-visual h3 { margin: .8rem 0 0; font-size: 2rem; letter-spacing: -.05em; }
.progress-stack { display: grid; gap: .7rem; margin-top: 2rem; }
.progress-row { display: flex; align-items: center; gap: .8rem; min-height: 70px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-soft); }
.progress-row[data-done="true"] { border-color: color-mix(in srgb, var(--success) 65%, var(--line)); }
.progress-check { width: 1.8rem; height: 1.8rem; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--maroon); color: #fff; font-size: .8rem; }
.progress-row[data-done="true"] .progress-check { background: var(--success); color: #102d20; }
.progress-row span { flex: 1 1 auto; color: var(--ink-soft); font-size: .9rem; }
.progress-row strong { color: var(--gold-pale); font-size: .8rem; }

.discover-layout { grid-template-columns: minmax(320px, 1.12fr) minmax(0, .88fr); }
.map-art { position: relative; min-height: 490px; overflow: hidden; border-radius: var(--radius-xl); background: #292124; box-shadow: var(--shadow-deep); }
.map-art::before { position: absolute; inset: 7% 11%; border: 1px solid rgb(239 228 214 / 16%); border-radius: 44% 54% 50% 38%; transform: rotate(-13deg); content: ""; }
.map-art::after { position: absolute; top: 10%; bottom: 10%; left: 46%; width: 1px; background: rgb(239 228 214 / 14%); box-shadow: -140px 100px 0 rgb(239 228 214 / 10%), 130px -50px 0 rgb(239 228 214 / 10%); content: ""; transform: rotate(21deg); }
.map-line { position: absolute; z-index: 1; top: 12%; left: 25%; width: 44%; height: 65%; border: 3px solid var(--gold); border-top-color: transparent; border-left-color: transparent; border-radius: 50%; transform: rotate(31deg); filter: drop-shadow(0 0 12px rgb(233 185 73 / 22%)); }
.map-pin { position: absolute; z-index: 2; display: grid; width: 74px; height: 74px; place-items: center; border: 6px solid #292124; border-radius: 50% 50% 50% 0; background: var(--maroon-bright); color: #fff; font-size: .7rem; font-weight: 700; transform: rotate(-45deg); box-shadow: 0 10px 25px rgb(0 0 0 / 30%); }
.map-pin span { transform: rotate(45deg); }
.pin-one { top: 25%; inset-inline-start: 25%; }
.pin-two { top: 51%; inset-inline-start: 55%; background: var(--gold); color: #211b1d; }
.pin-three { bottom: 13%; inset-inline-start: 37%; background: var(--panel); color: var(--gold-pale); }
.map-legend { position: absolute; z-index: 3; right: 1.4rem; bottom: 1.4rem; width: min(230px, calc(100% - 2.8rem)); padding: 1rem; border: 1px solid rgb(255 255 255 / 16%); border-radius: 16px; background: rgb(21 17 19 / 84%); color: #f7f1e9; }
:root[dir="rtl"] .map-legend { right: auto; left: 1.4rem; }
.map-legend strong { display: block; color: var(--gold-pale); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.map-legend p { margin: .35rem 0 0; color: #cdbfb6; font-size: .8rem; }

.community-layout { grid-template-columns: minmax(0, .76fr) minmax(320px, 1.24fr); }
.community-visual { padding: 1.4rem; border-radius: var(--radius-xl); background: var(--sand); color: var(--paper-ink); box-shadow: var(--shadow-soft); }
.community-visual h3 { margin: 0; font-size: 1.5rem; letter-spacing: -.04em; }
.meetup-list { display: grid; gap: .7rem; margin-top: 1.25rem; }
.meetup-row { display: grid; grid-template-columns: 3rem 1fr auto; gap: .75rem; align-items: center; padding: .75rem; border-radius: 14px; background: #fffaf4; }
.meetup-symbol { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 12px; background: var(--maroon-soft); color: var(--maroon); font-size: 1.1rem; }
.meetup-row b { display: block; font-size: .9rem; }
.meetup-row span { color: var(--paper-muted); font-size: .7rem; }
.meetup-row strong { color: var(--maroon); font-size: .76rem; }
.choice-list { display: grid; gap: .7rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.choice-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted-strong); }
.choice-list li::before { width: 1.2rem; height: 1.2rem; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--maroon-soft); color: var(--gold-pale); content: "✓"; font-size: .7rem; font-weight: 700; }

.reward-band { background: linear-gradient(118deg, var(--maroon-deep), var(--maroon)); }
.reward-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.reward-band h2 { margin: 0; color: #fffaf4; font-size: clamp(2.8rem, 5.4vw, 5.3rem); letter-spacing: -.07em; line-height: .94; }
.reward-band p { max-width: 530px; margin: 1.2rem 0 0; color: #f5dce2; font-size: 1.04rem; }
.reward-band .text-link { color: var(--gold-pale); }
.reward-card { padding: 1.7rem; border: 1px solid rgb(248 219 145 / 46%); border-radius: var(--radius-xl); background: rgb(21 17 19 / 30%); box-shadow: var(--shadow-soft); }
.reward-card-head { display: flex; align-items: center; justify-content: space-between; color: #f5dce2; font-size: .76rem; }
.reward-card-head strong { color: var(--gold-pale); }
.reward-ring { width: min(230px, 60vw); aspect-ratio: 1; display: grid; margin: 1.8rem auto; place-items: center; border: 18px solid rgb(248 219 145 / 24%); border-top-color: var(--gold); border-right-color: var(--gold); border-radius: 50%; transform: rotate(-24deg); }
.reward-ring span { color: var(--gold-pale); font-size: 2.4rem; font-weight: 700; transform: rotate(24deg); }
.reward-meta { display: flex; justify-content: space-between; color: #f5dce2; font-size: .82rem; }

.privacy-layout { grid-template-columns: minmax(320px, 1.05fr) minmax(0, .95fr); }
.privacy-card { padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--panel); box-shadow: var(--shadow-soft); }
.privacy-card h3 { margin: 0; font-size: 1.45rem; }
.privacy-card p { margin: .55rem 0 0; color: var(--muted-strong); font-size: .94rem; }
.privacy-switches { display: grid; gap: .7rem; margin-top: 1.5rem; }
.privacy-switch { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .87rem; }
.switch { width: 2.65rem; height: 1.5rem; padding: 3px; border-radius: 999px; background: var(--maroon); }
.switch::after { display: block; width: 1rem; height: 1rem; border-radius: 50%; background: #fffaf4; content: ""; }

.faq-section { background: var(--panel); }
.faq-list { max-width: 900px; margin-inline-start: auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--ink); cursor: pointer; font-size: 1.05rem; font-weight: 600; }
.faq-list summary::after { color: var(--gold-pale); content: "+"; font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 700px; margin: 0 0 1.5rem; color: var(--muted-strong); }

.cta-section { padding: clamp(5rem, 10vw, 8rem) 0; }
.cta-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 2rem; align-items: end; padding: clamp(1.7rem, 5vw, 4.5rem); border-radius: var(--radius-xl); background: var(--sand); color: var(--paper-ink); }
.cta-card h2 { max-width: 700px; margin: 0; font-size: clamp(2.7rem, 5.5vw, 5.3rem); letter-spacing: -.07em; line-height: .95; }
.cta-card .eyebrow { color: var(--maroon); }
.cta-card p { max-width: 500px; margin: 1rem 0 0; color: var(--paper-muted); }
.cta-form { display: grid; gap: .7rem; }
.cta-form label, .form-label { color: var(--paper-muted); font-size: .82rem; font-weight: 600; }
.cta-form input, .contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid var(--paper-line); border-radius: 10px; background: #fffaf4; color: var(--paper-ink); }
.contact-form textarea { min-height: 148px; resize: vertical; }
.checkline { display: flex; gap: .55rem; align-items: flex-start; color: var(--paper-muted); font-size: .76rem; line-height: 1.45; }
.checkline input { width: 1.1rem; height: 1.1rem; min-height: auto; flex: 0 0 auto; margin-top: .1rem; accent-color: var(--maroon); }
.form-help, .form-status { min-height: 1.4em; margin: 0; color: var(--paper-muted); font-size: .76rem; }
.form-status[role="alert"] { color: var(--danger); }
.form-status.is-success { color: var(--success); }

.page-hero { max-width: 1040px; padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.page-hero h1 { max-width: 1000px; font-size: clamp(3.35rem, 7vw, 7.5rem); }
.page-hero .lead { max-width: 750px; }
.feature-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 1rem; }
.feature-panel { min-height: 340px; padding: 1.7rem; border-radius: var(--radius-lg); background: var(--panel); }
.feature-panel.large { min-height: 480px; background: var(--maroon); color: #fffaf4; }
.feature-panel.gold { background: var(--gold); color: #211b1d; }
.feature-panel h2, .feature-panel h3 { color: inherit; }
.feature-panel h2 { max-width: 620px; margin: 2.6rem 0 0; font-size: clamp(2.2rem, 4vw, 4.3rem); letter-spacing: -.06em; line-height: .98; }
.feature-panel h3 { margin: 2.3rem 0 0; font-size: 1.7rem; letter-spacing: -.04em; }
.feature-panel p { max-width: 540px; margin: .75rem 0 0; color: color-mix(in srgb, currentColor 72%, transparent); }
.feature-rows { display: grid; gap: .65rem; margin-top: 2.2rem; }
.feature-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: .86rem; }
.feature-row strong { color: var(--gold-pale); }
.feature-panel.large .feature-row strong { color: #fff; }
.feature-shot { display: block; width: min(190px, 60%); height: 275px; margin: 1.15rem auto -1.7rem; border-radius: 18px 18px 0 0; object-fit: cover; object-position: top center; box-shadow: 0 15px 28px rgb(83 52 22 / 16%); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.feature-grid .feature-panel { min-height: 270px; }
.feature-grid .feature-panel:nth-child(2) { transform: translateY(2.5rem); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2rem 0; }
.filter-button { min-height: 44px; padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--muted-strong); }
.filter-button:hover, .filter-button.is-active { border-color: var(--gold); background: var(--maroon-soft); color: var(--ink); }
.place-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.place-card { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.place-card:nth-child(2) { background: var(--sand); color: var(--paper-ink); }
.place-card:nth-child(3) { transform: translateY(1.5rem); }
.place-card:nth-child(4) { background: var(--maroon); color: #fffaf4; }
.place-card h3 { margin-top: 2.3rem; color: inherit; font-size: 1.35rem; }
.place-card p { margin: .55rem 0 0; color: color-mix(in srgb, currentColor 70%, transparent); font-size: .85rem; }
.place-card small { color: color-mix(in srgb, currentColor 65%, transparent); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.status-note { margin-top: 2.2rem; padding: 1rem 1.1rem; border-inline-start: 3px solid var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--muted-strong); }

.meetup-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.meetup-board { padding: 1.3rem; border-radius: var(--radius-xl); background: var(--sand); color: var(--paper-ink); box-shadow: var(--shadow-soft); }
.meetup-board .meetup-row { border: 1px solid #e5d8cc; }
.principles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.principle { min-height: 210px; padding: 1.35rem; border-top: 3px solid var(--maroon); background: var(--panel); }
.principle:nth-child(2) { border-top-color: var(--gold); }
.principle h3 { margin-top: 2.2rem; font-size: 1.25rem; }
.principle p { margin: .5rem 0 0; color: var(--muted-strong); font-size: .9rem; }
.reward-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: path; }
.path-step { position: relative; min-height: 220px; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); counter-increment: path; }
.path-step::before { color: var(--gold-pale); content: "0" counter(path); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.path-step h3 { margin-top: 3.1rem; font-size: 1.4rem; }
.path-step p { margin: .55rem 0 0; color: var(--muted-strong); font-size: .88rem; }
.path-step:nth-child(2) { transform: translateY(1.3rem); background: var(--maroon); color: #fffaf4; }
.path-step:nth-child(2) h3, .path-step:nth-child(2) p { color: #fffaf4; }
.path-step:nth-child(3) { background: var(--gold); color: #211b1d; }
.path-step:nth-child(3) h3, .path-step:nth-child(3) p { color: #211b1d; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(320px, 1.25fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.contact-form { padding: clamp(1.4rem, 4vw, 2.3rem); border-radius: var(--radius-xl); background: var(--sand); color: var(--paper-ink); }
.contact-form h2 { margin: 0; color: var(--paper-ink); font-size: 2rem; letter-spacing: -.05em; }
.form-stack { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-form .checkline { color: var(--paper-muted); }
.direct-routes { display: grid; gap: .7rem; margin-top: 2rem; }
.direct-route { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.direct-route span { color: var(--muted); font-size: .78rem; }
.direct-route a { color: var(--gold-pale); font-weight: 700; }

.prose { max-width: 900px; padding-bottom: clamp(5rem, 9vw, 8rem); }
.prose h2 { margin: 3rem 0 .7rem; color: var(--ink); font-size: clamp(1.65rem, 2.5vw, 2.4rem); letter-spacing: -.04em; }
.prose p, .prose li { max-width: 760px; color: var(--muted-strong); }
.prose a { color: var(--gold-pale); }
.prose ul { padding-inline-start: 1.3rem; }
.prose li + li { margin-top: .45rem; }
.notice { padding: 1rem 1.15rem; border-inline-start: 3px solid var(--gold); background: color-mix(in srgb, var(--gold) 11%, transparent); color: var(--muted-strong); }
.updated { color: var(--muted); font-size: .86rem; }

.site-footer { padding: 2.4rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; }
.footer-note { max-width: 270px; margin: .8rem 0 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1rem; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.back-top { position: fixed; z-index: 40; right: 1.25rem; bottom: 1.25rem; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--gold-pale); box-shadow: var(--shadow-soft); }
:root[dir="rtl"] .back-top { right: auto; left: 1.25rem; }
.back-top[hidden], [hidden] { display: none !important; }

.cookie-banner { position: fixed; z-index: 80; right: 1rem; bottom: 1rem; left: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; max-width: 900px; margin-inline: auto; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow-deep); }
.cookie-banner h2 { margin: 0; font-size: .94rem; }
.cookie-banner p { margin: .3rem 0 0; color: var(--muted-strong); font-size: .78rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions button { min-height: 44px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); font-size: .78rem; }
.cookie-actions button:last-child { border-color: var(--gold); background: var(--gold); color: #211b1d; }

dialog { width: min(440px, calc(100% - 2rem)); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); box-shadow: var(--shadow-deep); }
dialog::backdrop { background: rgb(21 17 19 / 72%); backdrop-filter: blur(4px); }
.dialog-inner { padding: 1.5rem; }
.dialog-inner h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.04em; }
.dialog-inner p { color: var(--muted-strong); }
.dialog-inner .button { width: 100%; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-shell { width: min(var(--max), calc(100% - 2rem)); }
  .status-mark { display: none; }
  .hero { grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr); gap: 2rem; }
  .hero h1 { font-size: clamp(3.4rem, 8vw, 6rem); }
  .product-frame { width: min(360px, 78%); }
  .product-screen { min-height: 500px; }
  .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reward-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-shell { width: min(var(--max), calc(100% - 1.5rem)); }
  .header-inner { min-height: 68px; }
  .desktop-nav { display: none; }
  .header-tools { margin-inline-start: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4.4rem; }
  .hero h1, .page-hero h1 { font-size: clamp(3.15rem, 16vw, 5.5rem); }
  .hero-stage { min-height: 520px; margin-top: 1rem; }
  .product-frame { width: min(355px, 79%); }
  .stage-note { right: 1%; bottom: 1.2rem; }
  :root[dir="rtl"] .stage-note { right: auto; left: 1%; }
  .section-head, .progress-layout, .discover-layout, .community-layout, .privacy-layout, .reward-layout, .feature-layout, .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .section-head { margin-bottom: 2.1rem; }
  .section-head h2, .progress-copy h2, .discover-copy h2, .community-copy h2, .privacy-copy h2 { font-size: clamp(2.65rem, 12vw, 4.5rem); }
  .area-list { grid-template-columns: 1fr; }
  .area-card, .area-card:nth-child(n) { grid-column: auto; min-height: 220px; }
  .area-card:nth-child(2) { min-height: 250px; }
  .progress-visual { min-height: auto; transform: none; }
  .map-art { min-height: 420px; }
  .community-visual { order: -1; }
  .cta-card { grid-template-columns: 1fr; align-items: start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .feature-panel:nth-child(2) { transform: none; }
  .place-card:nth-child(3) { transform: none; }
  .principles-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .cookie-banner { grid-template-columns: 1fr; right: .75rem; bottom: .75rem; left: .75rem; }
}
@media (max-width: 480px) {
  .header-tools { gap: 0; }
  .tool-button { padding-inline: .5rem; }
  .hero-stage { min-height: 455px; }
  .product-frame { width: min(320px, 86%); padding: 7px; border-radius: 30px; }
  .product-screen { min-height: 430px; padding: .85rem; border-radius: 24px; }
  .screen-greeting { margin-top: 1rem; }
  .screen-greeting h2 { font-size: 1.45rem; }
  .quest-card strong { font-size: 2.05rem; }
  .screen-tile { min-height: 74px; }
  .stage-note { width: 135px; font-size: .68rem; }
  .map-art { min-height: 350px; }
  .map-pin { width: 60px; height: 60px; font-size: .62rem; }
  .reward-path { grid-template-columns: 1fr; }
  .path-step:nth-child(2) { transform: none; }
  .place-grid { grid-template-columns: 1fr; }
  .meetup-row { grid-template-columns: 2.5rem 1fr auto; }
  .meetup-symbol { width: 2.5rem; height: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  *, *::before, *::after { background: transparent !important; box-shadow: none !important; color: #000 !important; text-shadow: none !important; }
  .site-header, .header-tools, .progress-track, .back-top, .cookie-banner, dialog, .actions, .cta-form { display: none !important; }
  body { overflow: visible; font-size: 11pt; }
  .site-shell { width: 100%; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .8em; }
  .site-footer { border-top: 1px solid #000; }
}

/* Screenshot-led qFit surfaces. Product imagery is sourced from the app designs. */
body::before, .hero::after { display: none; }
.hero h1, .page-hero h1, .screen-copy h2, .coming-panel h1, .coming-panel h2, .honest-copy h1 { letter-spacing: -.04em; text-wrap: balance; }

.status-chip { display: inline-flex; width: fit-content; align-items: center; min-height: 32px; padding: .35rem .7rem; border-radius: 999px; background: var(--maroon-soft); color: var(--ink); font-size: .75rem; font-weight: 700; }
.app-screen-shell { width: min(350px, 100%); margin: 0 auto; padding: 8px; border-radius: 34px; background: color-mix(in srgb, var(--panel) 86%, #000); box-shadow: 0 28px 74px rgb(0 0 0 / .28), inset 0 1px 0 rgb(255 255 255 / .12); }
.app-screen-shell img { display: block; width: 100%; height: auto; border-radius: 27px; }
.light-screen { background: #ddd4cc; }
.feature-proof { width: min(390px, 88%); transform: rotate(1deg); }
.discover-proof, .fasting-proof { width: min(380px, 90%); }
.screen-gallery-section { background: var(--night-deep); }
.screen-gallery { display: grid; gap: clamp(6rem, 12vw, 10rem); }
.screen-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr); gap: clamp(2rem, 9vw, 8rem); align-items: center; }
.screen-story.reverse { grid-template-columns: minmax(300px, .7fr) minmax(0, .9fr); }
.screen-story.reverse .screen-copy { order: 2; }
.screen-copy h2 { max-width: 780px; margin: 1rem 0 0; font-size: clamp(2.6rem, 5vw, 5.6rem); line-height: .96; }
.screen-copy p { max-width: 58ch; margin: 1.3rem 0 0; color: var(--muted-strong); font-size: 1.05rem; }
.quiet-cta { background: var(--panel-soft); }
.coming-panel { position: relative; overflow: hidden; padding: clamp(2rem, 7vw, 6rem); border-radius: 28px; background: #301c23; color: #fff8f2; box-shadow: 0 24px 70px rgb(0 0 0 / .24); }
.coming-panel::after { position: absolute; inset: auto -8% -42% auto; width: 25rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(233 185 73 / .18), transparent 68%); content: ""; pointer-events: none; }
.coming-panel h1, .coming-panel h2 { position: relative; z-index: 1; max-width: 920px; margin: 1rem 0 0; color: #fffaf5; font-size: clamp(3rem, 7vw, 7rem); line-height: .94; }
.coming-panel .lead { position: relative; z-index: 1; color: #f2dfe5; }
.coming-panel .button { position: relative; z-index: 1; margin-top: 2rem; }
.discover-coming, .coming-page { min-height: calc(100dvh - 78px); display: grid; align-items: center; padding-block: clamp(4rem, 10vw, 8rem); }
.honest-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .62fr); gap: clamp(2rem, 9vw, 8rem); align-items: center; }
.honest-copy h1 { max-width: 850px; margin: 1rem 0 0; font-size: clamp(3.4rem, 7vw, 7.2rem); line-height: .94; }
.honest-copy .button { margin-top: 2rem; }
.hero-screen { width: min(410px, 90%); transform: rotate(1.2deg); }
.discover-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .62fr); gap: clamp(2rem, 9vw, 8rem); align-items: center; }
.discover-feature h2, .fasting-band h2 { margin: 1rem 0 0; font-size: clamp(3rem, 5.8vw, 6rem); letter-spacing: -.04em; line-height: .94; }
.discover-feature p, .fasting-band p { max-width: 58ch; color: var(--paper-muted); font-size: 1.04rem; }
.fasting-band { background: #311c23; color: #fff8f2; }
.fasting-band p { color: #efdce2; }.fasting-band .text-link { color: #f8d683; }
.truth-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 1.25rem; }
.truth-grid article { min-width: 0; padding: 1.5rem; border-radius: 16px; background: var(--panel); box-shadow: 0 16px 45px rgb(0 0 0 / .16); }
.truth-grid h2 { margin: 0; color: var(--ink); font-size: 1.3rem; }.truth-grid p { margin: .65rem 0 0; color: var(--muted-strong); }
.honesty-note { max-width: 800px; margin: 1.5rem 0 0; padding: 1rem 1.2rem; border-radius: 14px; background: var(--panel); color: var(--muted-strong); }
[data-theme="light"] .screen-gallery-section { background: #eee4da; }
[data-theme="light"] .coming-panel, [data-theme="light"] .fasting-band { background: #7b1433; }
[data-theme="light"] .status-chip { background: #efd1da; color: #5e0f2b; }
.cookie-banner { right: 1rem; left: auto; width: min(560px, calc(100vw - 2rem)); max-width: 560px; margin: 0; }

@media (max-width: 760px) {
  .screen-story, .screen-story.reverse, .honest-hero, .discover-feature { grid-template-columns: 1fr; }
  .screen-story.reverse .screen-copy { order: 0; }
  .screen-story { gap: 2rem; }.screen-gallery { gap: 6rem; }
  .app-screen-shell, .feature-proof, .discover-proof, .fasting-proof, .hero-screen { width: min(330px, 88vw); transform: none; }
  .truth-grid { grid-template-columns: 1fr; }
  .coming-panel { padding: 2rem 1.35rem; border-radius: 20px; }
  .cookie-banner { right: .75rem; left: .75rem; width: auto; max-width: none; }
}

/* qFit app language: compact dark surfaces, bright type, and a restrained map. */
.hero { --glow-x: 72%; --glow-y: 28%; isolation: isolate; }
html, body { overflow-x: clip; }
.hero::after { position: absolute; z-index: -1; inset: 4% -9%; pointer-events: none; content: ""; background: radial-gradient(circle 22rem at var(--glow-x) var(--glow-y), rgb(233 185 73 / .14), transparent 67%); transition: background-position 120ms ease-out; }
[data-theme="light"] .hero::after { background: radial-gradient(circle 22rem at var(--glow-x) var(--glow-y), rgb(138 21 56 / .10), transparent 67%); }
[data-theme="light"] body { background: #f8f2eb; }
[data-theme="light"] .site-header { background: rgb(255 251 246 / .92); box-shadow: 0 1px 0 rgb(105 17 44 / .10); }
[data-theme="light"] .band-paper { background: #efe2d3; }
[data-theme="light"] .section:not(.band-paper):not(.cta-section) { background: #f8f2eb; }

.area-card:nth-child(1), [data-theme="dark"] .area-card:nth-child(3), [data-theme="dark"] .area-card:nth-child(5) { color: #fff9f2; }
.area-card:nth-child(1) h3, [data-theme="dark"] .area-card:nth-child(3) h3, [data-theme="dark"] .area-card:nth-child(5) h3 { color: #fffdf9; }
.area-card:nth-child(1) p, [data-theme="dark"] .area-card:nth-child(3) p, [data-theme="dark"] .area-card:nth-child(5) p { color: #f7e8ec; }
.area-card:nth-child(1) .text-link, [data-theme="dark"] .area-card:nth-child(3) .text-link, [data-theme="dark"] .area-card:nth-child(5) .text-link { color: #fffdf9; }

.progress-visual { min-height: 490px; padding: 1.15rem; border: 1px solid rgb(255 255 255 / .10); background: #181215; transform: rotate(-.7deg); }
.progress-visual::before { display: none; }
.quest-topline { display: flex; align-items: center; justify-content: space-between; color: #f5e8ea; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quest-flame { display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 14px; background: #491b2a; color: #f5bd5c; font-size: 1.2rem; }
.quest-hero { margin-top: .9rem; padding: 1.5rem; border: 1px solid rgb(255 255 255 / .08); border-radius: 25px; background: linear-gradient(135deg, #961842, #63102b); color: #fffaf4; box-shadow: inset 0 1px 0 rgb(255 255 255 / .13); }
.quest-day { display: block; color: #f7c8d6; font-size: .85rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.quest-hero strong { display: block; margin-top: .6rem; font-size: clamp(1.7rem, 3vw, 2.55rem); letter-spacing: -.06em; line-height: .96; }
.quest-hero p { margin: .7rem 0 1.05rem; color: #feeaf0; }
.quest-action { width: 100%; padding: .82rem 1rem; border: 0; border-radius: 14px; background: #fff8f1; color: #7c1534; font: inherit; font-weight: 800; cursor: pointer; }
.quest-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .75rem; }
.quest-mini-grid > div { display: grid; gap: .2rem; min-height: 112px; padding: 1rem; border: 1px solid #3c3034; border-radius: 19px; background: #251c1f; color: #fffaf4; }
.mini-icon { color: #dc3764; font-size: 1.45rem; line-height: 1; }.quest-mini-grid b { color: #cdbfc3; font-size: .76rem; font-weight: 600; }.quest-foot { margin: .8rem .25rem 0; color: #cdbfc3; font-size: .83rem; }
[data-theme="light"] .progress-visual { background: #2a1e22; }.progress-visual button:focus-visible { outline: 3px solid #f8db91; outline-offset: 3px; }

.map-art { min-height: 500px; background: #071e25; isolation: isolate; }
.map-art::before { inset: 16% -13% 11%; border: 0; border-radius: 46% 48% 37% 56%; background: #082d36; box-shadow: 3.2rem -10rem 0 #092b34, -5rem 12rem 0 #082730; transform: rotate(-14deg); opacity: 1; }
.map-art::after { inset: 0; width: auto; background: repeating-linear-gradient(31deg, transparent 0 42px, rgb(255 239 230 / .08) 43px 45px, transparent 46px 88px), repeating-linear-gradient(-48deg, transparent 0 68px, rgb(255 239 230 / .06) 69px 71px, transparent 72px 126px); box-shadow: none; transform: none; }
.map-toolbar { position: absolute; z-index: 5; top: 1.25rem; right: 1.25rem; left: 1.25rem; display: flex; gap: .65rem; }.map-search,.map-weather { display: flex; align-items: center; gap: .7rem; border: 1px solid rgb(255 255 255 / .11); border-radius: 18px; background: #281c21; color: #fff7f0; box-shadow: 0 8px 22px rgb(0 0 0 / .22); }.map-search { flex: 1; padding: .8rem 1rem; }.map-filter { margin-inline-start: auto; color: #dc3764; }.map-weather { padding: .8rem; color: #f4bd56; font-weight: 800; }.map-water { position:absolute; z-index:1; inset:38% 17% 13% 20%; border-radius: 50% 48% 45% 42%; background:#0b313a; opacity:.88; }.map-road { position:absolute; z-index:2; height:10px; border-radius:99px; background:#44343b; box-shadow:0 0 0 2px rgb(255 250 243 / .05); }.road-one { top:48%; right:-8%; left:4%; transform:rotate(9deg); }.road-two { top:61%; right:12%; left:-11%; transform:rotate(-26deg); }.road-three { top:31%; right:10%; width:55%; transform:rotate(36deg); }.map-pin { z-index:4; width:57px; height:57px; border:5px solid #51152a; border-radius:18px 18px 18px 3px; background:#ac2853; color:#fff; font-size:.56rem; letter-spacing:1px; transform:rotate(-45deg); }.map-pin span { transform:rotate(45deg); }.map-pin.pin-one{top:38%;left:31%;}.map-pin.pin-two{top:27%;left:54%;}.map-pin.pin-three{top:53%;right:19%;}.map-locate { position:absolute; z-index:5; right:1.25rem; bottom:5.7rem; display:grid; width:3rem; height:3rem; place-items:center; border-radius:50%; background:#281c21; color:#d63968; box-shadow:0 8px 22px rgb(0 0 0 / .22); }.map-nav { position:absolute; z-index:5; right:1.2rem; bottom:1.1rem; left:1.2rem; display:grid; grid-template-columns:repeat(5,1fr); align-items:center; padding:.7rem .35rem; border:1px solid rgb(255 255 255 / .16); border-radius:20px; background:#281c21; color:#dbcfd0; font-size:.62rem; text-align:center; }.map-nav strong{color:#fff5f7;}.map-nav strong::after{display:block;width:1.4rem;height:2px;margin:.3rem auto 0;background:#d83463;content:"";}
.map-legend { display: none; }
.cta-card { align-items: start; }.cta-card > :first-child { align-self: start; padding-top: .15rem; }
@media (max-width:480px){.map-toolbar{top:.8rem;right:.8rem;left:.8rem}.map-search{font-size:.74rem}.map-weather{padding:.7rem}.map-nav{right:.75rem;left:.75rem;font-size:.55rem}.map-pin{width:48px;height:48px}.quest-mini-grid{gap:.5rem}.quest-mini-grid>div{padding:.75rem}}

.hero::after { display: none; }
[data-theme="light"] .section.screen-gallery-section { background: #eee4da; }
[data-theme="light"] .section.fasting-band { background: #7b1433; }
::selection { background: #b82752; color: #fffaf5; }
html { scrollbar-color: var(--maroon) var(--night-deep); }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgb(233 185 73 / .18); }

.hero-stage::before, .hero-stage::after { display: none; }

/* Mobile composition keeps the desktop editorial hierarchy at phone scale. */
@media (max-width: 760px) {
  :root { --radius-xl: 24px; --radius-lg: 19px; }

  body { line-height: 1.6; }
  .site-shell { width: min(100% - 2rem, 42rem); }

  .site-header { backdrop-filter: blur(14px); }
  .header-inner { min-height: 64px; gap: .5rem; }
  .brand { gap: .5rem; font-size: 1rem; letter-spacing: .035em; }
  .brand img { width: 2.15rem; height: 2.15rem; border-radius: 10px; }
  .header-tools { gap: .1rem; }
  .tool-button { min-width: 44px; min-height: 44px; padding: .45rem .55rem; border-radius: 10px; }
  .menu-panel, .search-panel { position: fixed; top: 4.45rem; right: 1rem; left: 1rem; width: auto; max-height: calc(100dvh - 5.5rem); overflow: auto; }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-height: auto;
    padding: 3.4rem 0 4.5rem;
  }
  .hero-copy { width: 100%; }
  .eyebrow { margin-bottom: .85rem; font-size: .7rem; letter-spacing: .13em; }
  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.05rem, 13vw, 4.8rem);
    letter-spacing: -.045em;
    line-height: .96;
  }
  :root[dir="rtl"] .hero h1 { max-width: 12ch; font-size: clamp(2.85rem, 12vw, 4.5rem); line-height: 1.06; }
  .lead { max-width: 35rem; margin-top: 1.25rem; font-size: 1.02rem; line-height: 1.68; }
  .actions { gap: .65rem; margin-top: 1.5rem; }
  .button { min-height: 50px; padding: .78rem 1rem; }

  .hero-stage { width: 100%; min-height: 0; margin-top: 0; padding: 0 1rem; place-items: center; }
  .product-frame { width: min(19rem, 82vw); padding: 7px; border-radius: 31px; box-shadow: 0 24px 54px rgb(0 0 0 / 30%); transform: none; }
  .product-frame:hover { transform: none; }
  .hero-shot { border-radius: 25px; }
  .stage-note { display: none; }

  .section, .cta-section { padding: 4.5rem 0; }
  .section-head { gap: 1rem; margin-bottom: 2.25rem; }
  .section-head h2,
  .progress-copy h2,
  .discover-copy h2,
  .community-copy h2,
  .privacy-copy h2,
  .reward-band h2,
  .discover-feature h2,
  .fasting-band h2 {
    font-size: clamp(2.45rem, 10.5vw, 4rem);
    letter-spacing: -.045em;
    line-height: 1;
  }
  .section-head p,
  .progress-copy p,
  .discover-copy p,
  .community-copy p,
  .privacy-copy p { font-size: .98rem; }

  .area-list { gap: .75rem; }
  .area-card, .area-card:nth-child(n) { min-height: 0; padding: 1.3rem; border-radius: 19px; }
  .area-card:nth-child(2) { min-height: 0; }
  .area-card h3 { margin-top: 2rem; font-size: 1.55rem; }
  .area-card p { font-size: .9rem; }

  .progress-layout,
  .discover-layout,
  .community-layout,
  .privacy-layout,
  .reward-layout,
  .feature-layout,
  .contact-layout { gap: 2.5rem; }
  .progress-visual { padding: 1rem; border-radius: 24px; box-shadow: 0 20px 50px rgb(0 0 0 / 24%); }
  .quest-hero { padding: 1.2rem; border-radius: 20px; }
  .quest-mini-grid > div { min-height: 96px; border-radius: 16px; }
  .community-visual { order: 0; padding: 1rem; border-radius: 24px; }
  .meetup-row { grid-template-columns: 2.75rem minmax(0, 1fr); }
  .meetup-row > strong { grid-column: 2; }

  .page-hero { padding: 4rem 0 3.75rem; }
  .page-hero h1,
  .honest-copy h1,
  .coming-panel h1,
  .coming-panel h2,
  .screen-copy h2 {
    max-width: 13ch;
    font-size: clamp(2.65rem, 11.5vw, 4.25rem);
    letter-spacing: -.045em;
    line-height: 1;
  }
  :root[dir="rtl"] .page-hero h1,
  :root[dir="rtl"] .honest-copy h1,
  :root[dir="rtl"] .coming-panel h1,
  :root[dir="rtl"] .coming-panel h2,
  :root[dir="rtl"] .screen-copy h2 { line-height: 1.12; }

  .screen-gallery { gap: 5rem; }
  .screen-story, .screen-story.reverse, .honest-hero, .discover-feature { gap: 2.25rem; }
  .screen-story.reverse .screen-copy { order: 0; }
  .app-screen-shell,
  .feature-proof,
  .discover-proof,
  .fasting-proof,
  .hero-screen { width: min(19rem, 82vw); border-radius: 29px; transform: none; }
  .app-screen-shell img { border-radius: 23px; }
  .coming-panel { padding: 2rem 1.35rem; border-radius: 20px; }
  .discover-coming, .coming-page { min-height: auto; padding-block: 4rem; }
  .truth-grid { gap: .75rem; }
  .truth-grid article { padding: 1.2rem; }
  .honesty-note { margin-top: 1rem; }

  .cta-card { gap: 1.75rem; padding: 1.4rem; border-radius: 22px; }
  .cta-card h2 { font-size: clamp(2.35rem, 10vw, 3.75rem); letter-spacing: -.045em; line-height: 1; }
  .cta-form input, .contact-form input, .contact-form select, .contact-form textarea { font-size: 1rem; }
  .contact-form { padding: 1.25rem; border-radius: 22px; }
  .direct-route { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .direct-route a { overflow-wrap: anywhere; }

  .prose { padding-bottom: 4.5rem; }
  .prose h2 { margin-top: 2.5rem; }
  .notice { padding: .9rem 1rem; }

  .site-footer { padding: 2.25rem 0 2.5rem; }
  .footer-top { gap: 1.5rem; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; }
  .footer-links a { min-height: 46px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .45rem; margin-top: 1.5rem; }

  .cookie-banner {
    right: .65rem;
    bottom: max(.65rem, env(safe-area-inset-bottom));
    left: .65rem;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 1.3rem);
    gap: .8rem;
    overflow: auto;
    padding: 1rem;
    border-radius: 18px;
  }
  .cookie-banner h2 { font-size: .95rem; }
  .cookie-banner p { font-size: .76rem; line-height: 1.5; }
  .cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-actions button { min-height: 46px; padding: .55rem; }
  .back-top { right: .75rem; bottom: .75rem; }
  :root[dir="rtl"] .back-top { right: auto; left: .75rem; }
}

@media (max-width: 480px) {
  .site-shell { width: min(100% - 1.5rem, 28rem); }
  .brand span { font-size: .95rem; }
  .header-tools { margin-inline-start: auto; }
  .tool-button { padding-inline: .45rem; }
  .hero { gap: 2.5rem; padding: 3rem 0 4rem; }
  .hero h1 { font-size: clamp(2.85rem, 13.4vw, 4rem); }
  :root[dir="rtl"] .hero h1 { font-size: clamp(2.7rem, 12.2vw, 3.8rem); }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .hero-stage { padding-inline: .25rem; }
  .product-frame { width: min(18rem, 82vw); }

  .section, .cta-section { padding: 4rem 0; }
  .section-head h2,
  .progress-copy h2,
  .discover-copy h2,
  .community-copy h2,
  .privacy-copy h2,
  .reward-band h2,
  .discover-feature h2,
  .fasting-band h2 { font-size: clamp(2.3rem, 10.8vw, 3.25rem); }
  .quest-mini-grid { grid-template-columns: 1fr; }
  .quest-mini-grid > div { min-height: 82px; }
  .privacy-card, .reward-card { padding: 1.2rem; border-radius: 20px; }
  .faq-list summary { min-height: 64px; font-size: 1rem; }

  .page-hero h1,
  .honest-copy h1,
  .coming-panel h1,
  .coming-panel h2,
  .screen-copy h2 { font-size: clamp(2.45rem, 11.5vw, 3.6rem); }
  .coming-panel { padding: 1.6rem 1.1rem; }
  .truth-grid article { padding: 1.1rem; }
  .app-screen-shell,
  .feature-proof,
  .discover-proof,
  .fasting-proof,
  .hero-screen { width: min(18rem, 82vw); }

  .footer-links { grid-template-columns: 1fr 1fr; font-size: .8rem; }
  .cookie-actions { grid-template-columns: 1fr; }
}
