/* ==========================================================================
   QLEVR — DESIGN SYSTEM
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */

/* --- Root / Design Tokens ------------------------------------------------- */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary: #2874FF;
  --color-primary-hover: #1a5fd9;
  --color-secondary: #696969;
  --color-secondary-hover: #4f4f4f;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-border: #e6e8ec;
  --color-muted: #8a8f98;

  /* Radii — subtle rounding */
  --radius-xs: 4px;
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows — light */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-sm: 0 2px 6px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 6px 16px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 14px 36px rgba(17, 24, 39, 0.10);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Typography — slight bold flavour */
  --font-sans: 'Liberation Sans', Arial, Helvetica, sans-serif;

  --fs-eyebrow: 14px;
  --fs-body-sm: 15px;
  --fs-body: 17px;
  --fs-body-lg: 19px;
  --fs-h4: 24px;
  --fs-h3: 32px;
  --fs-h2: 44px;
  --fs-h1: 68px;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

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

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur-fast: 150ms;
  --dur-med: 260ms;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; border-radius: var(--radius-md); }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  margin: 0 0 var(--space-4);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-black);
}
h1 { font-size: var(--fs-h1); font-weight: var(--fw-extrabold); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-extrabold); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-bold); }

p  { margin: 0 0 var(--space-4); color: #222; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-5);
}

.muted { color: var(--color-secondary); }

.text-italic { font-style: italic; }

/* --- Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding: var(--space-24) 0;
}
.section-sm { padding: var(--space-16) 0; }

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

.center { text-align: center; }

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

/* --- Buttons -------------------------------------------------------------- */
/*  Modern pill-shaped buttons with a single soft black blur shadow
    underneath — clean, no layered / hard edges.                           */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.005em;
  line-height: 1;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.22);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-med) var(--ease),
              background var(--dur-med) var(--ease),
              color var(--dur-med) var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.28);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.22);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-primary-hover); }

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn-secondary:hover { background: var(--color-secondary-hover); }

.btn-ghost {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.12);
}
.btn-ghost:hover {
  background: var(--color-bg-alt);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.16);
}

.btn-sm {
  padding: 10px 18px;
  font-size: var(--fs-body-sm);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.20);
}
.btn-sm:hover {
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.26);
}

/* --- Cards ---------------------------------------------------------------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: var(--space-3); }

.card-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(40, 116, 255, 0.10);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  font-weight: var(--fw-black);
  font-size: 22px;
}

/* --- Navbar --------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 0;
}
/* Empty slot — drop your SVG inside .brand-logo (or replace it) */
.brand-logo {
  display: inline-block;
  width: 120px;
  height: 32px;
  border-radius: var(--radius-sm);
  /* subtle dashed placeholder so you can see the area during development */
  background: transparent;
  border: 1px dashed var(--color-border);
}
.brand-logo svg,
.brand-logo img { width: 100%; height: 100%; display: block; }
.nav-links {
  display: flex; align-items: center; gap: var(--space-8);
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-sm);
  color: #222;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--color-primary); }
.nav-cta { display: flex; gap: var(--space-3); align-items: center; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  padding: var(--space-24) 0 var(--space-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  max-width: 900px;
  margin: 0 auto var(--space-5);
}
.hero-sub {
  font-style: italic;
  color: var(--color-secondary);
  margin-bottom: var(--space-8);
}
.hero-cta {
  display: inline-flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center;
}

/* Hero announcement — small, subtle link, NOT a button */
.hero-announce {
  display: flex;
  width: fit-content;
  margin: 0 auto var(--space-5);
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: #333;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.hero-announce:hover {
  background: #fff;
  border-color: rgba(40,116,255,0.35);
  color: var(--color-primary);
}
.hero-announce-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 10.5px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}
.hero-announce-arrow {
  transition: transform var(--dur-fast) var(--ease);
}
.hero-announce:hover .hero-announce-arrow { transform: translateX(2px); }

/* --- Showcase / Video ----------------------------------------------------- */
.showcase-head {
  max-width: 1120px;
  margin: 0 auto var(--space-10);
}
.showcase-head h2 {
  margin-bottom: var(--space-3);
  white-space: nowrap;      /* heading stays on one line */
}
.showcase-head .section-sub { margin: 0 auto; }

@media (max-width: 720px) {
  .showcase-head h2 { white-space: normal; }   /* graceful wrap on small screens */
}

.video-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: transparent;
}
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #cfcfcf;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

