/* ==========================================================================
   Script Pro — page stylesheet. Loaded after base.css.
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: 88px 72px;
  overflow: hidden;
}

/* Soft gold-tinted glow behind the hero — brand's only permitted coloured glow */
.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  right: -180px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(227, 178, 60, 0.10) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--s7);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--graphite);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--s4);
}
.hero__badge .logo__mark { height: 24px; }
.hero__badge .tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  padding: 2px 6px;
}

.hero h1 { margin-bottom: var(--s4); }

.hero__sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 54ch;
  margin-bottom: var(--s4);
}

.hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s3);
  margin-bottom: var(--s2);
}
.hero__price-old {
  font-size: 17px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.hero__price-now {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.hero__note {
  font-size: 14px;
  color: var(--gold);
  max-width: 46ch;
  margin-bottom: var(--s4);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s3);
}

.hero__trust {
  font-size: 13px;
  color: var(--text-dim);
}

/* Demo / VSL frame — dark app-window frame with a soft gold-tinted glow */
.vsl {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--graphite);
  box-shadow: var(--shadow-lift), 0 0 60px rgba(227, 178, 60, 0.06);
  overflow: hidden;
}

.vsl__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--graphite-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.vsl__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.vsl__time svg { width: 13px; height: 13px; }

.vsl__stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #0D0D10;
  color: var(--text);
  cursor: pointer;
  text-align: center;
}

/* Poster: the app dashboard. Dark scrim keeps the label readable. */
.vsl__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vsl__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.1) 35%, rgba(10, 10, 12, 0.82) 100%);
  pointer-events: none;
}

.vsl__play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(10, 10, 12, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--gold);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.vsl__play svg { width: 26px; height: 26px; margin-left: 3px; }

.vsl__stage:hover .vsl__play {
  transform: scale(1.06);
  background: var(--gold);
  color: var(--void);
  box-shadow: 0 0 34px rgba(227, 178, 60, 0.35);
}

.vsl__label {
  position: absolute;
  z-index: 1;
  left: var(--s3);
  right: var(--s3);
  bottom: var(--s4);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

/* Inline player — replaces the poster inside the same frame. Fullscreen is the
   player's own control. Video is 16:9 inside the 16:10 stage; the bars are black. */
.vsl__stage.is-playing { cursor: default; background: #000; }
.vsl__stage.is-playing::after { display: none; }
.vsl__frame:focus-visible { outline: none; }
.vsl__frame {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  transform: translateY(-50%);
  border: 0;
}

/* --- Marquee -------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--border);
  background: var(--graphite);
  padding-block: 18px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__group li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-inline: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee__group li::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* --- The engine (bento) --------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: var(--s4);
  align-items: stretch;
}

.bento__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.bento__right > .stage-card:first-child { grid-column: 1 / -1; }

.stage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s4);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stage-card:hover {
  border-color: #3A3A42;
  transform: translateY(-2px);
}

.stage-card--feature { border-color: var(--gold-line); }

.stage-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--graphite-light);
  color: var(--gold);
  margin-bottom: var(--s4);
}
.stage-card__icon svg { width: 20px; height: 20px; }

.stage-card h3 { margin-bottom: 10px; }

.stage-card p {
  color: var(--text-dim);
  font-size: 15px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s3);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--graphite-light);
  font-size: 13px;
  font-weight: 500;
}
.chip svg { width: 13px; height: 13px; color: var(--gold); }

.ba {
  margin-top: auto;
  padding-top: var(--s4);
}
.ba hr { margin-bottom: var(--s3); }
.ba p { font-size: 13px; line-height: 1.5; }
.ba__before { color: var(--text-dim); margin-bottom: 6px; }
.ba__after { color: var(--success); font-weight: 500; }
.ba b { font-weight: 600; }

.input-list {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}
.input-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  font-size: 14px;
  color: var(--text);
}
.input-list svg { width: 16px; height: 16px; color: var(--text-dim); flex: none; }

/* --- Mid CTA band --------------------------------------------------------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s6);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.cta-band h2 { margin-bottom: var(--s2); }
.cta-band p { color: var(--text-dim); font-size: 15px; }

/* --- Founder -------------------------------------------------------------- */

.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s7);
  align-items: center;
}

.founder__photo {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
}

.founder__body p { color: var(--text-dim); margin-top: var(--s4); }
.founder__body h2 { margin-bottom: var(--s2); }

