﻿:root {
  --bg: #f4f7fb;
  --bg-soft: #fbfdff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-dark: #0f1e34;
  --ink: #102038;
  --ink-soft: #54657f;
  --ink-muted: #7c8ca4;
  --brand: #2153ff;
  --brand-deep: #1739ad;
  --brand-soft: #dce6ff;
  --mint: #d7f4ec;
  --mint-strong: #41b88a;
  --amber: #f0b25d;
  --danger: #c44d4d;
  --line: rgba(16, 32, 56, 0.12);
  --line-strong: rgba(16, 32, 56, 0.2);
  --shadow-xl: 0 28px 80px rgba(20, 41, 80, 0.16);
  --shadow-lg: 0 16px 36px rgba(20, 41, 80, 0.12);
  --shadow-sm: 0 10px 20px rgba(20, 41, 80, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1460px;
  --heading: "Newsreader", Georgia, serif;
  --body: "Outfit", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(33, 83, 255, 0.16), transparent 24%),
    radial-gradient(circle at 90% 0%, rgba(65, 184, 138, 0.14), transparent 24%),
    radial-gradient(circle at 90% 90%, rgba(240, 178, 93, 0.2), transparent 20%),
    linear-gradient(180deg, #fcfeff 0%, var(--bg-soft) 18%, #f1f6ff 55%, var(--bg) 100%);
  min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 24px 0 18px;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(240, 178, 93, 0.9), rgba(33, 83, 255, 0.86)),
    linear-gradient(180deg, #1f4ef2, #0f2668);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-kicker {
  color: var(--ink-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-name {
  font-weight: 700;
  font-size: 1.03rem;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.main-nav a,
.main-nav button.link-button {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: 160ms ease;
}

.main-nav a.active,
.main-nav a:hover,
.main-nav button.link-button:hover {
  color: var(--ink);
  background: rgba(16, 32, 56, 0.06);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
  padding: 11px 14px;
  border-radius: 999px;
}

.hero {
  padding: 34px 0 22px;
}

.hero-panel,
.content-panel,
.app-shell,
.pricing-grid article,
.card,
.legal-card,
.question-card,
.report-card,
.dashboard-card,
.faq-item,
.language-highlight {
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px);
}

.hero-panel {
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(33, 83, 255, 0.08);
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-heading h1,
.section-heading h2,
.app-intro h1,
.legal-card h1,
.results-summary h2,
.results-summary .results-headline {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.65rem, 7vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.07rem;
  line-height: 1.75;
  max-width: 64ch;
}

.hero-actions,
.stack-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-hero-language-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.home-hero-language-links strong {
  color: var(--ink);
}

.home-hero-language-links a {
  color: var(--primary-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-language-shell {
  display: grid;
  gap: 28px;
}

.guide-switch-panel {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px);
}

.guide-switch-copy,
.guide-subsection-head,
.guide-section-head,
.guide-mini-head {
  display: grid;
  gap: 12px;
}

.guide-switch-copy h2,
.guide-subsection-head h2,
.guide-section-head h3 {
  margin: 0;
  font-family: var(--heading);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.guide-switch-copy p,
.guide-subsection-head p,
.guide-section-copy p,
.guide-callout-card p,
.guide-map-card p,
.guide-mini-head p,
.guide-switch-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.guide-switch-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.guide-switch-button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.guide-switch-button:hover,
.guide-switch-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.guide-switch-button.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-color: transparent;
  color: #fff;
}

.guide-view {
  display: grid;
  gap: 24px;
}

.guide-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.guide-map-card,
.guide-section-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px);
}

.guide-map-card {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.guide-map-card h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.6rem;
  line-height: 1.05;
}

.guide-map-card a:hover,
.guide-map-card a:focus-visible {
  color: var(--brand-deep);
}

.guide-map-index,
.guide-index,
.guide-callout-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  font-weight: 800;
}

.guide-section-stack {
  display: grid;
  gap: 20px;
}

.guide-section-card {
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  gap: 20px;
}

.guide-section-head h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.guide-section-copy {
  display: grid;
  gap: 14px;
}

.guide-callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.guide-callout-card,
.guide-phrase-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.guide-callout-card {
  display: grid;
  gap: 10px;
}

.guide-phrase-wrap {
  display: grid;
  gap: 14px;
}

.guide-phrase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.guide-source-appendix {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.guide-source-appendix p {
  margin: 0;
  color: var(--ink);
  line-height: 1.9;
}

.guide-phrase-card {
  display: grid;
  gap: 8px;
}

.guide-translation-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.lang-script-pa {
  font-family: "Noto Sans Gurmukhi", var(--body);
}

.guide-section-copy-support p,
.guide-map-card .lang-script-pa,
.guide-subsection-head .lang-script-pa,
.guide-section-head .lang-script-pa,
.guide-mini-head .lang-script-pa,
.guide-phrase-card .lang-script-pa {
  line-height: 1.9;
}

@media (max-width: 860px) {
  .guide-switch-controls {
    flex-direction: column;
  }

  .guide-switch-button {
    width: 100%;
    justify-content: center;
  }
}
.button,
.button-ghost,
.button-secondary,
.button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  border: 1px solid transparent;
  transition: 160ms ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #4c7bff);
  box-shadow: 0 16px 30px rgba(33, 83, 255, 0.28);
}

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

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(16, 32, 56, 0.1);
}

.button-whatsapp {
  color: #083825;
  background: linear-gradient(135deg, #b8ffd8, #4fe28c);
  border-color: rgba(8, 56, 37, 0.16);
  box-shadow: 0 14px 28px rgba(38, 171, 96, 0.22);
}

.button-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(38, 171, 96, 0.28);
}

.button-ghost {
  color: var(--brand-deep);
  background: rgba(33, 83, 255, 0.08);
}

.button-quiet {
  color: var(--ink-soft);
  background: transparent;
  border-color: rgba(16, 32, 56, 0.12);
}

.button.small,
.button-secondary.small,
.button-ghost.small,
.button-quiet.small {
  padding: 10px 14px;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 100%;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(15, 30, 52, 0.88), rgba(18, 66, 115, 0.72)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%);
  padding: 22px;
  color: white;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.4;
}