/* Bridge wrapper places the hint between hero CTAs and the video */
.scroll-bridge {
  display: flex;
  justify-content: center;
  padding: var(--space-10) 0 var(--space-6);
}

/* Scroll hint — subtle "see more" nudge between hero and video */
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-secondary);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.15);
  opacity: 0.85;
  transition: opacity var(--dur-med) var(--ease),
              color var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
  animation: scrollHintBob 2.4s var(--ease) infinite;
}
.scroll-hint:hover {
  opacity: 1;
  color: var(--color-primary);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.22);
}
.scroll-hint-arrow {
  display: inline-flex;
  animation: scrollHintArrow 2.4s var(--ease) infinite;
}
@keyframes scrollHintBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@keyframes scrollHintArrow {
  0%, 100% { transform: translateY(0);   opacity: 0.7; }
  50%      { transform: translateY(3px); opacity: 1;   }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint, .scroll-hint-arrow { animation: none; }
}

/* --- Generic section head ------------------------------------------------- */
.section-head {
  max-width: 760px;
  margin: 0 auto var(--space-12);
}
.section-head h2 { margin-bottom: var(--space-3); }

/* ------ Unified section subheading ------
   Same look as the original "We work differently" lead.
   Dark sections get a softer white override further below. */
.section-sub {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  color: #1a1a1a;
}
/* Large Mac screens — keep subheadings from feeling oversized */
@media (min-width: 1600px) {
  .section-sub { font-size: 17px; }
}
/* Center variant — when the section head is centered */
.center > .section-sub,
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* --- We work differently (editorial manifesto) --------------------------- */
.differently {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(40,116,255,0.05), transparent 60%),
    var(--color-white);
  padding: var(--space-32) 0;
}

.differently-head {
  max-width: 880px;
  margin: 0 0 var(--space-20);
}
.differently-head .eyebrow { margin-bottom: var(--space-4); }

/* Matches the hero H1 scale — same size/weight across the site */
.display {
  font-size: var(--fs-h1);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: var(--fw-extrabold);
  margin: 0 0 var(--space-6);
}



/* Compact US vs THEM comparison */
.diff-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  max-width: 1040px;
}

.diff-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

.diff-panel-us {
  border-color: rgba(40,116,255,0.24);
}

.diff-panel-top {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-5) 0;
}

.diff-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 6px 11px;
  background: #f4f5f7;
  color: var(--color-black);
  font-size: 13px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.diff-panel-us .diff-label {
  background: rgba(40,116,255,0.08);
  color: #174ea6;
}

.diff-panel-top img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17,24,39,0.06);
}

.diff-checks {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: var(--space-5);
}

.diff-checks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--space-3);
  align-items: start;
  margin: 0;
  color: #171717;
  font-size: 15px;
  line-height: 1.45;
}

.diff-check {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid rgba(17,24,39,0.28);
  border-radius: 5px;
  background: #fff;
}
.diff-check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 9px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -58%) rotate(45deg);
}

.diff-panel-us .diff-check {
  border-color: rgba(40,116,255,0.42);
}
.diff-panel-us .diff-check::after {
  border-color: #1f63d6;
}

.diff-checks-muted li {
  color: var(--color-secondary);
}

.diff-checks-muted .diff-check {
  border-color: #cfd3da;
  background: #fff;
}
.diff-checks-muted .diff-check::after {
  left: 50%;
  top: 50%;
  width: 9px;
  height: 0;
  border: 0;
  border-top: 2px solid #8a8f98;
  transform: translate(-50%, -50%) rotate(45deg);
}
.diff-checks-muted .diff-check::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  border-top: 2px solid #8a8f98;
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 820px) {
  .differently { padding: var(--space-20) 0; }
  .diff-compare { grid-template-columns: 1fr; }
}
.video-play {
  width: 84px; height: 84px;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92);
  color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-med) var(--ease),
              color var(--dur-med) var(--ease);
}
.video-play:hover {
  transform: scale(1.06);
  background: var(--color-primary);
  color: #fff;
}
.video-play svg { margin-left: 4px; }

@media (max-width: 600px) {
  .showcase-head h2 { font-size: 26px; }
  .video-play { width: 64px; height: 64px; }
}

