:root {
  --ink: #0a1628;
  --ink-2: #12233a;
  --gold: #d4a227;
  --gold-bright: #f0c14a;
  --gold-soft: #f3e6c2;
  --paper: #e9eef3;
  --white: #ffffff;
  --muted: #5b6b7c;
  --line: rgba(10, 22, 40, 0.1);
  --ok: #1f8a5b;
  --bad: #c43c3c;
  --shadow: 0 24px 60px rgba(8, 18, 34, 0.28);
  --font-fa: "Vazirmatn", Tahoma, sans-serif;
  --font-brand: "Syne", "Vazirmatn", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-fa);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 50% at 80% -10%, rgba(212, 162, 39, 0.18), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #f5f7fa 45%, var(--paper) 100%);
  min-height: 100vh;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem 1.1rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 22, 40, 0.96);
  /* No backdrop-filter: it creates a containing block so the mobile
     position:fixed drawer stays trapped in the header (~120px tall)
     and translateX(-110%) expands document scrollWidth (~352px). */
  color: var(--gold-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Exact match of app .brand-title / splash .razex-logo */
.brand-word {
  font-family: "Segoe UI", "Vazirmatn", Tahoma, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.625rem; /* 26px — same as app header */
  line-height: 1;
  color: #d4a916;
}

.brand-word span {
  color: #f0e6c0;
  font-weight: 500;
}

.brand img {
  display: none; /* app header is wordmark-only */
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  position: fixed;
  inset-inline-start: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.55rem 1rem;
  clip: auto;
  overflow: visible;
  border-radius: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
  margin-inline-start: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold-soft);
  border-radius: 2px;
}

.nav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(0.7rem, 1.5vw, 1.35rem);
  margin: 0;
  margin-inline-start: 0.35rem;
  font-size: clamp(0.8rem, 1.05vw, 0.92rem);
  color: rgba(243, 230, 194, 0.82);
  min-width: 0;
}
.nav a {
  white-space: nowrap;
  padding: 0.2rem 0;
}
.nav a:hover,
.nav a.is-active {
  color: #fff;
}
.nav a.is-active {
  font-weight: 600;
}

.site-header .btn-sm {
  margin-inline-start: auto;
  flex-shrink: 0;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 18, 0.55);
  z-index: 35;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1099px) {
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }
  .site-header .btn-sm {
    margin-inline-start: auto;
    order: 2;
  }
  .nav {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: min(320px, 86vw);
    height: 100%;
    margin: 0;
    padding: 5.5rem 1.25rem 2rem;
    background: #0b182c;
    flex-direction: column;
    flex: none;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    transform: translate3d(-110%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, visibility 0.25s ease;
    z-index: 45;
    box-shadow: none;
    order: 4;
    overflow-y: auto;
  }
  .nav a {
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid rgba(243, 230, 194, 0.08);
    font-size: 1rem;
    white-space: normal;
  }
  body.nav-open .nav {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
  }
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  border-radius: 10px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(212, 162, 39, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid rgba(243, 230, 194, 0.35);
}

.btn-ghost.on-light {
  color: var(--ink-2);
  border-color: rgba(10, 22, 40, 0.18);
  background: #fff;
}

.btn-ink {
  background: var(--ink);
  color: var(--gold-soft);
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(212, 162, 39, 0.22), transparent 50%),
    linear-gradient(145deg, #07111f 0%, #0f2240 55%, #132a48 100%);
  color: var(--gold-soft);
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  min-height: auto;
  display: block;
}

.hero-glow {
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(212, 162, 39, 0.28), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 7s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-inline: auto;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }
}

.brand-hero {
  margin: 0 0 0.55rem;
  font-family: "Segoe UI", "Vazirmatn", Tahoma, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #d4a916;
  direction: ltr;
  unicode-bidi: isolate;
  text-shadow: 0 0 40px rgba(212, 169, 22, 0.25);
  animation: rise 0.8s ease both;
}

.brand-hero span {
  color: #f0e6c0;
  font-weight: 500;
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  max-width: 22ch;
  animation: rise 0.9s 0.08s ease both;
}

