/* =====================================================================
   软趴趴小黑屋 · Membership landing
   Obsidian & gold — a private-club art direction
   tokens → base → atmosphere → components → sections → responsive
   ===================================================================== */

/* ---------- Fonts (self-hosted subsets) ---------- */
@font-face { font-family: "RPP Serif"; src: url("../fonts/rpp-serif-900.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "RPP Serif"; src: url("../fonts/rpp-serif-600.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("../fonts/playfair.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("../fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --ink: #07060a;
  --ink-2: #0c0b0f;
  --panel: rgba(13, 12, 16, .78);
  --panel-2: rgba(19, 17, 22, .86);

  --ivory: #f4ede1;
  --text: #f4ede1;
  --text-2: #c3baab;
  --text-3: #8e8577;

  --gold: #e6c47f;
  --gold-hi: #fbe8bd;
  --gold-lo: #a67c35;
  --platinum: #c9dbee;
  --pearl: #e3d4ff;
  --green: #5fd3a0;

  --line: rgba(230, 196, 127, .11);
  --line-2: rgba(230, 196, 127, .2);
  --line-3: rgba(230, 196, 127, .38);
  --hair: rgba(255, 255, 255, .06);

  --foil: linear-gradient(100deg, #8d6626 0%, #e6c47f 16%, #fff3d2 28%, #d1a556 42%, #8a6222 55%, #e2bd74 70%, #fff0c8 84%, #b08236 100%);
  --pearl-foil: linear-gradient(100deg, #f7ecff 0%, #c8b3ff 22%, #9fdcff 42%, #ffd0ea 62%, #fbe8bd 80%, #f7ecff 100%);
  --gold-metal: linear-gradient(180deg, #fff1c9 0%, #ecc97f 38%, #c99a49 72%, #e9c47b 100%);

  --serif: "Playfair", "RPP Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --serif-cn: "RPP Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --italic: "Playfair", Georgia, "Times New Roman", serif;
  --font: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI",
          "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
          "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --r: 6px;
  --r-sm: 3px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --nav-h: 80px;
  --gutter: clamp(16px, 4.6vw, 96px);
  --maxw: 1880px;  /* outer width of .container, padding included */
  --z: 1;          /* mirrors the html zoom used on 2K/4K screens */
  --intro: 1.55s;

  /* Art-deco corner brackets, layered on top of any panel background */
  --brk: rgba(230, 196, 127, .5);
  --corners:
    linear-gradient(var(--brk), var(--brk)) left 10px top 10px / 14px 1px no-repeat,
    linear-gradient(var(--brk), var(--brk)) left 10px top 10px / 1px 14px no-repeat,
    linear-gradient(var(--brk), var(--brk)) right 10px top 10px / 14px 1px no-repeat,
    linear-gradient(var(--brk), var(--brk)) right 10px top 10px / 1px 14px no-repeat,
    linear-gradient(var(--brk), var(--brk)) left 10px bottom 10px / 14px 1px no-repeat,
    linear-gradient(var(--brk), var(--brk)) left 10px bottom 10px / 1px 14px no-repeat,
    linear-gradient(var(--brk), var(--brk)) right 10px bottom 10px / 14px 1px no-repeat,
    linear-gradient(var(--brk), var(--brk)) right 10px bottom 10px / 1px 14px no-repeat;
  --panel-bg:
    linear-gradient(180deg, rgba(255, 244, 220, .045), rgba(255, 244, 220, 0) 40%),
    var(--panel);
  --panel-edge: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 240, 205, .07);
}
.intro-seen, .intro-done { --intro: 0s; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}
body {
  margin: 0;
  min-height: 100vh;
  background: transparent; /* the html canvas carries the ink so the fixed z-index:-1 atmosphere stays visible */
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
::selection { background: rgba(230, 196, 127, .35); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a241b; border-radius: 10px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #4a3d26; }

.container { position: relative; width: min(100%, var(--maxw)); margin-inline: auto; padding-inline: var(--gutter); }

.gold-text, .gold-foil {
  background: var(--foil);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: foil 10s ease-in-out infinite alternate;
}
.holo-text {
  background: var(--pearl-foil);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: foil 7s ease-in-out infinite alternate;
}
@keyframes foil { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* =====================================================================
   Atmosphere
   ===================================================================== */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--ink); }
.bg-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 5%, rgba(166, 124, 53, .22), transparent 70%),
    radial-gradient(50% 45% at 5% 60%, rgba(92, 52, 128, .2), transparent 70%),
    radial-gradient(70% 60% at 60% 110%, rgba(166, 124, 53, .12), transparent 70%);
}
.bg-silk, .bg-dust { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bg-silk { opacity: 0; transition: opacity 2.4s ease; }
.bg-silk.is-on { opacity: 1; }
.bg-guides {
  position: absolute; inset: 0 var(--gutter); max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.bg-guides i { border-left: 1px solid rgba(230, 196, 127, .035); }
.bg-guides i:nth-child(4) { border-right: 1px solid rgba(230, 196, 127, .035); }
.bg-guides i:nth-child(5) { display: none; }
.bg-vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .7) 100%); }
.bg-grain {
  position: absolute; inset: -100%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 9%); } 80% { transform: translate(8%, 2%); } 100% { transform: translate(0, 0); }
}

/* Intro curtain — runs on CSS alone so it can never get stuck */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 50%, #15110b, var(--ink) 70%);
  animation: introOut 1s var(--ease-io) 1.35s forwards;
  pointer-events: none;
}
.intro-inner { display: grid; justify-items: center; gap: 18px; }
.intro img { width: min(260px, 56vw); height: auto; opacity: 0; transform: translateY(12px) scale(.96); filter: drop-shadow(0 0 30px rgba(230, 196, 127, .25)); animation: introLogo 1s var(--ease) .1s forwards; }
.intro-line { width: 180px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); animation: introLine 1.1s var(--ease) .3s forwards; }
.intro-cap { font: italic 500 13px/1 var(--italic); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: introCap .8s ease .55s forwards; }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes introLine { to { transform: scaleX(1); } }
@keyframes introCap { to { opacity: .8; } }
@keyframes introOut { 0% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.intro-seen .intro { display: none; }

/* Custom cursor (fine pointers only, enabled by JS) */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.cursor-ring, .cursor-dot { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(230, 196, 127, .55);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s, opacity .3s;
}
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--gold-hi); box-shadow: 0 0 10px rgba(230, 196, 127, .9); }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(230, 196, 127, .07); border-color: rgba(230, 196, 127, .8); }
.cursor.is-hidden .cursor-ring, .cursor.is-hidden .cursor-dot { opacity: 0; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold)); box-shadow: 0 0 14px rgba(230, 196, 127, .7); }

/* =====================================================================
   Components
   ===================================================================== */

