/* GuestNest — public site. Dark editorial: near-black warm ground, cream text, champagne gold.
   Tokens mirror packages/core/themes.ts ("midnight-gold", dark). See docs/BRAND.md. */

:root {
  color-scheme: dark;
  --bg: #0b0908;
  --surface: #161210;
  --surface-2: #1f1915;
  --surface-3: #2a221c;
  --border: #2e2621;
  --border-strong: #4a3d33;
  --text: #f3e9dc;
  --muted: #a69784;
  --muted-2: #6f6255;
  --gold: #c9a96e;
  --gold-hover: #e2c48d;
  --gold-soft: rgba(201, 169, 110, 0.18);
  --gold-line: rgba(201, 169, 110, 0.28);
  --bronze: #8c6a3f;
  --blush: #e8c4b8;
  --success: #9cb89a;

  --font-display: "Cormorant Garamond", "Noto Serif Gurmukhi", Georgia, "Times New Roman", serif;
  --font-label: "Cinzel", "Noto Sans Gurmukhi", Georgia, serif;
  --font-sans: "Jost", "Noto Sans Gurmukhi", "Helvetica Neue", Arial, sans-serif;

  --ease-luxe: cubic-bezier(0.02, 0.13, 0, 0.99);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 18px;
  --gutter: clamp(16px, 5vw, 40px);
  --max: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration-color: var(--gold-line); text-underline-offset: 0.2em; transition: color 0.2s; }
