/* ==========================================================================
   نقره‌جات طلوع — design system for the 2026 redesign
   Two themes, one language: deep navy glass at night, quiet paper by day.
   Everything is built mobile-first; the desktop layout only adds columns.
   ========================================================================== */

/* --------------------------------------------------------------- fonts -- */
@font-face {
  font-family: "IranYekan";
  src: url("../fonts/iranyekan-regular.woff") format("woff"),
       url("../fonts/iranyekan-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IranYekan";
  src: url("../fonts/iranyekan-medium.woff") format("woff"),
       url("../fonts/iranyekan-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IranYekan";
  src: url("../fonts/iranyekan-bold.woff") format("woff"),
       url("../fonts/iranyekan-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "IranYekan";
  src: url("../fonts/iranyekan-black.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  --font: "IranYekan", "Segoe UI", Tahoma, sans-serif;

  --bg: #050e1f;
  --bg-soft: #071528;
  --surface: #0a1d38;
  --surface-2: #0d2649;
  --surface-3: #12305c;
  --glass: rgba(9, 24, 46, .72);
  --line: rgba(163, 191, 235, .13);
  --line-strong: rgba(172, 202, 248, .24);

  --text: #f3f7fe;
  --text-2: #c9d6ec;
  --muted: #93a6c8;

  --gold: #ebc890;
  --gold-2: #d8ad69;
  --gold-soft: rgba(235, 200, 144, .13);
  --gold-line: rgba(235, 200, 144, .34);
  --on-gold: #221604;

  --live: #4ce0a5;
  --live-soft: rgba(76, 224, 165, .12);
  --down: #ff8e86;
  --down-soft: rgba(255, 142, 134, .12);

  --chrome: linear-gradient(120deg, #f7faff 0%, #cdd9ec 34%, #8fa3c4 62%, #e8effb 100%);
  --shine: linear-gradient(105deg, transparent 24%, rgba(255, 255, 255, .18) 43%, transparent 62%);

  --glow-blue: rgba(70, 128, 225, .30);
  --glow-gold: rgba(235, 200, 144, .16);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .75);
  --shadow-soft: 0 18px 40px -24px rgba(0, 0, 0, .65);

  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  --shell: min(1180px, 100% - 40px);
  --gap: 18px;
  --header-h: 66px;

  --ease: cubic-bezier(.22, .68, .24, 1);
  --soft: cubic-bezier(.4, 0, .2, 1);

  --fs-h1: clamp(2.15rem, 5.2vw, 3.55rem);
  --fs-h2: clamp(1.42rem, 2.9vw, 2.05rem);
  --fs-h3: clamp(1.06rem, 1.7vw, 1.22rem);
  --fs-lead: clamp(.98rem, 1.4vw, 1.08rem);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f6fb;
  --bg-soft: #eaeff8;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --surface-3: #eef2fa;
  --glass: rgba(255, 255, 255, .78);
  --line: rgba(11, 27, 51, .085);
  --line-strong: rgba(11, 27, 51, .16);

  --text: #0b1b33;
  --text-2: #34465f;
  --muted: #586a84;

  --gold: #a4762a;
  --gold-2: #8a5f1a;
  --gold-soft: rgba(184, 134, 59, .10);
  --gold-line: rgba(164, 118, 42, .32);
  --on-gold: #2a1b05;

  --live: #0d7a51;
  --live-soft: rgba(13, 122, 81, .10);
  --down: #b3261e;
  --down-soft: rgba(179, 38, 30, .09);

  --chrome: linear-gradient(120deg, #1d3a63 0%, #47698f 40%, #0b1b33 75%);
  --shine: linear-gradient(105deg, transparent 24%, rgba(11, 27, 51, .06) 43%, transparent 62%);

  --glow-blue: rgba(70, 128, 225, .14);
  --glow-gold: rgba(206, 165, 96, .16);
  --shadow: 0 30px 60px -34px rgba(24, 51, 92, .32);
  --shadow-soft: 0 18px 38px -26px rgba(24, 51, 92, .24);

  color-scheme: light;
}

/* ---------------------------------------------------------------- reset -- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 88% -8%, var(--glow-blue), transparent 58%),
    radial-gradient(900px 620px at -8% 16%, var(--glow-gold), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  transition: background-color .5s var(--soft), color .5s var(--soft);
}

h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 800; letter-spacing: -.4px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--on-gold); }

.shell { width: var(--shell); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* -------------------------------------------------------------- helpers -- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(14px);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 var(--live-soft);
  animation: live-pulse 2.4s var(--soft) infinite;
}
.eyebrow.gold { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 224, 165, .5); }
  60% { box-shadow: 0 0 0 9px rgba(76, 224, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 224, 165, 0); }
}

.section { padding-block: clamp(46px, 8vw, 88px); position: relative; scroll-margin-top: calc(var(--header-h) + 54px); }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-bottom: 26px;
}
.section-head h2 { font-size: var(--fs-h2); }
.section-kicker {
  display: flex; align-items: center; gap: 9px;
  color: var(--gold); font-size: 12px; font-weight: 700;
  letter-spacing: .3px; margin-bottom: 8px;
}
.section-kicker::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-desc { color: var(--muted); font-size: 13.5px; max-width: 46ch; margin-top: 6px; }
.section-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-2); font-size: 13px; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  transition: .25s var(--ease);
  white-space: nowrap;
}
.section-link:hover { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }
.section-link svg { width: 15px; height: 15px; }

.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding-inline: 22px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
  user-select: none;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  color: var(--on-gold);
  background: linear-gradient(160deg, #f3d5a3, #e0b87a 58%, #cb9c58);
  box-shadow: 0 14px 30px -16px rgba(235, 200, 144, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
:root[data-theme="light"] .btn-gold {
  background: linear-gradient(160deg, #e9c793, #d4a96a 58%, #b9853f);
  box-shadow: 0 14px 26px -16px rgba(160, 110, 40, .5), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -18px rgba(235, 200, 144, .65); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover { border-color: var(--gold-line); color: var(--gold); transform: translateY(-2px); }
.btn-sm { height: 40px; padding-inline: 16px; font-size: 13px; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  transition: .25s var(--ease);
}
.icon-btn:hover { border-color: var(--gold-line); color: var(--gold); transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700;
  border: 1px solid var(--line);
  color: var(--text-2);
  background: var(--surface-2);
}
.chip.gold { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }
.chip.live { color: var(--live); border-color: transparent; background: var(--live-soft); }
.chip.down { color: var(--down); background: var(--down-soft); border-color: transparent; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .35s var(--soft), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-row {
  height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
  width: var(--shell); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.logo-light { display: none; }
html[data-theme="light"] .logo-dark { display: none; }
html[data-theme="light"] .logo-light { display: block; }
.footer-brand .logo-light { display: none; }
html[data-theme="light"] .footer-brand .logo-dark { display: none; }
html[data-theme="light"] .footer-brand .logo-light { display: block; }
.brand-word { display: none; }
.nav {
  display: flex; align-items: center; gap: 4px;
  margin-inline-start: 14px;
}
.nav a {
  padding: 9px 13px; border-radius: var(--r-pill);
  font-size: 13.5px; color: var(--text-2);
  transition: .2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 9px; margin-inline-start: auto; }
.cart-btn { position: relative; }
.cart-btn .badge {
  position: absolute; inset-inline-end: -3px; top: -3px;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800;
  background: var(--gold); color: var(--on-gold);
  padding-inline: 4px;
}
.menu-btn { display: none; }

/* theme switch: a little sun-and-moon pill */
.theme-switch {
  position: relative; width: 66px; height: 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  overflow: hidden;
  transition: .3s var(--ease);
}
.theme-switch .knob {
  position: absolute; top: 4px; inset-inline-start: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #f7d9a7, #d9ad6c);
  color: #2a1b05;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .55);
  transition: transform .42s var(--ease), background .4s;
}
.theme-switch .moon, .theme-switch .sun {
  position: absolute; top: 10px; width: 15px; height: 15px;
  opacity: .5; transition: .3s; color: var(--muted);
}
.theme-switch .sun { inset-inline-start: 8px; }
.theme-switch .moon { inset-inline-end: 9px; }
.theme-switch .knob svg { width: 15px; height: 15px; }
html[data-theme="light"] .theme-switch .knob { transform: translateX(-30px); }
html[data-theme="light"] .theme-switch .knob { background: linear-gradient(150deg, #cfe0ff, #8fb4ee); color: #0b1b33; }
html[data-theme="light"] .theme-switch .sun { opacity: 0; }
html[data-theme="dark"] .theme-switch .moon { opacity: 0; }

/* the window strip right under the header */
.window-strip {
  display: flex; align-items: center; gap: 10px;
  width: var(--shell); margin-inline: auto;
  padding: 10px 14px; margin-bottom: 6px;
  border-radius: var(--r-md);
  border: 1px solid var(--gold-line);
  background: linear-gradient(100deg, var(--gold-soft), transparent 70%);
  font-size: 12.5px; color: var(--text-2);
}
.window-strip .clock { color: var(--gold); font-weight: 800; }
.window-strip .state { margin-inline-start: auto; }
.window-strip svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------------------------------------------------------------- ticker -- */
.ticker {
  margin-top: 8px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  overflow: hidden;
  direction: ltr;
}
.ticker-track {
  display: flex; align-items: center; gap: 34px;
  padding: 11px 0; width: max-content;
  animation: ticker-run 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-run { to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; direction: rtl; white-space: nowrap;
}
.ticker-item .t-label { color: var(--muted); }
.ticker-item .t-value { font-weight: 700; color: var(--text); }
.ticker-item .t-change { font-size: 11px; font-weight: 700; }
.ticker-item .t-change.up { color: var(--live); }
.ticker-item .t-change.down { color: var(--down); }

/* ------------------------------------------------------------------ hero -- */
.hero { padding-block: clamp(34px, 6vw, 74px) clamp(24px, 4vw, 44px); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero h1 {
  font-size: var(--fs-h1); margin-top: 16px; letter-spacing: -1.4px; line-height: 1.22;
}
.hero h1 em {
  font-style: normal; position: relative; display: inline-block; isolation: isolate;
}
.hero h1 em::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 10px;
  border-radius: 8px; background: var(--gold-soft); z-index: -1;
}
.hero-lead { color: var(--text-2); font-size: var(--fs-lead); margin-top: 14px; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.hero-note { color: var(--muted); font-size: 12px; margin-top: 14px; display: flex; align-items: center; gap: 7px; }
.hero-note svg { width: 14px; height: 14px; color: var(--gold); }

.hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.beads-stage {
  position: absolute; inset: 0; margin: auto;
  width: min(100%, 430px); aspect-ratio: 1;
  display: grid; place-items: center;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .35));
}
/* silver spheres drawn in pure CSS */
.bead {
  position: absolute; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #ffffff 0%, #eef3fb 18%, #c3d1e6 42%, #7d90ad 66%, #465772 82%, #2c3952 100%);
  box-shadow:
    inset -10px -14px 26px rgba(23, 33, 56, .55),
    inset 12px 16px 30px rgba(255, 255, 255, .55),
    0 30px 50px -14px rgba(0, 0, 0, .55);
}
.bead::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 42% 76%, rgba(255, 255, 255, .42), transparent 46%);
}
.bead.b1 { width: 44%; height: 44%; left: 9%; top: 44%; animation: float-a 13s ease-in-out infinite; }
.bead.b2 { width: 30%; height: 30%; left: 30%; top: 34%; animation: float-b 15s ease-in-out infinite; }
.bead.b3 { width: 22%; height: 22%; left: 46%; top: 16%; animation: float-a 11s ease-in-out infinite reverse; }
.bead.b4 { width: 32%; height: 32%; left: 55%; top: 56%; animation: float-b 17s ease-in-out infinite; }
.bead.b5 { width: 14%; height: 14%; left: 72%; top: 33%; animation: float-a 9s ease-in-out infinite; }
.bead.b6 { width: 17%; height: 17%; left: 18%; top: 18%; animation: float-b 12s ease-in-out infinite reverse; }
.beads-halo {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-gold), transparent 66%);
  filter: blur(6px);
}
@keyframes float-a { 50% { transform: translate(-10px, -14px); } }
@keyframes float-b { 50% { transform: translate(12px, 10px); } }

/* the live rate card sits over the beads */
.rate-card {
  position: relative; width: min(100%, 370px);
  padding: 22px;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(16, 38, 70, .9), rgba(7, 20, 40, .92));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
}
:root[data-theme="light"] .rate-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, .96), rgba(244, 247, 253, .96));
}
.rate-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rate-head .title { font-size: 12.5px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.rate-head .title svg { width: 15px; height: 15px; color: var(--gold); }
.purity-switch { display: flex; gap: 3px; padding: 3px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); }
.purity-switch button {
  padding: 4px 11px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 700;
  color: var(--muted); transition: .22s var(--ease);
}
.purity-switch button.on { background: var(--gold); color: var(--on-gold); box-shadow: 0 6px 14px -8px var(--gold); }
.rate-value {
  display: flex; align-items: baseline; gap: 8px; margin-top: 16px;
}
.rate-value .amount { font-size: clamp(1.9rem, 4.4vw, 2.5rem); font-weight: 800; letter-spacing: -1px; }
.rate-value .unit { font-size: 12px; color: var(--muted); }
.rate-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.rate-mesghal { color: var(--text-2); font-size: 12px; }
.spark { margin-top: 16px; height: 62px; position: relative; }
.spark svg { width: 100%; height: 100%; overflow: visible; }
.spark .fill { opacity: .24; }
.rate-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; font-size: 11px; color: var(--muted);
}
.rate-foot .live { display: inline-flex; align-items: center; gap: 6px; color: var(--live); font-weight: 700; }
.rate-foot .live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--live);
  animation: live-pulse 2.4s infinite;
}