/* ---------- Buttons ---------- */
.btn {
  --bh: 46px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--bh); padding: 0 24px;
  border-radius: var(--r-sm);
  font-weight: 650; font-size: 15px; letter-spacing: .06em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s;
  will-change: transform;
}
.btn i { font-size: .82em; transition: transform .4s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn:hover i.fa-arrow-down { transform: translateY(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { --bh: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { --bh: 58px; padding: 0 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* light sweep shared by solid buttons */
.btn-gold::before, .btn-cyan::before, .btn-holo::before, .btn-light::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%);
  background-size: 260% 100%; background-position: 130% 0;
  animation: sweep 6s var(--ease-io) infinite;
}
.btn:hover::before { animation-duration: 1.4s; }
@keyframes sweep { 0%, 70% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

.btn-gold {
  color: #1d1406;
  background: var(--gold-metal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(90, 60, 10, .35), 0 14px 34px -14px rgba(230, 180, 90, .75);
}
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(90, 60, 10, .35), 0 20px 50px -14px rgba(230, 180, 90, .95); }
.btn-gold .fa-crown { color: #5a3e0c; }

.btn-cyan {
  color: #0e1620;
  background: linear-gradient(180deg, #ffffff 0%, #dbe7f3 45%, #a9bed3 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(40, 60, 90, .3), 0 14px 32px -16px rgba(180, 210, 240, .6);
}
.btn-cyan:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(40, 60, 90, .3), 0 20px 44px -14px rgba(180, 210, 240, .85); }

.btn-holo {
  color: #1a1024;
  background: linear-gradient(100deg, #fbe8bd, #e3cbff 35%, #b5e2ff 65%, #ffd6ec 85%, #fbe8bd);
  background-size: 220% 100%;
  animation: foil 6s ease-in-out infinite alternate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 16px 44px -14px rgba(200, 170, 255, .75);
}
.btn-holo:hover { box-shadow: inset 0 1px 0 #fff, 0 22px 56px -14px rgba(220, 180, 255, .95); }

.btn-ghost {
  color: var(--ivory);
  background: rgba(230, 196, 127, .03);
  box-shadow: inset 0 0 0 1px var(--line-3);
}
.btn-ghost:hover { background: rgba(230, 196, 127, .08); box-shadow: inset 0 0 0 1px rgba(230, 196, 127, .75); }

.btn-light { color: #120e08; background: var(--ivory); box-shadow: 0 14px 34px -16px rgba(255, 240, 210, .6); }
.btn-blue { color: #1d1406; background: var(--gold-metal); }
.btn-quiet { color: var(--text-2); }
.btn-quiet:hover { color: var(--text); background: rgba(230, 196, 127, .06); }

.text-link { display: inline-flex; align-items: center; gap: .55em; color: var(--gold); font-size: 14px; font-weight: 550; letter-spacing: .04em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .6s var(--ease), color .3s; }
.text-link i { font-size: .82em; transition: transform .4s var(--ease); }
.text-link:hover { color: var(--gold-hi); background-size: 100% 1px; }
.text-link:hover .fa-arrow-right { transform: translateX(4px); }

/* ---------- Small atoms ---------- */
.sh-meta { display: flex; align-items: center; gap: 14px; }
.sh-num { font: italic 500 16px/1 var(--italic); color: var(--gold); letter-spacing: .04em; }
.sh-num::after { content: ''; display: inline-block; vertical-align: middle; width: 44px; height: 1px; margin-left: 14px; background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow > i.ping { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.eyebrow > i.ping::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }

/* Art-deco double-diamond frame for icons */
.icon-tile {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 56px; height: 56px; font-size: 18px; color: var(--gold);
}
.icon-tile::before, .icon-tile::after { content: ''; position: absolute; transform: rotate(45deg); transition: transform .8s var(--ease); }
.icon-tile::before { inset: 9px; border: 1px solid rgba(230, 196, 127, .5); background: radial-gradient(circle, rgba(230, 196, 127, .16), rgba(230, 196, 127, .02) 70%); }
.icon-tile::after { inset: 2px; border: 1px solid rgba(230, 196, 127, .14); }
.icon-tile i { position: relative; z-index: 1; filter: drop-shadow(0 0 8px rgba(230, 196, 127, .45)); }
.icon-tile.sm { width: 42px; height: 42px; font-size: 14px; }
.icon-tile.sm::before { inset: 7px; }
[data-spot]:hover .icon-tile::before { transform: rotate(135deg); }
[data-spot]:hover .icon-tile::after { transform: rotate(-45deg); }

.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); flex: none; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }

/* Pointer light on panels ([data-spot]) */
[data-spot] { --mx: 50%; --my: 0%; }
[data-spot]::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  padding: 1px;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(251, 232, 189, .75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
[data-spot]::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(230, 196, 127, .07), transparent 50%);
  opacity: 0; transition: opacity .5s;
}
[data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: calc(var(--d, 0) * 100ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-delay: calc(var(--intro) + var(--d, 0) * 110ms); }

/* =====================================================================
   Navigation
   ===================================================================== */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.js .nav { opacity: 0; transform: translateY(-16px); animation: navIn 1.1s var(--ease) calc(var(--intro) + .1s) forwards; }
@keyframes navIn { to { opacity: 1; transform: none; } }
.nav-inner {
  pointer-events: auto;
  max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 12px 0 20px; border-radius: var(--r);
  background: rgba(10, 9, 12, .5);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 240, 205, .06);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .4s, box-shadow .4s;
}
.nav.is-scrolled .nav-inner { background: rgba(9, 8, 11, .84); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -24px rgba(0, 0, 0, .9); }
.nav-logo { flex: none; display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; transition: transform .6s var(--ease), filter .6s; filter: drop-shadow(0 0 14px rgba(230, 196, 127, .18)); }
.nav-logo:hover img { transform: scale(1.04); filter: drop-shadow(0 0 20px rgba(230, 196, 127, .4)); }

.nav-links { position: relative; display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-links a {
  position: relative; z-index: 1;
  padding: 8px 14px;
  font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--text-2);
  transition: color .3s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ivory); }
.nav-indicator {
  position: absolute; bottom: 10px; left: 0; height: 1px; width: 0; z-index: 0;
  transform: translateX(var(--ix, 0));
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s;
}
.nav-indicator::after { content: ''; position: absolute; left: 50%; top: -2.5px; width: 6px; height: 6px; margin-left: -3px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-guide, .nav-user {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--text-2); transition: color .3s, background .3s;
}
.nav-guide { color: var(--gold); }
.nav-guide i { animation: wiggle 3.6s ease-in-out infinite; }
.nav-guide:hover, .nav-user:hover { background: rgba(230, 196, 127, .06); color: var(--ivory); }
.nav-guide:hover { color: var(--gold-hi); }
.nav-actions .btn { margin-left: 6px; }
@keyframes wiggle { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 96% { transform: rotate(-6deg); } }

.nav-burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--gold); transition: transform .5s var(--ease), top .5s var(--ease), left .5s var(--ease); }
.nav-burger span:first-child { top: 18px; }
.nav-burger span:last-child { top: 25px; left: 18px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 21.5px; left: 12px; transform: rotate(-45deg); }

.sheet {
  pointer-events: auto;
  max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: 10px auto 0; padding: 10px 16px 16px;
  border-radius: var(--r);
  background: rgba(10, 9, 12, .94);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform-origin: top center;
  animation: sheetIn .55s var(--ease);
}
.sheet[hidden] { display: none; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-10px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.sheet-links { display: grid; }
.sheet-links a { display: flex; align-items: baseline; gap: 16px; padding: 15px 4px; font: 600 19px/1.3 var(--serif-cn); letter-spacing: .06em; border-bottom: 1px solid var(--line); animation: sheetLink .6s var(--ease) both; }
.sheet-links a:nth-child(2) { animation-delay: .04s; } .sheet-links a:nth-child(3) { animation-delay: .08s; } .sheet-links a:nth-child(4) { animation-delay: .12s; } .sheet-links a:nth-child(5) { animation-delay: .16s; } .sheet-links a:nth-child(6) { animation-delay: .2s; }
@keyframes sheetLink { from { opacity: 0; transform: translateX(-10px); } }
.sheet-links a span { font: italic 500 13px var(--italic); color: var(--gold); }
.sheet-links a:active { background: rgba(230, 196, 127, .05); }
.sheet-guide { display: flex; width: 100%; align-items: center; gap: 10px; padding: 16px 4px; color: var(--gold); font-weight: 650; letter-spacing: .06em; }
.sheet-guide .fa-arrow-right { margin-left: auto; font-size: 13px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 4px; }

/* =====================================================================
   Tier band — a full-bleed, tilted strip of the five tiers
   ===================================================================== */
.tierband { position: relative; z-index: 2; margin: clamp(8px, 2vw, 32px) 0 clamp(-40px, -2vw, -16px); pointer-events: none; }
.tierband-inner {
  width: 116vw; margin-left: -8vw;
  transform: rotate(-3.2deg) translateX(var(--bx, 0px));
  border-block: 1px solid var(--line-2);
  background: linear-gradient(90deg, rgba(10, 9, 12, .92), rgba(16, 13, 10, .85) 50%, rgba(10, 9, 12, .92));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 240, 205, .06);
  overflow: hidden;
}
.tierband-inner::before, .tierband-inner::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.tierband-inner::before { top: 6px; } .tierband-inner::after { bottom: 6px; }
.tierband-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.tierband-group { display: flex; align-items: center; gap: clamp(28px, 3vw, 56px); padding: clamp(18px, 2vw, 30px) clamp(14px, 1.5vw, 28px); flex: none; }
.tierband span {
  font-family: var(--serif-cn); font-weight: 900; font-size: clamp(54px, 7.4vw, 148px); line-height: 1.05; letter-spacing: .04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(230, 196, 127, .5);
}
.tierband span.is-gold { background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; animation: foil 8s ease-in-out infinite alternate; }
.tierband span.is-plat { background: linear-gradient(100deg, #6f8eae, #eef6ff 40%, #9fb8d2 70%, #e8f1fb); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; animation: foil 8s ease-in-out infinite alternate; }
.tierband span.is-pearl { background: var(--pearl-foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; animation: foil 6s ease-in-out infinite alternate; }
.tierband i { flex: none; width: clamp(12px, 1.2vw, 20px); aspect-ratio: 1; transform: rotate(45deg); background: var(--gold-metal); box-shadow: 0 0 16px rgba(230, 196, 127, .6); }

/* =====================================================================
   Hero
   ===================================================================== */
main { overflow-x: clip; }
.hero { position: relative; min-height: calc(100vh / var(--z)); min-height: calc(100svh / var(--z)); display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) + clamp(36px, 6vh, 80px)); padding-bottom: clamp(56px, 8vh, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 5vw, 80px); }

.pill {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 6px 16px 6px 6px; border-radius: var(--r-sm);
  font-size: 13.5px; letter-spacing: .04em; color: var(--text-2);
  background: rgba(230, 196, 127, .04); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .4s, color .4s, background .4s;
}
.pill:hover { color: var(--ivory); background: rgba(230, 196, 127, .08); box-shadow: inset 0 0 0 1px var(--line-3); }
.pill-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill i { font-size: 10px; color: var(--gold); transition: transform .4s var(--ease); }
.pill:hover i { transform: translateX(3px); }
.pill-tag { flex: none; padding: 3px 9px; border-radius: 2px; font: italic 700 12px/1.3 var(--italic); letter-spacing: .1em; color: #1d1406; background: var(--gold-metal); }

.hero-title {
  margin-top: 30px;
  font-family: var(--serif-cn); font-weight: 900;
  font-size: clamp(76px, 11vw, 170px); line-height: 1.04; letter-spacing: .02em;
  filter: drop-shadow(0 12px 50px rgba(230, 180, 90, .16));
}
.hero-title .line { display: block; overflow: hidden; padding: .02em .06em .1em 0; margin-bottom: -.08em; }
.hero-title .line-in { display: inline-block; }
.hero-title .line:first-child .line-in { color: var(--ivory); }
.js .hero-title .line-in { transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; animation: lineUp 1.4s var(--ease) forwards; }
.js .hero-title .line:nth-child(1) .line-in { animation-delay: calc(var(--intro) + .05s); }
.js .hero-title .line:nth-child(2) .line-in { animation: lineUp 1.4s var(--ease) calc(var(--intro) + .2s) forwards, foil 10s ease-in-out calc(var(--intro) + 1.6s) infinite alternate; }
@keyframes lineUp { to { transform: none; } }

.hero-tagline { margin-top: 26px; display: flex; align-items: center; gap: 16px; font-family: var(--serif-cn); font-size: clamp(20px, 2.1vw, 27px); font-weight: 600; letter-spacing: .14em; color: var(--ivory); }
.hero-tagline > i { width: 44px; height: 1px; flex: none; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-lead { margin-top: 16px; max-width: 32em; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.95; color: var(--text-2); }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); letter-spacing: .04em; }
.hero-note i { color: var(--gold); }

/* Card stage */
.hero-visual { position: relative; }
.card-stage {
  --rx: 0deg; --ry: 0deg;
  position: relative; aspect-ratio: 1 / 1; max-width: 540px; margin-inline: auto;
  perspective: 1400px;
  display: grid; place-items: center;
  transform: translateY(calc(var(--hero-p, 0) * -60px));
}
.card-stage::before {
  content: ''; position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 180, 90, .28), rgba(120, 70, 170, .14) 50%, transparent 70%);
  filter: blur(40px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.orbit { position: absolute; inset: -2%; width: 104%; height: 104%; overflow: visible; }
.orbit g { transform-origin: 260px 260px; }
.orbit-a { animation: spin 40s linear infinite; }
.orbit-b { animation: spin 26s linear infinite reverse; }
.orbit-seal { animation: spin 90s linear infinite; }
.orbit-seal text { font: 500 10.5px var(--italic); letter-spacing: 4.1px; fill: rgba(230, 196, 127, .42); }
@keyframes spin { to { transform: rotate(360deg); } }

.mcard {
  position: absolute; width: 76%; aspect-ratio: 1.586 / 1; border-radius: 18px;
  padding: clamp(16px, 4.4%, 28px);
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  overflow: hidden;
}
.mcard-gold {
  transform: translate(-10%, -19%) rotate(-12deg) translateZ(-40px);
  background: linear-gradient(118deg, #4c360f 0%, #b7883b 20%, #f6dc9c 36%, #c0913f 50%, #6e4f19 66%, #d7b064 84%, #84601f 100%);
  background-size: 200% 200%;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 190, .45), inset 0 1px 0 rgba(255, 255, 255, .5), 0 40px 80px -30px rgba(0, 0, 0, .95);
  color: rgba(40, 26, 4, .85);
  animation: metal 10s ease-in-out infinite alternate, floatA 9s ease-in-out infinite;
}
.mcard-brush { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 5px); mix-blend-mode: overlay; }
.mcard-gold .mcard-name, .mcard-gold .mcard-foot { visibility: hidden; }
@keyframes metal { to { background-position: 100% 100%; } }
@keyframes floatA { 50% { translate: 0 -12px; } }

.mcard-diamond {
  transform: translate(7%, 13%) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s var(--ease);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(230, 196, 127, .16), transparent 55%),
    linear-gradient(145deg, #1d1b22 0%, #0c0b0f 48%, #17151c 100%);
  box-shadow: inset 0 0 0 1px rgba(230, 196, 127, .35), inset 0 1px 0 rgba(255, 240, 210, .25), 0 60px 110px -30px rgba(0, 0, 0, .95), 0 30px 90px -40px rgba(230, 180, 90, .55);
  color: var(--ivory);
  animation: floatB 8s ease-in-out infinite;
}
@keyframes floatB { 50% { translate: 0 8px; } }
.card-stage.is-tilting .mcard-diamond { transition: transform .15s linear; }
.mcard-diamond::after { content: ''; position: absolute; inset: 8px; border-radius: 12px; border: 1px solid rgba(230, 196, 127, .14); pointer-events: none; }
.mcard-foil {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 10px, rgba(255, 255, 255, .022) 10px 11px),
    linear-gradient(115deg, transparent 15%, rgba(159, 220, 255, .35) 32%, rgba(200, 179, 255, .4) 44%, rgba(255, 208, 234, .35) 56%, rgba(251, 232, 189, .35) 68%, transparent 85%);
  background-size: 100% 100%, 260% 260%;
  background-position: 0 0, var(--fx, 20%) var(--fy, 20%);
  mix-blend-mode: color-dodge; opacity: .4;
  transition: background-position .6s var(--ease);
  animation: foilDrift 9s ease-in-out infinite alternate;
}
@keyframes foilDrift { to { background-position: 0 0, 80% 70%; } }
.card-stage.is-tilting .mcard-foil { animation: none; }
.mcard-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 25%) var(--gy, 15%), rgba(255, 255, 255, .22), transparent 45%); mix-blend-mode: overlay; }
.mcard-top { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: clamp(10px, 1.05vw, 12px); }
.mcard-brand { font-family: var(--italic); font-style: italic; font-weight: 600; letter-spacing: .24em; }
.mcard-diamond .mcard-brand { color: var(--gold); }
.mcard-top i { font-size: clamp(16px, 2vw, 22px); }
.mcard-diamond .mcard-top i { color: var(--pearl); filter: drop-shadow(0 0 10px rgba(200, 179, 255, .9)); }
.mcard-chip {
  position: relative; margin-top: 7%; width: 14%; aspect-ratio: 1.3 / 1; border-radius: 5px;
  background: linear-gradient(135deg, #fff2c9, #c6953c 45%, #f6dc9c 70%, #a77a32);
  box-shadow: inset 0 0 0 1px rgba(60, 40, 0, .35);
}
.mcard-chip::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(60, 40, 0, .4); }
.mcard-chip::after { content: ''; position: absolute; inset: 20% 30%; border: 1px solid rgba(60, 40, 0, .45); border-radius: 2px; }
.mcard-name { position: relative; margin-top: auto; font-family: var(--serif-cn); font-size: clamp(20px, 2.6vw, 30px); font-weight: 900; letter-spacing: .08em; }
.mcard-diamond .mcard-name { background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 8s ease-in-out infinite alternate; }
.mcard-sub { position: relative; margin-top: 4px; font-size: clamp(11px, 1.05vw, 13px); letter-spacing: .08em; color: rgba(244, 237, 225, .6); }
.mcard-foot { position: relative; margin-top: 12px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: clamp(10px, .95vw, 12px); letter-spacing: .18em; opacity: .65; }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
  background: rgba(12, 11, 14, .78); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(0, 0, 0, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: floatA 7s ease-in-out infinite;
}
.float-chip i { color: var(--gold); }
.float-chip b { font-family: var(--italic); font-weight: 700; background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-1 { top: 9%; right: -2%; animation-delay: -1s; }
.fc-2 { bottom: 13%; left: -4%; animation-delay: -3s; }
.fc-3 { bottom: 1%; right: 4%; animation-delay: -5s; }

/* Stats strip */
.stats {
  margin: clamp(56px, 8vh, 96px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line);
  position: relative;
}
.stats::before { content: ''; position: absolute; left: 0; top: -1px; width: 120px; height: 1px; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: scan 7s var(--ease-io) infinite; }
@keyframes scan { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 120px); opacity: 0; } }
.stat { padding: 28px clamp(16px, 2.4vw, 32px); position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { display: flex; align-items: baseline; gap: 2px; font-family: var(--italic); font-size: clamp(38px, 4vw, 58px); font-weight: 500; line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.stat dt, .stat dt i { background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat dt small { font-size: .5em; font-style: italic; }
.stat dt i { font-size: .72em; }
.stat dd { margin: 12px 0 0; font-size: 13.5px; letter-spacing: .08em; color: var(--text-2); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 48px; margin-left: -.5px; overflow: hidden; background: var(--line); }
.scroll-cue span { position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { from { transform: translateY(-20px); } to { transform: translateY(52px); } }

/* =====================================================================
   Ticker
   ===================================================================== */
.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(230, 196, 127, .02), rgba(230, 196, 127, .05), rgba(230, 196, 127, .02));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 40px; padding: 20px 20px; flex: none; }
.ticker-item { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; letter-spacing: .06em; color: var(--ivory); white-space: nowrap; }
.ticker-item .fa-fire { color: #f0a35a; }
.ticker-sep { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tag { font: italic 700 13px/1 var(--italic); letter-spacing: .12em; }
.tag-cyan { color: var(--platinum); }
.tag-pink { color: var(--gold); }
.tag-violet { color: var(--pearl); }

/* =====================================================================
   Sections
   ===================================================================== */
.section { position: relative; padding-block: clamp(72px, 7.5vw, 116px); }
.section-tight { padding-top: clamp(40px, 6vw, 80px); }

/* Giant outlined watermark that drifts with scroll */
.mark { position: absolute; top: clamp(24px, 4vw, 60px); left: 0; right: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mark span {
  display: block; white-space: nowrap;
  font: italic 400 clamp(110px, 21vw, 340px)/1 var(--italic); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(230, 196, 127, .1);
  transform: translateX(var(--mx, 0px));
  padding-left: 3vw;
}
.mark-r span { text-align: right; padding: 0 3vw 0 0; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  grid-template-areas: "meta meta" "title side";
  align-items: end; gap: 28px clamp(32px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .sh-meta { grid-area: meta; }
.section-head h2 { grid-area: title; }
.section-head > p, .section-head .sh-side { grid-area: side; padding: 0 0 10px 22px; border-left: 1px solid var(--line-2); }
.section-head > p, .sh-side p { font-size: clamp(15px, 1.25vw, 17px); color: var(--text-2); line-height: 1.85; }
.sh-side .text-link { margin-top: 14px; }
.section-head h2, .faq-side h2, .custom h2, .cta h2 {
  font-family: var(--serif-cn); font-weight: 900;
  font-size: clamp(40px, 5.4vw, 78px); line-height: 1.12; letter-spacing: .03em;
  text-wrap: balance;
}
.section-head h2 .gold-text, .custom h2 .gold-text, .cta h2 .gold-text { white-space: nowrap; }

/* ---------- Panels ---------- */
.bento-card, .plan, .custom, .compare, .cta {
  border-radius: var(--r);
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.bento-card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--corners), var(--panel-bg);
  box-shadow: var(--panel-edge), 0 40px 80px -50px rgba(0, 0, 0, .9);
  padding: clamp(28px, 3.2vw, 44px);
  display: flex; gap: 28px;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.bento-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 90px -40px rgba(0, 0, 0, .95); }
.bento-body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.bento-card h3 { margin-top: 24px; font-family: var(--serif-cn); font-size: clamp(23px, 2.2vw, 30px); font-weight: 900; letter-spacing: .06em; }
.bento-card p { margin-top: 12px; color: var(--text-2); line-height: 1.9; max-width: 30em; }
.mini-list { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-list li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 550; letter-spacing: .04em; color: var(--ivory); background: rgba(230, 196, 127, .04); box-shadow: inset 0 0 0 1px var(--line); }
.mini-list i { font-size: 12px; color: var(--gold); }

.bento-a { grid-row: span 2; flex-direction: column; }
.bento-a > .bento-body { flex: none; }

.kpis { position: relative; z-index: 1; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpis div { padding: 18px 4px 16px 0; }
.kpis div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.kpis dt { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.1; background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpis dd { margin: 6px 0 0; font-size: 12.5px; letter-spacing: .08em; color: var(--text-2); }

/* Session visual */
.session {
  position: relative; z-index: 1; margin-top: auto;
  border-radius: var(--r); padding: 18px;
  background: rgba(6, 5, 8, .75);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .9);
  font-size: 14px;
}
.session-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ivory); font-weight: 600; letter-spacing: .04em; }
.session-ping { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--green); padding: 2px 8px; border-radius: 2px; background: rgba(95, 211, 160, .08); }
.session-steps { display: grid; gap: 4px; padding: 12px 0; }
.session-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); color: var(--text-2); letter-spacing: .03em; }
.st-ico { position: relative; width: 16px; height: 16px; flex: none; transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--line-3); }
.st-ico::after { content: ''; position: absolute; inset: 0; background: var(--gold-metal); transform: scale(0); }
.is-in .session-steps li { animation: stepRow 8s var(--ease) infinite; animation-delay: calc(var(--i) * 1.2s); }
.is-in .session-steps li .st-ico::after { animation: stepTick 8s var(--ease-spring) infinite; animation-delay: calc(var(--i) * 1.2s + .5s); }
@keyframes stepRow { 0% { background: transparent; color: var(--text-2); } 6%, 14% { background: rgba(230, 196, 127, .07); color: var(--ivory); } 20%, 88% { background: transparent; color: var(--ivory); } 100% { color: var(--text-2); } }
@keyframes stepTick { 0% { transform: scale(0); } 5%, 85% { transform: scale(.6); } 92%, 100% { transform: scale(0); } }
.session-bar { height: 2px; background: rgba(230, 196, 127, .1); overflow: hidden; }
.session-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 10px var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.is-in .session-bar span { animation: sessionBar 8s var(--ease) infinite; }
@keyframes sessionBar { 0% { transform: scaleX(0); } 62%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(1); opacity: 0; } }

