/* =========================================
   WHYTHEYSTAY — DESIGN SYSTEM CSS
   Homepage-first / editorial / premium
   ========================================= */

/* i18n — prevent flash of untranslated content */
.i18n-loading { opacity: 0; }
body { transition: opacity 0.1s ease; }

:root {
  /* Colors */
  --wts-bg: #F7F7F7;
  --wts-surface: #FFFFFF;
  --wts-surface-soft: #FADFE3;
  --wts-ink: #353535;
  --wts-ink-strong: #080808;
  --wts-brand: #23214A;
  --wts-accent: #E7363F;
  --wts-proof: #356D67;
  --wts-border: rgba(35, 33, 74, 0.10);
  --wts-border-strong: rgba(35, 33, 74, 0.18);

  /* Typography */
  --font-sans: "Averta Std Semigras", "Averta", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Georgia", "Times New Roman", serif;

  /* Type scale */
  --fs-hero: clamp(3rem, 6vw, 6rem);
  --fs-h1: clamp(2.25rem, 4vw, 4rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-body-lg: 1.25rem;
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Line heights */
  --lh-tight: 1.02;
  --lh-title: 1.08;
  --lh-body: 1.6;

  /* Layout */
  --container: 1200px;
  --container-narrow: 860px;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;

  /* Shadows */
  --shadow-soft: 0 8px 30px rgba(35, 33, 74, 0.05);
  --shadow-card: 0 16px 40px rgba(35, 33, 74, 0.06);

  /* Transition */
  --ease: 220ms ease;
}

/* =========================================
   RESET / BASE
   ========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wts-bg);
  color: var(--wts-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* =========================================
   TYPOGRAPHY
   ========================================= */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-3);
  color: var(--wts-ink-strong);
  line-height: var(--lh-title);
  letter-spacing: -0.03em;
}

h1.hero-title {
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: -0.05em;
  max-width: 12ch;
}

h2.section-title {
  font-size: var(--fs-h2);
  max-width: 20ch;
}

h3.card-title,
h3.report-title {
  font-size: var(--fs-h3);
}

.lead {
  font-size: var(--fs-body-lg);
  line-height: 1.45;
  color: rgba(53, 53, 53, 0.92);
  max-width: 44rem;
}

.text-lg {
  font-size: var(--fs-body-lg);
}

.text-sm {
  font-size: var(--fs-sm);
}

.text-xs {
  font-size: var(--fs-xs);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-3);
  color: var(--wts-brand);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted {
  color: rgba(53, 53, 53, 0.72);
}

.brand {
  color: var(--wts-brand);
}

.accent {
  color: var(--wts-accent);
}

.proof {
  color: var(--wts-proof);
}

/* =========================================
   LAYOUT
   ========================================= */

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 2rem), var(--container-narrow));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-8);
}

.section-tight {
  padding-block: var(--space-7);
}

.section-after-hero {
  padding-top: 3.5rem;
  padding-bottom: var(--space-7);
}

.section-soft {
  background: var(--wts-surface-soft);
}

.section-soft .eyebrow {
  color: #23214A;
}

.section-soft .section-title {
  color: var(--wts-brand);
}

.section-soft p,
.section-soft li {
  color: #353535;
}

.surface {
  background: var(--wts-surface);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.stack > * + * {
  margin-top: var(--space-4);
}

/* =========================================
   HEADER / NAV
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 247, 247, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(35, 33, 74, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: var(--space-4);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--wts-brand);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: rgba(53, 53, 53, 0.84);
  font-size: var(--fs-sm);
  transition: color var(--ease);
}

.nav-links a:hover {
  color: var(--wts-brand);
}

/* =========================================
   BUTTONS
   ========================================= */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: var(--space-5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  transition:
    transform var(--ease),
    background var(--ease),
    color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
  cursor: pointer;
}

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

.btn-primary {
  background: var(--wts-brand);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #1d1b40;
}

.btn-secondary {
  background: transparent;
  color: var(--wts-brand);
  border-color: var(--wts-border-strong);
}

.btn-secondary:hover {
  background: rgba(35, 33, 74, 0.04);
}

/* btn-accent: see order section below (WCAG AA fix) */

/* =========================================
   HERO
   ========================================= */

.hero {
  padding-top: var(--space-9);
  padding-bottom: var(--space-8);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: var(--space-7);
  align-items: center;
}

.hero-copy .hero-title {
  color: var(--wts-ink-strong);
}

.hero-copy .lead {
  margin-top: var(--space-4);
}

.hero-support {
  margin-top: var(--space-3);
  color: rgba(53, 53, 53, 0.68);
  font-size: var(--fs-sm);
  max-width: 42rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}

.hero-card img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 5.35;
}