.quote {
  margin: var(--s5) 0 var(--s3);
  padding-left: var(--s4);
  border-left: 2px solid var(--gold);
  font-style: italic;
  color: var(--text);
}

.quote__cite {
  font-style: normal;
  font-size: 14px;
  color: var(--text-dim);
}

/* --- Pipeline stages ------------------------------------------------------ */

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}

.pipeline__card {
  padding: var(--s4);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.pipeline__card::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--chrome);
  margin-bottom: var(--s3);
}
.pipeline__step {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s2);
}
.pipeline__card h3 { font-size: 20px; margin-bottom: 6px; }
.pipeline__card p { font-size: 14px; color: var(--text-dim); }

/* --- Comparison table ----------------------------------------------------- */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.compare thead th {
  background: var(--graphite-light);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.compare thead th.is-elite { color: var(--gold); }

.compare tbody th {
  font-weight: 600;
  color: var(--text);
  width: 26%;
}

.compare td { color: var(--text-dim); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover th,
.compare tbody tr:hover td { background: rgba(255, 255, 255, 0.015); }

.v-yes { color: var(--success); font-weight: 500; }
.v-no { color: var(--error); font-weight: 500; }
.v-gold { color: var(--gold); }

/* --- Pricing -------------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
  max-width: 880px;
  margin-inline: auto;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s6) var(--s5) var(--s5);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.plan--featured {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-lift), 0 0 48px rgba(227, 178, 60, 0.07);
}

.plan__flag {
  position: absolute;
  top: var(--s4);
  right: var(--s5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan__flag svg { width: 12px; height: 12px; }

.plan__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--s2);
}

.plan__price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.plan__terms { font-size: 14px; color: var(--text-dim); }

.plan__for {
  font-size: 15px;
  font-weight: 500;
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}

.plan__features { margin: var(--s4) 0 var(--s5); }
.plan__features li {
  display: flex;
  gap: 10px;
  padding-block: 7px;
  font-size: 15px;
  color: var(--text-dim);
}
.plan__features svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: none;
  color: var(--gold);
}

.plan .btn { margin-top: auto; }

.plan__guarantee {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: var(--s3);
}

.plan__addon {
  font-size: 13px;
  color: var(--gold);
  margin-top: var(--s3);
}

/* --- Use cases ------------------------------------------------------------ */

.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.usecase {
  padding: var(--s5);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.usecase p { font-size: 17px; line-height: 1.5; margin-bottom: var(--s4); }
.usecase span {
  font-size: 13px;
  color: var(--text-dim);
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--gold-line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: 20px var(--s4);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 11px no-repeat;
  transition: transform 0.22s ease, background-size 0.22s ease;
}
.faq details[open] summary::after {
  transform: rotate(180deg);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 0 11px no-repeat;
}

.faq__answer {
  padding: 0 var(--s4) 20px;
  color: var(--text-dim);
  font-size: 15px;
}

/* --- Final CTA ------------------------------------------------------------ */

.final-cta {
  position: relative;
  text-align: center;
  padding: 72px var(--s5);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: auto 0 -60% 0;
  height: 320px;
  background: radial-gradient(ellipse at 50% 100%, rgba(227, 178, 60, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta > * { position: relative; }

.final-cta h2 { margin-bottom: var(--s4); }

.cta-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s3) var(--s5);
  margin-bottom: var(--s5);
}
.cta-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.cta-points svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

.final-cta .small { margin-top: var(--s3); }

/* --- Video modal ---------------------------------------------------------- */

.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__box {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.modal__box iframe { width: 100%; height: 100%; border: 0; }

.modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--graphite);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}
.modal__close:hover { background: var(--graphite-light); }
.modal__close svg { width: 15px; height: 15px; }

body.modal-open { overflow: hidden; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hero__sub { max-width: none; }
  .founder__grid { grid-template-columns: 1fr; gap: var(--s5); }
  .founder__photo { max-width: 480px; }
  .bento { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .usecases { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding-block: 56px 48px; }
  .bento__right { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .cta-band { padding: var(--s5) var(--s4); }
  .cta-band .btn { width: 100%; }
  .final-cta { padding: 56px var(--s4); }
  .hero__cta .btn { flex: 1 1 100%; }

  /* Comparison table collapses into per-feature blocks */
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; width: 100%; }

  .compare thead { display: none; }

  .compare tbody tr {
    padding: var(--s3) 0;
    border-bottom: 1px solid var(--border);
  }
  .compare tbody tr:last-child { border-bottom: 0; }

  .compare tbody th {
    padding: 0 var(--s4) 10px;
    border-bottom: 0;
    font-size: 15px;
  }

  .compare tbody td {
    padding: 4px var(--s4);
    border-bottom: 0;
    font-size: 14px;
  }
  .compare tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 2px;
  }
  .compare tbody td.is-elite::before { color: var(--gold); }
}

@media (max-width: 640px) {
  /* Keep the close control on screen once the frame fills the viewport */
  .modal__close { top: 8px; right: 8px; }
}

@media (max-width: 520px) {
  .pipeline { grid-template-columns: 1fr; }
  .plan { padding: var(--s5) var(--s4) var(--s4); }
  .plan__flag { position: static; align-self: flex-start; margin-bottom: var(--s3); }
  .quote { padding-left: var(--s3); }
}

/* --- Product logo in the hero badge --------------------------------------- */

.hero__badge img { width: 26px; height: 26px; border-radius: 7px; }

/* --- Languages (the flagship section) ------------------------------------- */

.langs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
}

.lang-card {
  display: flex;
  flex-direction: column;
  padding: var(--s5) var(--s4);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.lang-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.lang-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s4);
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--graphite-light);
  color: var(--gold);
}
.lang-card__icon svg { width: 20px; height: 20px; }
.lang-card h3 { font-size: 19px; margin-bottom: var(--s2); }
.lang-card p { font-size: 14px; color: var(--text-dim); }