.hero-stat-stack {
  position: relative;
  display: grid;
  gap: 14px;
}

.hero-stat,
.hero-language {
  position: relative;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-stat strong,
.hero-language strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.hero-language-grid,
.feature-grid,
.pricing-grid,
.story-grid,
.contact-grid,
.support-grid {
  display: grid;
  gap: 18px;
}

.hero-language-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-language span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.section {
  padding: 18px 0 56px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.section-heading p,
.card p,
.faq-item p,
.results-summary p,
.report-card p,
.meta-copy,
.list-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.feature-grid,
.pricing-grid,
.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.pricing-grid article,
.faq-item,
.legal-card,
.report-card,
.dashboard-card,
.language-highlight,
.content-panel,
.app-shell {
  padding: 24px;
}

.card h3,
.pricing-grid h3,
.faq-item h3,
.report-card h3,
.report-card .report-section-title,
.dashboard-card h3,
.language-highlight h3,
.content-panel h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.card ul,
.pricing-grid ul,
.check-list,
.meta-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.card li,
.pricing-grid li,
.check-list li,
.meta-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
}

.card li::before,
.pricing-grid li::before,
.check-list li::before,
.meta-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 5px;
  background: radial-gradient(circle, var(--mint-strong) 38%, rgba(65, 184, 138, 0.22) 40%);
}

.term-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.term-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(16, 32, 56, 0.04);
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.term-word {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--ink);
}

body[data-page="vocabulary"] .feature-grid {
  align-items: stretch;
}

body[data-page="vocabulary"] .feature-grid .card {
  display: flex;
  flex-direction: column;
}

body[data-page="vocabulary"] .feature-grid .card ul {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

body[data-page="vocabulary"] .feature-grid .card li {
  grid-template-columns: 1fr;
  gap: 6px;
}

body[data-page="vocabulary"] .feature-grid .card li::before {
  display: none;
}

body[data-page="vocabulary"] .feature-grid .card li strong {
  display: inline;
  color: var(--ink);
}

.term-meaning {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.word-help-intro,
.word-bank-columns {
  display: grid;
  gap: 20px;
}

.word-help-intro {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.word-help-box,
.word-bank-column {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.word-help-box h2,
.word-bank-column h3 {
  margin: 0 0 10px;
}

.word-help-box p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.word-bank-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.word-bank-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.word-bank-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(16, 32, 56, 0.04);
  border: 1px solid rgba(16, 32, 56, 0.08);
}


.word-bank-item h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--ink);
}

.word-bank-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.video-feature {
  display: grid;
  gap: 28px;
}

.video-feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
}

.video-panel,
.video-side-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.video-panel {
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.video-side-card {
  display: grid;
  gap: 14px;
  background: rgba(16, 32, 56, 0.92);
  color: rgba(255, 255, 255, 0.92);
}

.video-side-card h3,
.video-side-card h4 {
  margin: 0;
  color: #fff;
}

.video-side-card p,
.video-side-card li {
  color: rgba(255, 255, 255, 0.76);
}

.video-side-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  line-height: 1.7;
}

.intro-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 10%, rgba(33, 83, 255, 0.22), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(240, 178, 93, 0.18), transparent 28%),
    #091427;
  box-shadow: var(--shadow-sm);
}

.intro-scene {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 12%, rgba(52, 115, 246, 0.18), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(240, 178, 93, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(9, 20, 39, 0.98), rgba(17, 35, 63, 0.98));
  color: rgba(255, 255, 255, 0.94);
  min-height: 100%;
}

.intro-scene-header {
  display: grid;
  gap: 10px;
}

.scene-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-scene h3 {
  margin: 0;
  color: #fff;
}

.intro-scene p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.intro-language-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intro-language-pills span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
}

.intro-scene-grid {
  display: grid;
  gap: 14px;
}

.intro-scene-grid article {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-scene-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.pricing-grid .price {
  margin: 0 0 10px;
  font-family: var(--heading);
  font-size: 2.3rem;
  line-height: 1;
}

.pricing-grid .badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(65, 184, 138, 0.12);
  color: #117050;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-grid .featured {
  background:
    linear-gradient(180deg, rgba(33, 83, 255, 0.08), rgba(255, 255, 255, 0.92)),
    var(--surface);
  transform: translateY(-6px);
}

body[data-page="home"] .site-header {
  position: relative;
  padding: 0;
  backdrop-filter: none;
}