.hero-img-placeholder {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5.35;
  background: linear-gradient(155deg, #23214A 0%, #356D67 55%, #FADFE3 100%);
}

.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(250, 223, 227, 0.94);
  color: var(--wts-brand);
  border: 1px solid rgba(35, 33, 74, 0.08);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

/* =========================================
   CONTRAST SECTION
   ========================================= */

.compare-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.compare-card {
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.compare-card--soft {
  background: rgba(250, 223, 227, 0.28);
}

.compare-card h3 {
  margin-bottom: var(--space-4);
  color: var(--wts-brand);
}

.compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(35, 33, 74, 0.08);
}

.compare-list li:last-child {
  border-bottom: 0;
}

.compare-closing {
  margin-top: 1.5rem;
  color: var(--wts-brand);
  font-size: var(--fs-body);
  font-weight: 600;
  max-width: 34rem;
}

/* =========================================
   INSIGHT CARDS / REFRAMING SECTION
   ========================================= */

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.insight-card {
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-label {
  color: rgba(53, 53, 53, 0.68);
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 500;
}

.insight-reveal {
  margin-top: var(--space-4);
  color: var(--wts-brand);
  font-size: 1.18rem;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 13ch;
}

/* =========================================
   METHOD SECTION
   ========================================= */

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.icon-list,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-list li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(35, 33, 74, 0.08);
}

.icon-list li:last-child,
.check-list li:last-child {
  border-bottom: 0;
}

.list-icon {
  width: 12px;
  height: 12px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--wts-brand);
  flex: 0 0 auto;
}

.list-icon--accent {
  background: var(--wts-accent);
}

.list-icon--proof {
  background: var(--wts-proof);
}

/* =========================================
   CASE STUDY
   ========================================= */

.case-study {
  background: var(--wts-brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  overflow: hidden;
}

.case-study .eyebrow,
.case-study h2,
.case-study h3 {
  color: #fff;
}

.case-study .section-title {
  max-width: 12ch;
  margin-bottom: var(--space-6);
}

.case-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  grid-template-areas:
    "before reveal"
    ". change"
    ". decisions";
  gap: 1.5rem 2rem;
  align-items: start;
}

.case-card-decisions {
  grid-area: decisions;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.case-decision-list {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.case-decision-list li {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.case-decision-list li + li {
  margin-top: 0.5rem;
}

.case-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.case-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  line-height: 1.15;
}

.case-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.55;
}

.case-card-before {
  grid-area: before;
  max-width: 420px;
  margin-top: 1.75rem;
}

.case-card-reveal {
  grid-area: reveal;
  max-width: 560px;
}

.case-card-change {
  grid-area: change;
  max-width: 560px;
}

.case-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.case-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.case-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .case-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "before"
      "reveal"
      "change"
      "decisions";
    gap: 1rem;
  }

  .case-card-before,
  .case-card-reveal,
  .case-card-change,
  .case-card-decisions {
    max-width: none;
    margin-top: 0;
  }
}

.case-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}

.case-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.case-panel h3 {
  margin-bottom: var(--space-2);
}

.case-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.case-divider {
  width: 64px;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  margin: var(--space-4) 0;
}

/* =========================================
   REPORTS SECTION
   ========================================= */

.reports-heading {
  max-width: 18ch;
}

.reports-timing {
  margin-top: 0.75rem;
  max-width: 48rem;
  color: rgba(53, 53, 53, 0.72);
  font-size: 1rem;
  line-height: 1.5;
}

.reports-note {
  display: inline-block;
  margin-top: 0.35rem;
  color: rgba(53, 53, 53, 0.78);
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
  max-width: 860px;
}

.report-card {
  position: relative;
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.report-card:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 33, 74, 0.16);
  box-shadow: var(--shadow-card);
}

/* report-tag: single definition below (dead code removed) */