/* --------------------------------------------------------------- trust -- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  transition: .3s var(--ease);
}
.trust-item:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.trust-item .ico {
  width: 38px; height: 38px; flex: none; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold);
}
.trust-item .ico svg { width: 19px; height: 19px; }
.trust-item h3 { font-size: 13px; font-weight: 700; }
.trust-item p { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.7; }

/* ------------------------------------------------------------- packages -- */
.packages-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
.pkg {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, color-mix(in srgb, var(--surface) 88%, transparent), var(--surface-2));
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.pkg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--shine); opacity: 0; transition: opacity .4s;
}
.pkg:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.pkg.reveal { transition-delay: calc(var(--i, 0) * 45ms); }
.pkg:hover::before { opacity: 1; }
.pkg-top { display: flex; align-items: center; justify-content: space-between; }
.pkg-weight { font-size: 24px; font-weight: 800; letter-spacing: -.6px; }
.pkg-weight small { font-size: 12px; font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.pkg-badge {
  font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: var(--r-pill);
  background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line);
}
.pkg-beads { height: 74px; margin: 12px 0 6px; position: relative; }
.pkg-beads i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, #fff, #d9e3f2 34%, #93a6c2 62%, #53647d 88%);
  box-shadow: inset -3px -4px 8px rgba(20, 30, 50, .38), 0 8px 12px -6px rgba(0, 0, 0, .5);
}
.pkg-price { display: flex; align-items: baseline; gap: 6px; }
.pkg-price .n { font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.pkg-price .u { font-size: 10.5px; color: var(--muted); }
.pkg-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.pkg-actions { display: flex; gap: 6px; margin-top: 12px; }
.pkg-buy {
  flex: 1; height: 38px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  color: var(--on-gold); background: linear-gradient(160deg, #f3d5a3, #e0b87a 58%, #cb9c58);
  transition: .25s var(--ease);
}
.pkg-buy:hover { filter: brightness(1.06); transform: translateY(-1px); }
.pkg-more {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--text-2);
  transition: .25s;
}
.pkg-more:hover { color: var(--gold); border-color: var(--gold-line); }
.pkg-more svg { width: 16px; height: 16px; }

/* --------------------------------------------------------- custom weight -- */
.builder {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gap);
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px 240px at 100% 0%, var(--glow-gold), transparent 70%),
    linear-gradient(170deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-soft);
}
.builder h3 { font-size: var(--fs-h3); }
.builder-desc { color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.weight-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.weight-box {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface);
}
.weight-box input {
  width: 92px; border: 0; background: none; outline: none;
  font-size: 26px; font-weight: 800; text-align: center;
  font-variant-numeric: tabular-nums;
}
.weight-box .unit { color: var(--muted); font-size: 12px; }
.weight-box .step {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line);
  transition: .2s; color: var(--text-2);
}
.weight-box .step:hover { color: var(--gold); border-color: var(--gold-line); }
.weight-slider { margin-top: 18px; }
input[type="range"] {
  --val: 10%;
  direction: ltr;
  width: 100%; height: 6px; border-radius: 6px; appearance: none;
  background: linear-gradient(90deg, var(--gold) var(--val), var(--line) var(--val));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff, #e6edf8 36%, #aebfd8 70%, #6d7f9b);
  border: 3px solid var(--surface);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6);
  cursor: grab;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chips button {
  padding: 6px 12px; border-radius: var(--r-pill); font-size: 12px;
  border: 1px solid var(--line); color: var(--text-2);
  transition: .2s var(--ease);
}
.chips button:hover, .chips button.on { border-color: var(--gold-line); color: var(--gold); background: var(--gold-soft); }
.builder-total {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.total-line { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.total-line b { color: var(--text-2); font-weight: 700; }
.total-big { margin-top: 10px; }
.total-big .n { font-size: clamp(1.6rem, 4vw, 2.15rem); font-weight: 800; letter-spacing: -1px; }
.total-big .u { color: var(--muted); font-size: 11.5px; }
.builder-total .btn { margin-top: 16px; width: 100%; }

/* ------------------------------------------------------------ calculator -- */
.calculator {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--gap); align-items: stretch;
}
.calc-card {
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-soft);
}
.calc-tabs { display: flex; gap: 5px; padding: 5px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); }
.calc-tabs button { flex: 1; padding: 9px 8px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; color: var(--muted); transition: .25s; }
.calc-tabs button.on { background: var(--surface); box-shadow: var(--shadow-soft); color: var(--gold); }
.calc-field { margin-top: 18px; }
.calc-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.calc-input {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface);
  transition: border-color .2s;
}
.calc-input:focus-within { border-color: var(--gold); }
.calc-input input { flex: 1; border: 0; background: none; outline: none; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-input .unit { color: var(--muted); font-size: 12px; }
.calc-result {
  margin-top: 18px; padding: 16px; border-radius: var(--r-md);
  background: var(--gold-soft); border: 1px dashed var(--gold-line);
}
.calc-result .n { font-size: 26px; font-weight: 800; color: var(--gold); letter-spacing: -.6px; }
.calc-result .u { font-size: 11.5px; color: var(--text-2); }
.calc-note { font-size: 11px; color: var(--muted); margin-top: 12px; }

/* --------------------------------------------------------------- window -- */
.window-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-xl);
  position: relative; overflow: hidden;
  border: 1px solid var(--gold-line);
  background:
    radial-gradient(520px 320px at 8% 10%, var(--glow-gold), transparent 66%),
    linear-gradient(170deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-soft);
}
.window-card::after {
  content: ""; position: absolute; inset: -40%; pointer-events: none; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 70%, var(--glow-gold) 82%, transparent 92%);
  opacity: .5; animation: spin 34s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.window-card > * { position: relative; z-index: 1; }