body[data-page="home"] .header-inner {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(10, 24, 44, 0.72);
  background: linear-gradient(180deg, #0d213e, #10294b);
  box-shadow: 0 20px 50px rgba(10, 24, 44, 0.26);
}

@media (max-width: 1240px) and (min-width: 981px) {
  .header-inner {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand-kicker {
    font-size: 0.65rem;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.76rem;
  }

  .main-nav {
    gap: 2px;
  }

  .main-nav a,
  .main-nav button.link-button {
    padding: 10px 10px;
    font-size: 0.9rem;
  }

  body[data-page="home"] .header-inner {
    padding: 14px 16px;
  }
}

@media (max-width: 1320px) and (min-width: 981px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-radius: 30px;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 8px;
  }

  .main-nav.open {
    display: flex;
  }
}

body[data-page="home"] .brand-badge {
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f4f4f4);
  color: #dd2e34;
  box-shadow: inset 0 0 0 1px rgba(13, 33, 62, 0.08);
}

body[data-page="home"] .brand-kicker,
body[data-page="home"] .brand-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="home"] .brand-name {
  color: #fff;
}

body[data-page="home"] .main-nav a,
body[data-page="home"] .main-nav button.link-button {
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="home"] .main-nav a.active,
body[data-page="home"] .main-nav a:hover,
body[data-page="home"] .main-nav button.link-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .main-nav a:last-child {
  background: linear-gradient(135deg, #ef4147, #d82935);
  color: #fff;
  box-shadow: 0 12px 24px rgba(216, 41, 53, 0.24);
}

.landing-hero {
  padding-top: 18px;
}

.landing-hero-panel {
  overflow: hidden;
  display: grid;
  gap: 26px;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xl);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 1fr);
}

.landing-hero-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px 22px 22px 12px;
}

.landing-hero-copy h1 {
  max-width: 8.6ch;
}

.landing-highlight {
  color: #e2484c;
}

.landing-mini-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-mini-benefits span {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(16, 32, 56, 0.05);
  border: 1px solid rgba(16, 32, 56, 0.08);
  color: var(--ink-soft);
  font-weight: 600;
}

.landing-hero-media {
  position: relative;
  min-height: 620px;
}

.landing-photo-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(270deg, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0.92) 76%, rgba(255, 255, 255, 1) 100%);
}

.landing-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.landing-app-preview {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(320px, calc(100% - 44px));
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(16, 32, 56, 0.18);
}

.landing-app-preview img {
  border-radius: 14px;
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.landing-app-kicker {
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-quick-start {
  padding-top: 8px;
}

.landing-quick-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-quick-card,
.landing-audience-card,
.landing-route-card {
  padding: 26px 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 32, 56, 0.08);
  box-shadow: var(--shadow-sm);
}

.landing-quick-card {
  text-align: center;
}

.landing-quick-card h3,
.landing-audience-card h3,
.landing-route-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.landing-quick-card p,
.landing-audience-card p,
.landing-route-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.landing-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(239, 65, 71, 0.1), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(239, 65, 71, 0.14);
  color: #d82935;
  font-size: 1.5rem;
  font-weight: 800;
}

.landing-language-section .section-heading,
.landing-language-section .section-heading h2,
.landing-pricing-grid + * {
  text-align: center;
}

.landing-language-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-language-pill {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 32, 56, 0.08);
  box-shadow: var(--shadow-sm);
  transition: 160ms ease;
}

.landing-language-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 83, 255, 0.18);
}

.landing-language-pill strong {
  font-size: 1.1rem;
}

.landing-language-pill span {
  color: var(--ink-soft);
}

.home-hero {
  padding-top: 18px;
}

.home-hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 30px;
  padding: 34px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 16%, rgba(239, 181, 72, 0.2), transparent 18%),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.1), transparent 20%),
    linear-gradient(135deg, #17326d 0%, #133a91 36%, #11275b 100%);
  box-shadow: 0 36px 76px rgba(14, 28, 64, 0.28);
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 20px;
}

.home-hero-copy h1,
.home-hero-copy .lead,
.home-hero-copy .compliance-strip,
.home-hero-copy .button-secondary,
.home-hero-copy .button-ghost {
  color: #fff;
}

.home-hero-copy h1 {
  max-width: 8.6ch;
}

.home-hero-copy .lead {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
}

.home-hero-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbe5ff;
}

.home-hero-highlight {
  color: #aecdff;
}

.home-hero-actions .button-secondary,
.home-hero-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.home-hero-actions .button-secondary:hover,
.home-hero-actions .button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.home-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-hero-chips span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ebf2ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.home-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-proof-item {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-proof-item strong,
.home-proof-item span {
  display: block;
}

.home-proof-item strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1rem;
}

.home-proof-item span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.home-compliance-strip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
}

.home-hero-visual {
  position: relative;
  z-index: 1;
}

.home-visual-shell {
  position: relative;
  min-height: 520px;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 18%, rgba(239, 181, 72, 0.22), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.home-photo-shell {
  padding: 0;
  overflow: hidden;
  display: grid;
  gap: 18px;
}

.home-photo-stage {
  position: relative;
  min-height: 520px;
}

.home-hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
}

.home-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 50, 0.08), rgba(13, 23, 50, 0.18)),
    linear-gradient(0deg, rgba(13, 23, 50, 0.34), rgba(13, 23, 50, 0));
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.home-language-chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-deep);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(10, 20, 40, 0.12);
}

.chip-punjabi {
  top: 24px;
  left: 24px;
}

.chip-hindi {
  top: 76px;
  right: 28px;
}

.chip-urdu {
  bottom: 146px;
  left: 34px;
}

.chip-romanian {
  right: 38px;
  bottom: 92px;
}

.home-device-card {
  position: relative;
  width: 100%;
  padding: 18px;
  border-radius: 28px;
  background: rgba(250, 252, 255, 0.98);
  box-shadow: 0 24px 44px rgba(8, 17, 40, 0.2);
}