.report-subtitle {
  color: rgba(53, 53, 53, 0.74);
  margin-bottom: var(--space-4);
}

.report-block {
  margin-top: var(--space-4);
}

.report-block h4 {
  margin: 0 0 0.5rem;
  color: var(--wts-brand);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.report-list {
  margin: 0;
  padding-left: 1.1rem;
}

.report-list li + li {
  margin-top: 0.55rem;
}

.report-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.report-start-hint {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(35, 33, 74, 0.06);
  color: var(--wts-brand);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.report-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--wts-brand);
  color: var(--wts-surface-soft);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.report-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.report-tag-1::before {
  background: #E7363F;
}

.report-tag-2::before {
  background: #FADFE3;
}

.report-tag-3::before {
  background: #356D67;
}

.report-cover {
  width: 100%;
  border-radius: 18px;
  margin-top: 1rem;
  border: 1px solid rgba(35, 33, 74, 0.08);
  box-shadow: 0 10px 24px rgba(35, 33, 74, 0.06);
}

.report-card-start {
  border-color: rgba(35, 33, 74, 0.16);
  box-shadow: 0 18px 36px rgba(35, 33, 74, 0.08);
}

.report-visual {
  width: 100%;
  min-height: 260px;
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--wts-brand);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(35, 33, 74, 0.08);
}

.report-visual-title {
  max-width: 11ch;
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.report-visual-subtitle {
  max-width: 24ch;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--wts-surface-soft);
  opacity: 0.95;
}

.report-visual-1 .report-visual-title {
  color: #E7363F;
}

.report-visual-2 .report-visual-title {
  color: #FADFE3;
}

.report-visual-3 .report-visual-title {
  color: #356D67;
}