.dial { position: relative; width: 190px; aspect-ratio: 1; display: grid; place-items: center; }
.dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dial .track { stroke: var(--line-strong); }
.dial .arc { stroke: url(#goldArc); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.dial-center { text-align: center; }
.dial-center .t { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.dial-center .s { font-size: 11px; color: var(--muted); }
.window-copy h9 { display: block; }
.window-copy .title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.5px; }
.window-copy p { color: var(--text-2); font-size: 13px; margin-top: 8px; max-width: 52ch; }
.window-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.window-facts .chip { font-size: 11.5px; }

/* ------------------------------------------------------------------- app -- */
.app-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(560px 300px at 90% 0%, var(--glow-blue), transparent 70%),
    linear-gradient(170deg, var(--surface), var(--bg-soft));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.app-copy h2 { font-size: var(--fs-h2); }
.app-copy p { color: var(--text-2); font-size: 13.5px; margin-top: 10px; max-width: 44ch; }
.app-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.phone {
  position: relative; width: 210px; margin-inline: auto; aspect-ratio: 9/18.5;
  border-radius: 34px; border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, #0a1c36, #061124);
  box-shadow: var(--shadow), inset 0 0 0 6px #000;
  padding: 20px 12px; overflow: hidden;
  transform: rotate(-4deg);
}
:root[data-theme="light"] .phone { background: linear-gradient(165deg, #0d2344, #081729); }
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 34%; height: 12px; border-radius: 8px; background: #000; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #0b2142, #050e1f); color: #f3f7fe; padding: 26px 12px 12px; }
.phone .ph-title { font-size: 11px; font-weight: 700; }
.phone .ph-sub { font-size: 9px; opacity: .65; margin-top: 1px; }
.phone .ph-card { margin-top: 9px; border-radius: 11px; padding: 8px 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.phone .ph-card .l { font-size: 9px; opacity: .7; }
.phone .ph-card .v { font-size: 14px; font-weight: 800; margin-top: 1px; }
.phone .ph-card .v.up { color: #4ce0a5; }
.phone .ph-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ce0a5; display: inline-block; margin-inline-end: 4px; }
.app-stores { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

/* -------------------------------------------------------------- journal -- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.post-cover { height: 150px; position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface-3), var(--surface-2)); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-cover img { transform: scale(1.04); }
.post-cover .cat {
  position: absolute; top: 12px; inset-inline-start: 12px;
  padding: 4px 10px; border-radius: var(--r-pill); font-size: 10.5px; font-weight: 700;
  background: rgba(5, 14, 31, .6); color: #f3f7fe; backdrop-filter: blur(8px);
}
.post-body { padding: 16px; }
.post-body h3 { font-size: 14.5px; line-height: 1.6; }
.post-body p { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta svg { width: 13px; height: 13px; }

/* -------------------------------------------------------------- contact -- */
.contact-card {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface), var(--surface-2));
}
.contact-lines { display: flex; flex-wrap: wrap; gap: 24px; }
.contact-lines div { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.contact-lines .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.contact-lines .ico svg { width: 17px; height: 17px; }
.contact-lines small { display: block; font-size: 11px; color: var(--muted); }

/* --------------------------------------------------------------- footer -- */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); padding-block: 40px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 26px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 12px; color: var(--muted); max-width: 34ch; line-height: 1.9; }
.footer-col h4 { font-size: 12.5px; color: var(--gold); margin-bottom: 12px; font-weight: 700; }
.footer-col a, .footer-col span { display: block; font-size: 12.5px; color: var(--text-2); padding-block: 5px; transition: .2s; }
.footer-col a:hover { color: var(--gold); }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-2); transition: .25s; }
.socials a:hover { color: var(--gold); border-color: var(--gold-line); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.preview-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--gold-soft); color: var(--gold); font-size: 10.5px; font-weight: 700; }

