:root {
  --ink: #171916;
  --ink-soft: #31362f;
  --night: #101512;
  --night-2: #151c18;
  --ivory: #f4efe5;
  --paper: #fffaf0;
  --paper-2: #ebe3d3;
  --gold: #c9a24d;
  --gold-2: #a77f2e;
  --green: #2f7d57;
  --green-2: #8ed05f;
  --blue: #324a5f;
  --red: #a54a43;
  --muted: rgba(23, 25, 22, 0.68);
  --muted-light: rgba(255, 250, 240, 0.72);
  --line: rgba(23, 25, 22, 0.12);
  --line-light: rgba(255, 250, 240, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 14px 34px rgba(38, 31, 18, 0.14);
  --shadow-lift: 0 24px 48px rgba(21, 26, 21, 0.16);
  --line-gold: rgba(201, 162, 77, 0.48);
  --radius: 8px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  background: var(--ivory);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: rgba(201, 162, 77, 0.42);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 94px;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  color: var(--paper);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(16, 21, 18, 0.92);
  border-bottom: 1px solid var(--line-light);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  min-height: 44px;
  color: var(--paper);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 250, 240, 0.26);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.brand span {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.26);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: rgba(255, 250, 240, 0.78);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after,
.site-nav a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--paper);
}

.site-nav .nav-cta {
  color: #15120a;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #15120a;
  background: #d8b765;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 116px 24px 76px;
  background: var(--night);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 21, 18, 0.96) 0%, rgba(16, 21, 18, 0.76) 45%, rgba(16, 21, 18, 0.42) 100%),
    linear-gradient(0deg, rgba(16, 21, 18, 0.34), rgba(16, 21, 18, 0.12)),
    url("assets/union-jack-dark.png");
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: saturate(0.9);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  z-index: -1;
  background: linear-gradient(0deg, rgba(16, 21, 18, 0.94), rgba(16, 21, 18, 0));
}

.hero-content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero h1 + .eyebrow {
  margin-top: 18px;
}

.hero h1 {
  margin: 0;
  display: inline-block;
  font-size: 5.05rem;
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
  color: #f8c314;
  background: linear-gradient(180deg, #fff5ac 0%, #ffe34a 22%, #fbc30c 54%, #c57b00 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 234, 137, 0.44);
  text-shadow: 0 1px 0 rgba(255, 248, 196, 0.58), 0 3px 0 rgba(106, 62, 0, 0.38), 0 0 18px rgba(250, 190, 12, 0.34), 0 16px 34px rgba(0, 0, 0, 0.42);
}

.hero-lead {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 1.7rem;
  line-height: 1.18;
  font-weight: 800;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted-light);
  font-size: 1.08rem;
}