/* Sample of the bilingual storyboard the section is describing */
.bilingual {
  margin: var(--s6) auto 0;
  max-width: 760px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--graphite);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.bilingual__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--graphite-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.bilingual__row {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: var(--s4);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.bilingual__row:last-child { border-bottom: 0; }
.bilingual__scene {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.bilingual__en { color: var(--text-dim); }
.bilingual__na { color: var(--text); }
.bilingual__foot {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--graphite-light);
  font-size: 13px;
  color: var(--text-dim);
}

/* --- Production modes ------------------------------------------------------ */

.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}

.mode {
  display: flex;
  flex-direction: column;
  padding: var(--s6) var(--s5) var(--s5);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.mode__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--s4);
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--graphite-light);
  color: var(--gold);
}
.mode__icon svg { width: 22px; height: 22px; }
.mode h3 { font-size: clamp(24px, 3vw, 28px); margin-bottom: var(--s2); }
.mode p { color: var(--text-dim); margin-bottom: var(--s4); }
.mode h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: auto 0 12px;
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}

.pacing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s3) var(--s4);
  margin-top: var(--s4);
  padding: var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--text-dim);
}
.pacing strong { color: var(--text); font-weight: 600; }

/* --- Under the hood -------------------------------------------------------- */

.hood {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}

.hood-card {
  padding: var(--s5) var(--s4);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.hood-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s4);
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--graphite-light);
  color: var(--gold);
}
.hood-card__icon svg { width: 20px; height: 20px; }
.hood-card h3 { font-size: 20px; margin-bottom: var(--s2); }
.hood-card p { font-size: 15px; color: var(--text-dim); }
.hood-card .stat-pair {
  display: flex;
  gap: var(--s5);
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}
.stat-pair div { flex: 1; }
.stat-pair b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-pair .is-before b { color: var(--error); }
.stat-pair .is-after b { color: var(--success); }
.stat-pair span { font-size: 12px; color: var(--text-dim); }

/* --- Responsive for the new sections --------------------------------------- */

@media (max-width: 1020px) {
  .langs { grid-template-columns: 1fr 1fr; }
  .hood { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .langs { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .mode { padding: var(--s5) var(--s4) var(--s4); }
  .bilingual__row { grid-template-columns: 1fr; gap: 6px; }
  .bilingual__scene { margin-bottom: 2px; }
}

/* --- "Tested end to end" band --------------------------------------------- */

.tested {
  max-width: 760px;
  margin: var(--s4) auto 0;
  padding: var(--s5);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--graphite);
}
.tested__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s4);
}
.tested__langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--s4);
}
.tested__langs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
}
.tested__langs li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}
.tested__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* Manual-ordering note under a plan button, until card checkout is live */
.plan__manual {
  margin-top: var(--s3);
  font-size: 13px;
  color: var(--gold);
}

@media (max-width: 760px) {
  .tested { padding: var(--s4); }
}