.home-summary-card {
  background: rgba(250, 252, 255, 0.94);
  backdrop-filter: blur(10px);
}

.home-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-device-question {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f7f9ff, #ffffff);
  border: 1px solid rgba(16, 32, 58, 0.08);
}

.home-device-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(33, 83, 255, 0.08);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-device-question h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.home-device-question p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.home-answer {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16, 32, 58, 0.1);
  color: var(--ink);
  font-weight: 700;
  margin-top: 10px;
  background: #fff;
}

.home-answer-active {
  background: rgba(40, 84, 223, 0.08);
  border-color: rgba(40, 84, 223, 0.26);
}

.home-visual-metrics {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-visual-metrics div {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(16, 27, 58, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.home-visual-metrics strong,
.home-visual-metrics span {
  display: block;
}

.home-visual-metrics strong {
  color: #fff;
  font-size: 1.06rem;
}

.home-visual-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  margin-top: 4px;
}

.home-language-grid,
.home-steps-grid,
.home-help-grid {
  display: grid;
  gap: 18px;
}

.home-language-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-language-card,
.home-step-card,
.home-help-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 32, 56, 0.08);
  box-shadow: var(--shadow-sm);
}

.home-language-card {
  position: relative;
  overflow: hidden;
}

.home-language-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold), var(--brand));
}

.home-language-card strong {
  font-size: 1.14rem;
  padding-left: 8px;
}

.home-language-card p,
.home-step-card p,
.home-help-card p,
.home-trust-card p,
.home-share-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.home-step-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.home-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dce6ff, #f4f7ff);
  color: var(--brand-deep);
  font-weight: 900;
}

.home-proof-band {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--night), var(--night-2));
  box-shadow: var(--shadow-xl);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.home-proof-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-proof-pass-card {
  background: linear-gradient(180deg, rgba(25, 44, 92, 0.96), rgba(18, 33, 72, 0.96));
  border-color: rgba(157, 194, 255, 0.2);
}

.home-proof-progress-card {
  background: linear-gradient(180deg, rgba(36, 66, 142, 0.95), rgba(24, 46, 105, 0.95));
  border-color: rgba(184, 214, 255, 0.2);
}

.home-proof-card h2,
.home-review-guidance h3 {
  margin: 0;
  color: #fff;
}

.home-proof-card h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.home-proof-card p,
.home-review-guidance p {
  color: rgba(255, 255, 255, 0.8);
}

.home-proof-card h2,
.home-proof-card h3,
.home-proof-card strong,
.home-proof-card p,
.home-proof-note {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.home-passed-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dcffe9, #ecfff4);
  color: #15774f;
  font-size: 0.98rem;
  font-weight: 800;
}

.home-passed-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(220, 255, 233, 0.22);
  border-radius: 999px;
  background: rgba(220, 255, 233, 0.1);
  color: #effff6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.home-passed-button:hover {
  transform: translateY(-1px);
  background: rgba(220, 255, 233, 0.16);
  border-color: rgba(220, 255, 233, 0.34);
}

.home-passed-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.26);
  outline-offset: 3px;
}

.home-passed-button.is-pressed {
  background: rgba(220, 255, 233, 0.2);
  border-color: rgba(220, 255, 233, 0.42);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.home-passed-button-copy {
  color: #dcffe9;
  font-size: 0.92rem;
  font-weight: 700;
}

.home-passed-button[disabled] {
  cursor: not-allowed;
  opacity: 0.86;
}

.home-passed-button[disabled]:hover {
  transform: none;
}

.home-proof-stat {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-proof-stat strong,
.home-proof-stat span {
  display: block;
}

.home-proof-stat strong {
  color: #fff;
  font-size: 1rem;
}

.home-proof-stat span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.58;
}

.home-proof-heading {
  margin-bottom: 0;
}

.home-proof-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.home-proof-heading p {
  max-width: 58ch;
}

.home-proof-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-proof-note {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ecf3ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.home-proof-actions {
  align-items: flex-start;
}

.home-review-guidance {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 24px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fdfefe, #eef5ff);
  box-shadow: var(--shadow-card);
}

.home-review-guidance h3,
.home-review-guidance p {
  margin: 0;
}

.home-review-guidance h3 {
  color: var(--ink);
}

.home-review-guidance p {
  color: var(--ink-soft);
}

.home-review-preview {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
  border: 1px solid rgba(33, 83, 255, 0.12);
}

.home-review-stars {
  color: #f0b25d;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
}

.home-review-preview strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.home-review-preview span:last-child {
  color: var(--ink-soft);
  line-height: 1.55;
}

.home-review-actions {
  align-items: flex-start;
}

.home-help-section .section-heading p {
  max-width: 64ch;
}

.home-pricing-grid {
  align-items: stretch;
}

.home-help-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff6e7, #dce7ff);
  box-shadow: var(--shadow-lg);
}

.home-cta-copy {
  display: grid;
  gap: 8px;
}

.home-cta-copy h2 {
  margin: 0;
}

.home-cta-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.learner-problem-panel {
  display: grid;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 255, 0.98)),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
}

.learner-problem-copy {
  margin-bottom: 0;
}

.learner-problem-copy p {
  max-width: 76ch;
}

.learner-problem-quote {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid #e2484c;
  border-radius: 18px;
  background: rgba(226, 72, 76, 0.08);
  color: var(--ink);
}

.learner-problem-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learner-problem-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 32, 56, 0.08);
  box-shadow: 0 16px 34px rgba(16, 32, 56, 0.08);
}