.hero-assurance {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-assurance span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.16);
  flex: 0 0 auto;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-button {
  min-width: 190px;
  min-height: 60px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(4, 7, 5, 0.64);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.store-button span {
  font-size: 0.75rem;
  color: rgba(255, 250, 240, 0.72);
}

.store-button strong {
  font-size: 1.05rem;
}

.store-button:hover,
.store-button:focus-visible {
  border-color: var(--gold);
  background: rgba(15, 21, 18, 0.88);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.store-button.light {
  color: var(--ink);
  background: var(--paper);
  border-color: rgba(255, 255, 255, 0.52);
}

.store-button.light span {
  color: rgba(23, 25, 22, 0.62);
}

.launch-note {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.9rem;
}

.hero-scene {
  position: absolute;
  z-index: 1;
  top: 70px;
  right: max(24px, calc((100vw - var(--max)) / 2));
  width: 560px;
  height: calc(92svh - 70px);
  pointer-events: none;
}

.phone {
  position: absolute;
  border: 1px solid rgba(255, 250, 240, 0.24);
  background: #0a0d0b;
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-main {
  right: 64px;
  top: 0;
  width: min(312px, calc(44.85svh - 52.65px));
  height: min(640px, calc(92svh - 108px));
  aspect-ratio: 312 / 640;
  padding: 12px;
}

.phone-secondary {
  right: 0;
  top: 165px;
  width: 190px;
  height: 382px;
  padding: 9px;
  opacity: 0.88;
  transform: rotate(5deg);
}

.phone-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
  object-position: top center;
}

.phone-speaker {
  width: 70px;
  height: 5px;
  margin: 3px auto 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.app-screen {
  height: calc(100% - 18px);
  border-radius: 26px;
  padding: 16px;
  background: var(--ivory);
  color: var(--ink);
  overflow: hidden;
}

.app-screen.compact {
  display: grid;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.app-topbar,
.app-progress,
.app-focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-topbar {
  font-weight: 900;
  font-size: 0.82rem;
}

.app-topbar span:last-child {
  min-width: 34px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e7dfce;
  color: var(--gold-2);
}

.app-hero-card {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: #fff8ea;
  box-shadow: 0 12px 26px rgba(38, 31, 18, 0.16);
  display: grid;
  gap: 7px;
}

.app-hero-card img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
}

.app-hero-card span,
.app-focus small {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.72rem;
}

.app-hero-card strong {
  font-size: 1.2rem;
}

.app-progress {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.app-progress i {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  height: 5px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--green) 0 82%, rgba(47, 125, 87, 0.16) 82% 100%);
}

.app-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.app-mode-grid span {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8dfcd;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 0.82rem;
}

.app-focus {
  margin-top: 14px;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--paper);
}

.app-focus strong {
  font-size: 0.88rem;
  text-align: right;
}

.mock-result {
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.mock-score {
  font-size: 1.9rem;
  font-weight: 900;
}

.mock-lines {
  display: grid;
  gap: 8px;
}

.mock-lines span {
  height: 9px;
  border-radius: 8px;
  background: #ded4c2;
}

.mock-lines span:nth-child(2) {
  width: 78%;
  margin: 0 auto;
}

.mock-lines span:nth-child(3) {
  width: 56%;
  margin: 0 auto;
}

.hero-panel {
  position: absolute;
  width: 170px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 8px;
  background: rgba(21, 28, 24, 0.78);
  color: var(--paper);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-panel-left {
  left: 0;
  top: 65px;
}

.hero-panel-right {
  right: 12px;
  bottom: 0;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1;
}

.hero-panel span:last-child {
  display: block;
  margin-top: 8px;
  color: var(--muted-light);
  font-size: 0.84rem;
}

.panel-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #ede8dc;
  border-top: 1px solid rgba(23, 25, 22, 0.08);
  border-bottom: 1px solid var(--line);
}

.metric-band div {
  position: relative;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}

.metric-band div::before {
  content: "";
  position: absolute;
  top: 0;
  right: 26px;
  left: 26px;
  height: 2px;
  background: var(--gold);
  opacity: 0.72;
}

.metric-band div:last-child {
  border-right: 0;
}

.metric-band strong {
  color: var(--ink);
  font-size: 1.3rem;
}

.metric-band span {
  color: var(--muted);
}

.motion-section {
  position: relative;
  padding: 76px 24px;
  background: var(--ivory);
  border-bottom: 1px solid rgba(23, 25, 22, 0.09);
}

.motion-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  align-items: center;
  gap: clamp(44px, 8vw, 120px);
}

.motion-frame {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 720 / 1218;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(16, 21, 18, 0.22);
  border-radius: 8px;
  background: var(--night);
  box-shadow: 0 24px 58px rgba(16, 21, 18, 0.24);
}

.motion-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 3px;
}

.motion-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.motion-copy {
  max-width: 610px;
}

.motion-copy h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.motion-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.section {
  position: relative;
  padding: 92px 24px;
}

