:root {
  /* Palette: Architectural Cool Off-White + Deep Forest Emerald (matches portrait silk blouse) */
  --bg: oklch(0.985 0.004 220);         /* #F7F9FA — clean daylight, zero AI-cream */
  --bg-subtle: oklch(0.956 0.007 215);  /* #EDF1F3 */
  --surface: #FFFFFF;
  --ink: oklch(0.18 0.018 220);         /* #111A1E — crisp slate-black */
  --ink-muted: oklch(0.42 0.018 220);   /* #4A575E — >7:1 WCAG AAA contrast */
  --ink-faint: oklch(0.56 0.014 220);   /* #717F87 */

  --brand: oklch(0.35 0.082 162);       /* #0F5442 — deep emerald authority */
  --brand-hover: oklch(0.28 0.072 162); /* #0A3E30 */
  --brand-soft: oklch(0.945 0.024 162); /* #E3F2EC */
  --brand-ink: oklch(0.24 0.062 162);   /* #093629 */

  --warn-bg: oklch(0.965 0.016 20);     /* #FCF1F0 */
  --warn-border: oklch(0.87 0.045 20);  /* #EBC6C2 */
  --warn-ink: oklch(0.41 0.115 20);     /* #8A2B26 */

  --border: oklch(0.90 0.008 215);      /* #DCE2E6 */
  --border-strong: oklch(0.82 0.012 215); /* #C2CCD2 */

  /* Shape Consistency Lock + nested radius formula (outer 24 - gap 8 = inner 16) */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Spacing rhythm (landing-page-design B2) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Motion (Emil Kowalski + landing-page-design — punchy ease-out, zero sluggish ease-in) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-tap: 140ms;
  --dur-fast: 220ms;
  --dur-base: 420ms;
  --dur-slow: 680ms;

  /* Shadows tinted to ink hue */
  --shadow-float: 0 10px 32px rgba(17, 26, 30, 0.07), 0 1px 2px rgba(17, 26, 30, 0.05);
  --shadow-card: 0 16px 44px rgba(17, 26, 30, 0.06);

  /* Semantic z-index scale */
  --z-base: 1;
  --z-sticky: 40;
  --z-nav: 60;
  --z-drawer: 80;
  --z-toast: 100;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* Reading progress hairline */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--brand);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 95;
  pointer-events: none;
  will-change: transform;
}

/* Skip link (B10 accessibility) */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.875rem;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus {
  top: 16px;
}

/* Layout container — padding-inline only so section vertical padding never collapses */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.hero-grid > *,
.bento-grid > *,
.myths-layout > *,
.about-layout > *,
.faq-split > *,
.contact-split > *,
.analyzer-result > * {
  min-width: 0;
}

/* ---------- FLOATING NAVIGATION (B7) ---------- */
.nav-shell {
  position: sticky;
  top: 14px;
  z-index: var(--z-nav);
  padding-inline: 16px;
  pointer-events: none;
}

.nav-bar {
  pointer-events: auto;
  max-width: var(--container);
  margin-inline: auto;
  height: 64px;
  padding: 8px 10px 8px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(17, 26, 30, 0.08);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: var(--bg-subtle);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  padding: 6px 8px;
}

/* Morphing burger icon (B7) */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 1.75px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out);
}