/* ------------------------------------------------------------ support dock -- */
.support-dock { position: fixed; z-index: 50; inset-inline-start: 18px; bottom: 22px; display: flex; flex-direction: column; gap: 9px; }
.support-dock a {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass); backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft);
  transition: .3s var(--ease); position: relative;
}
.support-dock a:hover { transform: translateY(-3px) scale(1.04); }
.support-dock a svg { width: 21px; height: 21px; }
.support-dock a.wa { color: #34d399; }
.support-dock a.tg { color: #54a9eb; }
.support-dock a.ig { color: #e487b5; }
.support-dock a.tel { color: var(--gold); }
.support-dock a::after {
  content: attr(data-tip); position: absolute; inset-inline-start: 60px; top: 50%; translate: 0 -50%;
  padding: 4px 10px; border-radius: 8px; font-size: 11px;
  background: var(--surface); border: 1px solid var(--line);
  opacity: 0; pointer-events: none; transition: .2s;
  white-space: nowrap;
}
.support-dock a:hover::after { opacity: 1; }

/* ------------------------------------------------------------- tab bar (mobile) -- */
.tabbar {
  position: fixed; z-index: 60; inset-inline: 12px; bottom: 12px;
  display: none; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: var(--r-pill);
  background: var(--glass); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  direction: rtl;
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 9.5px; color: var(--muted); padding-block: 4px;
}
.tabbar a svg { width: 20px; height: 20px; }
.tabbar a[aria-current="page"] { color: var(--gold); }
.tabbar .fab {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--on-gold);
  background: linear-gradient(160deg, #f3d5a3, #d9ae6b);
  box-shadow: 0 12px 22px -12px rgba(235, 200, 144, .7);
}
.tabbar .fab svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------- drawer -- */
.drawer {
  position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: 1fr;
  visibility: hidden; opacity: 0; transition: opacity .3s var(--soft), visibility .3s;
}
.drawer.open { visibility: visible; opacity: 1; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(2, 8, 20, .6); backdrop-filter: blur(6px); }
.drawer-sheet {
  position: relative; align-self: start; margin: 12px; margin-top: 74px;
  border-radius: var(--r-xl); padding: 20px;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-12px); transition: transform .35s var(--ease);
}
.drawer.open .drawer-sheet { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-head img { height: 34px; }
.drawer-links a { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); }
.drawer-links a:hover { background: var(--surface-2); color: var(--text); }
.drawer-links svg { width: 18px; height: 18px; color: var(--gold); }

/* ----------------------------------------------------------------- toast -- */
.toast {
  position: fixed; z-index: 90; inset-inline: 0; bottom: 92px;
  margin-inline: auto; width: max-content; max-width: 90vw;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--surface-3); color: var(--text);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateY(14px); transition: .3s var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }

/* ----------------------------------------------------------- browser sheet -- */
.browser-sheet {
  position: fixed; z-index: 95; inset: 0; display: none;
}
.browser-sheet.show { display: grid; place-items: end center; }
.browser-sheet .scrim { position: absolute; inset: 0; background: rgba(2, 8, 20, .55); backdrop-filter: blur(5px); }
.browser-sheet .panel {
  position: relative; width: min(560px, 100% - 24px); margin-bottom: 12px;
  border-radius: var(--r-xl); padding: 22px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  animation: rise .45s var(--ease);
}
@keyframes rise { from { transform: translateY(30px); opacity: .4; } }
.browser-sheet h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.browser-sheet h3 svg { width: 19px; height: 19px; color: var(--gold); }
.browser-sheet p { font-size: 12px; color: var(--muted); margin-top: 7px; line-height: 1.9; }
.browser-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.browser-options a, .browser-options button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-2); transition: .2s;
}
.browser-options a:hover, .browser-options button:hover { border-color: var(--gold-line); color: var(--text); }
.browser-options .go { color: var(--gold); }

