/* ==========================================================================
   ShiftMetrics UK Pro — Dark-Fintech Static Storefront Stylesheet
   Palette matched to live Android app:
   Canvas #071118 | Card #0F1E26 | Emerald #10B981 | Amber #F59E0B
   ========================================================================== */

:root {
  /* Core Surfaces */
  --bg-canvas: #071118;
  --bg-elevated: #0b1821;
  --bg-card: #0f1e26;
  --bg-card-hover: #142731;
  --bg-inset: #08131a;
  --bg-glass: rgba(7, 17, 24, 0.84);

  /* Brand & Semantic Accents */
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-deep: #059669;
  --emerald-soft: rgba(16, 185, 129, 0.13);
  --emerald-border: rgba(16, 185, 129, 0.34);

  --amber: #f59e0b;
  --amber-bright: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.13);
  --amber-border: rgba(245, 158, 11, 0.34);

  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.13);
  --danger-border: rgba(248, 113, 113, 0.34);

  --sky: #38bdf8;
  --sky-soft: rgba(56, 189, 248, 0.12);

  /* Typography Colours */
  --text-primary: #f1f6f9;
  --text-secondary: #a8bcc8;
  --text-muted: #768f9e;

  /* Hairlines & Elevation */
  --border-subtle: rgba(215, 236, 247, 0.085);
  --border-strong: rgba(215, 236, 247, 0.16);
  --shadow-card: 0 18px 44px rgba(2, 8, 13, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-phone: 0 28px 64px rgba(1, 7, 11, 0.72), 0 0 0 1px rgba(215, 236, 247, 0.13);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --container-max: 1180px;
  --header-h: 72px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-canvas);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(ellipse 80% 42% at 50% -6%, rgba(16, 185, 129, 0.11), transparent 72%),
    radial-gradient(ellipse 46% 32% at 88% 12%, rgba(56, 189, 248, 0.055), transparent 68%);
  background-repeat: no-repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--emerald-bright);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: #6ee7b7;
}

:focus-visible {
  outline: 2px solid var(--emerald-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  background: var(--emerald);
  color: #03110c;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Tabular Numbers Utility */
.num,
.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

.section {
  padding-block: 68px;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, rgba(15, 30, 38, 0.45) 0%, rgba(7, 17, 24, 0) 100%);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 960px) {
  .section {
    padding-block: 96px;
  }
}

/* Typography Scale */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.35rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.35rem);
}

h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  margin-bottom: 14px;
}

.eyebrow--amber {
  color: var(--amber-bright);
}

.section-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-lead {
  margin-top: 14px;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  text-align: center;
  white-space: normal;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--emerald);
  color: #03150e;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn--primary:hover {
  background: var(--emerald-bright);
  color: #03150e;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--secondary {
  background: rgba(15, 30, 38, 0.85);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: rgba(215, 236, 247, 0.28);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn--lg {
  padding: 15px 26px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 480px) {
  .btn-group .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text-primary);
}

.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.03rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--emerald-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.91rem;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current='page'] {
  color: var(--text-primary);
}

.nav-desktop a[aria-current='page'] {
  color: var(--emerald-bright);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #08131b;
  border-bottom: 1px solid var(--border-strong);
  padding: 18px 20px 24px;
  z-index: 99;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.nav-mobile__links a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-mobile__links a:hover,
.nav-mobile__links a[aria-current='page'] {
  background: var(--bg-card);
  color: var(--emerald-bright);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 44px;
  padding-bottom: 64px;
}

@media (min-width: 960px) {
  .hero {
    padding-top: 66px;
    padding-bottom: 88px;
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero__grid > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 56px;
  }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-bright);
}

.hero__meta-sep {
  color: var(--text-muted);
}