.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Full-height mobile drawer (B7) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgba(247, 249, 250, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 28px 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-links a {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.mobile-drawer.is-open .drawer-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-drawer.is-open .drawer-links a:nth-child(1) { transition-delay: 40ms; }
.mobile-drawer.is-open .drawer-links a:nth-child(2) { transition-delay: 100ms; }
.mobile-drawer.is-open .drawer-links a:nth-child(3) { transition-delay: 160ms; }
.mobile-drawer.is-open .drawer-links a:nth-child(4) { transition-delay: 220ms; }
.mobile-drawer.is-open .drawer-links a:nth-child(5) { transition-delay: 280ms; }

/* ---------- BUTTONS (Single-line lock + Tactile active + WCAG AA) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-brand {
  background: var(--brand);
  color: #FFFFFF;
}

.btn-brand:hover {
  background: var(--brand-hover);
}

.btn-ink {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-ink:hover {
  background: #23323A;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-light {
  background: #FFFFFF;
  color: var(--brand-ink);
}

.btn-light:hover {
  background: var(--brand-soft);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 4px;
  border-bottom: 1.5px solid var(--border-strong);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

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

/* ---------- TYPOGRAPHY SCALE (B1 + impeccable) ---------- */
.heading-1 {
  font-size: clamp(2.15rem, 4.1vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.heading-2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.heading-3 {
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.body-lead {
  font-size: 1.125rem;
  line-height: 1.58;
  color: var(--ink-muted);
  max-width: 54ch;
  margin: 0;
  text-wrap: pretty;
}

.body-text {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-muted);
  max-width: 65ch;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- SECTIONS RHYTHM ---------- */
.section {
  padding-block: clamp(68px, 8.5vw, 120px);
}

.section-tight {
  padding-block: clamp(44px, 5vw, 72px);
}

.section-subtle {
  background: var(--bg-subtle);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-12);
}

.section-head .heading-2 {
  margin-bottom: var(--space-4);
}

/* ---------- 1. HERO (Complete inside first 1280x800 viewport, max 4 elements) ---------- */
.hero {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(48px, 6vw, 76px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--space-6);
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
  flex-shrink: 0;
}

.live-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  opacity: 0;
  animation: pulseRing 2.6s var(--ease-out) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 0.6; }
  75%, 100% { transform: scale(1.7); opacity: 0; }
}

/* Hand-drawn signature stroke under hero highlight */
.hero-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hero-stroke {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -6px;
  width: calc(100% + 4px);
  height: 12px;
  overflow: visible;
  pointer-events: none;
}

.hero-stroke path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: drawStroke 900ms var(--ease-spring) 220ms forwards;
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

.hero-content .heading-1 {
  margin-bottom: var(--space-6);
  max-width: 17ch;
}

.hero-content .body-lead {
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-visual-stage {
  position: relative;
}

.hero-visual-stage::before {
  content: "";
  position: absolute;
  inset: -18px -18px -14px -14px;
  background-image: radial-gradient(rgba(15, 84, 66, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: 32px;
  z-index: 0;
  mask-image: radial-gradient(circle at 60% 50%, black 42%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 60% 50%, black 42%, transparent 78%);
  pointer-events: none;
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 590px;
  width: 100%;
  background: var(--bg-subtle);
  box-shadow: 0 24px 60px rgba(17, 26, 30, 0.12);
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-photo-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(17, 26, 30, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-photo-caption p {
  margin: 0 0 6px;
  font-size: 0.92rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.95);
}

.hero-photo-caption span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 2. PROOF BAR (Clean typographic strip, zero cards) ---------- */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-8);
  background: var(--surface);
}

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

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proof-item strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.proof-item span {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ---------- 3. INTERACTIVE 1-MINUTE ANALYZER ---------- */
.analyzer-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}

.analyzer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--space-6);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.progress-track {
  flex: 1;
  height: 4px;
  background: var(--bg-subtle);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--brand);
  border-radius: var(--r-pill);
  transition: width var(--dur-base) var(--ease-out);
}

.analyzer-q {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 var(--space-6);
  color: var(--ink);
}

.analyzer-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.opt-btn {
  text-align: left;
  padding: 20px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  color: var(--ink);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.opt-btn:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

.opt-btn:active {
  transform: scale(0.99);
}

.opt-btn strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.opt-btn span {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.analyzer-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.res-tile {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
}

.res-tile.is-warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
}

.res-tile.is-cta {
  grid-column: 1 / -1;
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.res-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.res-tile.is-warn .res-label {
  color: var(--warn-ink);
}

.res-tile.is-cta .res-label {
  color: rgba(255, 255, 255, 0.78);
}

.res-tile p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.analyzer-foot {
  margin-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plain-link {
  background: none;
  border: none;
  padding: 6px 0;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.plain-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- 4. MANDATORY TAGLINE REVEAL SECTION (landing-page-design B11) ---------- */
.tagline-section {
  padding-block: clamp(72px, 10vw, 136px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tagline-reveal {
  max-width: 920px;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.028em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}

.tagline-reveal .tr-word {
  display: inline-block;
  color: var(--ink);
  opacity: 0.24;
  transition: opacity var(--dur-base) var(--ease-out);
}

.tagline-reveal .tr-word.is-lit {
  opacity: 1;
}

.tagline-reveal .tr-word.is-accent.is-lit {
  color: var(--brand);
}

/* ---------- 4B. LEGAL-TO-HUMAN INTERACTIVE TRANSLATOR (Signature Fresh UI) ---------- */
.translator-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.segmented-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 2px rgba(17, 26, 30, 0.04);
}

.segmented-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  border-radius: var(--r-pill);
  background: var(--brand);
  transition: transform var(--dur-base) var(--ease-spring);
  pointer-events: none;
}

.segmented-toggle[data-mode="human"] .segmented-thumb {
  transform: translateX(100%);
}

.segmented-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}

.segmented-btn.is-active {
  color: #FFFFFF;
}

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

.tr-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    transform var(--dur-tap) var(--ease-out);
}

.tr-card:hover {
  border-color: var(--brand);
}

.tr-card:active {
  transform: scale(0.985);
}

.tr-card[data-card-mode="human"] {
  background: var(--brand-soft);
  border-color: rgba(15, 84, 66, 0.28);
}

.tr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tr-mode-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--bg-subtle);
  color: var(--ink-muted);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.tr-card[data-card-mode="human"] .tr-mode-tag {
  background: var(--brand);
  color: #FFFFFF;
}

.tr-flip-hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-faint);
}

.tr-card-body {
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.tr-card.is-switching .tr-card-body {
  opacity: 0;
  transform: scale(0.975);
}

.tr-card h3 {
  font-size: 1.18rem;
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
}

.tr-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.56;
  color: var(--ink-muted);
}

.tr-card[data-card-mode="human"] p {
  color: var(--brand-ink);
}

/* Subtle interactive spotlight sheen on deep emerald cards */
.has-sheen {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.has-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(142, 228, 196, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}

.has-sheen:hover::after {
  opacity: 1;
}

.has-sheen > * {
  position: relative;
  z-index: 1;
}

/* ---------- 5. ASYMMETRIC BENTO GRID FOR DIRECTIONS (Inspo Bento + Taste-skill) ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.bento-tile:hover {
  border-color: var(--border-strong);
}

/* Irregular editorial spans — breaks 3x2 AI grid cliché */
.bento-lead {
  grid-column: span 7;
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.bento-lead .heading-3 {
  color: #FFFFFF;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.bento-lead .bento-desc {
  color: rgba(255, 255, 255, 0.86);
}

.bento-lead .bento-list li {
  color: rgba(255, 255, 255, 0.94);
}

.bento-lead .bento-list li::before {
  background: #8EE4C4;
}

.bento-photo {
  grid-column: span 5;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.bento-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.bento-photo-overlay {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 24px;
  background: linear-gradient(180deg, rgba(17, 26, 30, 0) 0%, rgba(17, 26, 30, 0.84) 45%, rgba(17, 26, 30, 0.94) 100%);
  color: #FFFFFF;
}

.bento-photo-overlay .heading-3 {
  color: #FFFFFF;
  margin-bottom: 8px;
}

.bento-photo-overlay p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
}

.bento-span-6 { grid-column: span 6; }
.bento-span-5 { grid-column: span 5; }
.bento-span-7 { grid-column: span 7; background: var(--brand-soft); border-color: rgba(15, 84, 66, 0.14); }

.bento-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 10px 0 16px;
}

.bento-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.bento-list li {
  font-size: 0.92rem;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.bento-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: 9px;
}

/* ---------- 6. MYTHS — INTERACTIVE SPLIT LEDGER (Not a card grid!) ---------- */
.myths-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.myths-sticky {
  position: sticky;
  top: 104px;
}

.myths-list {
  border-top: 1px solid var(--border-strong);
}

.myth-row {
  border-bottom: 1px solid var(--border);
  padding-block: 22px;
}

.myth-row-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  color: var(--ink);
}

.myth-claim {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.015em;
  transition: color var(--dur-fast) var(--ease-out);
}

.myth-row-q:hover .myth-claim {
  color: var(--brand);
}

.myth-pill {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.myth-row.is-open .myth-pill {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.myth-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}

.myth-row.is-open .myth-answer-wrap {
  grid-template-rows: 1fr;
}

.myth-answer-inner {
  overflow: hidden;
}

.myth-answer {
  margin-top: 14px;
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.62;
  max-width: 62ch;
}

.myth-answer strong {
  color: var(--brand-ink);
}

/* About editorial photo + signature */
.about-photo-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signature-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.signature-svg {
  width: 148px;
  height: 44px;
  color: var(--brand);
  flex-shrink: 0;
}

.signature-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.signature-meta strong {
  display: block;
  color: var(--ink);
}

/* Cases live counter & dots */
.cases-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.cases-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cases-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  border: none;
  padding: 0;
  background: var(--border-strong);
  cursor: pointer;
  transition: width var(--dur-base) var(--ease-spring), background-color var(--dur-fast) var(--ease-out);
}

.cases-dot.is-active {
  width: 28px;
  background: var(--brand);
}

.cases-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

/* Form success animated checkmark */
.check-svg {
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  margin-right: 8px;
  flex-shrink: 0;
}

.check-svg path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: drawCheck 420ms var(--ease-out) 80ms forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* ---------- 7. ABOUT — EDITORIAL PROSE + RULED PRINCIPLES ---------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-prose {
  display: grid;
  gap: 18px;
}

.about-prose p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.68;
  color: var(--ink);
  max-width: 58ch;
}

