/* ============================================================
   hv2.css — SilentStudent interior-page design system.
   The "Pearl elevated" editorial language introduced on the
   homepage (index.html inline styles), extracted so every
   interior page shares one cached chrome: tokens, nav, footer,
   editorial hero, buttons, glass cards, CTA band, reveal.
   Load AFTER /pearl/pearl.css (section system, footer pill,
   shush-mark styles live there).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Pearl tokens (byte-identical to index.html :root) ── */
  --cb-bg: 246 245 242;
  --cb-surface: 255 255 255;
  --cb-border: 232 228 222;
  --cb-text: 28 26 38;
  --cb-text-inverse: 246 245 242;
  --cb-text-sec: 88 84 100;
  --cb-text-muted: 107 104 120;
  --cb-accent: 255 161 126;
  --cb-accent-2: 255 130 89;
  --cb-accent-hover: 255 130 89;
  --cb-accent-light: 255 241 233;
  --cb-accent-deep: 187 74 45;
  --cb-accent-deep-hover: 158 58 30;
  --cb-mint: 127 227 196;
  --cb-mint-light: 224 248 240;
  --cb-success: 96 184 152;
  --cb-success-light: 224 248 240;
  --cb-warning: 224 168 88;
  --cb-warning-light: 252 244 226;
  --cb-error: 224 96 112;
  --cb-error-light: 252 232 236;
  --cb-info: 108 152 232;
  --cb-info-light: 230 238 252;

  --aurora-1: 255 207 188;
  --aurora-2: 185 230 215;
  --aurora-3: 255 230 210;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-bg-soft: rgba(255, 255, 255, 0.38);
  --glass-bg-hover: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-top: rgba(255, 255, 255, 0.85);
  --glass-border-bottom: rgba(28, 26, 38, 0.06);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --inset-glow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --glass-blur: blur(40px) saturate(180%);
  --panel-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  --panel-soft-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.4));

  --shadow-card: 0 8px 32px rgba(60, 50, 40, 0.06);
  --shadow-card-hover: 0 12px 48px rgba(255, 161, 126, 0.16);
  --shadow-panel: 0 24px 80px rgba(60, 50, 40, 0.10);
  --shadow-soft: 0 18px 56px rgba(60, 50, 40, 0.07);

  --glow-iris: 0 0 24px rgba(255, 161, 126, 0.35);
  --glow-mint: 0 0 16px rgba(127, 227, 196, 0.40);

  /* Legacy aliases */
  --bg: rgb(246 245 242);
  --surface: rgb(255 255 255);
  --border: rgb(232 228 222);
  --text: rgb(28 26 38);
  --text-sec: rgb(88 84 100);
  --text-muted: rgb(142 138 156);
  --accent: rgb(255 161 126);
  --accent-hover: rgb(255 130 89);
  --accent-light: rgb(255 241 233);
  --dark: rgb(28 26 38);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: rgb(var(--cb-text));
  background: rgb(var(--cb-bg));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Newsreader', Georgia, serif; }
a { color: inherit; }