/* ------------------------------------------------------------ page heads -- */
.page-head { padding-block: 34px 10px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -1px; }
.page-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ------------------------------------------------------------ price page -- */
.price-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.segmented { display: flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); }
.segmented a, .segmented button { padding: 7px 13px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; color: var(--muted); transition: .2s; }
.segmented a.on, .segmented button.on { background: var(--surface); color: var(--gold); box-shadow: var(--shadow-soft); }
.chart-card {
  padding: clamp(16px, 3vw, 26px);
  border-radius: var(--r-xl); border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-soft);
}
.chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chart-head .big { font-size: clamp(1.5rem, 3.6vw, 2rem); font-weight: 800; letter-spacing: -1px; }
.chart-head .sub { font-size: 11.5px; color: var(--muted); }
.chart-wrap { margin-top: 16px; position: relative; height: clamp(220px, 34vw, 330px); }
.chart-wrap svg { width: 100%; height: 100%; overflow: visible; }
.chart-tip {
  position: absolute; padding: 7px 10px; border-radius: 10px; font-size: 11px;
  background: var(--surface-3); border: 1px solid var(--line-strong);
  pointer-events: none; opacity: 0; transition: opacity .15s; white-space: nowrap;
  transform: translate(-50%, -130%);
}
.chart-tip.on { opacity: 1; }
.chart-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.chart-stats .stat { padding: 13px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.chart-stats .stat small { font-size: 10.5px; color: var(--muted); display: block; }
.chart-stats .stat b { font-size: 15px; font-weight: 800; margin-top: 2px; }
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.glance-item { padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.glance-item .gl { font-size: 12px; color: var(--muted); }
.glance-item .gv { font-size: 14px; font-weight: 800; }

/* ------------------------------------------------------------- the wizard -- */
.wizard-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.wizard {
  padding: clamp(18px, 3vw, 30px);
  border-radius: var(--r-xl); border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-soft);
}
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.step {
  flex: 1; display: flex; align-items: center; gap: 9px; padding: 9px;
  border-radius: var(--r-md); border: 1px solid transparent;
  color: var(--muted); font-size: 11.5px; transition: .3s;
}
.step .n {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
  border: 1px solid var(--line-strong); color: var(--text-2);
}
.step.on { color: var(--text); border-color: var(--line); background: var(--surface); }
.step.on .n { background: var(--gold); color: var(--on-gold); border-color: transparent; }
.step.done .n { background: var(--live-soft); color: var(--live); border-color: transparent; }
.step.done { color: var(--text-2); }
.wizard-panel { display: none; animation: fade-up .45s var(--ease); }
.wizard-panel.on { display: block; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }
.panel-title { font-size: 16px; font-weight: 800; }
.panel-desc { color: var(--muted); font-size: 12px; margin-top: 4px; }

.choose-purity { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.purity-card {
  padding: 14px; border-radius: var(--r-md); text-align: start;
  border: 1px solid var(--line); background: var(--surface);
  transition: .25s;
}
.purity-card b { font-size: 16px; }
.purity-card small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.purity-card.on { border-color: var(--gold); background: var(--gold-soft); }
.choose-weights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px;
}
.choose-weights button {
  padding: 12px 6px; border-radius: var(--r-md); text-align: center;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 800; transition: .22s;
}
.choose-weights button small { display: block; font-size: 9.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.choose-weights button.on { border-color: var(--gold); background: var(--gold-soft); }
.field { margin-top: 14px; }
.field label { font-size: 11.5px; color: var(--muted); display: block; margin-bottom: 6px; }
.field .box {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); padding: 12px 14px;
  transition: border-color .2s;
}
.field .box:focus-within { border-color: var(--gold); }
.field .box input { flex: 1; border: 0; background: none; outline: none; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.field .box .hint { font-size: 10.5px; color: var(--muted); }
.field .err { color: var(--down); font-size: 11px; margin-top: 4px; display: none; }
.field.bad .box { border-color: var(--down); }
.field.bad .err { display: block; }
.field.bad .box input { color: var(--down); }
.otp-row { display: flex; gap: 8px; margin-top: 8px; }
.otp-row input {
  width: 48px; height: 54px; text-align: center; font-size: 20px; font-weight: 800;
  border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface);
  outline: none; font-variant-numeric: tabular-nums;
}
.otp-row input:focus { border-color: var(--gold); }
.otp-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--muted); }
.otp-meta button { color: var(--gold); font-weight: 700; }
.otp-meta button[disabled] { color: var(--muted); }
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.gate {
  display: flex; align-items: center; gap: 8px; padding: 12px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface);
  font-size: 12px; color: var(--muted);
}
.gate svg { width: 16px; height: 16px; flex: none; }
.gate.ok { color: var(--live); border-color: transparent; background: var(--live-soft); }
.gate.bad { color: var(--down); background: var(--down-soft); border-color: transparent; }
.wizard-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.wizard-actions .btn { flex: 1; }
.wizard-actions .back { color: var(--muted); font-size: 12.5px; padding: 10px; }
.wizard-actions .back:hover { color: var(--text); }