.principles-list {
  display: grid;
  gap: 24px;
}

.principle-row {
  padding-top: 20px;
  border-top: 1px solid var(--border-strong);
}

.principle-row h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.principle-row p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.58;
}

/* ---------- 8. CASES — HORIZONTAL SCROLL-SNAP GALLERY ---------- */
.cases-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.cases-nav {
  display: flex;
  gap: 10px;
}

.circle-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.circle-nav-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #FFFFFF;
}

.cases-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.case-slide {
  flex: 0 0 min(440px, 86vw);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

.case-slide h3 {
  font-size: 1.2rem;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

.case-line {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.case-line strong {
  color: var(--ink);
}

.case-outcome {
  background: var(--brand-soft);
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 0.92rem;
  color: var(--brand-ink);
  line-height: 1.52;
}

/* ---------- 9. 4-STEP REAL SEQUENCE TIMELINE ---------- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-strong);
  padding-top: var(--space-8);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.timeline-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.timeline-step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ---------- 10. REVIEWS — CLEAN QUOTES (NO BOX HEAVY SHADOWS) ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
}

.review-quote {
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.review-quote p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink);
}

.review-author {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.review-author strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 11. FAQ — STICKY SPLIT ---------- */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.faq-sticky {
  position: sticky;
  top: 104px;
}

.faq-list {
  border-top: 1px solid var(--border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--ink);
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.faq-body {
  padding: 0 0 22px;
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.62;
  max-width: 62ch;
}

/* ---------- 12. CONTACT / LEAD SECTION ---------- */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.contact-card-dark {
  background: var(--brand);
  color: #FFFFFF;
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
}

.contact-card-dark .heading-2 {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.contact-card-dark > p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-meta {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-meta-row {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-meta-row span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 4px;
}

.contact-meta-row strong {
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
}

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

.direct-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: background-color var(--dur-fast) var(--ease-out);
}

.direct-link:hover {
  background: #FFFFFF;
  color: var(--brand-ink);
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.96rem;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.form-control::placeholder {
  color: var(--ink-faint);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

.method-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.method-pill {
  flex: 1;
  min-width: 100px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.method-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.quiz-badge {
  background: var(--brand-soft);
  border: 1px solid rgba(15, 84, 66, 0.2);
  color: var(--brand-ink);
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.consent-row input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.consent-row a {
  text-decoration: underline;
  color: var(--ink);
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status.ok {
  display: block;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.form-status.err {
  display: block;
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- SCROLL REVEAL (Impeccable rule: NEVER gate visibility on opacity:0!) ---------- */
@keyframes gentleSettle {
  from {
    opacity: 0.86;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 1;
}

.js-ready .reveal.is-in {
  animation: gentleSettle var(--dur-base) var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-ready .reveal.is-in { animation: none; }
  .tagline-reveal .tr-word { opacity: 1 !important; transition: none; }
  .hero-stroke path { animation: none; stroke-dashoffset: 0; }
  .live-pulse::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav-links,
  .nav-phone {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .myths-layout,
  .about-layout,
  .faq-split,
  .contact-split {
    grid-template-columns: 1fr;
  }
  .myths-sticky,
  .faq-sticky {
    position: static;
  }
  .bento-lead,
  .bento-photo,
  .bento-span-5,
  .bento-span-6,
  .bento-span-7 {
    grid-column: span 12;
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .wrap {
    padding-inline: 18px;
  }
  .nav-shell {
    top: 10px;
    padding-inline: 12px;
  }
  .nav-bar {
    height: 58px;
    padding: 6px 8px 6px 16px;
  }
  .nav-cta {
    display: none;
  }
  .hero-photo-wrap {
    aspect-ratio: 4 / 5;
    max-height: 460px;
  }
  .proof-grid,
  .analyzer-result,
  .translator-grid,
  .timeline-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .segmented-toggle {
    width: 100%;
  }
  .segmented-btn {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .analyzer-options {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .text-action {
    align-self: center;
  }
  .bento-tile,
  .case-slide {
    padding: 22px;
  }
}


/* ---------- V2: CONTRACT LAB (AI REVIEW + DRAFTING) ---------- */
.contract-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.contract-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.contract-tab-btn {
  padding: 11px 22px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.contract-tab-btn.is-active {
  background: var(--brand);
  color: #FFFFFF;
}

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

.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  margin-bottom: 16px;
}

.dropzone:hover,
.dropzone.is-drag {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.dropzone strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.dropzone span {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.side-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.side-chip {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.side-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.price-quote-box {
  background: var(--brand-soft);
  border: 1px solid rgba(15, 84, 66, 0.22);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 18px;
}

.price-quote-num {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.upsell-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  cursor: pointer;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.upsell-card input {
  margin-top: 3px;
  accent-color: var(--brand);
}

.tiers-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tier-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 0.84rem;
}

.tier-pill strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-ink);
  margin-top: 2px;
}

/* ---------- V2: FLOATING AI SALES CHAT WIDGET ---------- */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #FFFFFF;
  border: none;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(15, 84, 66, 0.34);
  transition: transform var(--dur-tap) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.chat-fab:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
}

.chat-fab:active {
  transform: scale(0.97);
}

.chat-window {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 92;
  width: min(390px, calc(100vw - 28px));
  height: min(540px, calc(100dvh - 110px));
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(17, 26, 30, 0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.is-open {
  display: flex;
}

.chat-head {
  background: var(--brand);
  color: #FFFFFF;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.chat-head strong {
  display: block;
  font-size: 0.96rem;
}

.chat-head span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

.chat-close {
  background: rgba(255, 255, 255, 0.16);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.chat-msg {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.89rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--brand);
  color: #FFFFFF;
}

.chat-quick {
  padding: 8px 14px 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: var(--bg);
}

.chat-q-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.chat-q-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.chat-form input {
  flex: 1;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
}

.chat-form input:focus {
  border-color: var(--brand);
}

/* ---------- V2: 152-FZ COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 88;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-float);
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
}

@media (max-width: 900px) {
  .contract-grid { grid-template-columns: 1fr; }
  .tiers-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .contract-tabs { width: 100%; }
  .contract-tab-btn { padding: 10px 10px; font-size: 0.82rem; }
  .cookie-banner { left: 12px; right: 12px; bottom: 84px; max-width: none; }
}

/* Camera multi-page scanner strip */
.cam-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.cam-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cam-thumb {
  position: relative;
  width: 78px;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-subtle);
}

.cam-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cam-thumb-num {
  position: absolute;
  left: 4px;
  bottom: 4px;
  background: rgba(17, 26, 30, 0.78);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.cam-thumb-del {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 26, 30, 0.8);
  color: #FFF;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}