.hero__sub {
  margin-top: 18px;
  margin-bottom: 28px;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.66;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero__footnote {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.spec-strip {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 560px) {
  .spec-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.spec-strip__val {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}

.spec-strip__label {
  font-size: 0.79rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* Hero Visual Showcase */
.hero-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.showcase-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.showcase-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.showcase-tab:hover {
  color: var(--text-primary);
}

.showcase-tab.is-active {
  background: #172e3a;
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.showcase-tab[data-tone='amber'].is-active {
  color: var(--amber-bright);
}

.showcase-tab[data-tone='emerald'].is-active {
  color: var(--emerald-bright);
}

.phone-stage {
  position: relative;
  width: 100%;
  max-width: 344px;
  margin-inline: auto;
}

.screen-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0a0f16;
  box-shadow: var(--shadow-phone);
}

.screen-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-panel {
  display: none;
}

.screen-panel.is-active {
  display: block;
  animation: panelFade 0.22s ease;
}

@keyframes panelFade {
  from {
    opacity: 0.35;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-caption {
  width: 100%;
  max-width: 380px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.hero-caption strong {
  color: var(--text-primary);
}

.hero-caption .accent-amber {
  color: var(--amber-bright);
  font-weight: 700;
}

.hero-caption .accent-emerald {
  color: var(--emerald-bright);
  font-weight: 700;
}

/* ==========================================================================
   Problem Breakdown Grid
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 680px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .problem-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  background: linear-gradient(180deg, #11222c 0%, #0d1b23 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.problem-card__metric {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber-bright);
  margin-bottom: 10px;
  display: block;
}

.problem-card__metric--red {
  color: var(--danger);
}

.problem-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.92rem;
  line-height: 1.58;
}

/* ==========================================================================
   Feature Sections (6 Core Capabilities)
   ========================================================================== */
.features-stack {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

@media (min-width: 960px) {
  .features-stack {
    gap: 104px;
  }
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.feature-row > * {
  min-width: 0;
}

@media (min-width: 920px) {
  .feature-row {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 64px;
  }

  .feature-row--reverse .feature-row__content {
    order: 2;
  }

  .feature-row--reverse .feature-row__media {
    order: 1;
  }
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.feature-row__content h3 {
  font-size: clamp(1.42rem, 2.5vw, 1.92rem);
  margin-bottom: 14px;
}

.feature-row__lead {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  display: block;
  padding-left: 28px;
  font-size: 0.95rem;
  line-height: 1.58;
  color: var(--text-secondary);
  overflow-wrap: break-word;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--emerald-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2L6.8 11L12.2 5.4' stroke='%2334D399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.check-list strong {
  color: var(--text-primary);
}

.check-list code,
.privacy-pillar code,
.pricing-footnote code,
.faq-item__body code,
.compare-table code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 1px 6px;
  border-radius: 5px;
  background: #0d1f29;
  border: 1px solid var(--border-subtle);
  color: var(--emerald-bright);
  overflow-wrap: anywhere;
}

.feature-row__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.feature-row__media .phone-stage {
  max-width: 318px;
}

.media-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 330px;
}

/* ==========================================================================
   Interactive Net £/hr Calculator
   ========================================================================== */
.calc-shell {
  background: linear-gradient(180deg, #10212b 0%, #0b171f 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .calc-shell {
    padding: 36px;
  }
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-presets__label {
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.preset-btn {
  appearance: none;
  background: var(--bg-inset);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.preset-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.preset-btn.is-active {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald-bright);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.calc-grid > * {
  min-width: 0;
}

@media (min-width: 920px) {
  .calc-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 36px;
  }
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-group__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.control-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.control-val {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--emerald-bright);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Custom Range Slider */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #1a313e;
  outline: none;
  cursor: pointer;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-bright);
  border: 3px solid #071118;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45);
  cursor: pointer;
}

input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-bright);
  border: 3px solid #071118;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45);
  cursor: pointer;
}

.seg-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.seg-btn {
  appearance: none;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 10px;
  padding: 10px 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.seg-btn small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.seg-btn.is-active {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--text-primary);
}

.seg-btn.is-active small {
  color: var(--emerald-bright);
}

.seg-btn[data-cc-tone='amber'].is-active {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  color: var(--amber-bright);
}

.seg-btn[data-cc-tone='amber'].is-active small {
  color: var(--amber-bright);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-row input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--emerald);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-row.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Calculator Output HUD Card */
.calc-hud {
  background: #081219;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-hud__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-hud__title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.verdict-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.verdict-tag--green {
  background: var(--emerald-soft);
  color: var(--emerald-bright);
  border: 1px solid var(--emerald-border);
}

.verdict-tag--amber {
  background: var(--amber-soft);
  color: var(--amber-bright);
  border: 1px solid var(--amber-border);
}

.verdict-tag--red {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.calc-headline-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 12px;
}

@media (min-width: 520px) {
  .calc-metric-box {
    padding: 16px;
  }
}

.calc-metric-box__label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
}

.calc-metric-box__val {
  font-family: var(--font-mono);
  font-size: clamp(1.16rem, 4.4vw, 1.95rem);
  font-weight: 800;
  margin-top: 4px;
  display: block;
  color: var(--text-primary);
  white-space: nowrap;
}

.calc-metric-box__val--green {
  color: var(--emerald-bright);
}

.calc-metric-box__val--amber {
  color: var(--amber-bright);
}

.calc-metric-box__val--red {
  color: var(--danger);
}

.calc-delta {
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  font-size: 0.86rem;
  color: var(--amber-bright);
  font-weight: 600;
}

.calc-delta--green {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald-bright);
}

.calc-breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.89rem;
  color: var(--text-secondary);
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(215, 236, 247, 0.08);
}

.calc-breakdown li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.calc-breakdown .val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

.calc-breakdown .val--neg {
  color: var(--amber-bright);
}

.calc-breakdown .val--pos {
  color: var(--emerald-bright);
}

.calc-disclaimer {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   On-Device Privacy Banner
   ========================================================================== */
.privacy-banner {
  background: linear-gradient(135deg, #0d222b 0%, #091720 65%, #0c2320 100%);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .privacy-banner {
    padding: 44px;
  }
}

.privacy-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.privacy-banner__grid > * {
  min-width: 0;
}

@media (min-width: 920px) {
  .privacy-banner__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
  }
}

.privacy-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 520px) {
  .privacy-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.privacy-pillar {
  background: rgba(7, 17, 24, 0.62);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.privacy-pillar strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.privacy-pillar span {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 860px;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #11222c 0%, #0c1921 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.price-card--featured {
  background: linear-gradient(180deg, #11292d 0%, #0c1b22 100%);
  border-color: var(--emerald-border);
}

.price-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 7px;
  margin-bottom: 14px;
  background: var(--emerald-soft);
  color: var(--emerald-bright);
  border: 1px solid var(--emerald-border);
}

.price-badge--muted {
  background: rgba(215, 236, 247, 0.06);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.price-card__amount {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-card__figure {
  font-family: var(--font-display);
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.price-card__period {
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.price-card__equiv {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--emerald-bright);
  font-weight: 600;
}

.price-card__equiv--muted {
  color: var(--text-muted);
  font-weight: 500;
}

.price-card__list {
  margin: 22px 0 26px;
  flex-grow: 1;
}

.pricing-footnote {
  max-width: 860px;
  margin: 24px auto 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.89rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

.pricing-footnote strong {
  color: var(--text-primary);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--emerald-bright);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item__body {
  padding: 0 22px 20px;
  font-size: 0.94rem;
  line-height: 1.66;
  color: var(--text-secondary);
}

/* ==========================================================================
   Compare Table & Sub-Pages (Privacy, Data Deletion, Terms)
   ========================================================================== */
.page-hero {
  padding-top: 52px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  max-width: 820px;
}

.page-hero__meta {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  font-size: 0.92rem;
  line-height: 1.52;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  background: #0b1820;
}

.compare-table th.col-sm,
.compare-table td.col-sm {
  background: rgba(16, 185, 129, 0.065);
}

.compare-table thead th.col-sm {
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.12);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--text-primary);
  width: 24%;
}

.status-yes {
  color: var(--emerald-bright);
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}

.status-partial {
  color: var(--amber-bright);
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}

.status-no {
  color: var(--text-muted);
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}

/* Prose / Legal Pages */
.prose {
  max-width: 820px;
}

.prose h2 {
  font-size: 1.42rem;
  margin-top: 38px;
  margin-bottom: 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.prose p,
.prose li {
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text-primary);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.87em;
  padding: 2px 6px;
  border-radius: 6px;
  background: #0d1f29;
  border: 1px solid var(--border-subtle);
  color: var(--emerald-bright);
}

.callout {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--emerald-border);
  margin: 24px 0;
}

.callout--amber {
  border-color: var(--amber-border);
  background: rgba(245, 158, 11, 0.07);
}

.callout strong {
  color: var(--text-primary);
}

.step-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 22px 0 28px;
}

@media (min-width: 680px) {
  .step-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.step-card__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 1.06rem;
  margin-bottom: 10px;
}

/* Final CTA Banner */
.cta-band {
  background: linear-gradient(135deg, #0f252e 0%, #0a1820 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .cta-band {
    padding: 52px 44px;
  }
}

.cta-band p {
  max-width: 580px;
  margin: 14px auto 26px;
  font-size: 1.02rem;
}

.cta-band .btn-group {
  justify-content: center;
}

/* ==========================================================================
   UK Companies Act 2006 Legal Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #050d13;
  padding-top: 52px;
  padding-bottom: 44px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.35fr 0.8fr 0.85fr;
    gap: 40px;
  }
}

.footer-about {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 400px;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--emerald-bright);
}

.footer-legal {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-company {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-company a {
  color: var(--emerald-bright);
}

.footer-disclaimers {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.62;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