.lede {
  margin: 0 0 1.35rem;
  max-width: 38ch;
  color: rgba(243, 230, 194, 0.9);
  font-size: 1.02rem;
  animation: rise 1s 0.14s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1s 0.2s ease both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  animation: rise 1s 0.26s ease both;
}
.hero-badges li {
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 230, 194, 0.28);
  color: rgba(243, 230, 194, 0.88);
}

.price-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}
.price-link:hover {
  color: var(--gold);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.price-panel {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 1.5rem 1.4rem 1.25rem;
  box-shadow: var(--shadow);
  animation: rise 1s 0.18s ease both;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.price-kicker {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.price-value-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.price-value {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.price-value-row .unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.price-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.45rem;
  font-size: 0.92rem;
}

.chg.up { color: var(--ok); }
.chg.down { color: var(--bad); }

.price-chart {
  margin-top: 1.1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(212, 169, 22, 0.1), rgba(10, 22, 40, 0.03));
  border: 1px solid rgba(26, 35, 50, 0.06);
  padding: 0.7rem 0.75rem 0.55rem;
  overflow: visible;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.chart-title {
  font-weight: 600;
  color: var(--ink);
}

.chart-range {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.chart-canvas {
  position: relative;
  height: 130px;
  border-radius: 10px;
  overflow: visible;
  cursor: crosshair;
  touch-action: none;
}

.chart-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}

.price-chart .chart-grid line {
  stroke: rgba(26, 35, 50, 0.08);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.price-chart .chart-line {
  stroke: #d4a916;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  fill: none;
}

.price-chart.is-up .chart-line,
.price-chart.is-up .chart-focus {
  stroke: #1f8a5b;
}

.price-chart.is-down .chart-line,
.price-chart.is-down .chart-focus {
  stroke: #c43c3c;
}

.price-chart.is-up .chart-focus { fill: #1f8a5b; }
.price-chart.is-down .chart-focus { fill: #c43c3c; }

.price-chart .chart-area {
  opacity: 0.95;
}

.price-chart .chart-dots circle {
  fill: #d4a916;
  stroke: #fff;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.price-chart.is-up .chart-dots circle { fill: #1f8a5b; }
.price-chart.is-down .chart-dots circle { fill: #c43c3c; }

.price-chart .chart-cross-x {
  stroke: rgba(26, 35, 50, 0.28);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  pointer-events: none;
}

.price-chart .chart-focus {
  fill: #d4a916;
  stroke: #fff;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  pointer-events: none;
}

.price-chart.is-active .chart-cross-x,
.price-chart.is-active .chart-focus {
  opacity: 1;
}

.chart-tooltip {
  position: absolute;
  z-index: 3;
  min-width: 148px;
  max-width: 210px;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(10, 22, 40, 0.94);
  color: #f7f3ea;
  box-shadow: 0 10px 28px rgba(8, 18, 34, 0.28);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
  font-size: 0.78rem;
  line-height: 1.45;
}

.chart-tooltip .tip-date {
  color: rgba(247, 243, 234, 0.72);
  margin-bottom: 0.15rem;
}

.chart-tooltip .tip-price {
  font-weight: 700;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.chart-tooltip .tip-meta {
  margin-top: 0.2rem;
  color: rgba(247, 243, 234, 0.78);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.chart-tooltip .tip-meta.up { color: #7ddea8; }
.chart-tooltip .tip-meta.down { color: #f0a0a0; }

.trade {
  margin-top: 0;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 2.75rem;
  position: relative;
  z-index: 2;
  background: #f3f6f9;
}

.trade-card {
  width: min(760px, 100%);
  margin-inline: auto;
  background: var(--white);
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1.4rem;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(10, 22, 40, 0.1);
}

.trade-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.tab.is-on {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.trade-fields {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .trade-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.field input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  background: #fbfcfd;
  direction: ltr;
  text-align: right;
}

.field input:focus {
  outline: 2px solid rgba(212, 162, 39, 0.45);
  border-color: var(--gold);
}

.trade-hint {
  margin: 0.85rem 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 3.5rem;
}

.section h2,
.why h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.why-grid,
.service-grid,
.license-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .why-grid,
  .service-grid,
  .license-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-grid article,
.service-grid article,
.license-card,
.delivery-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.15rem;
}

.why-grid h3,
.service-grid h3,
.license-card h3,
.steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--ink-2);
}

.why-grid p,
.service-grid p,
.license-card p,
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-grid a {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
  border-bottom: 1px solid rgba(212, 162, 39, 0.5);
}

.steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  padding-inline-start: 3.4rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 1rem;
  top: 1.15rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.delivery-box {
  display: grid;
  gap: 1rem;
}
.delivery-box ul {
  margin: 0;
  padding-inline-start: 1.2rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}
.faq-list details {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.35rem 1rem 0.7rem;
}
.faq-list summary {
  position: relative;
  cursor: pointer;
  font-weight: 700;
  padding: 0.75rem 0;
  padding-inline-end: 1.5rem;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 0;
  top: 0.85rem;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list p {
  margin: 0 0 0.55rem;
  color: var(--muted);
}

.guide-hub {
  background: linear-gradient(180deg, #f3efe6 0%, var(--paper) 100%);
}

.guide-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-card {
  display: block;
  padding: 1.25rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.guide-card:hover {
  border-color: rgba(201, 162, 39, 0.55);
  transform: translateY(-2px);
}

.guide-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, var(--font-brand));
  font-size: 1.15rem;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.compare-table {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 0.95rem;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-head {
  background: var(--ink);
  color: #f7f3ea;
  font-weight: 700;
}

.compare-row span:nth-child(2) {
  font-weight: 600;
  color: #1a7a4c;
}

.compare-head span:nth-child(2) {
  color: #f7f3ea;
}

.app-cta {
  text-align: center;
  background: linear-gradient(135deg, #1a2332 0%, #2a3548 100%);
  color: #f7f3ea;
  border-radius: 0;
}

.app-cta .section-lede {
  color: rgba(247, 243, 234, 0.82);
}

.app-cta h2 {
  color: #f7f3ea;
}

.seo-copy p,
.seo-copy li {
  color: var(--muted);
}
.seo-copy a {
  color: var(--ink-2);
  border-bottom: 1px solid rgba(212, 162, 39, 0.45);
  font-weight: 600;
}
.seo-copy ul {
  padding-inline-start: 1.2rem;
}
.seo-copy h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.15rem;
}

.contact p a {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(243, 230, 194, 0.75);
  padding: 2.25rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
}

.foot-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 800px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .foot-grid-5 {
    grid-template-columns: 1.1fr 1fr 1fr 1fr 0.85fr;
  }
}

.foot-brand .brand-word {
  font-size: 1.35rem;
}

.foot-brand p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.site-footer nav {
  display: grid;
  gap: 0.45rem;
}
.site-footer nav h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #fff;
}
.site-footer nav a:hover {
  color: #fff;
}

.copy {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 230, 194, 0.12);
  font-size: 0.82rem;
  opacity: 0.65;
}

.page {
  max-width: 920px;
  width: min(920px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.75rem 1.25rem 3.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.06);
}

.page-hero {
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.25rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--ink-2);
  border-bottom: 1px solid rgba(212, 162, 39, 0.35);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
}

.page-updated {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding: 0;
  margin: 0.75rem 0 1rem;
  list-style: none;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-inline-start: 1.35rem;
  margin-bottom: 0.45rem;
}

.prose ul li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-weight: 700;
}

.prose ol {
  counter-reset: prose-ol;
}
.prose ol li {
  counter-increment: prose-ol;
}
.prose ol li::before {
  content: counter(prose-ol) ".";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.prose a {
  color: var(--ink-2);
  border-bottom: 1px solid rgba(212, 162, 39, 0.45);
  font-weight: 600;
}

.prose .btn {
  border-bottom: 0;
  margin-top: 0.5rem;
}

.prose .faq-list {
  margin-top: 0.5rem;
}

.prose .compare-table {
  margin-top: 1rem;
}

.prose .terms-ol {
  margin: 1rem 0 1.5rem;
  padding-inline-start: 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.prose .terms-ol li {
  color: var(--muted);
  line-height: 1.85;
  padding-inline-start: 0.25rem;
}

.prose .muted-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.85;
}

body.subpage {
  background:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(212, 162, 39, 0.12), transparent 50%),
    linear-gradient(180deg, #f3f6f9 0%, var(--paper) 100%);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