.learner-problem-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.learner-problem-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.learner-problem-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(33, 83, 255, 0.1);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-audience-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.landing-pricing-grid {
  align-items: stretch;
}

.landing-route-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-route-card {
  display: grid;
  gap: 14px;
}

.landing-route-card-primary {
  background: linear-gradient(180deg, rgba(15, 30, 52, 0.96), rgba(17, 41, 75, 0.96));
  color: #fff;
}

.landing-route-card-primary h3,
.landing-route-card-primary p {
  color: #fff;
}

.landing-route-card-primary p {
  color: rgba(255, 255, 255, 0.76);
}

.story-grid,
.contact-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.language-page-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.language-page-links a {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(16, 32, 56, 0.06);
  color: var(--ink-soft);
}

.language-page-links a.active,
.language-page-links a:hover {
  background: rgba(33, 83, 255, 0.12);
  color: var(--brand-deep);
}

.page-hero {
  padding: 42px 0 18px;
}

.page-hero-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: stretch;
}

.page-hero-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.language-story-card {
  margin-top: auto;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(239, 244, 255, 0.96), rgba(228, 236, 255, 0.88));
  border: 1px solid rgba(33, 83, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.language-story-head {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: start;
}

.language-story-title,
.language-reaction-box,
.language-story-copy {
  display: grid;
  gap: 12px;
}

.language-story-title p,
.language-reaction-note,
.language-story-copy p {
  margin: 0;
}

.language-story-title p,
.language-reaction-note {
  color: var(--ink-soft);
  line-height: 1.65;
}

.language-reaction-box {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 83, 255, 0.1);
}

.language-like-button {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2153ff, #4f77ff);
  box-shadow: 0 18px 32px rgba(33, 83, 255, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.language-like-button:hover,
.language-like-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(33, 83, 255, 0.28);
}

.language-reaction-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.language-reaction-summary strong {
  font-size: 1rem;
}

.language-reaction-summary span:last-child {
  color: var(--ink-soft);
}

.language-stars {
  display: inline-flex;
  gap: 6px;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.language-stars span {
  color: rgba(16, 32, 56, 0.18);
  transition: color 0.2s ease, transform 0.2s ease;
}

.language-stars span.is-on {
  color: #f3b423;
  transform: translateY(-1px);
}

.language-story-copy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  font-size: 0.97rem;
  color: var(--ink);
  line-height: 1.9;
}

.language-story-copy[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.language-story-copy[lang="pa"] {
  font-family: "Noto Sans Gurmukhi", "Outfit", sans-serif;
}

.language-story-copy[lang="hi"] {
  font-family: "Noto Sans Devanagari", "Outfit", sans-serif;
}

.language-story-copy[lang="ur"] {
  font-family: "Noto Nastaliq Urdu", "Noto Naskh Arabic", "Outfit", sans-serif;
  line-height: 2.1;
}

.language-story-copy[lang="ro"] {
  font-family: "Outfit", sans-serif;
}

.language-story-highlight {
  grid-column: 1 / -1;
  font-weight: 700;
  color: var(--brand-deep);
}

.page-hero-figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  background: rgba(16, 32, 56, 0.06);
}

.page-hero-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-shell {
  display: grid;
  gap: 28px;
  margin-bottom: 44px;
}

.setup-promise {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.setup-promise h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.setup-promise p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.app-toolbar,
.question-toolbar,
.results-summary,
.report-grid,
.report-topline {
  display: grid;
  gap: 14px;
}

.app-toolbar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-card strong,
.stat-value {
  display: block;
  font-size: 2rem;
  font-family: var(--heading);
}

.dashboard-card {
  display: flex;
  flex-direction: column;
}

.card-action {
  margin-top: auto;
  align-self: flex-start;
}

.meta-row,
.field-grid,
.test-controls,
.answer-grid,
.app-actions,
.review-actions,
.report-grid {
  display: grid;
  gap: 14px;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.meta-label {
  font-weight: 600;
  color: var(--ink);
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 32, 56, 0.16);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.support-preview {
  display: grid;
  gap: 8px;
}

.support-preview textarea {
  min-height: 220px;
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
  background: rgba(243, 246, 255, 0.96);
}

.support-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-weight: 500;
}

.inline-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
}

.help-bilingual {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(33, 83, 255, 0.06);
  color: var(--ink-soft);
  line-height: 1.7;
}

.meta-copy small,
.help-text,
.compliance-strip,
.footer-note {
  color: var(--ink-muted);
}

.compliance-strip {
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(16, 32, 56, 0.06);
  line-height: 1.6;
}

.noscript-notice {
  border: 1px solid rgba(240, 178, 93, 0.38);
  background:
    linear-gradient(135deg, rgba(240, 178, 93, 0.16), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.92);
}

.setup-panel,
.intro-panel,
.test-panel {
  display: none;
  gap: 18px;
}

.setup-panel.active,
.intro-panel.active,
.test-panel.active,
.review-panel.active,
.results-panel.active,
.paywall-panel.active {
  display: grid;
}

.app-shell.is-testing #setupPanel,
.app-shell.is-testing #appToolbar,
.app-shell.is-testing #reviewPanel,
.app-shell.is-intro #setupPanel,
.app-shell.is-intro #appToolbar,
.app-shell.is-intro #testPanel,
.app-shell.is-intro #reviewPanel,
.app-shell.is-intro #resultsPanel,
.app-shell.is-intro #paywallPanel,
.app-shell.is-results #setupPanel,
.app-shell.is-results #appToolbar,
.app-shell.is-results #reviewPanel,
.app-shell.is-review #setupPanel,
.app-shell.is-review #appToolbar,
.app-shell.is-review #testPanel,
.app-shell.is-review #resultsPanel,
.app-shell.is-paywall #testPanel,
.app-shell.is-paywall #resultsPanel,
.app-shell.is-testing #resultsPanel,
.app-shell.is-results #testPanel {
  display: none;
}