/* ── film grain + scroll progress (homepage-identical) ── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 101;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, rgb(var(--cb-accent)), rgb(var(--cb-accent-2)));
  transition: width 0.1s linear;
}

/* ====================== NAV (Pearl light) ====================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.85rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  background: rgba(246, 245, 242, 0.72);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(28, 26, 38, 0.06);
}

.nav.scrolled {
  padding: 0.6rem 2rem;
  background: rgba(246, 245, 242, 0.92);
  box-shadow: 0 6px 24px rgba(28, 26, 38, 0.06);
}

.nav-logo {
  font-family: 'Newsreader', Georgia, serif; font-size: 1.35rem; font-weight: 500;
  color: rgb(var(--cb-text)); text-decoration: none; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 0.55rem;
}

.nav-logo-text { display: inline-flex; align-items: baseline; }
.nav-logo-text > span { color: rgb(var(--cb-accent-deep)); font-weight: 600; }

.nav-logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  color: rgb(var(--cb-accent));
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(255, 130, 89, 0.22));
  transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav-logo:hover .nav-logo-mark { transform: scale(1.06) rotate(-2deg); }
.nav-logo-mark svg { width: 100%; height: 100%; overflow: visible; }
.nav-logo-mark .shush-s-finger { fill: rgba(255, 252, 248, 0.95); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; }

.nav-links a {
  color: rgb(var(--cb-text-sec)); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; transition: color 0.18s;
}
.nav-links a:hover { color: rgb(var(--cb-text)); }
.nav-links a[aria-current="page"] { color: rgb(var(--cb-text)); font-weight: 600; }

.nav-cta {
  background: rgb(var(--cb-accent-deep)) !important; color: #fff !important;
  padding: 0.5rem 1.1rem; border-radius: 0.55rem;
  font-weight: 600; font-size: 0.85rem; transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(255, 130, 89, 0.18);
}
.nav-cta:hover { background: rgb(var(--cb-accent-2)) !important; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 130, 89, 0.28); }

.mobile-toggle {
  display: none; background: none; border: none;
  color: rgb(var(--cb-text)); font-size: 1.5rem; cursor: pointer;
}

/* ====================== EDITORIAL PAGE HERO ====================== */
.hv2-page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(128px, 17vh, 176px) 28px clamp(52px, 7vh, 84px);
  text-align: center;
}
.hv2-page-hero__aurora {
  position: absolute; inset: 0; z-index: -1;
  background-color: rgb(var(--cb-bg));
  background-image:
    radial-gradient(ellipse 1200px 800px at 8% 0%, rgb(var(--aurora-1) / 0.42), transparent 55%),
    radial-gradient(ellipse 1000px 700px at 92% 4%, rgb(var(--aurora-2) / 0.46), transparent 60%),
    radial-gradient(ellipse 1400px 900px at 50% 100%, rgb(var(--aurora-3) / 0.32), transparent 55%);
  background-attachment: local;
  animation: hv2AuroraDrift 40s ease-in-out infinite alternate;
}
@keyframes hv2AuroraDrift {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; }
  100% { background-position: 4% -3%, -4% 3%, 2% -2%; }
}

.hv2-breadcrumb {
  font-size: 0.85rem; color: rgb(var(--cb-text-muted));
  margin-bottom: 1.4rem;
  display: flex; gap: 0.4rem; align-items: center; justify-content: center;
}
.hv2-breadcrumb a { color: rgb(var(--cb-text-sec)); text-decoration: none; }
.hv2-breadcrumb a:hover { color: rgb(var(--cb-text)); }

.hv2-kicker {
  display: inline-block;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgb(var(--cb-accent-deep));
  margin-bottom: 1.1rem;
}

.hv2-page-h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.026em;
  color: rgb(var(--cb-text));
  margin: 0 auto;
  max-width: 20ch;
  text-wrap: balance;
}
.hv2-page-h1 em {
  font-style: italic; font-weight: 400;
  position: relative;
  padding-bottom: 0.06em;
  white-space: nowrap;
}

/* Hand-drawn coral brushstroke (homepage signature) */
.hv2-brush {
  position: absolute;
  left: -2%;
  bottom: -0.22em;
  width: 104%;
  height: 0.38em;
  overflow: visible;
  pointer-events: none;
}
.hv2-brush path {
  fill: none;
  stroke: rgb(var(--cb-accent-2));
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}
.hv2-brush__stroke {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hv2Draw 620ms cubic-bezier(0.5, 0, 0.2, 1) 900ms forwards;
}
@keyframes hv2Draw { to { stroke-dashoffset: 0; } }

.hv2-page-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: rgb(var(--cb-text-sec));
  max-width: 44rem;
  margin: 1.4rem auto 0;
}

.hv2-page-actions {
  margin-top: 2.1rem;
  display: flex; gap: 18px; align-items: center; justify-content: center;
  flex-wrap: wrap;
}