.section-copy,
.intro-grid,
.feature-grid,
.timeline,
.pro-section,
.trust-grid,
.faq-list,
.final-cta,
.site-footer {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-copy {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-copy h2,
.pro-copy h2,
.final-cta h2 {
  margin: 0;
  max-width: 780px;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.pro-copy p,
.final-cta p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-intro {
  background: var(--ivory);
}

.intro-grid,
.feature-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-grid article,
.feature-card,
.trust-grid article,
.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
  .intro-grid article:hover,
  .feature-card:hover,
  .trust-grid article:hover,
  .plan-card:hover {
    border-color: rgba(201, 162, 77, 0.46);
    box-shadow: var(--shadow-lift);
    transform: translateY(-4px);
  }
}

.intro-grid article,
.trust-grid article {
  padding: 24px;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  border-radius: 8px;
  background: rgba(201, 162, 77, 0.16);
  color: var(--gold-2);
  font-weight: 900;
}

.intro-grid h3,
.trust-grid h3,
.feature-card h3,
.plan-card h3,
.timeline h3 {
  margin: 18px 0 8px;
  font-size: 1.12rem;
}

.intro-grid p,
.trust-grid p,
.feature-card p,
.plan-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.feature-section {
  background: #e8efdf;
}

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

.feature-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 52px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 180ms ease;
}

@media (hover: hover) {
  .feature-card:hover::after {
    transform: scaleX(1);
  }
}

.feature-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 8px;
}

.study-material-section {
  position: relative;
  padding: 96px 24px;
  background: var(--night-2);
  color: var(--paper);
  overflow: hidden;
}

.study-material-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/union-jack-wordmark-texture.png") right center / auto 100% no-repeat;
  opacity: 0.075;
  pointer-events: none;
}

.study-material-layout {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  align-items: center;
  gap: clamp(48px, 9vw, 140px);
}

.study-material-copy {
  max-width: 640px;
}

.study-material-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.study-material-lead {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted-light);
  font-size: 1.08rem;
}

.study-material-principles {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.study-material-principles li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-light);
}

.study-material-principles span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.study-material-principles strong {
  display: block;
  color: var(--paper);
  font-size: 1rem;
}

.study-material-principles p {
  margin: 5px 0 0;
  color: var(--muted-light);
}

.study-material-note {
  max-width: 520px;
  margin: 24px 0 0;
  color: #ead18e;
  font-weight: 700;
}

.study-material-preview {
  width: min(100%, 344px);
  margin: 0;
  justify-self: end;
  transition: transform 220ms ease, filter 220ms ease;
}

.study-material-preview img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 8px;
  background: #0a0d0b;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.42);
}

@media (hover: hover) {
  .study-material-preview:hover {
    filter: brightness(1.04);
    transform: translateY(-5px);
  }
}

.study-material-preview figcaption {
  margin-top: 12px;
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.84rem;
  text-align: center;
}

.passplan-section {
  background: var(--night);
  color: var(--paper);
}

.passplan-section .section-copy p:not(.eyebrow),
.passplan-section .timeline p {
  color: var(--muted-light);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  overflow: hidden;
}

.timeline article {
  position: relative;
  min-height: 260px;
  padding: 24px;
  background: var(--night-2);
  transition: background 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
  .timeline article:hover {
    background: #1b251f;
    transform: translateY(-3px);
  }
}

.timeline span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #16130b;
  font-weight: 900;
}

.timeline h3 {
  color: var(--paper);
}

.pro-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: start;
  padding-left: 24px;
  padding-right: 24px;
}

.pro-copy {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 12px;
}

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

.plan-card {
  min-height: 430px;
  padding: 26px;
  display: grid;
  align-content: start;
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  background: #101512;
  color: var(--paper);
  border-color: rgba(201, 162, 77, 0.44);
}

.plan-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 26px;
  left: 26px;
  height: 2px;
  background: var(--gold);
}

.plan-card.featured p,
.plan-card.featured li {
  color: var(--muted-light);
}