/* Resource tiles */
.res-tiles { position: relative; z-index: 1; flex: none; width: 42%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.res-tiles span {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 16px 14px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text-2);
  background: rgba(230, 196, 127, .035); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .4s, box-shadow .4s, background .4s;
}
.res-tiles span i { font-size: 18px; color: var(--gold); }
.bento-b:hover .res-tiles span { color: var(--ivory); background: rgba(230, 196, 127, .07); box-shadow: inset 0 0 0 1px var(--line-2); }

/* Ring meter */
.ring { position: relative; z-index: 1; flex: none; width: clamp(140px, 36%, 180px); aspect-ratio: 1; align-self: center; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; }
.ring-track { stroke: rgba(230, 196, 127, .1); stroke-width: 2; }
.ring-ticks { stroke: rgba(230, 196, 127, .28); stroke-width: 4; stroke-dasharray: 1 5.9; }
.ring-meter { stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(230, 196, 127, .8)); transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.is-in .ring-meter { stroke-dashoffset: 60; }
.ring-label { text-align: center; line-height: 1.1; }
.ring-label b { display: block; font-family: var(--italic); font-size: clamp(34px, 3.2vw, 44px); font-weight: 500; background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.ring-label small { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .12em; color: var(--text-2); }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; align-items: stretch; }
.plans-3 { grid-template-columns: repeat(3, 1fr); }
.plans-2 { grid-template-columns: 1fr 1.28fr; }
.plans-divider { display: flex; align-items: center; justify-content: center; gap: 22px; margin: clamp(56px, 6vw, 80px) 0 32px; font-family: var(--serif-cn); font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; letter-spacing: .3em; color: var(--gold); text-align: center; }
.plans-divider::before, .plans-divider::after { content: ''; flex: 1; max-width: 340px; height: 7px; background: linear-gradient(var(--gold), var(--gold)) right center / 6px 6px no-repeat, linear-gradient(90deg, transparent, var(--line-3)) left center / calc(100% - 12px) 1px no-repeat; }
.plans-divider::after { transform: scaleX(-1); }
.plans-divider span { flex: none; }