/* Entrance: whole-block rise (LCP-safe 0.01 base, homepage pattern) */
.hv2-rise {
  opacity: 0.01;
  transform: translateY(18px);
  animation: hv2RiseIn 640ms cubic-bezier(0.22, 1, 0.36, 1) calc(160ms + var(--d, 0) * 140ms) forwards;
}
@keyframes hv2RiseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====================== BUTTONS (homepage hv2) ====================== */
.hv2-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgb(var(--cb-accent-deep));
  color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15.5px; font-weight: 600;
  padding: 15px 28px;
  border-radius: 13px;
  text-decoration: none;
  border: none; cursor: pointer;
  box-shadow: 0 10px 28px rgba(187, 74, 45, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.hv2-cta:hover {
  background: rgb(var(--cb-accent-deep-hover));
  box-shadow: 0 14px 36px rgba(187, 74, 45, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hv2-cta:focus-visible { outline: 2px solid rgb(var(--cb-accent-2)); outline-offset: 3px; }

.hv2-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgb(var(--cb-text));
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  padding: 15px 6px;
}
.hv2-ghost .hv2-ghost__arrow { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.hv2-ghost:hover .hv2-ghost__arrow { transform: translateX(4px); }
.hv2-ghost:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgb(var(--cb-accent)); }

.hv2-glass-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg-strong);
  color: rgb(var(--cb-text));
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15.5px; font-weight: 600;
  padding: 15px 28px;
  border-radius: 13px;
  text-decoration: none;
  border: 1px solid var(--glass-border-top);
  box-shadow: var(--shadow-card), var(--glass-inset);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hv2-glass-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft), var(--glass-inset);
  border-color: rgba(255, 161, 126, 0.5);
}

/* Serif italic accents inside pearl section headlines */
.pearl-section-h2 em { font-style: italic; font-weight: 400; }

/* ====================== GLASS CARD UTILITIES ====================== */
.hv2-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-top);
  border-radius: 18px;
  box-shadow: var(--shadow-card), var(--glass-inset);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.hv2-card--hover { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease; }
.hv2-card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover), var(--glass-inset);
  border-color: rgb(var(--cb-accent) / 0.5);
}

/* Verified chip row (homepage platform chips, reused site-wide) */
.hv2-plat {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}
.hv2-plat__chip {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 22px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-top);
  border-radius: 16px;
  box-shadow: var(--shadow-card), var(--glass-inset);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.hv2-plat__chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover), var(--glass-inset);
  border-color: rgb(var(--cb-accent) / 0.5);
}
.hv2-plat__col { display: flex; flex-direction: column; gap: 3px; }
.hv2-plat__name { font-size: 14.5px; font-weight: 600; color: rgb(var(--cb-text)); letter-spacing: -0.005em; }
.hv2-plat__ver { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: rgb(28, 110, 90); }
.hv2-plat__ver i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgb(var(--cb-mint));
  box-shadow: 0 0 8px rgb(var(--cb-mint));
}
.hv2-plat__more { text-align: center; margin-top: 26px; }
.hv2-plat__more a {
  font-size: 14px; font-weight: 600;
  color: rgb(var(--cb-accent-deep));
  text-decoration: none;
}
.hv2-plat__more a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ====================== GLASS TABLE ====================== */
.hv2-table-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-top);
  border-radius: 20px;
  box-shadow: var(--shadow-card), var(--glass-inset);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  padding: 0.6rem 1.4rem;
  overflow-x: auto;
}
.hv2-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.hv2-table th, .hv2-table td {
  padding: 0.85rem 1rem; text-align: left;
  border-bottom: 1px solid rgba(28, 26, 38, 0.07);
}
.hv2-table tr:last-child td { border-bottom: none; }
.hv2-table th {
  font-weight: 600; color: rgb(var(--cb-text-muted));
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.09em;
}
.hv2-table td:first-child { color: rgb(var(--cb-text)); font-weight: 500; }
.hv2-table td { color: rgb(var(--cb-text-sec)); }
.hv2-table td:not(:first-child), .hv2-table th:not(:first-child) { text-align: center; }
.hv2-table .check { color: rgb(var(--cb-success)); font-weight: 700; }
.hv2-table .dash { color: rgb(var(--cb-text-muted)); }
.hv2-table .cross { color: rgb(var(--cb-error)); font-weight: 700; }
.hv2-table tbody tr { transition: background 0.15s ease; }
.hv2-table tbody tr:hover { background: rgba(255, 241, 233, 0.4); }

