/* Manrope variable font, self-hosted to avoid a render-blocking third-party request. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Clover Glade landing — calm dark minimalism */

:root {
  --bg: #1A1A23;
  --bg-alt: #13131A;
  --surface: #22222D;
  --surface-2: #1F1F29;
  --line: #2A2A35;
  --line-soft: #232330;
  --text: #F4F4F6;
  --text-2: #B8B8C4;
  --text-3: #8E8E9A;
  --text-4: #898995;
  --brand: #8055FF;
  --brand-text: #A98FFF;
  --brand-soft: rgba(128, 85, 255, 0.12);
  --brand-edge: rgba(128, 85, 255, 0.35);
  --danger: #E26060;
  --ok: #6BCB8E;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-chip: 8px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section { position: relative; }
.section-alt { background: var(--bg-alt); }

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 72px 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-3);
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--text-3);
}
.h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -0.022em; }
.h3 { font-size: clamp(20px, 2.0vw, 24px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.h4 { font-size: 19px; font-weight: 700; line-height: 1.3; }

.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--text-2); line-height: 1.55; max-width: 64ch; }
.micro { font-size: 14px; color: var(--text-3); line-height: 1.5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: #9068ff; }
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #3a3a48; background: rgba(255,255,255,0.02); }
.btn-sm { padding: 13px 18px; font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26,26,35,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 28px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav-logo img {
  height: 28px;
  width: 113px;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 1080px) {
  .nav-inner { gap: 20px; }
  .nav-links { gap: 18px; font-size: 14px; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-hamburger { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 88px;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 strong { color: var(--text); font-weight: 800; }
.hero h1 .num { color: var(--brand); }
.hero-deck {
  margin: 18px 0 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 28ch;
}
.hero-lead { margin-top: 22px; }
.hero-micro {
  margin-top: 26px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-3);
}
.hero-micro span { display: inline-flex; align-items: center; gap: 6px; }
.hero-micro span::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-4);
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 560px;
  margin-left: auto;
}
.hero-card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  width: 64%;
  aspect-ratio: 4/5;
}
.hero-card-before {
  top: 0;
  left: 0;
  z-index: 1;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.hero-card-after {
  bottom: 0;
  right: 0;
  z-index: 2;
  border-color: rgba(128,85,255,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(128,85,255,0.2);
}

/* product mock images */
.mock-before {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.mock-before-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}


.mock-after {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #101016 var(--video-poster) center / cover no-repeat;
}
.mock-after video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mock-after video.is-ready { opacity: 1; }
.mock-after-info {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: center;
  background: rgba(0,0,0,0.25);
}
.mock-info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-info-num {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.mock-info-num.brand { color: var(--brand); }
.mock-info-lbl {
  font-size: 11px;
  font-family: ui-monospace, monospace;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-arrow {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-3);
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-arrow .a-arrow {
  font-size: 20px;
  color: var(--brand);
}
.hero-arrow .a-time {
  color: var(--text-2);
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0; }
}

/* ---------- problem ---------- */
.section-head { max-width: 880px; margin-bottom: 56px; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 20px; }

.problem-process {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.process-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-num {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 13px;
  color: var(--text-4);
  padding-top: 4px;
}
.process-body h3 { font-size: 18px; margin-bottom: 6px; }
.process-body p { margin: 0; font-size: 15px; color: var(--text-3); }
.process-cost {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-top: 2px;
  white-space: nowrap;
}
.process-cost-sub { font-size: 12px; color: var(--text-4); font-weight: 500; }

.problem-total {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  position: sticky;
  top: 92px;
}
.problem-total-num {
  font-size: clamp(40px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
}
.problem-total-num .danger { color: var(--brand); }
.problem-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.problem-total-row:last-of-type { border-bottom: 0; }
.problem-total-row .lbl { color: var(--text-3); }
.problem-total-row .val {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.problem-total-foot {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--text-3);
}

@media (max-width: 880px) {
  .problem-process { grid-template-columns: 1fr; }
  .problem-total { position: static; }
}

/* ---------- solution / tables ---------- */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-top: 8px;
}
.cmp-table th, .cmp-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}
.cmp-table thead th {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-3);
  padding-top: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cmp-table .row-label {
  color: var(--text-3);
  width: 32%;
}
.cmp-table .cell-clover {
  background: var(--brand-soft);
  color: var(--text);
  font-weight: 600;
  border-left: 1px solid var(--brand-edge);
  border-right: 1px solid var(--brand-edge);
}
.cmp-table thead th.cell-clover {
  color: var(--brand);
  background: var(--brand-soft);
}
.cmp-table tr:last-child td.cell-clover {
  border-bottom: 1px solid var(--brand-edge);
}
.cmp-table .delta {
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.cmp-table .num {
  font-variant-numeric: tabular-nums;
}

.solution-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.solution-note {
  max-width: 60ch;
  font-size: 15px;
  color: var(--text-3);
}
.solution-note strong { color: var(--text-2); font-weight: 600; }

@media (max-width: 760px) {
  .cmp-table { font-size: 14px; }
  .cmp-table th, .cmp-table td { padding: 14px 12px; }
}

/* ---------- generation results ---------- */
.results-section {
  --results-gap: 18px;
  --results-edge: 12px;
  padding: 104px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(128, 85, 255, 0.22), transparent 32%),
    radial-gradient(circle at 88% 92%, rgba(82, 58, 174, 0.14), transparent 30%),
    var(--bg-alt);
  border-top: 1px solid rgba(128, 85, 255, 0.2);
  border-bottom: 1px solid var(--line-soft);
}
.results-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.results-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}
.results-head > div:first-child { max-width: 760px; }
.results-head .lead { margin: 18px 0 0; }
.results-controls { display: flex; gap: 10px; padding-bottom: 5px; }
.results-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(255,255,255,0.055);
  color: var(--text);
  font-size: 23px;
  line-height: 1;
  transition: transform 0.18s, background 0.18s, border-color 0.18s, opacity 0.18s;
}
.results-arrow:hover:not(:disabled) { transform: translateY(-2px); background: var(--brand); border-color: var(--brand); }
.results-arrow:focus-visible { outline: 2px solid #bcaaff; outline-offset: 3px; }
.results-arrow:disabled { opacity: 0.3; cursor: default; }
.results-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--results-edge);
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
}
.results-viewport::-webkit-scrollbar { display: none; }
.results-viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.results-viewport:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.results-track {
  display: flex;
  gap: var(--results-gap);
  width: max-content;
  padding: 4px var(--results-edge) 18px;
}
.result-card {
  position: relative;
  flex: 0 0 clamp(260px, 24vw, 352px);
  height: clamp(370px, 35vw, 510px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  background: #101016;
  box-shadow: 0 20px 54px rgba(0,0,0,0.26);
  scroll-snap-align: start;
  transform: translateZ(0);
}
.result-card-landscape { flex-basis: clamp(390px, 40vw, 580px); }
.result-card img,
.result-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.35s;
}
.result-card:hover img,
.result-card:hover video { transform: scale(1.025); }
.result-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8,8,12,0.9) 0, rgba(8,8,12,0.12) 28%, transparent 48%);
}
.result-card-video::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a98eff;
  box-shadow: 0 0 0 5px rgba(128,85,255,0.18), 0 0 18px rgba(128,85,255,0.8);
}
.result-card-video {
  background: #101016 var(--video-poster) center / cover no-repeat;
}
.result-card-video video { opacity: 0; }
.result-card-video video.is-ready { opacity: 1; }
.result-card figcaption {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 17px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}
.result-type {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(15,15,21,0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-weight: 600;
}
.result-type-motion { color: #d2c6ff; border-color: rgba(169,142,255,0.38); }
.results-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  color: var(--text-3);
  font-size: 13px;
}
.results-foot a { color: var(--text); font-size: 14px; font-weight: 600; transition: color 0.15s; }
.results-foot a:hover { color: #b8a5ff; }
.results-progress { height: 1px; overflow: hidden; background: rgba(255,255,255,0.12); }
.results-progress i { display: block; width: 100%; height: 100%; background: var(--brand); transform: scaleX(0.12); transform-origin: left center; }

@media (max-width: 760px) {
  .results-section { --results-gap: 12px; padding: 72px 0 62px; }
  .results-head { align-items: center; margin-bottom: 30px; }
  .results-head .lead { font-size: 16px; }
  .results-controls { display: none; }
  .results-track { padding-inline: var(--results-edge); }
  .results-viewport { scroll-padding-inline: var(--results-edge); }
  .result-card { flex-basis: min(78vw, 310px); height: min(116vw, 450px); border-radius: 18px; }
  .result-card-landscape { flex-basis: min(88vw, 430px); }
  .results-foot { grid-template-columns: auto 1fr; }
  .results-foot > span:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .result-card img,
  .result-card video,
  .results-arrow { transition: none; }
  .results-viewport { scroll-behavior: auto; }
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.feat {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
}
.feat-tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-3);
}
.feat h3 {
  font-size: 23px;
  letter-spacing: -0.018em;
  max-width: 24ch;
}
.feat p { color: var(--text-2); font-size: 16px; margin: 0; }
.feat-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.feat-meta-lbl {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-4);
  white-space: nowrap;
}
.feat-meta-val {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 1040px) {
  .features { grid-template-columns: 1fr; }
  .feat { min-height: auto; padding: 28px 22px; }
}