.summary {
  position: sticky; top: calc(var(--header-h) + 14px);
  padding: 20px; border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-soft);
}
.summary h3 { font-size: 13px; color: var(--muted); font-weight: 500; }
.summary .line { display: flex; justify-content: space-between; font-size: 12.5px; padding-block: 7px; color: var(--text-2); }
.summary .line b { font-weight: 700; color: var(--text); }
.summary .divider { border-top: 1px dashed var(--line-strong); margin-block: 8px; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.summary .total .n { font-size: 22px; font-weight: 800; letter-spacing: -.6px; color: var(--gold); }
.lock-timer {
  margin-top: 14px; padding: 12px; border-radius: var(--r-md);
  background: var(--gold-soft); border: 1px dashed var(--gold-line);
  display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-2);
}
.lock-timer svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.lock-timer b { color: var(--gold); font-variant-numeric: tabular-nums; }
.summary-note { margin-top: 12px; font-size: 10.5px; color: var(--muted); line-height: 1.9; }

/* payment gateways */
.gateways { display: grid; gap: 8px; margin-top: 14px; }
.gateway {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface);
  transition: .2s;
}
.gateway b { font-size: 13px; }
.gateway small { display: block; color: var(--muted); font-size: 10.5px; }
.gateway .logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); font-weight: 800; font-size: 12px; color: var(--gold); flex: none; }
.gateway .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); margin-inline-start: auto; transition: .2s; }
.gateway.on { border-color: var(--gold); background: var(--gold-soft); }
.gateway.on .radio { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 46%, transparent 50%); }