.report-price {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  color: var(--wts-brand);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.report-layer-hint {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(35, 33, 74, 0.06);
  color: var(--wts-brand);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* =========================================
   VALUE / PRICING PERCEPTION SECTION
   ========================================= */

.value-panel {
  background: linear-gradient(
    180deg,
    rgba(250, 223, 227, 0.42) 0%,
    rgba(255, 255, 255, 0.92) 100%
  );
  border: 1px solid rgba(35, 33, 74, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.value-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid rgba(35, 33, 74, 0.08);
}

.value-card h3 {
  color: var(--wts-brand);
  margin-bottom: 0.5rem;
}

/* =========================================
   TESTIMONIALS / PROOF
   ========================================= */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.quote-card {
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}

.quote-mark {
  color: var(--wts-accent);
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.quote-text {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--wts-ink-strong);
}

.quote-meta {
  margin-top: var(--space-4);
  color: rgba(53, 53, 53, 0.68);
  font-size: var(--fs-sm);
}

.testimonial-single {
  max-width: 880px;
  margin-top: var(--space-5);
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
}

.testimonial-single .quote-mark {
  color: var(--wts-accent);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  margin: 0;
  color: var(--wts-ink-strong);
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 46rem;
}

.testimonial-meta {
  margin-top: var(--space-5);
  color: rgba(53, 53, 53, 0.75);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.testimonial-meta a {
  color: var(--wts-brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 33, 74, 0.18);
  transition: border-color var(--ease), color var(--ease);
}

.testimonial-meta a:hover {
  color: var(--wts-accent);
  border-bottom-color: rgba(231, 54, 63, 0.35);
}

/* =========================================
   FINAL CTA
   ========================================= */

.final-cta {
  text-align: center;
  padding-block: var(--space-9);
}

.final-cta .section-title {
  margin-inline: auto;
  max-width: 14ch;
}

.final-cta .lead {
  margin-inline: auto;
}

.final-cta-panel {
  background: var(--wts-brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-7);
}

.final-cta-panel h2,
.final-cta-panel p,
.final-cta-panel .eyebrow {
  color: #fff;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  padding-block: var(--space-6);
  border-top: 1px solid rgba(35, 33, 74, 0.08);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-brand {
  color: var(--wts-brand);
  font-weight: 700;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(53, 53, 53, 0.50);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(53, 53, 53, 0.68);
  font-size: var(--fs-sm);
}

/* =========================================
   UTILITIES
   ========================================= */

.text-center {
  text-align: center;
}

.max-40 {
  max-width: 40rem;
}

.max-48 {
  max-width: 48rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-3 {
  margin-top: var(--space-3);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-5 {
  margin-top: var(--space-5);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1100px) {
  .hero-grid,
  .case-grid,
  .method-grid,
  .grid-3,
  .reports-grid,
  .value-grid,
  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .section {
    padding-block: var(--space-7);
  }

  .hero {
    padding-top: var(--space-8);
  }

  .hero-grid,
  .compare-wrap,
  .method-grid,
  .case-grid,
  .reports-grid,
  .quote-grid,
  .value-grid,
  .insight-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hero-title {
    max-width: 11ch;
  }

  .hero-card {
    padding: var(--space-4);
  }

  .case-study,
  .value-panel,
  .final-cta-panel {
    padding: var(--space-5);
  }
}

@media (max-width: 560px) {
  .container,
  .container-narrow {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .btn {
    width: 100%;
  }

  .button-row {
    flex-direction: column;
  }

  .report-card,
  .compare-card,
  .quote-card,
  .insight-card {
    padding: var(--space-4);
  }
}

.language-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.8rem;
  border: 1px solid rgba(35, 33, 74, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--wts-brand);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--ease),
    border-color var(--ease),
    color var(--ease),
    transform var(--ease);
}

.language-trigger:hover {
  background: rgba(250, 223, 227, 0.45);
  border-color: rgba(35, 33, 74, 0.16);
}

.language-trigger:focus-visible {
  outline: 2px solid rgba(231, 54, 63, 0.35);
  outline-offset: 2px;
}

.language-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.language-current {
  letter-spacing: 0.02em;
}

.language-chevron {
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.8;
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid rgba(35, 33, 74, 0.10);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(35, 33, 74, 0.10);
  padding: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity var(--ease),
    transform var(--ease),
    visibility var(--ease);
  z-index: 50;
}

.language-menu.is-open,
.language-dropdown:hover .language-menu,
.language-dropdown:focus-within .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================
   NAV CTA
   ========================================= */

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--wts-brand);
  color: #fff !important;
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: background var(--ease), transform var(--ease);
}

.nav-cta:hover {
  background: #1d1b40;
  transform: translateY(-1px);
}

/* =========================================
   BTN-ACCENT FIX (WCAG AA)
   ========================================= */

.btn-accent {
  background: var(--wts-accent);
  color: #fff;
  border: 1px solid transparent;
}

.btn-accent:hover {
  background: #d8323a;
  color: #fff;
}

/* =========================================
   ORDER SECTION
   ========================================= */

.section-order {
  padding-block: var(--space-9);
}

.order-panel {
  background: var(--wts-brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-7);
}

.order-panel .eyebrow,
.order-panel h2,
.order-panel h3,
.order-panel p,
.order-panel label {
  color: #fff;
}

.order-panel .lead {
  color: rgba(255, 255, 255, 0.85);
}

.order-panel .section-title {
  margin-inline: auto;
  max-width: 14ch;
  text-align: center;
}

.order-panel .eyebrow {
  display: block;
  text-align: center;
}

.order-panel .lead {
  text-align: center;
  margin-inline: auto;
}

/* Steps */
.order-step {
  display: none;
  margin-top: var(--space-5);
}

.order-step.is-active {
  display: block;
  animation: orderFadeIn 400ms ease;
}

.order-step.is-done {
  display: none;
}

@keyframes orderFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Step 1: URL field */
.order-field-row {
  display: flex;
  gap: 0.75rem;
  max-width: 640px;
  margin-inline: auto;
}

.order-input {
  flex: 1;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color var(--ease), background var(--ease);
}

.order-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.order-input:focus {
  outline: none;
  border-color: var(--wts-accent);
  background: rgba(255, 255, 255, 0.12);
}

.order-textarea {
  padding-top: 0.75rem;
  resize: vertical;
}

.order-input-note {
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}

select.order-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.order-input option {
  color: var(--wts-ink-strong);
  background: #fff;
}

.order-check-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.order-check-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Status messages */
.order-status {
  max-width: 640px;
  margin: var(--space-3) auto 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  line-height: 1.5;
  display: none;
}

.order-status:not(:empty) {
  display: block;
}

.status-icon {
  font-weight: 700;
  margin-right: 0.35rem;
}

.order-status-green {
  background: rgba(53, 109, 103, 0.25);
  border: 1px solid rgba(53, 109, 103, 0.4);
  color: #c8f0ec;
}

.order-status-orange {
  background: rgba(255, 180, 50, 0.18);
  border: 1px solid rgba(255, 180, 50, 0.35);
  color: #ffe0a0;
}

.order-status-red,
.order-status-error {
  background: rgba(231, 54, 63, 0.18);
  border: 1px solid rgba(231, 54, 63, 0.35);
  color: #ffc4c7;
}

.order-status-red a,
.order-status-error a {
  color: #fff;
  text-decoration: underline;
}

.order-status-loading {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

/* Step 2: form */
.order-venue-confirmed {
  text-align: center;
  padding: 0.75rem 1rem;
  margin-bottom: var(--space-5);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}

.venue-badge {
  font-weight: 700;
  margin-right: 0.25rem;
}

.venue-badge-green { color: #8df0e8; }
.venue-badge-orange { color: #ffe0a0; }

.order-change-url {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  font-size: var(--fs-xs);
  margin-left: 0.5rem;
  cursor: pointer;
}

.order-change-url:hover {
  color: #fff;
}

/* Report option cards */
.order-options {
  margin-bottom: var(--space-5);
}

.order-options-title {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: var(--space-3);
  text-align: center;
}

.order-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  max-width: 640px;
  margin-inline: auto;
}

.order-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}

.order-option-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.order-option-card.is-selected {
  border-color: var(--wts-accent);
  background: rgba(231, 54, 63, 0.1);
}

.order-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.order-option-tag {
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
}

.order-option-desc {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.order-option-price {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: auto;
}

/* Form fields */
.order-form-fields {
  max-width: 640px;
  margin-inline: auto;
}

.order-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.order-field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
}

.order-field .order-input {
  width: 100%;
}

/* Billing toggle */
.order-billing-toggle {
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.order-billing-toggle summary {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0.5rem 0;
}

.order-billing-toggle summary:hover {
  color: rgba(255, 255, 255, 0.8);
}

.order-billing-fields {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

/* Submit row */
.order-submit-row {
  text-align: center;
  margin-top: var(--space-5);
  max-width: 640px;
  margin-inline: auto;
}

.order-pay-btn {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
  background: var(--wts-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}

.order-pay-btn:hover {
  background: #d8323a;
  transform: translateY(-1px);
}

.order-pay-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.order-reassurance {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
}

.order-footer-note {
  text-align: center;
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 820px) {
  .order-panel {
    padding: var(--space-5);
  }

  .order-field-row {
    flex-direction: column;
  }

  .order-cards {
    grid-template-columns: 1fr;
  }

  .order-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .order-check-btn {
    width: 100%;
  }
}

.language-option {
  display: block;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  color: var(--wts-ink);
  font-size: var(--fs-sm);
  transition:
    background var(--ease),
    color var(--ease);
}

.language-option:hover {
  background: rgba(250, 223, 227, 0.45);
  color: var(--wts-brand);
}

.language-option.is-active {
  background: rgba(35, 33, 74, 0.06);
  color: var(--wts-brand);
  font-weight: 700;
}

.language-option-more {
  position: relative;
  border-top: 0;
  margin-top: 0.3rem;
  padding-top: 0.82rem;
}

.language-option-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.8rem;
  right: 0.8rem;
  height: 1px;
  background: rgba(35, 33, 74, 0.08);
}

.section-decisions {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.decisions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.decision-card {
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.decision-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--wts-brand);
  color: var(--wts-surface-soft);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.decision-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.decision-list li {
  color: var(--wts-ink-strong);
  line-height: 1.5;
}

.decision-list li + li {
  margin-top: 0.55rem;
}

/* Progressive left border: tactical → strategic */
.decision-card-48h {
  border-left: 3px solid rgba(231, 54, 63, 0.35);
}

.decision-card-7d {
  border-left: 3px solid #E7363F;
}

.decision-card-30d {
  border-left: 3px solid var(--wts-brand);
}

@media (max-width: 820px) {
  .decisions-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   SAMPLE PAGE
   ========================================= */

.sample-banner {
  background: var(--wts-proof);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-xs);
  text-align: center;
  padding: 0.65rem 1rem;
  letter-spacing: 0.01em;
}

.sample-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: rgba(53, 53, 53, 0.62);
}

.sample-meta span + span::before {
  content: "·";
  margin-right: 0.75rem;
  opacity: 0.5;
}

.confidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-4);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(53, 109, 103, 0.08);
  border: 1px solid rgba(53, 109, 103, 0.2);
  color: var(--wts-proof);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.confidence-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wts-proof);
  flex: 0 0 auto;
}

.report-parts-list {
  margin-top: var(--space-4);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  counter-reset: parts;
}

.report-parts-list li {
  counter-increment: parts;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--wts-ink);
}

.report-parts-list li::before {
  content: counter(parts);
  min-width: 1.4rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--wts-accent);
  text-align: right;
  flex: 0 0 auto;
}

.verbatim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.verbatim-card {
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.verbatim-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--wts-ink-strong);
  font-style: italic;
}

.verbatim-original {
  margin-top: 0.65rem;
  font-size: var(--fs-xs);
  color: rgba(53, 53, 53, 0.5);
  font-style: italic;
}

.verbatim-attribution {
  margin-top: 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--wts-ink);
}