.question-card {
  padding: 48px;
}

.question-card-real {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96)),
    var(--surface);
}

.question-frame {
  display: grid;
  gap: 28px;
}

.question-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.test-surface-label {
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-language-stack {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.question-primary-card {
  display: grid;
  gap: 10px;
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.question-block-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.question-primary-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.question-primary-card .question-display-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-family: var(--heading);
}

.question-support-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 100%;
  padding: 22px 28px;
  border-radius: 24px;
  background: rgba(240, 178, 93, 0.1);
  border: 1px solid rgba(240, 178, 93, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.question-support-card[data-mode="guidance"] {
  background: rgba(16, 32, 56, 0.05);
  border-color: rgba(16, 32, 56, 0.12);
}

.question-support-card h3 {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.question-support-card .question-support-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.question-support-kicker {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.question-support-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.question-support-card[data-mode="translation"] p,
.question-support-card[data-mode="translation-lite"] p {
  color: var(--ink);
}

.question-support-card[dir="rtl"] {
  text-align: right;
}

.sign-panel {
  display: grid;
}

.sign-visual-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(16, 32, 56, 0.03);
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.sign-visual-stage {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.sign-asset-image {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.sign-svg-shell {
  display: grid;
  place-items: center;
  gap: 12px;
}

.sign-svg {
  width: 148px;
  height: 148px;
  filter: drop-shadow(0 16px 22px rgba(16, 32, 56, 0.12));
}

.sign-svg-marking {
  width: 220px;
  height: 145px;
}

.sign-visual-copy {
  display: grid;
  gap: 10px;
}

.sign-visual-copy h3,
.sign-visual-copy .sign-title,
.sign-visual-copy p,
.sign-visual-copy small {
  margin: 0;
}

.sign-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.sign-visual-copy p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.sign-visual-copy small {
  color: var(--ink-muted);
  line-height: 1.6;
}

.sign-fallback-panel {
  width: min(100%, 220px);
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96));
  border: 1px dashed rgba(16, 32, 56, 0.18);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.sign-fallback-panel strong,
.sign-fallback-panel p {
  margin: 0;
}

.sign-fallback-kicker {
  display: inline-flex;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sign-fallback-panel strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.sign-fallback-panel p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.sign-placeholder {
  position: relative;
  display: grid;
  place-items: center;
}

.sign-placeholder-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  border: 18px solid #d82831;
}

.sign-no-entry-bar {
  width: 82px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
}

.sign-placeholder-stack {
  gap: 8px;
  align-content: center;
}

.sign-stack-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 32, 56, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sign-placeholder-generic {
  width: 160px;
  min-height: 120px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(33, 83, 255, 0.12), rgba(240, 178, 93, 0.16));
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.sign-generic-text {
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}

.sign-placeholder-caption {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.question-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(33, 83, 255, 0.08);
  color: var(--brand-deep);
}

.progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(16, 32, 56, 0.08);
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #68b8ff);
  transition: width 180ms ease;
}

.answer-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.answer-option {
  width: 100%;
  text-align: left;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  border-radius: 20px;
  border: 1px solid rgba(16, 32, 56, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.answer-letter {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 32, 56, 0.08);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.answer-copy {
  display: block;
  padding-top: 3px;
  line-height: 1.6;
  font-size: 1.06rem;
}

.answer-copy-stack {
  display: grid;
  gap: 8px;
}

.answer-copy-kicker {
  display: block;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.answer-copy-support {
  display: block;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.answer-support {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.answer-option.selected {
  border-color: rgba(33, 83, 255, 0.65);
  background: rgba(33, 83, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(33, 83, 255, 0.15);
}

.answer-option.selected .answer-letter {
  background: rgba(33, 83, 255, 0.14);
  color: var(--brand-deep);
}

.answer-option.correct {
  border-color: rgba(65, 184, 138, 0.6);
  background: rgba(65, 184, 138, 0.12);
}

.answer-option.wrong {
  border-color: rgba(196, 77, 77, 0.45);
  background: rgba(196, 77, 77, 0.09);
}

.results-panel,
.review-panel,
.paywall-panel {
  display: none;
}

.results-panel .results-summary {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
}

.review-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 22px;
}

.review-question-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.review-jump {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(16, 32, 56, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-weight: 700;
}

.review-jump.answered {
  background: rgba(33, 83, 255, 0.08);
  border-color: rgba(33, 83, 255, 0.2);
}

.review-jump.flagged {
  box-shadow: inset 0 0 0 2px rgba(240, 178, 93, 0.5);
}

.review-jump.unanswered {
  border-color: rgba(196, 77, 77, 0.24);
  background: rgba(196, 77, 77, 0.06);
}

.review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.review-actions .hero-actions {
  justify-content: flex-start;
}

.question-toolbar {
  gap: 18px;
}

.results-summary,
.report-card {
  padding: 34px;
}

.question-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.explanation-item > p {
  line-height: 1.75;
}

.score-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.96) 52%, transparent 53%),
    conic-gradient(var(--brand) 0deg, var(--brand) 0deg, rgba(16, 32, 56, 0.08) 0deg);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 56, 0.08);
}

.score-ring strong {
  font-family: var(--heading);
  font-size: 2.3rem;
}

.report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.explanation-list {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.explanation-item {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(16, 32, 56, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.explanation-item h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.explanation-item h5 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.question-support-inline,
.answer-support-inline {
  margin: -2px 0 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(240, 178, 93, 0.12);
  color: var(--ink-soft);
  line-height: 1.7;
}

.answer-support-inline {
  margin-top: -4px;
  background: rgba(16, 32, 56, 0.05);
}

.explanation-block {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.english-block {
  background: rgba(33, 83, 255, 0.05);
}

.support-block {
  background: rgba(65, 184, 138, 0.08);
}

.app-shell[data-language="punjabi"] .question-support-card,
.app-shell[data-language="punjabi"] .support-block {
  background: rgba(240, 178, 93, 0.1);
  border-color: rgba(240, 178, 93, 0.2);
}

.app-shell[data-language="hindi"] .question-support-card,
.app-shell[data-language="hindi"] .support-block {
  background: rgba(65, 184, 138, 0.1);
  border-color: rgba(65, 184, 138, 0.2);
}

.app-shell[data-language="urdu"] .question-support-card,
.app-shell[data-language="urdu"] .support-block {
  background: rgba(127, 98, 255, 0.1);
  border-color: rgba(127, 98, 255, 0.18);
}

.warning-banner,
.success-banner,
.note-banner {
  padding: 16px 18px;
  border-radius: 18px;
  line-height: 1.6;
}

.warning-banner {
  background: rgba(196, 77, 77, 0.1);
  color: #8f2b2b;
}

.success-banner {
  background: rgba(65, 184, 138, 0.12);
  color: #0d6f4d;
}

.note-banner {
  background: rgba(33, 83, 255, 0.09);
  color: var(--brand-deep);
}

.guide-library-shell {
  display: grid;
  gap: 28px;
}

.guide-library-intro,
.guide-library-group {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.guide-library-intro {
  display: grid;
  gap: 18px;
}

.guide-library-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(16, 32, 56, 0.05);
  color: var(--ink-soft);
}

.guide-stat-chip strong {
  color: var(--ink);
}

.guide-library-group {
  display: grid;
  gap: 20px;
}

.guide-library-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.guide-library-group-heading h3,
.guide-library-group-heading p {
  margin: 0;
}

.guide-library-group-heading h3 {
  font-size: 1.6rem;
}

.guide-library-group-heading p {
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 54ch;
}

.guide-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

body[data-page="road-signs"] .guide-library-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.guide-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 32, 56, 0.1);
  box-shadow: var(--shadow-sm);
}

.guide-card.is-open {
  box-shadow: var(--shadow-lg);
}

.guide-card-library-link {
  align-content: center;
  background: linear-gradient(135deg, rgba(33, 83, 255, 0.08), rgba(255, 255, 255, 0.98));
}

.guide-card-media {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(16, 32, 56, 0.05);
  border: 1px solid rgba(16, 32, 56, 0.08);
  display: grid;
  place-items: start center;
  padding: 12px;
}

.guide-card-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: top center;
}

.guide-card-body,
.guide-card-header,
.guide-card-actions,
.guide-detail,
.guide-language-stack,
.guide-points,
.guide-quiz-list {
  display: grid;
  gap: 14px;
}

.guide-card-body p,
.guide-language-body,
.guide-point p,
.guide-golden-rule p,
.guide-quiz-item p,
.guide-quiz-options {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.guide-card-header h3,
.guide-language-title,
.guide-point h5,
.guide-quiz-heading,
.guide-quiz-question {
  margin: 0;
}

.guide-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 32, 56, 0.07);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-badge-multilingual {
  background: rgba(33, 83, 255, 0.1);
  color: var(--brand-deep);
}

.guide-toggle {
  width: 100%;
}

.guide-detail {
  padding: 18px;
  border-radius: 20px;
  background: rgba(16, 32, 56, 0.04);
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.guide-detail-image {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 32, 56, 0.08);
  padding: 12px;
}

.guide-detail-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 32, 56, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
}

.guide-tab.is-active {
  background: rgba(33, 83, 255, 0.12);
  border-color: rgba(33, 83, 255, 0.18);
  color: var(--brand-deep);
}

.guide-detail-panel {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.guide-language-stack.is-rtl {
  text-align: right;
}

.guide-language-title {
  font-size: 1.24rem;
  color: var(--ink);
}

.guide-points {
  grid-template-columns: 1fr;
}

.guide-point {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(16, 32, 56, 0.04);
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.guide-point h5 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1rem;
}

.guide-golden-rule {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240, 178, 93, 0.18), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(240, 178, 93, 0.28);
}

.guide-golden-rule strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.guide-quiz-heading {
  font-size: 1rem;
  color: var(--ink);
}

.guide-quiz-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 32, 56, 0.08);
}

.guide-quiz-question {
  color: var(--ink);
  font-size: 1rem;
}

.guide-quiz-options {
  padding-left: 20px;
}

.guide-quiz-answer {
  color: var(--brand-deep) !important;
  font-weight: 600;
}

.guide-access-status {
  margin-top: 1rem;
}

.guide-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-jump-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 32, 56, 0.06);
  border: 1px solid rgba(16, 32, 56, 0.08);
  color: var(--ink);
  text-decoration: none;
}

.guide-browser-shell,
.guide-browser-section,
.guide-browser-list {
  display: grid;
  gap: 24px;
}

.guide-browser-section {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.guide-card-full {
  padding: 24px;
}

.guide-card-media-full img,
body[data-page="learning-guides"] .guide-card-media img,
body[data-page="learning-guides"] .guide-detail-image img {
  max-height: none;
}

.guide-access-preview h3,
.guide-card-library-link h3 {
  margin: 0;
}

.footer {
  padding: 0 0 48px;
}

.footer-panel {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(15, 30, 52, 0.94);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-grid p,
.footer-grid li {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .page-hero-layout,
  .home-hero-panel,
  .landing-hero-panel,
  .hero-panel,
  .story-grid,
  .contact-grid,
  .results-panel .results-summary,
  .footer-grid,
  .feature-grid,
  .pricing-grid,
  .support-grid,
  .landing-quick-grid,
  .landing-language-row,
  .landing-audience-grid,
  .landing-route-grid,
  .home-language-grid,
  .home-steps-grid,
  .home-help-grid,
  .home-proof-band,
  .home-hero-proof,
  .home-visual-metrics,
  .video-feature-grid,
  .word-bank-columns,
  .learner-problem-grid,
  .report-grid,
  .field-grid,
  .app-toolbar,
  .word-help-intro {
    grid-template-columns: 1fr;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding-top: 8px;
  }

  .main-nav.open {
    display: flex;
  }

  .header-inner {
    border-radius: 30px;
    align-items: flex-start;
    flex-direction: column;
  }

  .sign-visual-card {
    grid-template-columns: 1fr;
  }

  .guide-library-group-heading {
    align-items: start;
  }

  .landing-hero-media {
    min-height: 520px;
  }

  .home-visual-shell {
    min-height: 620px;
  }

  .page-hero-figure {
    min-height: 340px;
  }

  .language-story-head {
    grid-template-columns: 1fr;
  }

  .language-story-copy {
    grid-template-columns: 1fr;
  }

  .home-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .hero h1,
  .page-hero h1,
  .section-heading h1,
  .section-heading h2,
  .app-intro h1,
  .legal-card h1,
  .results-summary h2 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
  }

  .hero-panel,
  .landing-hero-panel,
  .card,
  .pricing-grid article,
  .faq-item,
  .legal-card,
  .report-card,
  .dashboard-card,
  .language-highlight,
  .content-panel,
  .page-hero-panel,
  .app-shell,
  .question-card,
  .footer-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .answer-option {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .review-actions {
    align-items: stretch;
  }

  .hero-language-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero-copy {
    padding: 6px;
  }

  .home-hero-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .home-hero-copy h1 {
    max-width: none;
  }

  .landing-hero-copy h1 {
    max-width: none;
  }

  .home-hero-proof {
    grid-template-columns: 1fr;
  }

  .home-visual-shell {
    min-height: auto;
    padding: 18px;
  }

  .home-photo-shell {
    padding: 0;
  }

  .home-photo-stage {
    min-height: 420px;
  }

  .home-hero-photo {
    position: absolute;
    min-height: 0;
  }

  .home-device-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .home-language-chip {
    position: static;
    width: fit-content;
  }

  .home-hero-visual,
  .home-visual-shell {
    display: grid;
    gap: 12px;
  }

  .home-visual-metrics {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .home-proof-band,
  .home-proof-card,
  .home-language-card,
  .home-step-card,
  .home-help-card,
  .home-cta-band,
  .home-review-guidance {
    padding: 20px;
    border-radius: 24px;
  }

  .landing-hero-media {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .landing-photo-card {
    position: relative;
    inset: auto;
    min-height: 360px;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0.2) 72%, rgba(255, 255, 255, 0.42) 100%);
  }

  .landing-photo-card img {
    object-position: center 18%;
  }

  .landing-app-preview {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    box-shadow: 0 14px 24px rgba(16, 32, 56, 0.12);
  }

  .button,
  .button-secondary,
  .button-ghost,
  .button-quiet {
    width: 100%;
  }

  .guide-library-intro,
  .guide-library-group,
  .guide-card,
  .guide-detail,
  .guide-detail-panel {
    padding: 18px;
  }

  .guide-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checkout-grid {
  display: grid;
  gap: 1.5rem;
}

.checkout-state-panel {
  max-width: 760px;
  margin: 0 auto;
}

.status-text {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.status-text.is-error {
  color: #b42318;
}

.status-text.is-success {
  color: #0f766e;
}

button:disabled,
.button:disabled,
.button-secondary:disabled,
.button-ghost:disabled,
.button-quiet:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.share-promo-panel,
.review-unlock-panel {
  margin-top: 1rem;
}

.share-promo-panel p,
.review-unlock-panel p {
  margin: 0.4rem 0 0;
}

.review-request-panel {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.review-rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.review-rating-chip {
  appearance: none;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  transition: 0.2s ease;
}

.review-rating-chip:hover {
  transform: translateY(-1px);
}

.review-rating-chip.is-selected {
  border-color: rgba(240, 178, 93, 0.44);
  background: rgba(240, 178, 93, 0.22);
  color: var(--ink);
}

.review-request-note {
  color: var(--ink-soft);
}

.review-request-panel textarea {
  min-height: 120px;
}

.review-unlock-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.review-unlock-chip {
  appearance: none;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  transition: 0.2s ease;
}

.review-unlock-chip:hover {
  transform: translateY(-1px);
}

.review-unlock-chip.is-selected {
  border-color: rgba(12, 79, 70, 0.32);
  background: rgba(19, 105, 93, 0.12);
  color: var(--brand);
}

@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