/* ---------------------------------------------------------------- order -- */
.order-wrap { max-width: 620px; margin-inline: auto; text-align: center; padding-block: 30px; }
.order-check {
  width: 96px; height: 96px; margin-inline: auto; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 24%, rgba(96, 240, 180, .25), var(--live-soft) 70%);
  border: 1px solid rgba(76, 224, 165, .35);
  box-shadow: 0 0 0 12px var(--live-soft), 0 0 0 24px rgba(76, 224, 165, .05);
  animation: pop .6s var(--ease);
}
.order-check svg { width: 44px; height: 44px; color: var(--live); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.06); } }
.order-wrap h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 26px; }
.order-wrap .lead { color: var(--muted); font-size: 13px; margin-top: 8px; }
.order-card {
  margin-top: 24px; padding: 20px; border-radius: var(--r-lg);
  border: 1px solid var(--line-strong); background: var(--surface);
  text-align: start;
}
.order-code {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--gold-soft); border: 1px dashed var(--gold-line);
}
.order-code b { font-size: 20px; letter-spacing: 2px; color: var(--gold); font-variant-numeric: tabular-nums; }
.order-code small { font-size: 11px; color: var(--muted); }
.order-rows { margin-top: 12px; }
.order-rows .r { display: flex; justify-content: space-between; padding-block: 8px; color: var(--text-2); font-size: 12.5px; }
.order-rows .r b { color: var(--text); }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; text-align: center; }
.next-step { padding: 14px 10px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); font-size: 11.5px; color: var(--text-2); }
.next-step .k { width: 26px; height: 26px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 11px; font-weight: 800; }
.order-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 22px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i {
  position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 3px;
  opacity: .9; animation: confetti-fall linear forwards;
}
@keyframes confetti-fall { to { transform: translateY(105vh) rotate(520deg); opacity: .3; } }