/* ---------- economy ---------- */
.roi-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.roi-stat {
  background: var(--bg);
  padding: 28px 28px 24px;
}
.roi-stat-lbl {
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: -0.005em;
  font-weight: 600;
}
.roi-stat-num {
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 14px;
}
.roi-stat-sub {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 12px;
  line-height: 1.4;
}
.roi-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow-x: auto;
  margin-top: 20px;
}
.roi-table-wrap .cmp-table { margin-top: 0; }
.roi-table-wrap .cmp-table th,
.roi-table-wrap .cmp-table td {
  padding: 16px 24px;
}
.roi-table-wrap .cmp-table {
  table-layout: fixed;
}
.roi-table-wrap .cmp-table th,
.roi-table-wrap .cmp-table td {
  width: 33.333%;
}
.roi-table-wrap .cmp-table thead th {
  padding-top: 22px;
  padding-bottom: 18px;
  font-size: 15px;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--text);
  font-weight: 600;
}
.roi-table-wrap .cmp-table thead th.row-label { color: var(--text-2); }
.roi-table-wrap .cmp-table thead th.cell-clover { color: var(--brand); font-weight: 700; }
.roi-table-wrap .cmp-table tr:last-child td { border-bottom: 0; }
.roi-table-wrap .cmp-table tr:last-child td.cell-clover { border-bottom: 0; }
.price-value,
.price-note {
  display: block;
}
.price-value {
  color: var(--text);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.price-note {
  margin-top: 5px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 880px) {
  .roi-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .roi-table-wrap {
    margin-top: 8px;
  }
  .roi-table-wrap .cmp-table {
    min-width: 680px;
  }
}

/* ---------- use cases ---------- */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.use-case-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
}
.use-case-tag {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.use-case-card h3 {
  font-size: 22px;
  max-width: 18ch;
}
.use-case-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}
.use-case-card strong {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .use-cases-grid { grid-template-columns: 1fr; }
  .use-case-card { min-height: auto; }
}