/* ====================== EDITORIAL STEPS ====================== */
.hv2-steps { list-style: none; max-width: 760px; margin: 0 auto; position: relative; }
.hv2-steps::before {
  content: '';
  position: absolute; left: 27px; top: 40px; bottom: 40px;
  width: 1.5px;
  background: linear-gradient(180deg, rgb(var(--cb-accent) / 0.5), rgb(var(--cb-mint) / 0.5));
}
.hv2-step-row {
  position: relative;
  display: flex; gap: 26px; align-items: flex-start;
  padding: 26px 0;
}
.hv2-step-row__num {
  position: relative; z-index: 1;
  flex-shrink: 0;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px; font-weight: 500; font-style: italic;
  color: rgb(var(--cb-accent-deep));
  background: #fff;
  border: 1px solid rgba(255, 161, 126, 0.5);
  box-shadow: 0 6px 20px rgba(255, 140, 90, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.hv2-step-row__body h2, .hv2-step-row__body h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 500;
  letter-spacing: -0.01em; color: rgb(var(--cb-text));
  margin-bottom: 0.6rem;
}
.hv2-step-row__body p {
  font-size: 0.96rem; color: rgb(var(--cb-text-sec)); line-height: 1.7;
  margin-bottom: 0.5rem; max-width: 58ch;
}
.hv2-step-row__body p a { color: rgb(var(--cb-accent-deep)); text-decoration: underline; text-underline-offset: 2px; }
.hv2-step-row__body p a:hover { color: rgb(var(--cb-text)); }

/* ====================== FINAL CTA — dusk to sunrise ====================== */
.hv2-band {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 30px;
  padding: clamp(56px, 7vw, 92px) 32px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #FBEEE2 0%, #FFE4C8 58%, #FFF8F0 100%);
  border: 1px solid rgba(255, 161, 126, 0.4);
  box-shadow: 0 30px 80px rgba(255, 140, 80, 0.15);
}
.hv2-band::before {
  content: '';
  position: absolute;
  left: 50%; bottom: -150px;
  transform: translateX(-50%);
  width: 460px; height: 300px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 168, 88, 0.55), rgba(255, 168, 88, 0) 70%);
  pointer-events: none;
}
.hv2-band__kicker {
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgb(var(--cb-accent-deep));
  margin-bottom: 14px;
}
.hv2-band h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.06;
  color: rgb(var(--cb-text));
  margin: 0 0 14px;
}
.hv2-band h2 em { font-style: italic; font-weight: 400; }
.hv2-band__sub { font-size: 15.5px; color: rgb(var(--cb-text-sec)); }
.hv2-band__actions { margin-top: 30px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hv2-band__note { margin-top: 16px; font-size: 13px; color: rgb(var(--cb-text-muted)); }

.hv2-band__checks {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
}
.hv2-band__checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgb(var(--cb-text-sec));
}
.hv2-band__checks li svg { color: rgb(28, 110, 90); flex-shrink: 0; }