/* --- Privacy (dark, click-driven accordion) ------------------------------ */
.privacy {
  --acc-muted: rgba(255,255,255,0.42);
  --acc-active: #fff;
  background: #0b0b0c;
  color: #fff;
  padding: var(--space-32) 0 var(--space-20);
  /* smooth gradient entry from the section above */
  position: relative;
}
.privacy::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(247,248,250,0.06), transparent);
  pointer-events: none;
}
.privacy .display { color: #fff; }
.privacy .section-sub { color: rgba(255,255,255,0.58); font-size: clamp(15px, 1.1vw, 17px); }
.privacy-head { max-width: 1120px; margin: 0 auto var(--space-16); }
.privacy-head .display { margin-bottom: var(--space-4); }

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: 300px;
}

/* Open-style privacy switcher */
.acc-item {
  position: relative;
  padding: 0;
}

/* Active = subtle left accent bar in primary blue */
.acc-item::before {
  content: "";
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 350ms var(--ease);
  z-index: 1;
}
.acc-item.is-active::before { opacity: 1; }

/* Full-width, tall click target */
.acc-head {
  all: unset;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 8px 48px 4px 32px;
  border-radius: var(--radius-md);
  text-align: left;
}
.acc-head:focus-visible {
  outline: 2px solid rgba(40,116,255,0.5);
  outline-offset: -2px;
}
.acc-head h3 {
  margin: 0;
  color: var(--acc-active);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: var(--fw-bold);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: left;
  transition: color 350ms var(--ease);
}
.acc-item.is-active .acc-head h3 { color: var(--acc-active); }

.acc-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: rgba(255,255,255,0.25);
  transition: transform var(--dur-med) var(--ease),
              color var(--dur-med) var(--ease),
              opacity var(--dur-med) var(--ease);
  opacity: 0.5;
}
.acc-item.is-active .acc-icon {
  transform: translateY(-50%) rotate(180deg);
  color: rgba(255,255,255,0.7);
  opacity: 1;
}

/* Collapsible body — animated via grid-template-rows trick */
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms var(--ease),
              opacity 220ms var(--ease);
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
}
.acc-item.is-active .acc-body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0;
}
.acc-body > p { min-height: 0; }

.acc-body p {
  position: relative;
  margin: 0;
  display: block;
  max-height: calc(1.7em * 3);
  padding: 0 48px var(--space-4) 32px;
  color: rgba(255,255,255,0.52);
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  overflow: hidden;
}
.acc-item.is-active .acc-body p {
  max-height: calc(1.7em * 3);
  padding-bottom: var(--space-6);
  color: #fff;
  animation: privacyTextReveal 240ms var(--ease) both;
}

@keyframes privacyTextReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Visual — transparent image slot */
.privacy-visual {
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.privacy-visual::after {
  content: none;
}
.privacy-visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 500ms var(--ease),
              transform 500ms var(--ease);
  transform: translateY(6px);
  position: relative;
  z-index: 1;
}
.privacy-visual img.is-active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .privacy-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .privacy-visual { order: 1; }
  .privacy-visual::after { display: none; }
}

/* --- Features (3 editorial rows, alternating sides) --------------------- */
.feat-section {
  background: var(--color-white);
  padding-top: var(--space-24);
  padding-bottom: var(--space-16);
}

.feat-head {
  max-width: 820px;
  margin: 0 0 var(--space-20);
}
.feat-head .display { margin-bottom: var(--space-4); }

.feat-rows { display: flex; flex-direction: column; gap: var(--space-10); }

.feat-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-16) 0;
}

/* Alternate: even rows flip image and text */
.feat-row:nth-child(even) {
  grid-template-columns: 1.15fr 1fr;
}
.feat-row:nth-child(even) .feat-text { order: 2; }
.feat-row:nth-child(even) .feat-img  { order: 1; }

.feat-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
}
.feat-num {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.9;
}
.feat-text h3 {
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
.feat-text p {
  font-size: var(--fs-body-lg);
  color: #484848;
  line-height: 1.6;
  margin: 0;
}

.feat-img {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: 0 24px 60px -24px rgba(17, 24, 39, 0.22);
  aspect-ratio: 4 / 3;
}
.feat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.feature-more {
  width: 100%;
  margin-top: var(--space-6);
  padding: 0 var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
}
.feature-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 76px;
  color: var(--color-black);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
  cursor: pointer;
  list-style: none;
}
.feature-more summary::-webkit-details-marker {
  display: none;
}
.feature-more summary svg {
  color: var(--color-secondary);
  transition: transform var(--dur-med) var(--ease),
              color var(--dur-med) var(--ease);
}
.feature-more[open] summary svg {
  color: var(--color-primary);
  transform: rotate(180deg);
}
.feature-more-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3) var(--space-8);
  margin: 0;
  padding: 0 0 var(--space-6);
}
.feature-more-list li {
  position: relative;
  padding-left: 18px;
  color: #484848;
  font-size: 15px;
  font-weight: var(--fw-medium);
  line-height: 1.45;
}
.feature-more-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}