.competitor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.competitor-item {
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.competitor-item.is-direct {
  border-color: rgba(231, 54, 63, 0.35);
}

.competitor-item.is-self {
  background: var(--wts-brand);
  border-color: var(--wts-brand);
}

.competitor-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--wts-ink-strong);
  margin-bottom: 0.4rem;
}

.competitor-item.is-self .competitor-name {
  color: #fff;
}

.competitor-archetype {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(231, 54, 63, 0.1);
  color: var(--wts-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.competitor-item.is-self .competitor-archetype {
  background: rgba(250, 223, 227, 0.15);
  color: #FADFE3;
}

.competitor-score {
  font-size: var(--fs-sm);
  color: rgba(53, 53, 53, 0.6);
}

.competitor-item.is-self .competitor-score {
  color: rgba(255, 255, 255, 0.6);
}

.competitor-direct-label {
  margin-top: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wts-accent);
}

.advantage-block {
  margin-top: var(--space-5);
  border: 1px solid var(--wts-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.advantage-block-header {
  background: var(--wts-brand);
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
}

.advantage-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.advantage-col {
  padding: 1.25rem;
}

.advantage-col + .advantage-col {
  border-left: 1px solid var(--wts-border);
  background: rgba(53, 109, 103, 0.04);
}

.advantage-col-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(53, 53, 53, 0.45);
  margin-bottom: 0.5rem;
}

.advantage-col + .advantage-col .advantage-col-label {
  color: var(--wts-proof);
}

.advantage-col p {
  font-size: var(--fs-sm);
  color: var(--wts-ink);
  line-height: 1.55;
}

.white-space-card {
  background: var(--wts-surface);
  border: 1px solid var(--wts-border);
  border-left: 3px solid var(--wts-proof);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: var(--space-4);
}

.white-space-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wts-proof);
  margin-bottom: 0.4rem;
}