/* ====================== PRICING TRUST ROW ====================== */
.hv2-price-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 30px;
}
.hv2-price-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgb(var(--cb-text-muted));
}
.hv2-price-trust__item svg { color: rgb(28, 110, 90); flex-shrink: 0; }
.hv2-price-trust__sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgb(var(--cb-accent));
  opacity: 0.55;
}
.hv2-price-trust__link {
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--cb-accent-deep));
  text-decoration: none;
}
.hv2-price-trust__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ====================== MOBILE CTA DOCK ====================== */
.hv2-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px 11px 16px;
  margin-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 252, 248, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 -2px 8px rgba(60, 50, 40, 0.04), 0 14px 44px rgba(60, 50, 40, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hv2-dock.is-visible { transform: translateY(0); }
.hv2-dock__col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hv2-dock__price {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgb(var(--cb-text));
  white-space: nowrap;
}
.hv2-dock__sub { font-size: 11.5px; color: rgb(var(--cb-text-muted)); white-space: nowrap; }
.hv2-dock__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--cb-accent-deep));
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(187, 74, 45, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
  .hv2-dock { display: flex; }
}

/* ====================== FOOTER (Pearl) ====================== */
.footer {
  position: relative;
  background: transparent;
  border-top: 1px solid rgba(28, 26, 38, 0.06);
  padding: 3rem 2rem 2.5rem;
}
.footer-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.1rem;
  color: rgb(var(--cb-text));
  letter-spacing: -0.01em;
}
.footer-logo span { color: rgb(var(--cb-accent-deep)); font-weight: 600; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.82rem;
  color: rgb(var(--cb-text-muted));
  text-decoration: none;
  transition: color 0.18s;
}
.footer-links a:hover { color: rgb(var(--cb-text)); }
.footer-copy { font-size: 0.78rem; color: rgb(var(--cb-text-muted)); }
.footer-copy a {
  color: rgb(var(--cb-text-sec));
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s;
}
.footer-copy a:hover { color: rgb(var(--cb-text)); }

/* ====================== SCROLL REVEAL ====================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }
.reveal-delay-5 { transition-delay: 0.3s; }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 900px) {
  .hv2-plat__chip { flex: 1 1 calc(50% - 8px); min-width: min(100%, 260px); }
}

@media (max-width: 768px) {
  .nav { padding: 0.75rem 1.15rem; }
  .nav.scrolled { padding: 0.55rem 1.15rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(246, 245, 242, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 1.15rem; gap: 1rem;
    border-top: 1px solid rgba(28, 26, 38, 0.06);
    box-shadow: 0 6px 24px rgba(28, 26, 38, 0.06);
  }
  .mobile-toggle { display: block; }
  .footer { padding: 2.5rem 1.15rem 2rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; gap: 1rem; }
  .hv2-page-hero { padding: 108px 20px 48px; }
  .hv2-page-h1 { max-width: none; font-size: clamp(34px, 9vw, 48px); }
  .hv2-page-h1 em { white-space: normal; }
  .hv2-page-sub { font-size: 16px; }
  .hv2-page-actions { gap: 12px; }
  .hv2-cta, .hv2-glass-btn { width: 100%; justify-content: center; }
  .hv2-ghost { width: 100%; justify-content: center; }
  .hv2-steps::before { left: 21px; }
  .hv2-step-row { gap: 18px; padding: 20px 0; }
  .hv2-step-row__num { width: 42px; height: 42px; font-size: 18px; }
  .hv2-table-card { padding: 0.4rem 0.8rem; border-radius: 16px; }
  .hv2-table { font-size: 0.84rem; }
  .hv2-table th, .hv2-table td { padding: 0.6rem 0.55rem; }
  .hv2-band { margin-left: 16px; margin-right: 16px; border-radius: 22px; padding: 48px 24px; }
  .hv2-plat { gap: 10px; }
  .hv2-plat__chip { flex: 1 1 100%; width: 100%; }
}

@media (max-width: 480px) {
  .nav-logo { font-size: 1.2rem; }
  .nav-logo-mark { width: 24px; height: 24px; }
}

/* ====================== ACCOUNT PAGE ====================== */
.hv2-account {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(108px, 14vh, 132px) 1.5rem 5rem;
}
.hv2-account__header { margin-bottom: 2.4rem; }
.hv2-account__header p { font-size: 1rem; color: rgb(var(--cb-text-sec)); margin-top: 0.55rem; }