.plan-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.plan-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.plan-card.featured li::before {
  background: var(--gold);
}

.trust-section {
  background: #f7f0df;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) {
  .faq-item:hover {
    border-color: rgba(201, 162, 77, 0.46);
    box-shadow: 0 12px 28px rgba(38, 31, 18, 0.08);
  }
}

.faq-item button {
  width: 100%;
  min-height: 66px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-item button span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(47, 125, 87, 0.1);
  color: var(--green);
  flex: 0 0 auto;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open button span {
  background: rgba(165, 74, 67, 0.1);
  color: var(--red);
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 36px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(47, 125, 87, 0.24);
}

.final-cta::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  bottom: 0;
  width: 52%;
  background: url("assets/union-jack-wordmark-texture.png") right center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta .eyebrow {
  color: #e8d190;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.final-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 24px 46px;
  border-top: 1px solid var(--line);
  color: rgba(23, 25, 22, 0.66);
  font-size: 0.94rem;
}

.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.store-modal[hidden] {
  display: none;
}

.store-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.store-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 7, 0.74);
}

.store-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 30px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
}

.store-modal-panel img {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 8px;
}

.store-modal-panel h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.store-modal-panel p {
  margin: 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-js [data-reveal="media"] {
  transform: translateX(22px);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 1080px) {
  .hero-scene {
    opacity: 0.64;
    right: -80px;
  }

  .hero-content {
    max-width: 720px;
  }

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

  .pro-section {
    grid-template-columns: 1fr;
  }

  .pro-copy {
    position: static;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line-light);
    border-radius: 8px;
    background: rgba(16, 21, 18, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 88svh;
    padding: 106px 18px 56px;
    align-items: flex-end;
  }

  .hero-content {
    max-width: 370px;
    margin-left: 0;
    margin-right: auto;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(16, 21, 18, 0.97) 0%, rgba(16, 21, 18, 0.82) 47%, rgba(16, 21, 18, 0.46) 100%),
      url("assets/union-jack-dark.png");
    background-size: cover, cover;
    background-position: center, center;
  }

  .hero-scene {
    display: none;
  }

  .app-screen {
    padding: 12px;
  }

  .app-hero-card img {
    width: 56px;
    height: 56px;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .hero-assurance {
    margin-top: 20px;
  }

  .hero-lead {
    font-size: 1.36rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-button {
    width: 100%;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }

  .metric-band div {
    min-height: 104px;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-band div::before {
    right: 18px;
    left: 18px;
  }

  .metric-band div:last-child {
    border-bottom: 0;
  }

  .motion-section {
    padding: 56px 18px;
  }

  .motion-layout {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
    gap: 28px;
  }

  .motion-frame {
    width: min(100%, 190px);
  }

  .motion-copy h2 {
    font-size: 1.78rem;
  }

  .study-material-section {
    padding: 64px 18px;
  }

  .study-material-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .study-material-copy h2 {
    font-size: 2rem;
  }

  .study-material-preview {
    width: min(100%, 300px);
    justify-self: center;
  }

  .section {
    padding: 64px 18px;
  }

  .section-copy h2,
  .pro-copy h2,
  .final-cta h2 {
    font-size: 2rem;
  }

  .intro-grid,
  .feature-grid,
  .timeline,
  .trust-grid,
  .comparison {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: 190px;
  }

  .plan-card {
    min-height: auto;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .final-actions {
    justify-content: stretch;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand span {
    font-size: 0.98rem;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-lead {
    font-size: 1.22rem;
  }

  .section-copy h2,
  .pro-copy h2,
  .final-cta h2 {
    font-size: 1.72rem;
  }

  .motion-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .motion-frame {
    width: 170px;
    justify-self: start;
  }

  .motion-copy h2 {
    font-size: 1.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .has-js [data-reveal],
  .has-js [data-reveal="media"] {
    opacity: 1;
    transform: none;
  }
}