/* ---------- comparison ---------- */
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: auto;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 760px;
}
.compare th, .compare td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.compare thead th {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.compare thead th.col-clover {
  background: var(--brand-soft);
  color: var(--brand-text);
  border-top: 1px solid var(--brand-edge);
}
.compare tbody td.col-clover {
  background: var(--brand-soft);
  font-weight: 600;
  color: var(--text);
  border-left: 1px solid var(--brand-edge);
  border-right: 1px solid var(--brand-edge);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:last-child td.col-clover { border-bottom: 1px solid var(--brand-edge); }
.compare .row-lbl {
  color: var(--text-3);
  width: 24%;
  font-weight: 500;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.check::before {
  content: '';
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}
.cross {
  color: var(--text-4);
}

/* ---------- pricing ---------- */
.pricing-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 32px;
  align-items: end;
}
.pricing-head .h2,
.pricing-head .lead {
  grid-column: 1;
}
.pricing-head .h2 { margin-top: 0; }
.pricing-head .btn {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
}
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.token-tier {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 240px;
}
.token-tier-featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(128,85,255,0.06), var(--surface-2) 60%);
}
.token-tier-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0;
}
.token-rate {
  margin-top: 18px;
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.token-discount {
  margin-top: 10px;
  font-size: 15px;
  color: var(--brand-text);
  font-weight: 700;
}
.token-facts {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.token-facts li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.45;
}
.token-facts li::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-top: 4px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-edge);
  border-radius: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7.2 L5.8 10 L11 4.5' fill='none' stroke='%238055FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.pricing-foot {
  margin-top: 22px;
  font-size: 15px;
  color: var(--text-3);
  max-width: 900px;
}
.model-pricing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  margin-bottom: 20px;
}
.model-pricing-head .h3 {
  font-size: 28px;
}
.model-pricing-head p {
  margin: 0;
  color: var(--text-3);
  font-size: 14px;
}
.model-pricing-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.model-pricing-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}
.model-pricing-table th,
.model-pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.model-pricing-table thead th {
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
}
.model-pricing-table tbody th {
  color: var(--text);
  font-weight: 650;
}
.model-pricing-table tbody td {
  color: var(--text-2);
}
.model-pricing-table tbody tr:last-child th,
.model-pricing-table tbody tr:last-child td {
  border-bottom: 0;
}
.model-pricing-table .num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .pricing-head {
    display: block;
  }
  .pricing-head .btn {
    width: 100%;
    margin-top: 24px;
  }
  .model-pricing-head {
    display: block;
    margin-top: 48px;
  }
  .model-pricing-head p {
    margin-top: 8px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.faq-head .h2 { max-width: 12ch; }
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  font-size: 19px;
  font-weight: 600;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.faq-q .plus {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  margin-top: 4px;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--text-3);
  top: 50%; left: 50%;
  transition: transform 0.2s;
}
.faq-q .plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-q .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item.is-open .faq-q { color: var(--text); }
.faq-item.is-open .faq-q .plus::before { background: var(--brand); }
.faq-a {
  display: none;
  padding: 0 0 24px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 64ch;
}
.faq-item.is-open .faq-a { display: block; }