.hv2-account-card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-top);
  border-radius: 18px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--glass-inset), var(--shadow-card);
}
.hv2-account-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.25rem; gap: 1rem; flex-wrap: wrap;
}
.hv2-account-card__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em;
  color: rgb(var(--cb-text));
}
.hv2-account-card__sub { color: rgb(var(--cb-text-sec)); font-size: 0.9rem; margin-top: 0.2rem; }

.hv2-account-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.1rem; border-radius: 0.6rem;
  font-family: inherit; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.15s ease; text-decoration: none; white-space: nowrap;
}
.hv2-account-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.hv2-account-btn--primary {
  background: rgb(var(--cb-accent-deep)); color: #fff;
  box-shadow: 0 2px 10px rgba(187, 74, 45, 0.22);
}
.hv2-account-btn--primary:hover:not(:disabled) {
  background: rgb(var(--cb-accent-deep-hover));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(187, 74, 45, 0.28);
}
.hv2-account-btn--ghost {
  background: transparent; color: rgb(var(--cb-text));
  border-color: rgb(var(--cb-border));
}
.hv2-account-btn--ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.55); }
.hv2-account-btn--danger {
  background: transparent; color: rgb(var(--cb-error));
  border-color: rgba(224, 96, 112, 0.35);
}
.hv2-account-btn--danger:hover:not(:disabled) { background: rgb(var(--cb-error-light)); }

.hv2-account-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.hv2-account-field label {
  font-size: 0.78rem; font-weight: 500; color: rgb(var(--cb-text));
  text-transform: uppercase; letter-spacing: 0.04em;
}
.hv2-account-field input {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(28, 26, 38, 0.10);
  border-radius: 0.6rem;
  font-family: inherit; font-size: 0.95rem;
  color: rgb(var(--cb-text));
  background: rgba(255, 255, 255, 0.62);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hv2-account-field input:focus {
  outline: none;
  border-color: rgb(var(--cb-accent));
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 3px rgb(var(--cb-accent) / 0.18);
}
.hv2-account-field input:disabled { opacity: 0.65; }

.hv2-account-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem 2rem;
  margin-bottom: 1.25rem;
}
.hv2-account-info__label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: rgb(var(--cb-text-muted)); margin-bottom: 0.35rem; font-weight: 600;
}
.hv2-account-info__val { font-size: 1rem; color: rgb(var(--cb-text)); word-break: break-word; }
.hv2-account-info__val--muted { color: rgb(var(--cb-text-sec)); }

