/* ==========================================================================
   KOlift Official Website — Design System & Styles (Vanilla CSS)
   Grounded in KOlift's calm, tactile, precision dark/light palette.
   ========================================================================== */

:root {
  --bg: #0a0f1a;
  --bg-elevated: #111827;
  --surface: #151e30;
  --surface-hover: #1b273e;
  --surface-subtle: rgba(255, 255, 255, 0.035);
  --border: rgba(226, 232, 240, 0.11);
  --border-strong: rgba(226, 232, 240, 0.2);

  --text: #f3f6fb;
  --text-muted: #98a6bc;
  --text-dim: #6f7f98;

  --accent: #2dd4bf;
  --accent-strong: #14b8a6;
  --accent-ink: #04211e;
  --accent-soft: rgba(45, 212, 191, 0.12);

  --amber: #f5b642;
  --amber-ink: #241802;
  --amber-soft: rgba(245, 182, 66, 0.14);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.34);
  --shadow-phone: 0 28px 70px rgba(0, 0, 0, 0.58), 0 4px 16px rgba(0, 0, 0, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

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

  --container: 1140px;
  --nav-height: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-elevated: #e9eff7;
  --surface: #ffffff;
  --surface-hover: #f8fafd;
  --surface-subtle: rgba(15, 23, 42, 0.03);
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);

  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --accent: #0d9488;
  --accent-strong: #0f766e;
  --accent-ink: #ffffff;
  --accent-soft: rgba(13, 148, 136, 0.1);

  --amber: #d97706;
  --amber-ink: #ffffff;
  --amber-soft: rgba(217, 119, 6, 0.12);

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-phone: 0 24px 60px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(
    ellipse 80% 50% at 50% -12%,
    rgba(45, 212, 191, 0.09),
    transparent 65%
  );
  background-repeat: no-repeat;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

[data-theme="light"] body {
  background-image: radial-gradient(
    ellipse 80% 50% at 50% -12%,
    rgba(13, 148, 136, 0.07),
    transparent 65%
  );
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.875rem;
  transition: top 0.15s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: grid;
  grid-template-columns: 92px 118px 118px 44px 44px;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  text-align: center;
}

.nav-links a {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

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

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}


.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.icon-btn svg[hidden] {
  display: none;
}

.mobile-menu-btn {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}

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

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.nav-cta-desktop {
  min-width: 168px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.22);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(45, 212, 191, 0.28);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  transform: translateY(-1px);
}

/* Mobile Nav Drawer */

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: 95;
  background: var(--bg);
  padding: 28px 24px 40px;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 40px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: stretch;
  gap: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0 2px;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.store-badges.is-centered {
  justify-content: center;
  margin-top: 0;
  margin-bottom: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  min-width: 210px;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text);
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.18;
}

.store-badge-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.store-badge-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

/* Hero Phone Showcase */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-frame {
  position: relative;
  width: min(278px, 100%);
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(155deg, #273247 0%, #111827 55%, #0c121e 100%);
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.phone-screen {
  position: relative;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #0d1c24;
  display: flex;
  flex-direction: column;
}

.phone-statusbar {
  flex-shrink: 0;
  height: 28px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: #f3f6fb;
  background: linear-gradient(90deg, #102a2e 0%, #0d1d29 55%, #0c1726 100%);
  user-select: none;
}

.phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.66rem;
  font-weight: 700;
}

.phone-status-icons svg {
  width: 13px;
  height: 13px;
  display: block;
}

.phone-battery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px;
  border-radius: 4px;
  background: #f3f6fb;
  color: #0b101b;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.25;
}

.phone-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 824 / 1830;
  overflow: hidden;
  background: #0b101b;
}

.phone-viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.phone-viewport img.is-active {
  opacity: 1;
}

.phone-homebar {
  flex-shrink: 0;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c1424;
}

.phone-homebar::after {
  content: "";
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: rgba(243, 246, 251, 0.55);
}

.screen-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(368px, 100%);
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
}

.screen-tab {
  border: 0;
  background: transparent;
  padding: 7px 6px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.screen-tab[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 660px;
  margin-bottom: 34px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.section-lead {
  font-size: 1.03rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Core Pillars (2x2 Editorial Grid)
   ========================================================================== */

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

.pillar-card {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

/* ==========================================================================
   Interactive Walkthrough Showcase
   ========================================================================== */

.walkthrough-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: stretch;
}

.walkthrough-steps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.step-btn {
  text-align: left;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.step-btn:hover {
  background: var(--surface-subtle);
}

.step-btn[aria-selected="true"] {
  background: var(--surface);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  min-width: 108px;
  text-align: center;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
}

.step-desc {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.walkthrough-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   Privacy & Offline Architecture
   ========================================================================== */

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

.privacy-copy p {
  color: var(--text-muted);
  margin: 0 0 18px;
  font-size: 1rem;
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.data-table-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  border: 0;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.925rem;
}

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

.data-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: var(--surface-subtle);
}

.data-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.data-table td:last-child {
  color: var(--text-muted);
}

.status-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.price-card.is-featured {
  background: linear-gradient(180deg, var(--surface-hover) 0%, var(--surface) 100%);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.save-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--amber-soft);
  color: var(--amber);
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.price-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.plan-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.plan-status.is-accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.pricing-note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

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

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-body p {
  margin: 0;
}

/* ==========================================================================
   Coming Soon CTA Band
   ========================================================================== */

.cta-panel {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.cta-panel-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.cta-panel p {
  margin: 0 auto 22px;
  max-width: 56ch;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.875rem;
}

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

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

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

/* ==========================================================================
   Legal Modals (Privacy Policy & Terms of Use)
   ========================================================================== */

.legal-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(84vh, 780px);
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}

.legal-dialog::backdrop {
  background: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(6px);
}

.legal-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.legal-dialog-head h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.legal-dialog-body {
  padding: 24px 26px 32px;
  overflow-y: auto;
  max-height: calc(min(84vh, 780px) - 72px);
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.legal-dialog-body .legal-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0 0 20px;
}

.legal-dialog-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 8px;
}

.legal-dialog-body p {
  margin: 0 0 12px;
}

.legal-dialog-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-dialog-body li {
  margin-bottom: 6px;
}

.legal-dialog-body a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-dialog-body code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--text);
}

.legal-lang[hidden] {
  display: none;
}

.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.footer-link-btn:hover {
  color: var(--text);
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   EN / FR Pixel-Identical Layout Locks (Desktop)
   ========================================================================== */

.hero-ctas .btn {
  min-width: 224px;
}

.privacy-links .btn {
  min-width: 214px;
}

.save-badge {
  min-width: 106px;
  text-align: center;
}

.cta-actions .btn {
  min-width: 268px;
}

.data-table th:first-child,
.data-table td:first-child {
  width: 38%;
}

.faq-item summary {
  min-height: 64px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 960px) {
  .site-header nav,
  .nav-links,
  .nav-cta-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .walkthrough-grid,
  .privacy-layout,
  .cta-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 32px 24px;
  }
}

@media (max-width: 760px) {

  .nav-inner {
    gap: 16px;
  }

  .brand {
    gap: 8px;
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .nav-actions {
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-actions .lang-switch {
    height: 34px;
    padding: 2px;
  }

  .nav-actions .lang-btn {
    height: 28px;
    padding: 0 8px;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }


  .nav-actions .icon-btn {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .section {
    padding: 48px 0;
  }

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

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

  .metric-value {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Quick Mobile Preview Mode (Top Bar Toggle)
   ========================================================================== */