.white-space-card p {
  font-size: var(--fs-sm);
  color: var(--wts-ink);
  line-height: 1.55;
}

.sample-archetype-section {
  background: var(--wts-brand);
  color: #fff;
  padding: var(--space-8) 0;
}

.archetype-word {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--wts-surface-soft);
  margin: var(--space-4) 0;
}

.archetype-oneliner {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin-bottom: var(--space-5);
}

.archetype-not-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  max-width: 60ch;
}

.archetype-not-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem;
}

.archetype-not-box p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

.sample-cta-panel {
  background: var(--wts-brand);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  color: #fff;
}

.sample-cta-panel .eyebrow {
  color: var(--wts-surface-soft);
  opacity: 0.75;
}

.sample-cta-panel .section-title {
  color: #fff;
}

.sample-cta-panel .lead {
  color: rgba(255,255,255,0.78);
}

@media (max-width: 820px) {
  .verbatim-grid {
    grid-template-columns: 1fr;
  }

  .competitor-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advantage-cols {
    grid-template-columns: 1fr;
  }

  .advantage-col + .advantage-col {
    border-left: none;
    border-top: 1px solid var(--wts-border);
  }
}

@media (max-width: 560px) {
  .competitor-grid {
    grid-template-columns: 1fr;
  }
}