.hv2-account-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.hv2-account-badge--active { background: rgb(var(--cb-success-light)); color: rgb(var(--cb-success)); }
.hv2-account-badge--warning { background: rgb(var(--cb-warning-light)); color: rgb(var(--cb-warning)); }
.hv2-account-badge--error { background: rgb(var(--cb-error-light)); color: rgb(var(--cb-error)); }
.hv2-account-badge--neutral {
  background: rgba(255, 255, 255, 0.55); color: rgb(var(--cb-text-sec));
  border: 1px solid rgb(var(--cb-border));
}
.hv2-account-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.hv2-account-meter { margin: 1rem 0 1.5rem; }
.hv2-account-meter__bar {
  position: relative; height: 12px;
  background: rgba(28, 26, 38, 0.06);
  border-radius: 999px; overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(60, 50, 40, 0.10);
}
.hv2-account-meter__fill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background: linear-gradient(90deg, rgb(var(--cb-accent)), rgb(var(--cb-accent-2)));
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.hv2-account-meter__fill--warn { background: linear-gradient(90deg, rgb(var(--cb-warning)), #b96a1e); }
.hv2-account-meter__fill--error { background: linear-gradient(90deg, rgb(var(--cb-error)), #962d2d); }
.hv2-account-meter__labels {
  display: flex; justify-content: space-between;
  margin-top: 0.6rem; font-size: 0.85rem; color: rgb(var(--cb-text-sec));
}
.hv2-account-meter__labels strong { color: rgb(var(--cb-text)); font-weight: 600; }

.hv2-account-breakdown { margin-top: 1.25rem; border-top: 1px solid rgb(var(--cb-border)); padding-top: 1rem; }
.hv2-account-breakdown__title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgb(var(--cb-text-muted)); font-weight: 600; margin-bottom: 0.75rem;
}
.hv2-account-breakdown__row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 1rem; padding: 0.6rem 0; font-size: 0.9rem;
  border-bottom: 1px solid rgb(var(--cb-border));
}
.hv2-account-breakdown__row:last-child { border-bottom: none; }
.hv2-account-breakdown__model {
  color: rgb(var(--cb-text)); font-weight: 500;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.82rem;
}
.hv2-account-breakdown__tokens { color: rgb(var(--cb-text-sec)); font-variant-numeric: tabular-nums; }
.hv2-account-breakdown__cost { color: rgb(var(--cb-text)); font-weight: 600; font-variant-numeric: tabular-nums; }
.hv2-account-breakdown__empty { padding: 0.8rem 0; color: rgb(var(--cb-text-muted)); font-size: 0.9rem; font-style: italic; }

.hv2-account-device {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 0; border-bottom: 1px solid rgb(var(--cb-border));
  gap: 1rem; flex-wrap: wrap;
}
.hv2-account-device:last-child { border-bottom: none; }
.hv2-account-device__fp {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.82rem; color: rgb(var(--cb-text)); margin-bottom: 0.25rem; word-break: break-all;
}
.hv2-account-device__meta { font-size: 0.78rem; color: rgb(var(--cb-text-muted)); }

.hv2-account-msg {
  font-size: 0.85rem; padding: 0.65rem 0.85rem; border-radius: 0.5rem;
  margin-top: 0.75rem; display: none;
}
.hv2-account-msg.is-active { display: block; }
.hv2-account-msg--error { background: rgb(var(--cb-error-light)); color: rgb(var(--cb-error)); }
.hv2-account-msg--success { background: rgb(var(--cb-success-light)); color: rgb(var(--cb-success)); }

.hv2-account-loading { color: rgb(var(--cb-text-muted)); font-size: 0.9rem; padding: 0.5rem 0; }
.hv2-account-skeleton {
  display: inline-block; height: 1em; width: 6em;
  background: linear-gradient(90deg, rgb(var(--cb-bg)), rgb(var(--cb-border)), rgb(var(--cb-bg)));
  background-size: 200% 100%; border-radius: 0.3rem;
  animation: hv2Sk 1.4s ease-in-out infinite;
}
@keyframes hv2Sk { 0%,100% { background-position: 200% 0; } 50% { background-position: -200% 0; } }

.hv2-account-gate {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: clamp(108px, 14vh, 132px) 1.5rem 3rem;
}
.hv2-account-gate__card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-top);
  border-radius: 20px; padding: 2.5rem; text-align: center;
  max-width: 420px; width: 100%;
  box-shadow: var(--glass-inset), var(--shadow-panel);
}
.hv2-account-gate__card h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.65rem; font-weight: 500; margin-bottom: 0.5rem;
}
.hv2-account-gate__card p { color: rgb(var(--cb-text-sec)); font-size: 0.95rem; margin-bottom: 1.5rem; }

@media (max-width: 640px) {
  .hv2-account { padding: 100px 1rem 3.5rem; }
  .hv2-account-card { padding: 1.25rem; }
  .hv2-account-card__head { flex-direction: column; align-items: stretch; }
  .hv2-account-breakdown__row { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hv2-page-hero__aurora { animation: none; }
  .hv2-rise { animation: none; opacity: 1; transform: none; }
  .hv2-brush__stroke { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv2-account-skeleton { animation: none; }
  .hv2-dock { transition: none; }
}