/* --------------------------------------------------------------- 404 etc -- */
.notice-card {
  margin-top: 22px; padding: 14px 16px; border-radius: var(--r-md);
  border: 1px dashed var(--gold-line); background: var(--gold-soft);
  font-size: 12px; color: var(--text-2); line-height: 1.9;
}

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .packages-grid { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-visual { min-height: 360px; }
  .rate-card { max-width: 420px; }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
  .builder, .calculator, .app-card, .window-card { grid-template-columns: 1fr; }
  .dial { margin-inline: auto; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 28px); --header-h: 60px; }
  body { font-size: 14.5px; }
  .tabbar { display: flex; }
  .support-dock { display: none; }
  .brand img { height: 33px; }
  .header-actions .btn-site { display: none; }
  .window-strip { font-size: 11.5px; padding: 9px 12px; gap: 7px; }
  .window-strip .state { display: none; }
  .hero { padding-top: 22px; }
  .hero h1 { letter-spacing: -.8px; }
  .hero-visual { min-height: 330px; }
  .beads-stage { width: 300px; }
  .rate-card { padding: 18px; border-radius: var(--r-lg); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pkg { padding: 14px; }
  .pkg-weight { font-size: 20px; }
  .pkg-beads { height: 60px; }
  .pkg-price .n { font-size: 15.5px; }
  .builder, .calculator { gap: 12px; }
  .choose-weights { grid-template-columns: repeat(3, 1fr); }
  .steps { flex-wrap: wrap; }
  .step { flex: 1 1 42%; }
  .gates { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .chart-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .glance { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-lines { gap: 14px; }
  .contact-card { grid-template-columns: 1fr; }
  .window-facts { gap: 6px; }
  .next-steps { grid-template-columns: 1fr; }
  .toast { bottom: 84px; }
  .site-footer { padding-bottom: 84px; }
  .order-grid-desktop { display: none; }
}

@media (max-width: 400px) {
  .packages-grid { grid-template-columns: 1fr; }
  .pkg-beads { height: 54px; }
  .choose-weights { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* fade-up when a section scrolls in */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--soft), transform .7s var(--soft); }
.reveal.in { opacity: 1; transform: none; }

main { padding-bottom: 8px; }
@media (max-width: 720px) { main { padding-bottom: 76px; } }
h9 { display: none; }
.window-copy .title { display: block; }

/* a single published article gets a full-width feature treatment */
.post-featured { display: grid; grid-template-columns: 1.15fr .85fr; }
.post-featured .post-cover { height: 100%; min-height: 230px; }
.post-featured .post-body { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.post-featured .post-body h3 { font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.6; }
.post-featured .post-body p { -webkit-line-clamp: 3; font-size: 12.5px; margin-top: 10px; }
.post-featured .post-meta { margin-top: 16px; }
.journal-grid.single { grid-template-columns: 1fr; }
@media (max-width: 720px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-cover { min-height: 170px; }
}

/* thin progress line that follows the page scroll */
.scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; height: 2px; width: 0;
  z-index: 100; border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--gold), #f7e2bd);
  box-shadow: 0 0 12px rgba(235, 200, 144, .5);
  transition: width .08s linear;
}
