/* ================================================================
   Language Guru — site stylesheet
   Palette   porcelain #F6F7FB · ink #1C2440 · saffron #F2A81D
             teal #2C7A6E · plum #7A3E6E · moss #5B7A3E
   Type      Plus Jakarta Sans (display) · Inter (body)
             Spline Sans Mono (score chips)
   Signature exam scale chips
   ================================================================ */

:root {
  --porcelain: #F6F7FB;
  --card: #FFFFFF;
  --ink: #1C2440;
  --ink-2: #39406B;
  --ink-soft: #5A628C;
  --line: #E3E6F0;
  --saffron: #F2A81D;
  --saffron-deep: #C87F06;
  --saffron-soft: #FCEFD3;
  --teal: #2C7A6E;
  --teal-soft: #E0F0ED;
  --plum: #7A3E6E;
  --plum-soft: #F2E4EF;
  --moss: #5B7A3E;
  --moss-soft: #EAF0E1;
  --indigo-soft: #E7EAF7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px -18px rgba(28, 36, 64, .22);
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--porcelain);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.pt-0 { padding-top: 0 !important; }

/* ---------------- type scale ---------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--saffron); border-radius: 2px; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.015em;
  max-width: 21ch;
}
.h1-sm {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.lead { color: var(--ink-soft); font-size: 18px; max-width: 58ch; }
.sect-sub { margin-top: 12px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid {
  background: linear-gradient(150deg, #263056, var(--ink) 55%);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(28, 36, 64, .55);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(28, 36, 64, .6); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(28,36,64,.35); }
.btn-saffron { background: var(--saffron); color: var(--ink); }
.btn-saffron:hover { background: #FFBE3D; box-shadow: 0 14px 30px -14px rgba(242, 168, 29, .7); }
.btn-lg { padding: 14px 28px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------------- announce + topbar ---------------- */
.announce {
  background: linear-gradient(90deg, #1A2138, var(--ink) 40%, #232C52);
  color: #EDEFF9;
  font-size: 13.5px;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 2px solid var(--saffron);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 247, 251, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  border-radius: 11px;
}
.logo-mark-inv { background: var(--saffron); }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; font-size: 15px; color: var(--ink-2);
  padding: 8px 13px; border-radius: 10px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover { background: var(--indigo-soft); color: var(--ink); }
.nav-link.active { background: var(--saffron-soft); color: var(--ink); font-weight: 600; }
.nav-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 230px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.nav-drop.open .drop { display: block; }
.drop a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.drop a:hover { background: var(--saffron-soft); }
.topbar-cta { margin-left: auto; display: flex; gap: 10px; }
.burger { display: none; }

/* ---------------- hero ---------------- */
.hero { padding: 46px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 380px at 97% 34%, rgba(242, 168, 29, .17), transparent 70%),
    radial-gradient(640px 340px at 88% -4%, rgba(242, 168, 29, .14), transparent 62%),
    radial-gradient(circle 300px at -4% 96%, rgba(44, 122, 110, .13), transparent 70%),
    radial-gradient(420px 280px at 55% 118%, rgba(122, 62, 110, .07), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(28, 36, 64, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 36, 64, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(720px 460px at 28% 18%, #000 0%, transparent 72%);
          mask-image: radial-gradient(720px 460px at 28% 18%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

/* hero mini stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 36px;
}
.hstat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.hstat span { font-size: 13.5px; color: var(--ink-soft); }

/* --------- the world of exams --------- */
.globe-scene {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 1 / 1;
  margin-left: auto;
}
.globe {
  position: absolute;
  inset: 19%;
  width: 62%;
  height: 62%;
  animation: globe-drift 9s ease-in-out infinite;
}
@keyframes globe-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.ring {
  position: absolute;
  border: 2px dashed #C7CDE2;
  border-radius: 50%;
  pointer-events: none;
}
.ring-1 { inset: 11%; }
.ring-2 { inset: -1%; border-color: #D8DCEC; }

.orbit {
  position: absolute;
  inset: 0;
  animation: orbit-spin 38s linear infinite;
}
.orbit-2 { animation: orbit-spin 58s linear infinite reverse; }
.globe-scene:hover .orbit, .globe-scene:hover .globe { animation-play-state: paused; }

.chip-pos, .plane-pos {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
}
.orbit-1 .chip-pos { transform: rotate(var(--a)) translateX(calc(var(--scene) * .39)) rotate(calc(-1 * var(--a))); }
.orbit-2 .chip-pos { transform: rotate(var(--a)) translateX(calc(var(--scene) * .51)) rotate(calc(-1 * var(--a))); }
.plane-pos { transform: rotate(var(--a)) translateX(calc(var(--scene) * .51)) rotate(180deg); }
.globe-scene { --scene: min(480px, 88vw); }

.chip-counter { display: inline-block; transform: translate(-50%, -50%); }
.counter-1 { animation: orbit-unspin 38s linear infinite; }
.counter-2 { animation: orbit-unspin 58s linear infinite reverse; }
.plane-pos svg { transform: translate(-50%, -50%); display: block; }

@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit-unspin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

.orbit-chip {
  display: grid;
  gap: 1px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px 9px;
  white-space: nowrap;
  box-shadow: 0 12px 26px -14px rgba(28, 36, 64, .4);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.orbit-chip b {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.orbit-chip b::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 3px;
  background: currentColor;
  color: inherit;
}
.orbit-chip i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
}
.orbit-chip:hover { transform: scale(1.07); box-shadow: 0 18px 34px -14px rgba(28, 36, 64, .5); border-color: currentColor; }
.oc-saffron b::before { background: var(--saffron); }
.oc-saffron i, .oc-saffron:hover { color: var(--saffron-deep); }
.oc-teal b::before { background: var(--teal); }
.oc-teal i, .oc-teal:hover { color: var(--teal); }
.oc-plum b::before { background: var(--plum); }
.oc-plum i, .oc-plum:hover { color: var(--plum); }
.oc-indigo b::before { background: var(--ink-2); }
.oc-indigo i, .oc-indigo:hover { color: var(--ink-2); }
.oc-moss b::before { background: var(--moss); }
.oc-moss i, .oc-moss:hover { color: var(--moss); }
.hero-eyebrow {
  display: inline-flex;
  background: var(--saffron-soft);
  color: var(--saffron-deep);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #F3DCA6;
}
.hero-eyebrow::before { display: none; }
.hero-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6.6vw, 76px);
  line-height: 1.03;
  letter-spacing: -.025em;
  max-width: 15ch;
  white-space: pre-line;
}
.hero-h .hl {
  font-style: normal;
  position: relative;
  color: var(--saffron-deep);
}
.hero-sub { margin-top: 20px; font-size: 19px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }


/* ---------------- sections ---------------- */
.section { padding: 84px 0; }
.section-tint { background: linear-gradient(180deg, #FFFFFF 0%, var(--porcelain) 100%); border-block: 1px solid var(--line); }

/* ---------------- exam cards ---------------- */
.exam-section { position: relative; }
.exam-head { max-width: 640px; }
.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.exam-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px -20px rgba(28, 36, 64, .3);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.exam-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.exam-card::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  right: -90px; top: -90px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.exam-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -26px rgba(28, 36, 64, .5);
  border-color: transparent;
}
.exam-card:hover::before { transform: scaleX(1); }
.exam-card:hover::after { opacity: .06; }

.exam-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.exam-tile {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .02em;
  color: #fff;
  box-shadow: 0 10px 20px -10px currentColor;
  transition: transform .22s ease;
}
.exam-card:hover .exam-tile { transform: scale(1.08) rotate(-4deg); }
.exam-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin-top: 2px; }
.exam-card p { color: var(--ink-soft); font-size: 15.5px; flex: 1; line-height: 1.6; }
.exam-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; margin-top: 2px; }
.exam-go svg { transition: transform .22s ease; }
.exam-card:hover .exam-go svg { transform: translateX(4px); }

.scale-chip {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip-solid { background: var(--ink); color: #fff; align-self: flex-start; }

/* tone system: accent bar + tile gradient + chip + link color + glow */
.tone-saffron.exam-card { color: var(--saffron); }
.tone-saffron.exam-card::before { background: linear-gradient(90deg, var(--saffron), #FFCE6B); }
.tone-saffron .exam-tile { background: linear-gradient(140deg, var(--saffron), var(--saffron-deep)); color: var(--ink); }
.tone-saffron .scale-chip { background: var(--saffron-soft); color: var(--saffron-deep); }
.tone-saffron .exam-go { color: var(--saffron-deep); }

.tone-teal.exam-card { color: var(--teal); }
.tone-teal.exam-card::before { background: linear-gradient(90deg, var(--teal), #57B3A4); }
.tone-teal .exam-tile { background: linear-gradient(140deg, #3E9486, var(--teal)); }
.tone-teal .scale-chip { background: var(--teal-soft); color: var(--teal); }
.tone-teal .exam-go { color: var(--teal); }

.tone-indigo.exam-card { color: var(--ink-2); }
.tone-indigo.exam-card::before { background: linear-gradient(90deg, var(--ink-2), #6F7ABF); }
.tone-indigo .exam-tile { background: linear-gradient(140deg, #4A548F, var(--ink-2)); }
.tone-indigo .scale-chip { background: var(--indigo-soft); color: var(--ink-2); }
.tone-indigo .exam-go { color: var(--ink-2); }

.tone-plum.exam-card { color: var(--plum); }
.tone-plum.exam-card::before { background: linear-gradient(90deg, var(--plum), #B06CA2); }
.tone-plum .exam-tile { background: linear-gradient(140deg, #99548B, var(--plum)); }
.tone-plum .scale-chip { background: var(--plum-soft); color: var(--plum); }
.tone-plum .exam-go { color: var(--plum); }

.tone-moss.exam-card { color: var(--moss); }
.tone-moss.exam-card::before { background: linear-gradient(90deg, var(--moss), #8AA968); }
.tone-moss .exam-tile { background: linear-gradient(140deg, #79995A, var(--moss)); }
.tone-moss .scale-chip { background: var(--moss-soft); color: var(--moss); }
.tone-moss .exam-go { color: var(--moss); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.3,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }


/* ---------------- timeline spine ---------------- */
.spine-section { position: relative; overflow: hidden; }
.spine-layout { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.spine-intro { position: sticky; top: 96px; }
.spine-intro .h2 { font-size: clamp(26px, 3.4vw, 38px); }

.spine { position: relative; padding: 8px 0; }
.spine-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: var(--line);
  border-radius: 3px;
}
.spine-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 0;
  background: linear-gradient(180deg, var(--teal), var(--saffron));
  border-radius: 3px;
  transition: height 1.1s ease;
}
.spine.filled .spine-fill { height: 100%; }

.spine-node {
  position: relative;
  width: 50%;
  padding: 22px 0;
  box-sizing: border-box;
}
.spine-node.left { left: 0; padding-right: 46px; text-align: right; }
.spine-node.right { left: 50%; padding-left: 46px; text-align: left; }

.node-dot {
  position: absolute;
  top: 34px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--saffron);
  box-shadow: 0 0 0 5px var(--porcelain), 0 8px 18px -6px rgba(242,168,29,.6);
  display: grid; place-items: center;
  font-size: 15px;
  z-index: 2;
}
.spine-node.left .node-dot { right: -17px; }
.spine-node.right .node-dot { left: -17px; }

.node-connector {
  position: absolute;
  top: 49px;
  width: 46px; height: 3px;
  background: var(--line);
  z-index: 1;
}
.spine-node.left .node-connector { right: 0; }
.spine-node.right .node-connector { left: 0; }

.node-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 14px 30px -22px rgba(28,36,64,.4);
  transition: transform .22s ease, box-shadow .22s ease;
  display: inline-block;
  text-align: left;
}
.node-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(28,36,64,.5); }
.node-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 2px solid var(--saffron);
  padding-bottom: 3px;
  margin-bottom: 12px;
}
.node-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 7px; }
.node-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* reveal slides in from the correct side */
.spine-node.left.reveal { transform: translateX(28px); }
.spine-node.right.reveal { transform: translateX(-28px); }
.spine-node.reveal.in { transform: none; }

@media (max-width: 900px) {
  .spine-layout { grid-template-columns: 1fr; gap: 30px; }
  .spine-intro { position: static; }
  .spine-line { left: 18px; }
  .spine-fill { }
  .spine-node, .spine-node.left, .spine-node.right {
    width: 100%; left: 0;
    padding: 16px 0 16px 52px;
    text-align: left;
  }
  .spine-node.left .node-dot, .spine-node.right .node-dot { left: 1px; right: auto; }
  .spine-node.left .node-connector, .spine-node.right .node-connector { left: 18px; width: 30px; }
  .spine-node.left.reveal, .spine-node.right.reveal { transform: translateY(22px); }
  .spine-node.reveal.in { transform: none; }
}

/* ---------------- features ---------------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.feat-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  font-size: 22px;
  background: linear-gradient(140deg, #FDEFCF, #FBDF9E);
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(200, 127, 6, .18);
}
.feat { transition: transform .18s ease, box-shadow .18s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -22px rgba(28, 36, 64, .35); }
.feat h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feat p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------------- stats ---------------- */
.stats {
  background:
    radial-gradient(500px 220px at 90% 0%, rgba(242, 168, 29, .16), transparent 60%),
    linear-gradient(120deg, #171E36, var(--ink) 55%, #232C52);
  color: #fff;
  padding: 48px 0;
  border-block: 2px solid var(--saffron);
}
.stats-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 26px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.02em;
  color: var(--saffron);
}
.stat span { color: #B9BFDB; font-size: 15px; }

/* ---------------- steps ---------------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 40px;
  list-style: none;
}
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--teal);
  display: inline-block;
  border-bottom: 2px solid var(--saffron);
  padding-bottom: 4px;
  margin-bottom: 14px;
}
.steps h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 15px; }

/* ---------------- testimonials ---------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote blockquote { font-size: 16px; line-height: 1.65; flex: 1; }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption span { color: var(--ink-soft); font-size: 14px; }

/* ---------------- pricing ---------------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 40px;
  align-items: start;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}
.plan-featured {
  border: 2px solid var(--saffron);
  box-shadow: 0 22px 50px -20px rgba(242, 168, 29, .45);
}
.plan-flag {
  position: absolute; top: -13px; left: 26px;
  background: var(--saffron);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.plan-type { font-family: var(--font-mono); font-size: 12px; color: var(--teal); letter-spacing: .05em; text-transform: uppercase; margin: 4px 0 18px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.plan-price .cur { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); }
.plan-price b { font-family: var(--font-display); font-weight: 800; font-size: 46px; letter-spacing: -.03em; }
.plan-price .per { color: var(--ink-soft); font-size: 14.5px; }
.plan ul { list-style: none; margin-bottom: 24px; display: grid; gap: 9px; }
.plan li { padding-left: 26px; position: relative; font-size: 15px; color: var(--ink-2); }
.plan li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--teal);
  font-weight: 700;
}
.plan-note { margin-top: 22px; color: var(--ink-soft); font-size: 14px; }

/* ---------------- faq ---------------- */
.faq { margin-top: 30px; display: grid; gap: 10px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 17px 0;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--saffron-deep);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------------- richtext / prose ---------------- */
.prose h2 { margin-bottom: 18px; }
.prose h3 { font-family: var(--font-display); font-size: 20px; margin: 26px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 14px 22px; color: var(--ink-2); }
.prose a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- cta band ---------------- */
.cta-band {
  background: linear-gradient(130deg, #171E36, var(--ink) 50%, #283158);
  box-shadow: 0 26px 60px -30px rgba(28, 36, 64, .6);
  color: #fff;
  border-radius: 26px;
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 260px at 90% 10%, rgba(242, 168, 29, .25), transparent 65%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -.02em;
  max-width: 22ch;
}
.cta-band p { color: #C6CBE4; margin-top: 10px; max-width: 52ch; }
.cta-band > * { position: relative; }
.cta-art {
  position: absolute;
  right: -10px; top: -10px;
  width: 190px; height: 190px;
  pointer-events: none;
}
@media (max-width: 700px) { .cta-art { width: 130px; height: 130px; opacity: .55; } }


/* ---------------- contact form ---------------- */
.contact-hero { padding-bottom: 30px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: 14.5px; }
.form input, .form select, .form textarea {
  font-family: inherit;
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--porcelain);
  color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--saffron);
  background: #fff;
}
.notice {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-weight: 500;
}
.notice-good { background: var(--teal-soft); color: var(--teal); border: 1px solid #BBDDD6; }

/* ---------------- footer ---------------- */
.footer { background: var(--ink); color: #C6CBE4; margin-top: 40px; }
.footer .logo-word { color: #fff; }
.footer-in {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding: 60px 24px 40px;
}
.footer-brand p { margin-top: 14px; font-size: 15px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
}
.footer-col a { display: block; padding: 5px 0; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid #313A63;
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 13.5px;
}
.footer-scales { font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------------- responsive ---------------- */
@media (max-width: 920px) {
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    gap: 2px;
  }
  .nav.open { display: flex; }
  .nav-drop .drop { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; }
  .topbar-cta .btn-ghost { display: none; }
  .burger {
    display: grid;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
  }
  .burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .globe-scene { margin: 0 auto; width: min(360px, 88vw); --scene: min(360px, 88vw); }
  .orbit-chip { font-size: 11.5px; padding: 6px 12px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit, .counter-1, .counter-2, .globe { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  
  * { transition: none !important; }
}