a:hover { color: var(--gold-hover); }
::selection { background: rgba(201, 169, 110, 0.35); color: #fff; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; letter-spacing: 0.005em; line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }
strong { font-weight: 500; color: var(--text); }
em.gold, .gold { color: var(--gold); }
.italic { font-style: italic; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- type helpers ---------- */
.kicker { font-family: var(--font-label); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.kicker-muted { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 38rem; }
.display-xl { font-size: clamp(2.9rem, 9vw, 6.4rem); line-height: 0.98; }
.display-lg { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.02; }
.display-md { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; }
.gold-text {
  background: linear-gradient(100deg, #b8925a 0%, #e9d3a3 45%, #c9a96e 70%, #f1dfb8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hairline { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.5), transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.5em; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn-gold { background: var(--gold); color: #1a1410; box-shadow: 0 0 40px -12px rgba(201, 169, 110, 0.55); }
.btn-gold:hover { background: var(--gold-hover); color: #1a1410; transform: translateY(-1px); }
.btn-ghost { border-color: var(--gold-line); color: var(--text); background: rgba(22, 18, 16, 0.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hover); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* App Store badge placeholder — replace with Apple's official badge artwork before launch. */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 22px 8px 18px;
  border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none; transition: border-color 0.2s, transform 0.25s var(--ease-out);
}
.store-badge:hover { color: #fff; border-color: var(--gold); transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 0.68rem; letter-spacing: 0.04em; opacity: 0.85; }
.store-badge b { font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; font-size: 1.28rem; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(11, 9, 8, 0.78); border-bottom-color: rgba(201, 169, 110, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav { display: none; align-items: center; gap: 30px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.06em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--gold-line); border-radius: 999px; color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; padding: 12px var(--gutter) 28px;
  background: rgba(11, 9, 8, 0.97); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-family: var(--font-display); font-size: 1.6rem; }
.mobile-nav .btn { margin-top: 20px; width: 100%; }
@media (min-width: 900px) {
  .nav, .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 46rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.numbered { display: flex; align-items: center; gap: 14px; }
.numbered .num { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); font-style: italic; }
.numbered .rule { width: 44px; height: 1px; background: var(--gold-line); }
.watermark {
  position: absolute; right: var(--gutter); top: clamp(40px, 8vw, 90px); z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(7rem, 20vw, 16rem); line-height: 1; color: rgba(201, 169, 110, 0.05); font-style: italic;
}
.section > .container { position: relative; z-index: 1; }
.band { background: linear-gradient(180deg, var(--bg), #120e0c 18%, #120e0c 82%, var(--bg)); }

.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; pointer-events: none; position: absolute; inset: 0; z-index: 0; opacity: 0.07; mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- hero ---------- */
.hero { min-height: 100svh; padding: calc(var(--header-h) + 48px) 0 72px; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 75% 40%, rgba(140, 106, 63, 0.24), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(232, 196, 184, 0.06), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: clamp(3rem, 10.5vw, 5.9rem); line-height: 0.98; }
.hero h1 .line { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.8; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 32px; }
  .hero h1 { font-size: clamp(3.6rem, 5.6vw, 5.4rem); }
}

/* ---------- phone mockups (pure HTML/CSS) ---------- */
.devices { position: relative; height: 600px; display: flex; justify-content: center; }
.phone {
  --pw: 272px; position: absolute; width: var(--pw); aspect-ratio: 9 / 19.2;
  border-radius: 46px; padding: 9px; background: linear-gradient(145deg, #3a3029, #15110e 40%, #2b231d);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(201, 169, 110, 0.18), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}
.phone .screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--bg); font-size: 11px; line-height: 1.4; color: var(--text); }
.phone .island { position: absolute; top: 9px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.phone .status { display: flex; justify-content: space-between; align-items: center; padding: 13px 24px 0; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--text); height: 40px; }
.phone .status i { display: inline-flex; gap: 4px; align-items: center; font-style: normal; }
.phone .status i b { display: inline-block; width: 15px; height: 8px; border: 1px solid currentColor; border-radius: 2.5px; position: relative; }
.phone .status i b::after { content: ""; position: absolute; inset: 1px 3px 1px 1px; background: currentColor; border-radius: 1px; }
.phone-guest { left: 50%; transform: translateX(-78%) rotate(-4deg); top: 18px; z-index: 2; }
.phone-host { left: 50%; transform: translateX(-12%) rotate(5deg); top: 58px; z-index: 1; }
@media (min-width: 980px) {
  .phone-guest { transform: translateX(-90%) rotate(-4deg); }
  .phone-host { transform: translateX(-4%) rotate(5deg); }
}
@media (max-width: 520px) {
  .devices { height: 520px; }
  .phone { --pw: 228px; }
  .phone .screen { font-size: 9.6px; }
  .phone-guest { transform: translateX(-80%) rotate(-4deg); }
  .phone-host { transform: translateX(-16%) rotate(5deg); }
}

.app { padding: 6px 16px 0; display: grid; gap: 10px; }
.app .k { font-family: var(--font-label); font-size: 0.68em; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.app .km { font-family: var(--font-label); font-size: 0.62em; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.app .names { font-family: var(--font-display); font-size: 2.6em; line-height: 0.98; font-weight: 300; }
.app .names em { color: var(--gold); font-style: italic; }
.app .meta { color: var(--muted); font-size: 0.92em; }
.app .hero-img {
  height: 120px; border-radius: 16px; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 90% at 30% 20%, rgba(232, 196, 184, 0.35), transparent 60%),
    radial-gradient(80% 80% at 80% 90%, rgba(201, 169, 110, 0.45), transparent 60%),
    linear-gradient(160deg, #3b2c22, #1a1410);
}
.app .hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 9, 8, 0.85)); }
.app .hero-img .on { position: absolute; left: 12px; bottom: 10px; z-index: 1; }
.app .count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.app .count div { border: 1px solid var(--border); border-radius: 12px; padding: 7px 0; text-align: center; background: var(--surface); }
.app .count b { display: block; font-family: var(--font-display); font-weight: 300; font-size: 1.9em; line-height: 1; }
.app .count small { font-family: var(--font-label); font-size: 0.56em; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }
.app .card { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 10px 12px; display: grid; gap: 4px; }
.app .card.gold { border-color: rgba(201, 169, 110, 0.35); background: linear-gradient(160deg, rgba(201, 169, 110, 0.12), rgba(22, 18, 16, 0.9)); }
.app .card .t { font-family: var(--font-display); font-size: 1.5em; line-height: 1.1; }
.app .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app .chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 0.85em; white-space: nowrap; }
.app .chip.ok { background: rgba(156, 184, 154, 0.16); color: var(--success); }
.app .ev { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.app .ev .d { text-align: center; border-right: 1px solid var(--border); padding-right: 8px; }
.app .ev .d b { display: block; font-family: var(--font-display); font-weight: 300; font-size: 1.7em; line-height: 1; }
.app .ev .d small { font-family: var(--font-label); font-size: 0.55em; letter-spacing: 0.2em; color: var(--muted); }
.app .ev .n { font-family: var(--font-display); font-size: 1.35em; line-height: 1.1; }
.app .ev .m { color: var(--muted); font-size: 0.86em; }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 50px; border-radius: 25px; display: flex; justify-content: space-around; align-items: center; background: rgba(31, 25, 21, 0.86); border: 1px solid rgba(201, 169, 110, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tabbar span { width: 18px; height: 18px; color: var(--muted-2); }
.tabbar span.on { color: var(--gold); }
.tabbar svg { width: 100%; height: 100%; }

.ring { position: relative; width: 92px; height: 92px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .c b { font-family: var(--font-display); font-weight: 300; font-size: 2.3em; line-height: 1; }
.ring .c small { font-size: 0.75em; color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: 1; }
.stats div { border: 1px solid var(--border); border-radius: 10px; padding: 6px 8px; background: var(--surface); }
.stats b { display: block; font-family: var(--font-display); font-weight: 300; font-size: 1.5em; line-height: 1.05; }
.stats small { color: var(--muted); font-size: 0.82em; }
.composer { border: 1px solid rgba(201, 169, 110, 0.3); border-radius: 14px; padding: 10px 12px; background: var(--surface); display: grid; gap: 8px; }
.composer p { margin: 0; font-family: var(--font-display); font-size: 1.28em; line-height: 1.2; }
.composer .send { justify-self: start; display: inline-flex; gap: 6px; align-items: center; background: var(--gold); color: #1a1410; border-radius: 999px; padding: 5px 12px; font-weight: 500; font-size: 0.9em; }
.toggle { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; font-size: 0.85em; }
.toggle span { padding: 3px 9px; color: var(--muted); }
.toggle span.on { background: var(--gold); color: #1a1410; }
.list-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--border); }
.list-row span { color: var(--muted); }

.notif {
  position: absolute; z-index: 4; left: 50%; top: -6px; transform: translateX(-50%); width: min(330px, 92%);
  display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center;
  padding: 10px 14px; border-radius: 20px; font-size: 0.8rem; line-height: 1.35;
  background: rgba(42, 34, 28, 0.82); border: 1px solid rgba(201, 169, 110, 0.2);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  animation: notif 7s var(--ease-out) 1.2s both infinite;
}
.notif img { width: 34px; height: 34px; border-radius: 9px; }
.notif b { font-weight: 500; }
.notif .when { float: right; color: var(--muted); font-size: 0.72rem; }
.notif p { margin: 0; color: var(--text); }
@keyframes notif {
  0% { opacity: 0; transform: translate(-50%, -14px) scale(0.97); }
  8%, 70% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  80%, 100% { opacity: 0; transform: translate(-50%, -10px) scale(0.98); }
}

/* ---------- kinds strip ---------- */
.kinds { border-block: 1px solid var(--border); padding: 22px 0; overflow: hidden; }
.kinds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.kinds li { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--muted); display: inline-flex; align-items: center; gap: 34px; }
.kinds li:not(:last-child)::after { content: "✦"; font-size: 0.55em; color: var(--gold); opacity: 0.7; }
.kinds li.on { color: var(--text); font-style: italic; }

/* ---------- features ---------- */
.split { display: grid; gap: 48px; }
@media (min-width: 980px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; } .split .sticky { position: sticky; top: calc(var(--header-h) + 40px); } }
.features { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--bg); padding: 30px 26px 28px; display: grid; gap: 10px; align-content: start; transition: background 0.3s; }
.feature:hover { background: var(--surface); }
.feature .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-line); color: var(--gold); margin-bottom: 6px; }
.feature .ico svg { width: 19px; height: 19px; }
.feature h3 { font-size: 1.6rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.guest-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .guest-grid { grid-template-columns: repeat(3, 1fr); } }
.g-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; background: linear-gradient(180deg, var(--surface), var(--bg)); display: grid; gap: 10px; align-content: start; }
.g-card::before, .g-card::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: rgba(201, 169, 110, 0.55); border-style: solid; }
.g-card::before { left: -1px; top: -1px; border-width: 1px 0 0 1px; border-top-left-radius: var(--radius); }
.g-card::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; border-bottom-right-radius: var(--radius); }
.g-card h3 { font-size: 1.65rem; }
.g-card p { color: var(--muted); margin: 0; }
.g-card .tag { font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.26em; color: var(--muted-2); text-transform: uppercase; }
.g-card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 0.95rem; }
.g-card li { display: flex; gap: 10px; }
.g-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.62em; border-radius: 50%; border: 1px solid var(--gold); }