@media (max-width: 880px) {
  .faq { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- final cta ---------- */
.final-cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
}
.final-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.final-cta h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; }
.final-cta p { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.final-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.final-cta-micro {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-4);
}

.final-stat {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}
.final-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.final-stat-row:last-child { border-bottom: 0; }
.final-stat-row .lbl { color: var(--text-3); }
.final-stat-row .val { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 880px) {
  .final-cta-inner { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-pay {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links a:hover {
  color: var(--text-2);
}
.footer-pay-img {
  width: 358px;
  height: 28px;
  max-width: 100%;
  mix-blend-mode: luminosity;
}
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  transform: translate(-50%, 12px);
  padding: 12px 16px;
  border: 1px solid var(--brand-edge);
  border-radius: 999px;
  background: rgba(31,31,41,0.94);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.pay-chip {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-3);
  background: var(--surface-2);
}

@media (max-width: 880px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-btn) 0;
}
.skip-link:focus { left: 0; }

/* ---------- hamburger + mobile drawer ---------- */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }
.nav-hamburger:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-hamburger { display: flex; }
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mobile-drawer-nav {
  position: absolute;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-alt);
  border-left: 1px solid var(--line);
  padding: 80px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.mobile-drawer-nav a {
  display: block;
  font-size: 17px;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-2);
  transition: color 0.12s;
}
.mobile-drawer-nav a:hover { color: var(--text); }
.mobile-drawer-nav .btn {
  margin-top: 20px;
  border-bottom: 0;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

/* ---------- hero CTA mobile overflow fix ---------- */
@media (max-width: 480px) {
  .hero-cta .btn {
    white-space: normal;
    text-align: center;
  }
}

/* ---------- compare scroll hint ---------- */
.compare-scroll-hint {
  display: none;
  font-size: 13px;
  color: var(--text-4);
  text-align: center;
  padding: 10px 0 2px;
  letter-spacing: 0.01em;
}
@media (max-width: 760px) {
  .compare-scroll-hint { display: block; }
}

@media (max-width: 640px) {
  .copy-toast {
    left: 20px;
    right: 20px;
    bottom: 18px;
    transform: translateY(12px);
    text-align: center;
  }
  .copy-toast.is-visible {
    transform: translateY(0);
  }
}

/* ---------- legal pages ---------- */
.legal-main {
  padding: 72px 0 96px;
  background:
    radial-gradient(circle at 18% 0%, rgba(128,85,255,0.12), transparent 34%),
    var(--bg);
}
.legal-shell {
  max-width: 920px;
}
.legal-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.legal-title {
  max-width: 760px;
}
.legal-subtitle {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 20px;
}
.legal-doc {
  margin-top: 42px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-2);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}
.legal-doc h2 {
  margin: 34px 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.18;
}
.legal-doc h2:first-child {
  margin-top: 0;
}
.legal-doc h3 {
  margin: 28px 0 12px;
  font-size: 19px;
  line-height: 1.3;
}
.legal-doc p {
  margin: 0 0 12px;
  color: var(--text-2);
}
.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-2);
}
.legal-doc li {
  margin-bottom: 8px;
}
.legal-meta {
  display: grid;
  gap: 8px;
  margin: 6px 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  color: var(--text-2);
}
.legal-meta strong {
  color: var(--text);
}
.legal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

@media (max-width: 640px) {
  .legal-main { padding: 48px 0 72px; }
  .legal-subtitle { font-size: 18px; }
}

/* ---------- utilities ---------- */
.text-brand { color: var(--brand); }
.text-strong { color: var(--text); font-weight: 600; }
.divider {
  height: 1px;
  background: var(--line);
  margin: 56px 0;
}
.muted { color: var(--text-3); }

/* mobile padding tweak */
@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }
  .container { padding: 0 20px; }
  .feat { padding: 24px 20px; }
  .token-tier,
  .use-case-card { padding: 24px 20px; }
}