@media (max-width: 900px) {
  .feat-row,
  .feat-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-10) 0;
  }
  .feat-row:nth-child(even) .feat-text { order: 1; }
  .feat-row:nth-child(even) .feat-img  { order: 2; }
  .feature-more-list { grid-template-columns: 1fr; }
}

/* --- Pricing CTA -------------------------------------------------------- */
.pricing-cta {
  background: #f7f8fa;
  color: var(--color-black);
  padding: var(--space-32) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.pricing-cta::before {
  content: none;
}
.pricing-cta::after {
  content: none;
}

.pricing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: var(--space-12);
  align-items: center;
}

.pricing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}
.pricing-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pricing-copy .display {
  color: var(--color-black);
  max-width: 780px;
  margin-bottom: var(--space-5);
}
.pricing-copy .section-sub {
  color: #484848;
  font-size: clamp(16px, 1.15vw, 18px);
  max-width: 640px;
}

.pricing-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  max-width: 700px;
  margin: var(--space-8) 0 0;
}
.pricing-reason {
  position: relative;
  padding-left: var(--space-8);
}
.pricing-reason::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid var(--color-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pricing-reason h3 {
  margin: 0 0 6px;
  color: var(--color-black);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}
.pricing-reason p {
  margin: 0;
  color: #5d626b;
  font-size: 14px;
  line-height: 1.45;
}

.pricing-offer {
  position: relative;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-8);
  border: 1px solid rgba(17,24,39,0.12);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--color-black);
  box-shadow: 0 24px 70px -40px rgba(17,24,39,0.35);
  overflow: hidden;
}
.pricing-offer-head {
  display: grid;
  gap: var(--space-3);
}

.pricing-plan {
  color: var(--color-secondary);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.pricing-amount {
  font-size: clamp(52px, 5vw, 72px);
  font-weight: var(--fw-black);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-black);
}
.pricing-period {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
  color: var(--color-secondary);
}

.pricing-note {
  font-size: 14px;
  color: #5d626b;
  margin: 0;
  line-height: 1.5;
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  min-height: 52px;
  padding: 0 26px;
}

.pricing-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.pricing-smallprint {
  margin: -8px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .pricing-shell { grid-template-columns: 1fr; }
  .pricing-offer { max-width: 520px; }
  .pricing-reasons { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pricing-cta { padding: var(--space-20) 0; }
  .pricing-btn { width: 100%; }
  .pricing-offer { padding: var(--space-6); }
  .feature-more { padding: 0 var(--space-4); }
}

/* --- Footer --------------------------------------------------------------- */
.footer {
  background: #0b0b0c;
  color: #d6d8de;
  padding: var(--space-20) 0 var(--space-8);
  border-top: 1px solid #111;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
}

.footer-brand { max-width: 360px; }
.footer-brand h4 {
  font-size: 22px;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 var(--space-3);
}
.footer-brand p {
  margin: 0 0 var(--space-5);
  color: #8a8f98;
  font-size: var(--fs-body-sm);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: var(--space-2);
}
.footer-social {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #a3a8b2;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.footer-social:hover {
  background: rgba(40,116,255,0.15);
  border-color: rgba(40,116,255,0.4);
  color: #fff;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--space-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 0; }
.footer-col a {
  display: block;
  padding: 5px 0;
  color: #a3a8b2;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid #1c1c20;
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-body-sm);
  color: #8a8f98;
  flex-wrap: wrap; gap: var(--space-3);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
  .footer-brand { grid-column: 1 / -1; max-width: 500px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --- Utilities ------------------------------------------------------------ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

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

.pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(40, 116, 255, 0.10);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-eyebrow);
  border-radius: var(--radius-pill);
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  :root {
    --fs-h1: 48px;
    --fs-h2: 34px;
    --fs-h3: 26px;
  }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding: var(--space-16) 0; }
}

@media (max-width: 600px) {
  :root {
    --fs-h1: 38px;
    --fs-h2: 28px;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: var(--space-16) 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