/* ---------- themes ---------- */
.themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .themes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .themes { grid-template-columns: repeat(5, 1fr); } }
.theme {
  --t-bg: #0b0908; --t-text: #f3e9dc; --t-accent: #c9a96e; --t-accent2: #e8c4b8;
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; padding: 18px 14px; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--t-accent) 22%, transparent), transparent 70%), var(--t-bg);
  color: var(--t-text); border: 1px solid color-mix(in srgb, var(--t-accent) 30%, transparent);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px;
  transition: transform 0.4s var(--ease-out);
}
.theme:hover { transform: translateY(-4px); }
.theme .k { font-family: var(--font-label); font-size: 0.55rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--t-accent); }
.theme .n { font-family: var(--font-display); font-size: 1.55rem; line-height: 1; }
.theme .n em { color: var(--t-accent); }
.theme .l { width: 40%; height: 1px; background: color-mix(in srgb, var(--t-accent) 60%, transparent); }
.theme .b { margin-top: 4px; font-size: 0.68rem; padding: 4px 12px; border-radius: 999px; background: var(--t-accent); color: var(--t-bg); font-weight: 500; }
.theme .dots { display: flex; gap: 5px; margin-top: 6px; }
.theme .dots i { width: 9px; height: 9px; border-radius: 50%; }
.theme .label { position: absolute; left: 0; right: 0; bottom: 10px; font-size: 0.66rem; letter-spacing: 0.08em; color: color-mix(in srgb, var(--t-text) 70%, transparent); }
.theme.light { border-color: color-mix(in srgb, var(--t-accent) 40%, #e9e1d4); }

.lang-demo { margin-top: 56px; display: grid; gap: 22px; }
@media (min-width: 860px) { .lang-demo { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.lang-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 26px; display: grid; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px; gap: 2px; justify-self: start; }
.lang-switch button { min-height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.9rem; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: #1a1410; }
.lang-out .k { font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; }
.lang-out h3 { font-size: 2.1rem; margin: 6px 0 4px; }
.lang-out p { color: var(--muted); margin: 0; }
.lang-out[lang="pa"] .k { letter-spacing: 0.04em; font-family: "Noto Sans Gurmukhi", var(--font-sans); font-size: 0.85rem; }
.lang-out[lang="pa"] h3 { font-family: "Noto Serif Gurmukhi", serif; font-weight: 300; font-size: 1.8rem; line-height: 1.3; }
.lang-out[lang="pa"] p { font-family: "Noto Sans Gurmukhi", sans-serif; }
.pairings { display: flex; flex-wrap: wrap; gap: 10px; }
.pairing { border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; }
.pairing b { display: block; font-weight: 300; font-size: 1.5rem; line-height: 1.1; }
.pairing small { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } }
.step { background: var(--bg); padding: 34px 26px 36px; display: grid; gap: 12px; align-content: start; }
.step .n { font-family: var(--font-display); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--gold); }
.step h3 { font-size: 1.9rem; }
.step p { color: var(--muted); margin: 0; }
.step .code { justify-self: start; font-family: var(--font-label); letter-spacing: 0.32em; font-size: 1.05rem; color: var(--text); border: 1px dashed var(--gold-line); border-radius: 10px; padding: 8px 14px; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; border: 1px solid var(--border); border-radius: 22px; padding: 32px 28px; background: var(--surface); display: grid; gap: 16px; align-content: start; }
.plan.feat { border-color: rgba(201, 169, 110, 0.45); background: radial-gradient(80% 60% at 100% 0%, rgba(201, 169, 110, 0.14), transparent 70%), var(--surface); box-shadow: 0 0 60px -30px rgba(201, 169, 110, 0.45); }
.plan .badge { position: absolute; top: -12px; right: 24px; background: var(--gold); color: #1a1410; font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 2.1rem; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font-family: var(--font-display); font-weight: 300; font-size: 3.4rem; line-height: 1; }
.price span { color: var(--muted); font-size: 0.92rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 12px; color: var(--text); }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--gold); }
.plan .sub { color: var(--muted); margin: 0; }
.addons { margin-top: 18px; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.addon-group { display: grid; gap: 4px; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.addon-group:last-child { border-bottom: 0; }
@media (min-width: 860px) { .addon-group { grid-template-columns: 240px 1fr; gap: 28px; align-items: start; } }
.addon-group h4 { font-size: 1.45rem; }
.addon-group .hint { color: var(--muted); font-size: 0.9rem; margin: 2px 0 0; }
.addon-items { display: grid; gap: 0; }
.addon { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.addon:last-child { border-bottom: 0; }
.addon span { color: var(--text); }
.addon small { display: block; color: var(--muted); font-size: 0.85rem; }
.addon b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--gold); white-space: nowrap; }
.fineprint { color: var(--muted-2); font-size: 0.86rem; margin-top: 18px; }

/* ---------- custom site ---------- */
.bespoke { border: 1px solid rgba(201, 169, 110, 0.3); border-radius: 26px; overflow: hidden; display: grid; background: var(--surface); }
@media (min-width: 900px) { .bespoke { grid-template-columns: 1.1fr 0.9fr; } }
.bespoke .copy { padding: clamp(28px, 5vw, 60px); display: grid; gap: 20px; align-content: center; }
.bespoke h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.bespoke .art { position: relative; min-height: 320px; background: radial-gradient(80% 70% at 60% 30%, rgba(201, 169, 110, 0.22), transparent 70%), linear-gradient(160deg, #241b15, #0f0c0a); display: grid; place-items: center; padding: 30px; overflow: hidden; }
.browser { width: min(420px, 100%); border-radius: 14px; background: #0f0c0a; border: 1px solid rgba(201, 169, 110, 0.25); box-shadow: 0 40px 80px -40px #000; overflow: hidden; transform: rotate(-2deg); }
.browser .bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); align-items: center; }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.browser .bar span { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: var(--surface-2); font-size: 0.62rem; color: var(--muted); display: flex; align-items: center; padding: 0 8px; }
.browser .page { padding: 34px 22px 30px; text-align: center; display: grid; gap: 8px; justify-items: center; background: radial-gradient(70% 60% at 50% 0%, rgba(232, 196, 184, 0.1), transparent 70%); }
.browser .page .n { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; }
.browser .page .n em { color: var(--gold); }
.browser .page .r { display: flex; gap: 8px; margin-top: 10px; }
.browser .page .r span { width: 70px; height: 46px; border-radius: 8px; background: linear-gradient(160deg, #3b2c22, #1a1410); border: 1px solid var(--border); }
.browser .page .btn-s { margin-top: 10px; font-size: 0.62rem; letter-spacing: 0.2em; font-family: var(--font-label); color: #1a1410; background: var(--gold); padding: 6px 14px; border-radius: 999px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.2; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold-line); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: var(--gold); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease-out); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .a { padding: 0 0 24px; color: var(--muted); max-width: 46rem; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- CTA band + footer ---------- */
.cta-band { text-align: center; padding: clamp(90px, 13vw, 160px) 0; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(140, 106, 63, 0.28), transparent 70%); }
.cta-band .container { display: grid; gap: 26px; justify-items: center; }
.cta-band img.mark { width: 92px; height: auto; opacity: 0.95; }

.site-footer { border-top: 1px solid var(--border); padding: 56px 0 40px; color: var(--muted); font-size: 0.92rem; }
.site-footer .cols { display: grid; gap: 34px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer img { height: 28px; width: auto; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 400; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--text); }
.site-footer .base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted-2); font-size: 0.82rem; }

/* ---------- document pages (legal, support) ---------- */
.doc-hero { padding: calc(var(--header-h) + 64px) 0 40px; border-bottom: 1px solid var(--border); }
.doc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 80% 0%, rgba(140, 106, 63, 0.18), transparent 70%); }
.doc-hero .container { display: grid; gap: 16px; }
.doc-hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); }
.doc-hero .meta { color: var(--muted); font-size: 0.92rem; }
.doc { padding: 48px 0 100px; }
.doc .container { display: grid; gap: 48px; }
@media (min-width: 980px) { .doc .container { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { align-self: start; }
@media (min-width: 980px) { .toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.toc h2 { font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 400; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.toc a:hover { color: var(--text); }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin: 56px 0 16px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.45rem; margin: 30px 0 10px; }
.prose p, .prose li { color: #d9cdbd; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-family: var(--font-label); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 400; white-space: nowrap; }
.prose td:first-child { color: var(--text); min-width: 9rem; }
.callout { border: 1px solid var(--gold-line); border-radius: 16px; padding: 20px 22px; background: linear-gradient(160deg, rgba(201, 169, 110, 0.08), transparent); margin: 0 0 28px; }
.callout p:last-child { margin-bottom: 0; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.steps-list li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold-line); color: var(--gold); font-family: var(--font-display); font-size: 1.15rem; display: grid; place-items: center; }

.contact-cards { display: grid; gap: 14px; margin: 8px 0 34px; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { border: 1px solid var(--border); border-radius: 18px; padding: 22px; background: var(--surface); display: grid; gap: 8px; align-content: start; }
.contact-card h3 { margin: 0 !important; }
.contact-card p { margin: 0; color: var(--muted) !important; }

/* ---------- join page ---------- */
.join { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 32px) 0 60px; overflow: hidden; }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 30%, rgba(140, 106, 63, 0.28), transparent 70%), var(--bg); }
.join-card { width: min(520px, calc(100% - 2 * var(--gutter))); margin: 0 auto; text-align: center; display: grid; gap: 22px; justify-items: center; }
.join-card img.mark { width: 110px; height: auto; }
.join-card h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
.code-box { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.code-box span { width: 48px; height: 60px; display: grid; place-items: center; border: 1px solid var(--gold-line); border-radius: 12px; background: var(--surface); font-family: var(--font-label); font-size: 1.6rem; color: var(--text); }
.code-box span.gap { width: 10px; border: 0; background: none; }
.join-card .actions { display: grid; gap: 12px; width: 100%; justify-items: center; }
.join-card .actions .btn { width: 100%; max-width: 340px; }
.join-steps { text-align: left; width: 100%; border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; background: rgba(22, 18, 16, 0.7); }
.join-steps ol { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); }
.join-steps li::marker { color: var(--gold); }
.copy-btn { background: none; border: 0; color: var(--gold); font: inherit; font-size: 0.9rem; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 0.2em; min-height: 44px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease-luxe), transform 1.1s var(--ease-luxe); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.rise { animation: rise 1.2s var(--ease-luxe) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .notif { animation: none; opacity: 1; }
}