.plan {
  --accent: var(--text-2);
  --mat: linear-gradient(90deg, #3d3a35, #a9a294, #3d3a35);
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(28px, 2.8vw, 38px);
  background: var(--mat) top / 100% 2px no-repeat, var(--panel-bg);
  box-shadow: var(--panel-edge), 0 40px 80px -50px rgba(0, 0, 0, .9);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.plan > * { position: relative; z-index: 1; }
.plan:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 100px -50px rgba(0, 0, 0, .95); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { font-family: var(--serif-cn); font-size: 21px; font-weight: 900; letter-spacing: .08em; }
.badge { padding: 4px 10px; border-radius: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 32%, transparent); white-space: nowrap; }

.price { margin-top: 30px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-cur { font-family: var(--italic); font-size: 24px; font-weight: 500; color: var(--accent); align-self: flex-start; margin-top: 10px; }
.price-num { font-family: var(--italic); font-size: clamp(60px, 5.4vw, 80px); font-weight: 500; letter-spacing: -.02em; line-height: .92; font-variant-numeric: lining-nums; color: var(--ivory); }
.price-unit { font-size: 15px; color: var(--text-2); margin-right: 2px; }
.price s { font-family: var(--italic); font-size: 16px; color: var(--text-3); text-decoration-color: rgba(230, 120, 100, .7); }
.save { padding: 3px 8px; border-radius: 2px; font: italic 700 13px/1.3 var(--italic); letter-spacing: .04em; color: #1d1406; background: var(--accent); }
.plan-desc { margin-top: 16px; min-height: 3.4em; color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.plan .btn-block { margin-top: 26px; }

.feat { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: 14.5px; color: var(--ivory); }
.feat li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.55; letter-spacing: .02em; }
.feat li > i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; font-size: 10px; color: var(--accent); }
.feat b { font-family: var(--italic); font-style: italic; font-size: 1.12em; font-weight: 700; color: var(--accent); margin-left: 2px; }
.feat-2col { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.feat li.hl { grid-column: 1 / -1; font-size: 17px; align-items: center; padding: 12px 14px; margin-bottom: 4px; border-radius: var(--r-sm); background: linear-gradient(90deg, rgba(200, 179, 255, .1), rgba(230, 196, 127, .06) 60%, transparent); box-shadow: inset 0 0 0 1px rgba(200, 179, 255, .18); }
.feat li.hl i { width: 26px; height: 26px; margin: 0; font-size: 12px; color: #1a1024; background: var(--pearl-foil); background-size: 200% 100%; border-radius: 50%; box-shadow: 0 0 18px rgba(200, 179, 255, .6); animation: foil 5s ease-in-out infinite alternate; }
.feat li.hl b { font-family: var(--serif-cn); font-style: normal; font-weight: 900; letter-spacing: .1em; color: var(--ivory); font-size: 1em; }

.spec { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); border-radius: var(--r-sm); overflow: hidden; }
.spec div { padding: 13px 16px; background: rgba(12, 11, 14, .92); }
.spec small { display: block; font-size: 11.5px; letter-spacing: .14em; color: var(--text-3); }
.spec b { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }

/* Hanging bookmark ribbon, set vertically like a seal */
.ribbon {
  position: absolute; top: -1px; right: 24px; z-index: 2;
  display: flex; flex-direction: column; width: 30px;
  padding: 12px 0 20px;
  font-size: 12.5px; font-weight: 800; line-height: 1.4; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
  animation: ribbon 4s ease-in-out infinite;
  transform-origin: top center;
}
.ribbon i { margin-bottom: 6px; font-size: 11px; }
@keyframes ribbon { 50% { transform: rotate(1.5deg); } }
.ribbon-cyan { color: #0e1620; background: linear-gradient(180deg, #ffffff, #c9dbee 60%, #93acc6); }
.ribbon-holo { color: #1a1024; background: var(--pearl-foil); background-size: 100% 300%; }
.ribbon ~ .plan-head { padding-right: 52px; }

.plan-basic { --accent: #c9c1b2; }
.plan-diamond, .plan-annual { --accent: var(--platinum); --mat: linear-gradient(90deg, #4c6782, #eef6ff, #6f8eae); }
.plan-annual { background: var(--mat) top / 100% 2px no-repeat, radial-gradient(120% 60% at 50% 0%, rgba(201, 219, 238, .07), transparent 60%), var(--panel-bg); }

.plan-gold {
  --accent: var(--gold);
  --mat: var(--foil);
  --brk: rgba(230, 196, 127, .55);
  background: var(--mat) top / 100% 2px no-repeat, var(--corners), radial-gradient(110% 60% at 50% 0%, rgba(230, 196, 127, .1), transparent 60%), var(--panel-bg);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -50px rgba(0, 0, 0, .9);
}
.plan-emblem { flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; padding-top: 28px; }
.plan-emblem span { position: relative; display: grid; place-items: center; width: 150px; height: 150px; font-size: 46px; }
.plan-emblem span::before, .plan-emblem span::after { content: ''; position: absolute; transform: rotate(45deg); }
.plan-emblem span::before { inset: 26px; border: 1px solid var(--line-3); background: radial-gradient(circle, rgba(230, 196, 127, .14), transparent 70%); }
.plan-emblem span::after { inset: 6px; border: 1px dashed rgba(230, 196, 127, .25); animation: spin 40s linear infinite; }
.plan-emblem i { position: relative; z-index: 1; background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s ease-in-out infinite alternate; filter: drop-shadow(0 0 18px rgba(230, 196, 127, .35)); }
.plan-gold .price-num { background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 8s ease-in-out infinite alternate; }

/* Eternal — animated pearl/gold border, inner frame, slow aurora */
.plan-eternal {
  --accent: var(--gold-hi);
  border: 1px solid transparent;
  background:
    radial-gradient(90% 50% at 85% 0%, rgba(200, 179, 255, .14), transparent 60%) padding-box,
    radial-gradient(80% 50% at 0% 100%, rgba(230, 196, 127, .1), transparent 60%) padding-box,
    linear-gradient(#0c0b0f, #0c0b0f) padding-box,
    conic-gradient(from var(--angle), rgba(230, 196, 127, .2), #fbe8bd, #c8b3ff, #9fdcff, rgba(230, 196, 127, .2) 40%, rgba(230, 196, 127, .2) 60%, #e6c47f 80%, rgba(230, 196, 127, .2)) border-box;
  box-shadow: 0 50px 120px -50px rgba(200, 160, 255, .45), 0 40px 80px -50px rgba(0, 0, 0, .9);
  animation: rotateBorder 7s linear infinite;
}
@keyframes rotateBorder { to { --angle: 360deg; } }
.plan-eternal:hover { box-shadow: 0 60px 140px -50px rgba(200, 160, 255, .65), 0 40px 80px -50px rgba(0, 0, 0, .9); }
.plan-eternal .price-num { background: var(--pearl-foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s ease-in-out infinite alternate; filter: drop-shadow(0 0 26px rgba(200, 179, 255, .35)); }
.plan-eternal .price-cur { color: var(--pearl); }
.plan-eternal .plan-head h3 { font-size: 22px; }
.plan-eternal .plan-head h3 .holo-text { margin-left: 2px; }
.plan-eternal .badge { --accent: var(--pearl); }
.plan-eternal .save { background: var(--pearl-foil); background-size: 200% 100%; color: #1a1024; }

.perks {
  margin-top: 26px; padding: 22px; border-radius: var(--r-sm);
  background: linear-gradient(165deg, rgba(200, 179, 255, .08), rgba(230, 196, 127, .03) 55%, rgba(230, 196, 127, .01));
  box-shadow: inset 0 0 0 1px rgba(200, 179, 255, .16);
}
.perks-head { display: flex; align-items: center; gap: 16px; }
.perks h4 { flex: 1; display: flex; align-items: center; gap: 10px; font-family: var(--serif-cn); font-size: 15px; font-weight: 900; letter-spacing: .24em; color: var(--gold); }
.perks h4::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.perks-total { flex: none; display: inline-flex; align-items: baseline; gap: 6px; font-size: 12.5px; letter-spacing: .08em; color: var(--text-2); }
.perks-total b {
  font: italic 700 24px/1 var(--italic);
  background: var(--pearl-foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil 6s ease-in-out infinite alternate;
}

/* ---------- Comparison ---------- */
.compare-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: var(--r-sm); background: rgba(12, 11, 14, .7); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; }
.seg button { position: relative; z-index: 1; height: 40px; padding: 0 18px; border-radius: 2px; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--text-2); transition: color .4s; white-space: nowrap; }
.seg button[aria-selected="true"] { color: #1d1406; }
.seg button em { font: italic 600 13px var(--italic); margin-left: 4px; opacity: .7; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 2px; background: var(--gold-metal); box-shadow: 0 8px 22px -10px rgba(230, 180, 90, .8); transition: transform .6s var(--ease), width .6s var(--ease); transform: translateX(var(--tx, 4px)); }
.legend { display: flex; gap: 20px; font-size: 13px; letter-spacing: .06em; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-yes, .lg-no { width: 10px; height: 10px; transform: rotate(45deg); }
.lg-yes { background: var(--gold); box-shadow: 0 0 10px rgba(230, 196, 127, .7); }
.lg-no { box-shadow: inset 0 0 0 1px var(--line-3); }

.compare { position: relative; background: var(--panel-bg); box-shadow: var(--panel-edge), 0 40px 80px -50px rgba(0, 0, 0, .9); }
.compare-hint { display: none; }
.ctable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; table-layout: fixed; }
.ctable th, .ctable td { padding: 0 10px; height: 56px; text-align: center; border-bottom: 1px solid var(--hair); }
.ctable thead th {
  position: sticky; top: calc(var(--nav-h) + 2px); z-index: 3;
  height: 92px; vertical-align: middle;
  background: rgba(11, 10, 13, .94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-2);
  font-weight: 700;
}
.ctable thead th:first-child { border-top-left-radius: var(--r); }
.ctable thead th:last-child { border-top-right-radius: var(--r); }
.th-name { display: block; font-family: var(--serif-cn); font-size: 16px; font-weight: 900; letter-spacing: .08em; color: var(--ivory); white-space: nowrap; }
.th-price { display: block; margin-top: 6px; font: italic 500 14px var(--italic); color: var(--text-3); }
[data-col="1"] { --tc: #c9c1b2; }
[data-col="2"], [data-col="3"] { --tc: var(--platinum); }
[data-col="4"] { --tc: var(--gold); }
[data-col="5"] { --tc: var(--gold-hi); }
.ctable th[data-col="2"] .th-name, .ctable th[data-col="3"] .th-name { color: var(--platinum); }
.ctable th.c-gold .th-name { color: var(--gold); }
.ctable th.c-eternal .th-name { background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 8s ease-in-out infinite alternate; }
.ctable th.c-eternal .th-name i { color: var(--gold); -webkit-text-fill-color: var(--gold); margin-right: 2px; }
.ctable th.c-eternal .th-price { color: var(--gold); }
.ctable .c-name { text-align: left; width: 28%; padding-left: 30px; font: italic 500 15px var(--italic); letter-spacing: .1em; color: var(--text-3); }

.ctable td:first-child { text-align: left; padding-left: 30px; color: var(--ivory); font-weight: 500; letter-spacing: .03em; }
.ctable td.c-eternal { background-color: rgba(230, 196, 127, .045); box-shadow: inset 1px 0 0 var(--line), inset -1px 0 0 var(--line); }
.ctable thead th.c-eternal { background: linear-gradient(180deg, rgba(230, 196, 127, .2), rgba(11, 10, 13, .94)); box-shadow: inset 0 2px 0 var(--gold), inset 1px 0 0 var(--line-2), inset -1px 0 0 var(--line-2); }
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable tbody tr:last-child td:first-child { border-bottom-left-radius: var(--r); }
.ctable tbody tr:last-child td:last-child { border-bottom-right-radius: var(--r); }
.ctable tbody tr.row td { transition: background-color .3s; }
.ctable tbody tr.row:hover td { background-color: rgba(230, 196, 127, .04); }
.ctable tbody tr.row:hover td.c-eternal { background-color: rgba(230, 196, 127, .09); }
.ctable td.col-hover, .ctable th.col-hover { background-color: rgba(230, 196, 127, .035); }

.ctable tr.group td {
  height: 56px; padding-top: 18px; text-align: left; padding-left: 30px;
  font-family: var(--serif-cn); font-size: 14px; font-weight: 900; letter-spacing: .24em; color: var(--gold);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(230, 196, 127, .05), transparent 60%);
}
.ctable tr.group td span { display: inline-flex; align-items: center; gap: 12px; }
.ctable tr.group td i { font-size: 13px; color: var(--gold); }

.ctable tr.row.is-hidden, .ctable tr.group.is-hidden { display: none; }
.ctable tr.row.is-entering td { animation: rowIn .6s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }

.yes, .no { display: inline-grid; place-items: center; vertical-align: middle; }
.yes { width: 24px; height: 24px; border-radius: 50%; font-size: 10px; color: var(--tc, var(--gold)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc, var(--gold)) 45%, transparent); background: color-mix(in srgb, var(--tc, var(--gold)) 8%, transparent); }
.yes-top { width: 28px; height: 28px; font-size: 11px; color: #1d1406; background: var(--gold-metal); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 18px rgba(230, 196, 127, .55); }
.no { width: 12px; height: 1px; background: rgba(255, 255, 255, .16); }
.val { font: italic 700 17px var(--italic); color: var(--tc, var(--ivory)); }
.val-gold { color: var(--gold); }
.val-top { font-size: 20px; background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(230, 196, 127, .4)); }

.center-link { margin-top: 32px; text-align: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 48px); }
.faq-side h2 { margin-top: 26px; }
.faq-side > p { margin-top: 20px; color: var(--text-2); font-size: 16.5px; letter-spacing: .04em; }
.quick { margin-top: 40px; display: grid; border-top: 1px solid var(--line); }
.quick-item {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 16px; padding: 14px 8px 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .6s var(--ease), background .4s;
}
.quick-item::before { border-radius: 0; }
.quick-item > * { position: relative; z-index: 1; }
.quick-item b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: .06em; }
.quick-item small { display: block; font: italic 500 12.5px var(--italic); letter-spacing: .1em; color: var(--text-3); }
.quick-item > i { margin-left: auto; font-size: 12px; color: var(--text-3); transition: transform .5s var(--ease), color .3s; }
.quick-item:hover { padding-left: 10px; background: linear-gradient(90deg, rgba(230, 196, 127, .06), transparent); }
.quick-item:hover > i { color: var(--gold); transform: translate(3px, -3px); }

.faq-list { counter-reset: q; border-top: 1px solid var(--line-2); }
.faq-item {
  position: relative; counter-increment: q;
  border-bottom: 1px solid var(--line);
  transition: background .5s;
}
.faq-item::before { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold), transparent 70%); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.faq-item.is-open::before, .faq-item:hover::before { transform: scaleX(1); }
.faq-item.is-open { background: linear-gradient(180deg, rgba(230, 196, 127, .045), transparent 80%); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 22px; padding: 24px 8px 24px 4px; text-align: left; }
.faq-ico { flex: none; width: 40px; font: italic 500 24px/1 var(--italic); color: var(--text-3); transition: color .4s; }
.faq-ico i { display: none; }
.faq-ico::before { content: counter(q, decimal-leading-zero); }
.faq-item.is-open .faq-ico, .faq-item:hover .faq-ico { color: var(--gold); }
.faq-t { flex: 1; min-width: 0; }
.faq-t b { display: block; font-family: var(--serif-cn); font-size: clamp(16.5px, 1.5vw, 19px); font-weight: 600; letter-spacing: .04em; line-height: 1.5; transition: color .3s; }
.faq-t small { display: block; margin-top: 4px; font-size: 13.5px; letter-spacing: .03em; color: var(--text-3); }
.faq-item:hover .faq-t b { color: var(--gold-hi); }
.faq-plus { position: relative; flex: none; width: 34px; height: 34px; transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .7s var(--ease), background .4s, box-shadow .4s; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; margin: -.5px 0 0 -5.5px; background: var(--gold); transition: transform .6s var(--ease); transform: rotate(-45deg); }
.faq-plus::after { transform: rotate(45deg); }
.faq-item.is-open .faq-plus { transform: rotate(225deg); background: rgba(230, 196, 127, .1); box-shadow: inset 0 0 0 1px var(--line-3); }
.faq-item.is-open .faq-plus::after { transform: rotate(-45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; opacity: 0; transition: opacity .35s; }
.faq-item.is-open .faq-a-inner { opacity: 1; transition: opacity .6s .15s; }
.faq-a-inner > * { margin: 0 20px 0 66px; }
.faq-a-inner > :last-child { margin-bottom: 26px; }
.faq-a p { color: var(--text-2); line-height: 1.95; letter-spacing: .02em; }
.faq-a p + .btn { margin-top: 16px; }
.faq-a a:not(.btn) { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(230, 196, 127, .35); text-underline-offset: 4px; transition: text-decoration-color .3s, color .3s; }
.faq-a a:not(.btn):hover { color: var(--gold-hi); text-decoration-color: var(--gold); }

/* ---------- Custom development ---------- */
.custom {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--corners), radial-gradient(80% 100% at 0% 0%, rgba(230, 196, 127, .08), transparent 55%), var(--panel-bg);
  box-shadow: var(--panel-edge), 0 50px 100px -60px rgba(0, 0, 0, .95);
}
.custom-copy { padding: clamp(36px, 5.4vw, 72px); }
.custom h2 { margin-top: 26px; font-size: clamp(36px, 4vw, 56px); }
.custom h2 small { display: block; margin-top: 12px; font-size: .42em; font-weight: 600; letter-spacing: .1em; color: var(--text-2); }
.custom p { margin-top: 18px; max-width: 34em; color: var(--text-2); line-height: 1.95; font-size: 16px; }
.custom p b { color: var(--ivory); font-weight: 650; }
.custom p em { font-style: normal; font-weight: 700; color: var(--gold); }
.services { margin: 32px 0 38px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.services li {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ivory);
  transition: background .4s, color .4s;
}
.services li i { color: var(--gold); width: 16px; text-align: center; transition: transform .5s var(--ease-spring); }
.services li:hover { background: rgba(230, 196, 127, .07); color: var(--gold-hi); }
.services li:hover i { transform: scale(1.25) rotate(-8deg); }

.custom-visual { position: relative; min-height: 540px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 60% at 50% 50%, rgba(230, 196, 127, .1), transparent 70%); perspective: 1200px; border-left: 1px solid var(--line); }
.floor {
  position: absolute; inset: 42% -30% -40%;
  background-image: linear-gradient(rgba(230, 196, 127, .4) 1px, transparent 1px), linear-gradient(90deg, rgba(230, 196, 127, .4) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: rotateX(70deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%);
          mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%);
  animation: floorMove 5s linear infinite;
  opacity: .35;
}
@keyframes floorMove { to { background-position: 0 48px, 0 0; } }

.editor {
  position: relative; z-index: 1; width: min(88%, 450px);
  border-radius: var(--r);
  background: rgba(12, 11, 14, .92);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 100px -30px rgba(0, 0, 0, .95), 0 0 90px -30px rgba(230, 180, 90, .45);
  transform: rotateY(-16deg) rotateX(7deg);
  transition: transform 1.2s var(--ease);
}
.custom:hover .editor { transform: rotateY(0) rotateX(0); }
.editor-head { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tl { width: 10px; height: 10px; border-radius: 50%; }
.tl.r { background: #e2715f; } .tl.y { background: #e6c47f; } .tl.g { background: #7fbf8a; }
.editor-file { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.editor-file i { color: var(--gold); margin-right: 4px; }
.editor-code { margin: 0; padding: 22px 24px; font-family: var(--mono); font-size: clamp(12px, 1.15vw, 14px); line-height: 1.95; color: #e9e2d4; overflow-x: auto; white-space: pre; }
.ln { display: inline-block; white-space: pre; overflow: hidden; vertical-align: bottom; }
.js .ln { clip-path: inset(0 100% 0 0); }
.js .is-in .ln { animation: typeLine .7s steps(var(--w), end) forwards; animation-delay: calc(.5s + var(--i) * .65s); }
@keyframes typeLine { to { clip-path: inset(0 0 0 0); } }
.k { color: #e6a07a; } .f { color: #c8b3ff; } .v { color: #c9dbee; } .s { color: #b9d68f; } .fn { color: #e6c47f; } .c { color: #6f675b; font-style: italic; } .k2 { color: #9fc4e6; } .o { color: #f0b98a; }
.editor-term { display: flex; align-items: center; gap: 10px; margin: 0 24px; padding: 14px 0 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.editor-term .ok { color: var(--green); font-weight: 700; }
.caret { width: 8px; height: 16px; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.toast {
  position: absolute; right: -18px; bottom: -24px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm);
  background: rgba(14, 12, 9, .94); box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 40px -14px rgba(230, 180, 90, .45);
}
.js .toast { opacity: 0; transform: translateY(14px) scale(.95); }
.js .is-in .toast { animation: toastIn .8s var(--ease-spring) 4.6s forwards, floatA 5s ease-in-out 5.4s infinite; }
@keyframes toastIn { to { opacity: 1; transform: none; } }
.toast-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-metal); color: #1d1406; font-size: 11px; }
.toast b { display: block; font-size: 13px; color: var(--gold-hi); letter-spacing: .04em; }
.toast small { display: block; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.orb { position: absolute; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; font-size: 19px; animation: floatA 7s ease-in-out infinite; color: var(--gold); }
.orb::before { content: ''; position: absolute; inset: 0; transform: rotate(45deg); background: rgba(12, 11, 14, .85); box-shadow: inset 0 0 0 1px var(--line-3), 0 0 30px -6px rgba(230, 196, 127, .35); z-index: -1; }
.o-db { top: 12%; right: 12%; }
.o-sv { bottom: 14%; left: 9%; animation-delay: -3.5s; color: var(--pearl); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  text-align: center;
  background: var(--corners), radial-gradient(60% 90% at 50% 120%, rgba(230, 196, 127, .22), transparent 60%), radial-gradient(50% 60% at 50% -20%, rgba(150, 110, 210, .14), transparent 60%), rgba(10, 9, 12, .9);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -60px rgba(0, 0, 0, .95);
}
.cta-rays {
  position: absolute; left: 50%; top: 120%; width: 220%; aspect-ratio: 1; z-index: -1;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(230, 196, 127, .09) 0deg 2deg, transparent 2deg 9deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 55%);
          mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  animation: rays 80s linear infinite;
}
@keyframes rays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cta-seal { position: absolute; top: clamp(20px, 4vw, 44px); right: clamp(20px, 4vw, 56px); width: clamp(96px, 11vw, 150px); height: auto; animation: spin 30s linear infinite; }
.cta-seal text { font: italic 600 11.5px var(--italic); letter-spacing: 3.6px; fill: rgba(230, 196, 127, .7); }
.cta-inner { position: relative; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.sh-center { justify-content: center; }
.sh-center .sh-num::after { display: none; }
.sh-center::before, .sh-center::after { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.sh-center::after { transform: scaleX(-1); }
.cta h2 { margin-top: 26px; font-size: clamp(44px, 6.6vw, 100px); line-height: 1.08; }
.cta p { margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); line-height: 1.85; letter-spacing: .04em; }
.cta-actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* =====================================================================
   Footer
   ===================================================================== */
.footer { position: relative; margin-top: clamp(24px, 4vw, 56px); padding: 80px 0 36px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7, 6, 10, .55), #050407 60%); overflow: hidden; }
.footer::before { content: ''; position: absolute; top: -1px; left: 50%; width: min(640px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 20px var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-brand img { height: 54px; width: auto; filter: drop-shadow(0 0 14px rgba(230, 196, 127, .15)); }
.footer-brand p { margin-top: 20px; max-width: 26em; font-size: 14px; color: var(--text-2); line-height: 1.9; letter-spacing: .03em; }
.socials { margin-top: 26px; display: flex; gap: 10px; }
.socials a { position: relative; display: grid; place-items: center; width: 42px; height: 42px; color: var(--text-2); transition: color .4s; }
.socials a::before { content: ''; position: absolute; inset: 6px; transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .6s var(--ease), background .4s, box-shadow .4s; }
.socials a i { position: relative; font-size: 14px; }
.socials a:hover { color: #1d1406; }
.socials a:hover::before { transform: rotate(135deg); background: var(--gold); box-shadow: 0 0 20px rgba(230, 196, 127, .5); }
.footer h4 { font-family: var(--serif-cn); font-size: 15px; font-weight: 900; letter-spacing: .24em; color: var(--gold); }
.footer-col ul { margin-top: 20px; display: grid; gap: 13px; font-size: 14px; }
.footer-col ul a { color: var(--text-2); letter-spacing: .04em; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: color .3s, background-size .5s var(--ease); }
.footer-col ul a:hover { color: var(--gold-hi); background-size: 100% 1px; }
.footer-card, .qq {
  margin-top: 24px; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 8px; border-radius: var(--r-sm);
  background: rgba(230, 196, 127, .03); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.footer-card small, .qq small { display: block; font: italic 500 12px var(--italic); letter-spacing: .12em; color: var(--text-3); }
.footer-card b, .qq b { display: block; font-size: 14px; font-weight: 650; letter-spacing: .04em; }
.footer-card:hover, .qq:hover { background: rgba(230, 196, 127, .07); box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-2px); }
.notes { font-size: 13px !important; color: var(--text-2); }
.notes li { display: flex; gap: 10px; line-height: 1.7; letter-spacing: .02em; }
.notes i { margin-top: 5px; color: var(--gold); opacity: .7; }
.qq { padding-left: 10px; }
.qq-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); background: rgba(56, 160, 255, .12); color: #5cb6ff; font-size: 17px; }
.qq > .fa-chevron-right { margin-left: auto; font-size: 12px; color: var(--gold); transition: transform .4s var(--ease); }
.qq:hover > .fa-chevron-right { transform: translateX(4px); }
.footer-word {
  margin-top: clamp(48px, 6vw, 80px);
  font: italic 500 clamp(56px, 14.5vw, 205px)/.9 var(--italic); letter-spacing: .02em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(230, 196, 127, .22);
  background: linear-gradient(180deg, rgba(230, 196, 127, .14), transparent 85%); -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.footer-bottom { margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-3); letter-spacing: .03em; }
.footer-bottom .sep { display: inline-block; width: 5px; height: 5px; margin: 0 12px; transform: rotate(45deg); background: var(--gold-lo); vertical-align: middle; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 2px; color: var(--green); background: rgba(95, 211, 160, .06); box-shadow: inset 0 0 0 1px rgba(95, 211, 160, .2); font-weight: 550; }

/* =====================================================================
   Floating actions
   ===================================================================== */
.dock { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fab-btn, .fab-vip { position: relative; display: grid; place-items: center; }
.fab-btn {
  width: 46px; height: 46px; border-radius: var(--r-sm); color: var(--text-2);
  background: rgba(12, 11, 14, .82); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 30px -14px rgba(0, 0, 0, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: color .3s, background .3s, transform .5s var(--ease), opacity .5s var(--ease);
}
.fab-btn:hover { color: var(--gold-hi); background: rgba(30, 26, 20, .92); transform: translateY(-2px); }
.fab-top { opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; }
.fab-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.fab-top circle { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: var(--ring, 100); opacity: .9; }
.fab-vip {
  width: 58px; height: 58px; border-radius: 50%; font-size: 19px; color: #3e2a06;
  background: var(--gold-metal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(120, 80, 20, .35), 0 16px 40px -10px rgba(230, 180, 90, .8);
  transition: transform .6s var(--ease-spring);
}
.fab-vip::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(230, 196, 127, .55); animation: spin 14s linear infinite; }
.fab-vip:hover { transform: scale(1.08) rotate(-8deg); }
.fab-dot { position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: #e2564a; box-shadow: 0 0 0 2px var(--ink); }
[data-tip]::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 14px); top: 50%;
  padding: 6px 11px; border-radius: 2px; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ivory);
  background: rgba(12, 11, 14, .95); box-shadow: inset 0 0 0 1px var(--line-2);
  opacity: 0; transform: translate(6px, -50%); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
[data-tip]:hover::after { opacity: 1; transform: translate(0, -50%); }
.fab-vip[data-tip]::after { color: var(--gold); }

/* =====================================================================
   Modal
   ===================================================================== */
.modal {
  width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--r); overflow: hidden;
  color: var(--text); background: #0b0a0d;
  box-shadow: 0 0 0 1px var(--line-2), 0 60px 120px -30px rgba(0, 0, 0, .95), 0 0 100px -40px rgba(230, 180, 90, .5);
  opacity: 0; transform: translateY(18px) scale(.97);
  transition: opacity .45s var(--ease), transform .6s var(--ease), overlay .45s allow-discrete, display .45s allow-discrete;
}
.modal[open] { opacity: 1; transform: none; }
@starting-style { .modal[open] { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal::backdrop { background: rgba(4, 3, 6, .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s, overlay .45s allow-discrete, display .45s allow-discrete; }
.modal[open]::backdrop { opacity: 1; }
@starting-style { .modal[open]::backdrop { opacity: 0; } }
.modal-panel { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; max-height: calc(100dvh - 32px); }
.modal-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--foil); z-index: 2; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text-2); background: rgba(230, 196, 127, .06); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .3s, background .3s, transform .5s var(--ease); }
.modal-close:hover { color: var(--gold-hi); background: rgba(230, 196, 127, .12); transform: rotate(90deg); }
.modal-media { display: grid; place-items: center; padding: clamp(20px, 3vw, 36px); background: radial-gradient(80% 80% at 50% 50%, rgba(230, 196, 127, .07), transparent 70%), #0f0e12; overflow: auto; }
.modal-media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: var(--r-sm); box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.modal-body { padding: clamp(28px, 4vw, 52px); overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.modal-body .eyebrow { color: var(--gold); }
.modal-body h3 { margin-top: 18px; font-family: var(--serif-cn); font-size: clamp(32px, 3.4vw, 44px); font-weight: 900; letter-spacing: .06em; line-height: 1.15; }
.modal-body h3 small { display: block; margin-top: 6px; font-size: .5em; font-weight: 600; letter-spacing: .2em; color: var(--text-2); }
.steps { margin-top: 28px; display: grid; position: relative; border-top: 1px solid var(--line); }
.steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 16px 4px; border-bottom: 1px solid var(--line); transition: background .4s; }
.steps li:hover { background: linear-gradient(90deg, rgba(230, 196, 127, .06), transparent); }
.step-n { flex: none; width: 30px; font: italic 500 26px/1 var(--italic); color: var(--gold); }
.steps b { display: block; font-size: 15px; font-weight: 650; letter-spacing: .04em; }
.steps small { display: block; margin-top: 3px; font-size: 13px; color: var(--text-2); }
.modal-actions { margin-top: 28px; display: grid; gap: 6px; }

/* =====================================================================
   Responsive
   ===================================================================== */
.nav-links a, .nav-guide, .nav-user { white-space: nowrap; }
@media (max-width: 1440px) {
  .nav-user span { display: none; }
  .nav-inner { gap: 12px; }
}
@media (max-width: 1360px) and (min-width: 1061px) {
  .nav-links a { padding: 8px 9px; font-size: 13.5px; letter-spacing: .03em; }
  .nav-guide span { display: none; }
}
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 10px; }
}
@media (max-width: 1060px) {
  :root { --nav-h: 72px; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .nav-inner { height: 58px; padding-right: 6px; }
  .nav-logo img { height: 36px; }

  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-tagline { justify-content: center; }
  .hero-tagline > i:first-child { display: none; }
  .hero-cta { justify-content: center; }
  .card-stage { max-width: 480px; }
  .scroll-cue { display: none; }

  .section-head { grid-template-columns: 1fr; grid-template-areas: "meta" "title" "side"; gap: 22px; }

  .bento { grid-template-columns: 1fr 1fr; }
  .bento-a { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 36px; }
  .bento-a .session { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; }
  .bento-a .kpis { grid-column: 1; }
  .bento-b, .bento-c { flex-direction: column; }
  .res-tiles { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .ring { align-self: flex-start; width: 150px; }

  .plans-3 { grid-template-columns: 1fr 1fr; }
  .plans-3 .plan-basic { grid-column: 1 / -1; }
  .plans-2 { grid-template-columns: 1fr; }
  .plan-emblem { display: none; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .quick { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 0 20px; }
  .quick-item { border-top: 1px solid var(--line); }

  .custom { grid-template-columns: 1fr; }
  .custom-visual { min-height: 440px; border-left: 0; border-top: 1px solid var(--line); }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .ctable th, .ctable td { padding: 0 6px; }
  .ctable .c-name, .ctable td:first-child, .ctable tr.group td { padding-left: 20px; }
  .th-name { font-size: 14.5px; letter-spacing: .04em; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  :root { --nav-h: 68px; }
  .nav { top: 10px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .pill { font-size: 12.5px; gap: 10px; padding-right: 12px; }
  .hero-title { margin-top: 26px; font-size: clamp(64px, 21vw, 104px); }
  .hero-tagline { font-size: 19px; letter-spacing: .1em; }
  .hero-lead { font-size: 15px; line-height: 1.9; }
  .hero-cta { width: 100%; flex-direction: column; margin-top: 32px; }
  .hero-cta .btn { width: 100%; }
  .card-stage { max-width: 360px; margin-top: 8px; }
  .float-chip { font-size: 11.5px; padding: 7px 10px; gap: 7px; }
  .fc-1 { right: 0; top: 4%; }
  .fc-2 { left: 0; }
  .fc-3 { right: 0; }
  .orbit-seal text { font-size: 12px; }

  .stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .stat { padding: 22px 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat dt { font-size: 40px; }
  .stat dd { font-size: 12.5px; margin-top: 10px; }

  .ticker-group { padding: 16px; gap: 28px; }
  .ticker-item { font-size: 14px; }

  .section { padding-block: 80px; }
  .mark { top: 18px; }
  .mark span { font-size: 30vw; }
  .section-head { margin-bottom: 40px; gap: 18px; }
  .section-head h2, .faq-side h2 { font-size: clamp(34px, 10vw, 46px); }
  .section-head > p, .section-head .sh-side { padding-left: 16px; }

  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento-card { padding: 28px 22px; }
  .bento-a { grid-template-columns: 1fr; }
  .bento-a .session { grid-column: auto; grid-row: auto; }
  .bento-a .kpis { grid-column: auto; }
  .kpis div + div { padding-left: 14px; }
  .res-tiles { grid-template-columns: 1fr 1fr; }
  .ring { align-self: center; }
  .bento-c .bento-body { width: 100%; }

  .plans { gap: 14px; }
  .plans-3 { grid-template-columns: 1fr; }
  .plan { padding: 30px 22px 26px; }
  .plan-desc { min-height: 0; }
  .feat-2col { grid-template-columns: 1fr; }
  .perks { padding: 18px 16px; }
  .plans-divider { letter-spacing: .14em; gap: 14px; font-size: 14.5px; }
  .plans-divider::before, .plans-divider::after { max-width: 60px; }
  .spec div { padding: 12px; }

  /* Comparison: the whole table fits the screen — no sideways scrolling */
  .compare-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .seg { display: grid; grid-template-columns: repeat(3, auto); }
  .seg button { padding: 0 8px; font-size: 12.5px; letter-spacing: .02em; height: 42px; }
  .seg button em { display: block; margin: -4px 0 0; font-size: 11px; line-height: 1; }
  .seg button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
  .legend { justify-content: center; }
  .ctable { font-size: 12.5px; }
  .ctable .c-name { width: 30%; }
  .ctable th, .ctable td { padding: 0 2px; height: 48px; }
  .ctable thead th { height: 74px; top: calc(var(--nav-h) - 4px); }
  .ctable .c-name, .ctable td:first-child { padding: 8px 4px 8px 12px; line-height: 1.4; font-size: 12.5px; letter-spacing: 0; }
  .ctable .c-name { font-size: 13px; }
  .th-name { font-size: 12px; letter-spacing: .02em; white-space: normal; max-width: 2.6em; margin: 0 auto; line-height: 1.3; }
  .ctable th.c-eternal .th-name i { display: block; margin: 0 0 2px; }
  .th-price { font-size: 11px; margin-top: 4px; }
  .ctable tr.group td { padding-left: 12px; height: 46px; padding-top: 14px; font-size: 12.5px; letter-spacing: .14em; }
  .yes { width: 20px; height: 20px; font-size: 9px; }
  .yes-top { width: 22px; height: 22px; font-size: 9.5px; }
  .no { width: 9px; }
  .val { font-size: 14px; }
  .val-top { font-size: 15.5px; }

  .quick { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .quick-item { border-top: 0; }
  .faq-q { padding: 20px 0; gap: 14px; }
  .faq-ico { width: 30px; font-size: 19px; }
  .faq-plus { width: 28px; height: 28px; }
  .faq-a-inner > * { margin-left: 44px; margin-right: 0; }

  .custom-copy { padding: 36px 22px; }
  .services { grid-template-columns: 1fr 1fr; }
  .custom-copy .btn { width: 100%; }
  .custom-visual { min-height: 360px; }
  .toast { right: 8px; bottom: -18px; }
  .orb { width: 44px; height: 44px; font-size: 15px; }

  .cta { padding: 80px 20px 64px; }
  .cta-seal { width: 84px; top: 14px; right: 14px; }
  .cta h2 { font-size: clamp(40px, 12vw, 56px); }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }

  .footer { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-card { padding-right: 8px; }
  .footer-word { font-size: 16vw; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .modal-panel { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-media { padding: 56px 16px 8px; overflow: visible; }
  .modal-body { overflow: visible; }

  [data-tip]::after { display: none; }
  .dock { gap: 8px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .fab-cs { display: none; }
  .fab-btn { width: 42px; height: 42px; }
  .fab-vip { width: 50px; height: 50px; font-size: 17px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 60px; }
  .seg button { font-size: 12px; padding: 0 4px; }
  .services { grid-template-columns: 1fr; }
}

/* =====================================================================
   Wide & large screens
   ===================================================================== */
@media (min-width: 1600px) {
  body { font-size: 17px; }
  .nav-links a { font-size: 15px; padding-inline: 16px; }
  .hero-title { font-size: clamp(150px, 10.4vw, 200px); }
  .hero-tagline { font-size: 30px; }
  .hero-lead { font-size: 18px; max-width: 34em; }
  .card-stage { max-width: 640px; }
  .float-chip { font-size: 14px; padding: 12px 18px; }
  .stat dd { font-size: 15px; }
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
  .section-head h2, .faq-side h2 { font-size: clamp(78px, 5vw, 96px); }
  .section-head > p, .sh-side p { font-size: 18px; }
  .bento-card p, .custom p { font-size: 17px; }
  .bento-card h3 { font-size: 32px; }
  .mini-list li { font-size: 14.5px; }
  .plan-head h3 { font-size: 23px; }
  .plan-desc, .feat { font-size: 15.5px; }
  .price-num { font-size: 84px; }
  .ctable { font-size: 15.5px; }
  .ctable th, .ctable td { height: 60px; }
  .th-name { font-size: 17px; }
  .faq-t b { font-size: 20px; }
  .faq-t small { font-size: 14.5px; }
  .faq-a p { font-size: 17px; }
  .services li { font-size: 15px; padding: 17px 18px; }
  .cta-inner { max-width: 1240px; }
  .cta h2 { font-size: clamp(96px, 6.4vw, 124px); }
  .cta p { font-size: 20px; }
  .footer-col ul, .footer-brand p { font-size: 15px; }
}

/* =====================================================================
   Depth & motion refinements
   ===================================================================== */
/* elements tagged data-depth drift against the scroll (value set by the scene loop) */
.orbit, .float-chip, .orb { transform: translateY(var(--dy, 0px)); }
.cta-seal { translate: 0 var(--dy, 0px); }

/* hero recedes as you leave it */
.hero-copy { transform: translateY(calc(var(--hero-p, 0) * -90px)); opacity: calc(1 - var(--hero-p, 0) * .6); will-change: transform; }

/* headings rise out of a mask */
.js .section-head h2, .js .faq-side h2, .js .cta h2, .js .custom h2 {
  clip-path: inset(-20% -10% -30% -10%);
  transition: clip-path 1.4s var(--ease) .12s, transform 1.5s var(--ease) .12s;
}
.js .section-head:not(.is-in) h2, .js .faq-side:not(.is-in) h2, .js .cta:not(.is-in) h2, .js .custom:not(.is-in) h2 {
  clip-path: inset(0 0 100% 0); transform: translateY(35%);
}
.js .section-head .sh-meta, .js .faq-side .sh-meta { transition: opacity 1s, letter-spacing 1.4s var(--ease); }
.js .section-head:not(.is-in) .sh-meta { opacity: 0; letter-spacing: .4em; }

/* cards tilt toward the pointer (angles set from JS on fine pointers) */
.plan:hover { transform: perspective(1600px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)) translateY(-8px); }
.bento-card:hover { transform: perspective(1600px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)) translateY(-6px); }

/* =====================================================================
   Ornament & light
   ===================================================================== */
/* Art-deco divider: hairlines meet a double diamond; a spark circles the outer diamond */
.divider { display: flex; align-items: center; padding-block: clamp(8px, 2vw, 24px); }
.dv-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 196, 127, .5)); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 1.8s var(--ease) .1s; }
.dv-line:last-child { background: linear-gradient(90deg, rgba(230, 196, 127, .5), transparent); transform-origin: 0 50%; }
.divider.is-in .dv-line { transform: none; }
.divider svg { width: clamp(180px, 15vw, 260px); height: auto; flex: none; overflow: visible; }
.divider path { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dv-arm { stroke: rgba(230, 196, 127, .5) !important; }
.dv-arm, .dv-d1 { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .5s; }
.divider.is-in .dv-arm, .divider.is-in .dv-d1 { stroke-dashoffset: 0; }
.dv-d2 { fill: var(--gold) !important; stroke: none !important; transform-origin: 120px 20px; transform: scale(0); transition: transform 1s var(--ease-spring) 1.3s; filter: drop-shadow(0 0 6px rgba(230, 196, 127, .9)); }
.divider.is-in .dv-d2 { transform: scale(1); animation: dvPulse 3.6s ease-in-out 2.4s infinite; }
@keyframes dvPulse { 50% { transform: scale(.72); } }
.dv-dot { fill: var(--gold); opacity: 0; transition: opacity .6s 1.6s; }
.divider.is-in .dv-dot { opacity: 1; }
.dv-orbit { fill: var(--gold-hi); filter: drop-shadow(0 0 4px #fff3d0); offset-path: path('M120 1 L139 20 L120 39 L101 20 Z'); opacity: 0; }
.divider.is-in .dv-orbit { opacity: 1; animation: dvOrbit 5s linear 2s infinite; }
@keyframes dvOrbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* A slow band of light sweeps across panels after they arrive */
.plan > .sheen, .sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit; }
.sheen::before {
  content: ''; position: absolute; top: -30%; bottom: -30%; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 238, 200, .05) 40%, rgba(255, 246, 225, .13) 50%, rgba(255, 238, 200, .05) 60%, transparent);
  transform: translateX(-160%) skewX(-14deg);
}
.is-in > .sheen::before { animation: sheenOnce 1.9s var(--ease-io) .45s, sheenLoop 11s var(--ease-io) 5s infinite; }
.plan:nth-child(2) > .sheen::before, .bento-card:nth-child(2) > .sheen::before { animation-delay: .6s, 7s; }
.plan:nth-child(3) > .sheen::before, .bento-card:nth-child(3) > .sheen::before { animation-delay: .75s, 9s; }
@keyframes sheenOnce { to { transform: translateX(330%) skewX(-14deg); } }
@keyframes sheenLoop { 0% { transform: translateX(-160%) skewX(-14deg); } 16%, 100% { transform: translateX(330%) skewX(-14deg); } }

/* Living light inside the two permanent plans */
.plan > .aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.aurora::before, .aurora::after {
  content: ''; position: absolute; left: 50%; top: 40%; width: 150%; aspect-ratio: 1; translate: -50% -50%;
  filter: blur(50px); opacity: .9;
  background: conic-gradient(from 0deg, transparent 0 10%, rgba(200, 179, 255, .22) 18%, transparent 32%, rgba(230, 196, 127, .2) 48%, transparent 62%, rgba(159, 220, 255, .16) 76%, transparent 90%);
  animation: spin 22s linear infinite;
}
.aurora::after { width: 90%; top: 85%; left: 85%; animation-duration: 14s; animation-direction: reverse; opacity: .6; }
.plan-gold > .aurora::before, .plan-gold > .aurora::after { background: conic-gradient(from 0deg, transparent 0 12%, rgba(230, 196, 127, .2) 22%, transparent 38%, rgba(255, 220, 160, .14) 58%, transparent 74%, rgba(166, 124, 53, .2) 86%, transparent); }
.plan-gold > .aurora { opacity: .75; }

/* Glint: a white-hot highlight travels across display type now and then */
.glint { position: relative; }
.glint::after {
  content: attr(data-text); content: attr(data-text) / "";
  position: absolute; inset: 0; pointer-events: none; white-space: inherit;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 252, 238, .95) 50%, transparent 58%);
  background-size: 280% 100%; background-position: 140% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: glint 8s var(--ease-io) infinite; animation-delay: calc(var(--intro) + 1.4s + var(--gd, 0s));
}
.hero-title .glint::after { padding: inherit; }
@keyframes glint { 0% { background-position: 140% 0; } 16%, 100% { background-position: -40% 0; } }

/* A wave of light runs down the top-tier column of the comparison table */
.ctable td.c-eternal { animation: colWave 6s ease-in-out infinite; animation-delay: calc(var(--r, 0) * .11s); }
.yes-top { animation: cellGlow 6s ease-in-out infinite; animation-delay: calc(var(--r, 0) * .11s); }
@keyframes colWave { 0%, 12%, 100% { background-color: rgba(230, 196, 127, .045); } 6% { background-color: rgba(230, 196, 127, .16); } }
@keyframes cellGlow {
  0%, 12%, 100% { transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 18px rgba(230, 196, 127, .55); }
  6% { transform: scale(1.18); box-shadow: inset 0 1px 0 #fff, 0 0 30px 6px rgba(255, 220, 150, .85); }
}

/* Gold headings breathe a soft halo so they sit in front of the moving light */
.section-head h2, .faq-side h2, .cta h2, .custom h2 { filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .75)); }
.section-head > p, .sh-side p, .faq-side > p { text-shadow: 0 1px 16px rgba(0, 0, 0, .9); }

/* =====================================================================
   Detail pass
   ===================================================================== */
/* Line breaking: no lonely characters at the end of paragraphs */
p, li, dd, .faq-t small, .plan-desc { text-wrap: pretty; }
h1, h2, h3, .faq-t b { text-wrap: balance; }

/* "1V1" in an italic Didone reads as "IVI" — set alphanumeric labels in the CJK serif instead */
.kpis dt { font-family: var(--serif-cn); font-weight: 900; letter-spacing: .02em; }
.stat:nth-child(4) dt { font-family: var(--serif-cn); font-style: normal; font-weight: 900; font-size: clamp(34px, 3.4vw, 64px); letter-spacing: .02em; }

/* Stats: a gold diamond sits on the rule above each figure, lit when hovered */
.stat::after { content: ''; position: absolute; left: clamp(16px, 2.4vw, 32px); top: -4px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); transition: background .4s, box-shadow .4s; }
.stat { transition: background .5s; }
.stat:hover { background: linear-gradient(180deg, rgba(230, 196, 127, .06), transparent); }
.stat:hover::after, .stats.is-in .stat:first-child::after { background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* Pricing figures: readable strike-through prices and stronger savings tags */
.price s { font: 500 17px/1 var(--font); color: var(--text-2); text-decoration-color: rgba(230, 150, 120, .85); text-decoration-thickness: 1.5px; letter-spacing: .02em; }
.save { font-size: 14px; padding: 4px 9px; font-style: italic; }
.th-price { font: 600 13.5px/1 var(--font); color: var(--text-2); letter-spacing: .03em; font-variant-numeric: tabular-nums; }

/* Feature ticks: small rings in the plan's own metal */
.feat li > i { width: 19px; height: 19px; margin-top: 2px; border-radius: 50%; font-size: 8.5px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 9%, transparent); }

/* The top tier's name should outshine everything around it */
.plan-eternal .plan-head h3 { font-size: 26px; }
.plan-eternal .plan-head h3 .holo-text {
  background: linear-gradient(100deg, #fff4d6, #d4b8ff 28%, #8fd2ff 52%, #ffb8df 74%, #fbe2a8);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 14px rgba(190, 160, 255, .45));
}

/* Engraved tier numerals fill the quiet lower corner of every plan */
.plan > .plan-num {
  position: absolute; z-index: 0; right: clamp(22px, 2.4vw, 44px); top: clamp(84px, 6.4vw, 120px);
  font: italic 400 clamp(96px, 7.4vw, 150px)/1 var(--italic); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(230, 196, 127, .14);
  pointer-events: none; user-select: none; transition: -webkit-text-stroke-color .6s, transform 1.2s var(--ease);
}
.plan:hover > .plan-num { -webkit-text-stroke-color: rgba(230, 196, 127, .34); transform: translateY(-6px); }
.plan-diamond > .plan-num, .plan-annual > .plan-num { -webkit-text-stroke-color: rgba(201, 219, 238, .14); }
.plan-eternal > .plan-num { -webkit-text-stroke-color: rgba(212, 184, 255, .2); }
.plan-gold > .plan-emblem { position: relative; z-index: 1; }
.plan-annual > .plan-num, .plan-eternal > .plan-num { right: clamp(64px, 5vw, 90px); }  /* clear of the hanging ribbon */

/* Resource tiles: a fixed grid that a light passes over, tile by tile */
.res-tiles span { animation: tileLit 6s var(--ease-io) infinite; animation-delay: calc(var(--i) * 1.5s); }
.res-tiles span i { transition: transform .5s var(--ease-spring); }
@keyframes tileLit {
  0%, 22%, 100% { background: rgba(230, 196, 127, .035); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
  8% { background: rgba(230, 196, 127, .1); box-shadow: inset 0 0 0 1px var(--line-3), 0 10px 30px -14px rgba(230, 180, 90, .6); color: var(--ivory); }
}
.res-tiles span:hover i { transform: scale(1.2) rotate(-6deg); }

/* Custom dev: the editor fills its stage, the orbiting icons stay clear of the code */
.editor-code { font-family: "JetBrains Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, "DejaVu Sans Mono", monospace; }

@media (max-width: 720px) {
  .plan > .plan-num { font-size: 84px; top: 70px; opacity: .7; }
  .plan-annual > .plan-num, .plan-eternal > .plan-num { right: 58px; }
  .orb { display: none; }
  .sh-meta { gap: 10px; }
  .eyebrow { letter-spacing: .2em; font-size: 10.5px; white-space: nowrap; }
  .sh-num::after { width: 28px; margin-left: 10px; }
  .editor { transform: none; width: 92%; }
  .custom:hover .editor { transform: none; }
  .toast { right: 4%; bottom: -16px; }
  .custom-visual { min-height: 400px; padding: 40px 0 56px; }
  .divider svg { width: 150px; }
  .stat::after { left: 16px; }
}
@media (min-width: 1500px) {
  .editor { width: min(82%, 640px); }
  .editor-code { font-size: 16px; padding: 26px 30px; }
  .editor-term { font-size: 14px; margin-inline: 30px; }
  .o-db { top: 10%; right: 8%; } .o-sv { bottom: 12%; left: 6%; }
  .orb { width: 64px; height: 64px; font-size: 22px; }
}

/* Use the width: denser multi-column layouts once cards get wide */
@media (min-width: 1500px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plans-3 .feat { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .plans-3 .plan-desc { min-height: 0; }
  .bento { grid-template-columns: 1.15fr 1fr; gap: 24px; }
  .res-tiles { width: 46%; }
  .ctable .c-name { width: 24%; }
  .faq-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .stat dt { font-size: clamp(56px, 3.8vw, 76px); }
  .stat { padding-block: 34px; }
}
@media (min-width: 1800px) {
  body { font-size: 18px; }
  .hero-title { font-size: clamp(200px, 11.4vw, 236px); }
  .hero-tagline { font-size: 34px; }
  .hero-lead { font-size: 19.5px; }
  .card-stage { max-width: 760px; }
  .float-chip { font-size: 15px; padding: 14px 20px; }
  .btn-lg { --bh: 64px; padding: 0 40px; font-size: 17px; }
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
  .section-head h2, .faq-side h2 { font-size: clamp(96px, 5.6vw, 112px); }
  .section-head > p, .sh-side p { font-size: 19px; }
  .bento-card { padding: 52px; }
  .bento-card h3 { font-size: 36px; }
  .bento-card p, .custom p { font-size: 18px; }
  .plan { padding: 44px; }
  .plan-head h3 { font-size: 25px; }
  .price-num { font-size: 96px; }
  .plan-desc, .feat { font-size: 16.5px; }
  .ctable { font-size: 17px; }
  .ctable th, .ctable td { height: 66px; }
  .th-name { font-size: 19px; }
  .faq-t b { font-size: 22px; }
  .faq-a p { font-size: 18px; }
  .custom h2 { font-size: 68px; }
  .services li { font-size: 16px; padding: 20px; }
  .cta h2 { font-size: clamp(120px, 6.8vw, 140px); }
  .tierband span { font-size: clamp(130px, 8vw, 170px); }
}

/* 2K / ultrawide / 4K: scale the whole composition instead of letting it float in a sea of black */
@media (min-width: 2200px) { html { zoom: 1.2; } :root { --z: 1.2; } }
@media (min-width: 2800px) { html { zoom: 1.45; } :root { --z: 1.45; } }
@media (min-width: 3400px) { html { zoom: 1.8; } :root { --z: 1.8; } }

/* =====================================================================
   Plan details · grouped Diamond perks · Mentor tier (contact-for-price)
   ===================================================================== */
/* "Who it's for" line under each price */
.plan-fit { margin-top: 18px; display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.6; color: var(--accent); letter-spacing: .03em; }
.plan-fit i { flex: none; margin-top: 3px; font-size: 11px; opacity: .85; }
.plan-fit + .plan-desc { margin-top: 8px; }

/* Permanent Gold: what the step up to Diamond adds */
.plan-upsell { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-sm); background: linear-gradient(110deg, rgba(200, 179, 255, .08), rgba(230, 196, 127, .03)); box-shadow: inset 0 0 0 1px rgba(200, 179, 255, .18); }
.plan-upsell-head { font-size: 13.5px; font-weight: 650; letter-spacing: .04em; color: var(--ivory); }
.plan-upsell-head i { margin-right: 8px; color: var(--pearl); font-size: 12px; }
.plan-upsell-head b { font: italic 700 1.15em var(--italic); color: var(--pearl); }
.plan-upsell ul { margin-top: 12px; display: grid; gap: 8px; font-size: 13px; color: var(--text-2); }
.plan-upsell li { display: flex; align-items: center; gap: 10px; }
.plan-upsell li i { width: 14px; text-align: center; font-size: 11px; color: var(--pearl); opacity: .8; }

/* Permanent Diamond: perks in three equal-weight cards (support / privileges / concierge) */
.perk-groups { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.perk-group-wide { grid-column: 1 / -1; }
.perk-group { container-type: inline-size; }
@container (max-width: 250px) {
  .pg-head h5 small { display: none; }
  .perk-group li { gap: 8px; padding-inline: 4px; }
}
.perk-group {
  padding: 16px 14px 12px; border-radius: var(--r-sm);
  background: rgba(10, 9, 13, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: box-shadow .4s, background .4s;
}
.perk-group:hover { background: rgba(14, 12, 19, .85); box-shadow: inset 0 0 0 1px rgba(200, 179, 255, .28); }
.pg-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 2px 12px; border-bottom: 1px solid var(--line); }
.pg-ico {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 12px; color: #1a1024;
  background: var(--pearl-foil); background-size: 200% 100%; animation: foil 6s ease-in-out infinite alternate;
  box-shadow: 0 0 16px rgba(200, 179, 255, .35);
}
.pg-head h5 { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; font-family: var(--serif-cn); font-size: 15px; font-weight: 900; letter-spacing: .12em; color: var(--ivory); }
.pg-head h5 small { font: italic 500 11.5px/1 var(--italic); letter-spacing: .1em; color: var(--text-3); }
.pg-count { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; letter-spacing: .06em; white-space: nowrap; color: var(--pearl); box-shadow: inset 0 0 0 1px rgba(200, 179, 255, .3); }
.perk-group ul { margin-top: 8px; display: grid; gap: 2px; font-size: 13.5px; color: var(--text-2); }
.perk-group-wide ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; }
.perk-group li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 2px; line-height: 1.45; letter-spacing: .02em; transition: color .3s, background .3s; }
.perk-group li i { flex: none; width: 16px; text-align: center; font-size: 12px; color: var(--gold); transition: transform .4s var(--ease-spring), color .3s; }
.perk-group li:hover { color: var(--ivory); background: rgba(200, 179, 255, .07); }
.perk-group li:hover i { transform: scale(1.2); color: var(--pearl); }

:where(.perks) :where(h5) { margin: 0; }  /* zero specificity: the base reset skips h5 */

/* ---------- Private custom tier: a wide sixth plan in its own metal — rose gold over a ruby glow ---------- */
:root {
  --rose: #f2b8a0;
  --rose-hi: #ffe2d4;
  --rose-line: rgba(242, 184, 160, .14);
  --rose-line-2: rgba(242, 184, 160, .26);
  --rose-line-3: rgba(242, 184, 160, .45);
  --rose-foil: linear-gradient(100deg, #8a4a3a 0%, #e9a387 16%, #ffe6d8 28%, #d98a6e 42%, #8c4636 55%, #eeae94 70%, #ffe2d4 84%, #b56a52 100%);
  --rose-metal: linear-gradient(180deg, #ffe9de 0%, #f0b49a 38%, #c97b62 72%, #eaa98f 100%);
}
.rose-text { background: var(--rose-foil); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 9s ease-in-out infinite alternate; }
.badge-rose { --accent: var(--rose); }
.tag-rose { color: var(--rose); }
.btn-rose {
  color: #2a120b;
  background: var(--rose-metal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(110, 40, 25, .35), 0 14px 34px -14px rgba(220, 130, 105, .75);
}
.btn-rose::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%);
  background-size: 260% 100%; background-position: 130% 0; animation: sweep 6s var(--ease-io) infinite;
}
.btn-rose:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(110, 40, 25, .35), 0 20px 50px -14px rgba(230, 140, 110, .95); }
.tierband span.is-rose { background: var(--rose-foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; animation: foil 8s ease-in-out infinite alternate; }
.plans-divider-rose { color: var(--rose); }
.plans-divider-rose::before, .plans-divider-rose::after { background: linear-gradient(var(--rose), var(--rose)) right center / 6px 6px no-repeat, linear-gradient(90deg, transparent, var(--rose-line-3)) left center / calc(100% - 12px) 1px no-repeat; }

.plan-custom {
  --accent: var(--rose);
  --mat: var(--rose-foil);
  --brk: rgba(242, 184, 160, .55);
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start;
  background:
    var(--mat) top / 100% 2px no-repeat, var(--corners),
    radial-gradient(70% 70% at 0% 0%, rgba(176, 52, 72, .2), transparent 62%),
    radial-gradient(60% 70% at 100% 100%, rgba(242, 184, 160, .08), transparent 60%),
    linear-gradient(180deg, rgba(255, 228, 214, .04), rgba(255, 228, 214, 0) 40%),
    rgba(16, 10, 12, .86);
  box-shadow: inset 0 0 0 1px var(--rose-line-2), 0 50px 120px -60px rgba(176, 52, 72, .55), 0 40px 80px -50px rgba(0, 0, 0, .9);
}
/* a wide card should lean far less than a narrow one */
.plan-custom:hover {
  transform: perspective(2400px) rotateX(calc(var(--trx, 0deg) * .3)) rotateY(calc(var(--try, 0deg) * .3)) translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--rose-line-3), 0 60px 140px -60px rgba(196, 64, 84, .7), 0 40px 80px -50px rgba(0, 0, 0, .9);
}
.plan-custom[data-spot]::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 214, 196, .75), transparent 45%); }
.plan-custom[data-spot]::after { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(242, 160, 140, .08), transparent 50%); }
.plan-custom > .plan-num { top: 14px; -webkit-text-stroke-color: rgba(242, 184, 160, .16); }
.plan-custom:hover > .plan-num { -webkit-text-stroke-color: rgba(242, 184, 160, .36); }
.plan-custom .sheen::before { background: linear-gradient(100deg, transparent, rgba(255, 220, 205, .05) 40%, rgba(255, 232, 222, .13) 50%, rgba(255, 220, 205, .05) 60%, transparent); }

.custom-main { display: flex; flex-direction: column; min-width: 0; padding-right: clamp(28px, 3.4vw, 60px); }
.plan-custom .plan-head h3 { font-size: 26px; }
.price-contact { align-items: center; gap: 10px 16px; }
.price-ask {
  font-family: var(--serif-cn); font-weight: 900; font-size: clamp(46px, 4.2vw, 68px); line-height: 1; letter-spacing: .06em;
  background: var(--rose-foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil 8s ease-in-out infinite alternate; transition: filter .4s;
  filter: drop-shadow(0 0 22px rgba(196, 64, 84, .35));
}
.price-ask:hover { filter: drop-shadow(0 0 18px rgba(242, 160, 140, .65)); }
.price-contact .price-unit { padding: 4px 10px; border-radius: 2px; font-size: 13px; letter-spacing: .08em; color: var(--rose); box-shadow: inset 0 0 0 1px var(--rose-line-3); }
.plan-custom .plan-desc { min-height: 0; }
.plan-custom .spec { background: var(--rose-line); box-shadow: 0 0 0 1px var(--rose-line); }
.plan-custom .spec div { background: rgba(16, 10, 12, .92); }

.custom-side { min-width: 0; padding-left: clamp(28px, 3.4vw, 60px); border-left: 1px solid var(--rose-line); }
.custom-side h4 { display: flex; align-items: center; gap: 10px; font-family: var(--serif-cn); font-size: 15px; font-weight: 900; letter-spacing: .24em; color: var(--rose); }
.custom-side h4::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--rose-line-2), transparent); }

.custom-tracks { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rose-line); box-shadow: 0 0 0 1px var(--rose-line); border-radius: var(--r-sm); overflow: hidden; }
.custom-tracks li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; padding: 13px 14px; background: rgba(16, 10, 12, .92); transition: background .4s; }
.custom-tracks li:hover { background: rgba(30, 16, 19, .96); }
.custom-tracks i {
  grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 12px;
  color: var(--rose); box-shadow: inset 0 0 0 1px var(--rose-line-3); background: rgba(242, 184, 160, .06);
  transition: transform .5s var(--ease-spring), color .3s, background .3s;
}
.custom-tracks li:hover i { transform: scale(1.1); color: #2a120b; background: var(--rose-metal); }
.custom-tracks b { font-size: 14.5px; font-weight: 700; letter-spacing: .03em; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.custom-tracks small { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.custom-flow { margin-top: 26px; }
.custom-flow ol { margin-top: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; font-size: 13.5px; color: var(--text-2); }
.custom-flow li { position: relative; display: flex; flex-direction: column; gap: 8px; white-space: nowrap; }
.custom-flow li span { font: italic 600 15px/1 var(--italic); color: var(--rose); }
/* hairline from each step's numeral to the next step */
.custom-flow li:not(:last-child)::after { content: ''; position: absolute; top: 7px; left: 30px; right: -4px; height: 1px; background: linear-gradient(90deg, var(--rose-line-3), var(--rose-line)); }
.custom-flow li:last-child { color: var(--rose-hi); font-weight: 650; }

@media (max-width: 1180px) {
  .plan-custom { grid-template-columns: 1fr; }
  .plan-custom > .plan-num { top: auto; bottom: 14px; }
  .custom-main { padding-right: 0; }
  .custom-side { margin-top: 30px; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--rose-line); }
}
@media (max-width: 720px) {
  .plan-custom .plan-head h3 { font-size: 22px; }
  .price-ask { font-size: 44px; }
  .custom-tracks small { display: none; }
  .custom-tracks li { column-gap: 10px; padding: 11px 10px; min-height: 58px; }
  .custom-tracks i { grid-row: auto; width: 28px; height: 28px; font-size: 11px; }
  .custom-tracks b { font-size: 13.5px; line-height: 1.4; white-space: normal; }
  .custom-flow ol { grid-template-columns: 1fr 1fr; gap: 12px; }
  .custom-flow li { flex-direction: row; align-items: center; }
  .custom-flow li::after { display: none; }
  .perks-head { flex-wrap: wrap; gap: 8px 12px; }
  .perks h4 { white-space: nowrap; letter-spacing: .14em; }
  .perks h4::after { min-width: 12px; }
  .perk-groups { grid-template-columns: 1fr; gap: 10px; }
  .perk-group-wide ul { grid-template-columns: 1fr; }
}
@media (min-width: 1800px) {
  .plan-fit { font-size: 15px; }
  .plan-upsell-head { font-size: 15px; }
  .plan-upsell ul { font-size: 14.5px; }
  .perk-group ul { font-size: 15px; }
  .pg-head h5 { font-size: 17px; }
  .plan-custom .plan-head h3 { font-size: 30px; }
  .custom-tracks b { font-size: 16.5px; }
  .custom-tracks small, .custom-flow ol { font-size: 14.5px; }
}

/* =====================================================================
   Motion & capability guards
   ===================================================================== */
@media (hover: none) {
  .bento-card:hover, .plan:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .js .nav { opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-title .line-in { transform: none; }
  .js .section-head h2, .js .faq-side h2, .js .cta h2, .js .custom h2 { clip-path: none !important; transform: none !important; }
  .hero-copy { transform: none; opacity: 1; }
  .js .ln { clip-path: none; }
  .js .toast { opacity: 1; transform: none; }
  .ring-meter { stroke-dashoffset: 60; }
  .bg-grain { animation: none; }
  .tierband-track { animation: none; }
  .dv-line, .dv-arm, .dv-d1, .dv-d2 { transform: none !important; stroke-dashoffset: 0 !important; }
  .divider circle { opacity: 1; }
  .glint::after, .sheen { display: none; }
  .dv-d2 { transform: none !important; }
  .dv-dot, .dv-orbit { opacity: 1 !important; }
}
