/* ============================================================
   Planiqo — Airtable editorial redesign
   Vit canvas, mörk ink-typografi, signaturkort i coral/forest/dark.
   Inga gradienter, ingen glow, inga hover-effekter (bara active).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Ink / text */
  --ink: #181d26;
  --ink-active: #0d1218;
  --body: #333840;
  --muted: #41454d;
  --border-strong: #9297a0;
  --on-dark: #ffffff;

  /* Surfaces */
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --hairline: #dddddd;

  /* Signature */
  --coral: #aa2d00;
  --forest: #0a2e0e;
  --cream: #f5e9d4;

  /* Demo pastels */
  --peach: #fcab79;
  --mint: #a8d8c4;
  --yellow: #f4d35e;
  --mustard: #d9a441;

  /* Accents */
  --link: #1b61c9;
  --success: #006400;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  /* Spacing (4px base) */
  --xxs: 4px;
  --xs: 8px;
  --sm: 12px;
  --md: 16px;
  --lg: 24px;
  --xl: 32px;
  --xxl: 48px;
  --section: 96px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-pill: 9999px;

  --maxw: 1280px;
  --gutter: 48px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); letter-spacing: -0.01em; }
p { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-md);
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section); padding-bottom: var(--section); }

/* ---------- Typography scale ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section__header { max-width: 720px; margin: 0 auto var(--xxl); text-align: center; }
.section__header--left { margin-left: 0; margin-right: 0; text-align: left; max-width: 760px; }
.section__title {
  font-size: 32px; line-height: 1.2; font-weight: 400; color: var(--ink);
}
.section__title--light { color: var(--on-dark); }
.section__lead {
  margin-top: var(--md);
  font-size: 16px; line-height: 1.5; color: var(--body);
}
.section__lead--light { color: rgba(255,255,255,0.78); }

/* highlight — subtle underline, NOT bold, no accent fill */
.hl { position: relative; white-space: nowrap; color: inherit; }
.hl__line {
  position: absolute; left: 0; right: 0; bottom: -0.12em;
  width: 100%; height: 0.42em; overflow: visible;
  fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round;
  opacity: 0.55;
}
.section__title--light .hl__line, .hl--invert .hl__line { stroke: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; line-height: 1.4; font-weight: 500;
  padding: 14px 24px; border-radius: var(--r-lg); border: 1px solid transparent;
  min-height: 44px; transition: background-color .12s ease, border-color .12s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; min-height: 40px; font-size: 15px; }
.btn--lg { padding: 16px 28px; }
.btn--block { width: 100%; }

/* Primary — always #181d26, max one per viewport */
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:active { background: var(--ink-active); border-color: var(--ink-active); }

/* Secondary — white bg, ink text, hairline outline */
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--hairline); }
.btn--ghost:active { background: var(--surface-soft); }

/* Secondary on dark/coral/forest — stays white bg + ink text (never translucent) */
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:active { background: var(--surface-strong); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: var(--lg); }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 30px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: var(--xl); }
.nav__link { font-size: 15px; color: var(--body); }
.nav__link:active { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: var(--md); }
.nav__login { font-size: 15px; color: var(--ink); }

.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 0; padding: 0;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; border-radius: 2px; }

.nav__mobile {
  position: fixed; inset: 64px 0 0 0; z-index: 99;
  background: var(--canvas);
  padding: var(--lg) var(--gutter) var(--xxl);
  display: flex; flex-direction: column; gap: var(--xs);
  overflow-y: auto;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile-link {
  font-size: 20px; line-height: 1.5; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--hairline);
}
.nav__mobile .btn { margin-top: var(--lg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: var(--section); padding-bottom: var(--section); background: var(--canvas); }
.hero__bg { display: none; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title {
  font-size: 40px; line-height: 1.2; font-weight: 400; color: var(--ink);
  max-width: 16ch;
}
.eyebrow + .hero__title { margin-top: var(--md); }
.hero__lead {
  margin-top: var(--lg);
  font-size: 16px; line-height: 1.5; color: var(--body); max-width: 54ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--md); justify-content: center; margin-top: var(--xl); }
.hero__secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500; color: var(--ink); padding: 14px 8px; min-height: 44px;
}

.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--lg);
  margin-top: var(--xl); font-size: 14px; color: var(--muted);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--ink); opacity: .7; }

/* Dashboard mock — clean, hairline borders, no heavy shadow */
.dashboard {
  width: 100%; max-width: 980px; margin: var(--section) auto 0;
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  overflow: hidden;
}
.dashboard__chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--hairline); background: var(--surface-soft);
}
.dashboard__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-strong); }
.dashboard__address {
  margin-left: 12px; font-size: 12px; color: var(--muted);
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: 3px 12px;
}
.dashboard__body { display: grid; grid-template-columns: 180px 1fr; }
.dashboard__sidebar { border-right: 1px solid var(--hairline); padding: var(--md); background: var(--surface-soft); }
.dashboard__brand { display: flex; align-items: center; gap: 8px; padding: 4px 6px var(--md); }
.dashboard__brand strong { font-weight: 500; color: var(--ink); font-size: 14px; }
.dashboard__brandmark { width: 16px; height: 16px; border-radius: 4px; background: var(--ink); }
.dashboard__nav { display: flex; flex-direction: column; gap: 2px; }
.dashboard__nav li {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  font-size: 13px; color: var(--muted); border-radius: var(--r-sm);
}
.dashboard__nav li.is-active { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); }
.dashboard__main { padding: var(--lg); }
.dashboard__topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--md); margin-bottom: var(--lg); }
.dashboard__search {
  display: flex; align-items: center; gap: 8px; flex: 1; max-width: 280px;
  border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 8px 12px;
  font-size: 13px; color: var(--muted);
}
.dashboard__user { display: flex; align-items: center; gap: 10px; }
.dashboard__user-pill {
  font-size: 11px; font-weight: 500; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 4px 8px;
}
.dashboard__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-strong); }
.dashboard__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--md); margin-bottom: var(--md); }
.stat-card { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: var(--md); }
.stat-card__label { display: block; font-size: 12px; color: var(--muted); }
.stat-card strong { display: block; font-size: 26px; font-weight: 400; color: var(--ink); margin: 4px 0; line-height: 1; }
.stat-card__delta { font-size: 12px; color: var(--muted); }
.stat-card__delta--up { color: var(--success); }
.stat-card__delta--down { color: var(--coral); }
.dashboard__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--md); }
.dashboard__panel { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: var(--md); }
.dashboard__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sm); }
.dashboard__panel-head strong { font-size: 13px; font-weight: 500; color: var(--ink); }
.chip { font-size: 11px; padding: 3px 8px; border-radius: var(--r-pill); }
.chip--soft { background: var(--surface-soft); color: var(--muted); border: 1px solid var(--hairline); }
.dashboard__chart { width: 100%; height: 90px; }
.vikarie-list { display: flex; flex-direction: column; gap: 8px; }
.vikarie-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--body); }
.vikarie-list__avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--c, var(--ink));
  color: #fff; font-size: 10px; font-weight: 500; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.vikarie-list em { font-style: normal; color: var(--muted); font-size: 12px; }
.vikarie-list__pct { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--ink); }
.vikarie-list__text { display: flex; flex-direction: column; }
.vikarie-list__text strong { font-weight: 500; font-size: 13px; color: var(--ink); }

/* ============================================================
   SIGNATURE CARDS (full-bleed coral / forest / dark)
   ============================================================ */
.signature { padding-top: 0; padding-bottom: 0; }
.signature--gap-top { margin-top: var(--section); }
.signature--gap-bottom { margin-bottom: var(--section); }
.signature__card {
  border-radius: var(--r-lg); padding: var(--xxl);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--xxl); align-items: center;
}
.signature__card--coral { background: var(--coral); color: #fff; }
.signature__card--forest { background: var(--forest); color: #fff; }
.signature__card--dark { background: var(--surface-dark); color: #fff; }
.signature__card h2 { font-size: 32px; line-height: 1.2; color: #fff; max-width: 16ch; }
.signature__lead { margin-top: var(--md); font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 46ch; }
.signature__actions { margin-top: var(--xl); }
.signature__metric { font-size: 88px; line-height: 1; font-weight: 400; color: #fff; letter-spacing: -0.03em; }
.signature__metric small { display: block; font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.78); margin-top: var(--xs); letter-spacing: 0; }
.signature__aside { display: flex; flex-direction: column; gap: var(--md); }
.signature__stat { border-top: 1px solid rgba(255,255,255,0.22); padding-top: var(--md); }
.signature__stat strong { display: block; font-size: 28px; color: #fff; font-weight: 400; line-height: 1; }
.signature__stat span { font-size: 14px; color: rgba(255,255,255,0.72); }

/* ============================================================
   BENTO FEATURES
   ============================================================ */
.bento__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--lg);
}
.bento-card {
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--xl); display: flex; flex-direction: column; gap: var(--md);
}
.bento-card h3 { font-size: 20px; line-height: 1.35; font-weight: 400; color: var(--ink); }
.bento-card p { font-size: 14px; line-height: 1.5; color: var(--body); }
.bento-card__head { display: flex; flex-direction: column; gap: 6px; }

/* layout spans + uneven feel */
.bento-card--ai { grid-column: span 4; background: var(--surface-soft); }
.bento-card--num { grid-column: span 2; align-items: flex-start; justify-content: flex-start; }
.bento-card--vikarie { grid-column: span 3; }
.bento-card--chart { grid-column: span 3; }
.bento-card--cal { grid-column: span 6; }

.bento-card__metric { font-size: 64px; line-height: .9; font-weight: 400; color: var(--ink); letter-spacing: -0.03em; }

/* chat mock */
.chat-mock { display: flex; flex-direction: column; gap: 10px; margin-top: var(--xs); }
.chat-mock__msg { display: flex; gap: 8px; align-items: flex-end; }
.chat-mock__msg--out { justify-content: flex-end; }
.chat-mock__avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.chat-mock__bubble {
  font-size: 13px; line-height: 1.45; padding: 10px 13px; border-radius: var(--r-md); max-width: 80%;
  background: var(--canvas); border: 1px solid var(--hairline); color: var(--body);
}
.chat-mock__msg--out .chat-mock__bubble { background: var(--ink); color: #fff; border-color: var(--ink); }
.chat-mock__typing { display: flex; gap: 5px; padding: 10px 13px; }
.chat-mock__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); animation: typing 1.2s infinite ease-in-out; }
.chat-mock__typing span:nth-child(2) { animation-delay: .2s; }
.chat-mock__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }

.vikarie-list--card { gap: 12px; margin-top: var(--xs); }
.vikarie-list--card li {
  border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 10px 12px;
}

.bento-card__bars { width: 100%; height: 90px; margin-top: auto; }

/* calendar mock */
.cal-mock { display: flex; flex-direction: column; gap: 6px; margin-top: var(--xs); }
.cal-mock__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal-mock__row--head span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-left: 2px; }
.cal-mock__cell { height: 40px; border: 1px dashed var(--hairline); border-radius: var(--r-sm); }
.cal-mock__cell--lesson {
  border-style: solid; background: var(--surface-soft); color: var(--ink);
  display: flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 500;
}
.cal-mock__cell--alt { background: var(--cream); }

/* ============================================================
   TABBED PERSONAS
   ============================================================ */
.tabs {
  background: var(--surface-soft); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--xl);
}
.tabs__head {
  display: flex; flex-wrap: wrap; gap: var(--xs);
  border-bottom: 1px solid var(--hairline); padding-bottom: var(--md); margin-bottom: var(--xl);
}
.tabs__btn {
  font-size: 16px; font-weight: 500; color: var(--muted);
  background: none; border: 1px solid transparent; border-radius: var(--r-md);
  padding: 9px 16px; min-height: 44px;
}
.tabs__btn.is-active { background: var(--canvas); color: var(--ink); border-color: var(--hairline); }
.tabs__panel[hidden] { display: none; }
.tabs__grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--xxl); align-items: center; }
.tabs__copy h3 { font-size: 24px; line-height: 1.35; font-weight: 400; color: var(--ink); }
.tabs__copy p { margin-top: var(--sm); font-size: 16px; line-height: 1.5; color: var(--body); }
.tabs__list { margin-top: var(--lg); display: flex; flex-direction: column; gap: var(--sm); }
.tabs__list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--body); }
.tabs__list svg { color: var(--ink); flex-shrink: 0; margin-top: 2px; }
.tabs__visual { display: flex; justify-content: center; }

/* phone mock */
.phone-mock {
  width: 280px; background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: 28px; padding: 16px 14px; position: relative;
}
.phone-mock__notch { width: 90px; height: 5px; background: var(--surface-strong); border-radius: 3px; margin: 2px auto 16px; }
.phone-mock__screen { display: flex; flex-direction: column; gap: 10px; }
.phone-mock__head { display: flex; align-items: baseline; justify-content: space-between; }
.phone-mock__head strong { font-size: 15px; font-weight: 500; color: var(--ink); }
.phone-mock__head span { font-size: 12px; color: var(--muted); }
.phone-mock__lesson {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 11px 13px; background: var(--surface-soft);
}
.phone-mock__lesson strong { font-size: 13px; font-weight: 500; color: var(--ink); }
.phone-mock__lesson em { font-style: normal; font-size: 12px; color: var(--muted); }
.phone-mock__lesson--alt { background: var(--cream); }
.phone-mock__cta {
  margin-top: 4px; text-align: center; font-size: 14px; font-weight: 500; color: #fff;
  background: var(--ink); border-radius: var(--r-md); padding: 12px;
}

/* ============================================================
   HOW / MAP
   ============================================================ */
.how__grid { display: grid; grid-template-columns: 360px 1fr; gap: var(--xxl); align-items: center; }
.how__map { display: flex; justify-content: center; }
.how__map svg { width: 100%; max-width: 320px; height: auto; }
.map-pin circle:first-child { animation: pin 2.4s infinite ease-out; transform-origin: center; }
@keyframes pin { 0% { opacity: 1; } 50% { opacity: .4; } 100% { opacity: 1; } }
.how__list { display: flex; flex-direction: column; gap: var(--lg); }
.how-item {
  border-radius: var(--r-md); padding: var(--lg);
  border: 1px solid var(--hairline); background: var(--canvas);
}
.how-item h3 { font-size: 20px; line-height: 1.35; font-weight: 400; color: var(--ink); }
.how-item p { margin-top: var(--xs); font-size: 14px; line-height: 1.5; color: var(--body); }

/* cream callout */
.cream-callout {
  background: var(--cream); border-radius: var(--r-md); padding: var(--lg) var(--xl);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--lg) var(--xxl);
  margin-top: var(--xxl);
}
.cream-callout__stat { display: flex; flex-direction: column; }
.cream-callout__stat strong { font-size: 40px; line-height: 1; font-weight: 400; color: var(--ink); letter-spacing: -0.02em; }
.cream-callout__stat span { font-size: 14px; color: var(--body); margin-top: 4px; }
.cream-callout__text { font-size: 16px; line-height: 1.5; color: var(--body); flex: 1; min-width: 240px; }

/* ============================================================
   PRICING — own dialect: Inter 475/575, pill buttons
   ============================================================ */
.pricing { font-variation-settings: "wght" 475; }
.pricing .section__title { font-size: 28px; font-variation-settings: "wght" 575; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--lg); align-items: start; }
.price-card {
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--xl); display: flex; flex-direction: column; gap: var(--lg); position: relative;
}
.price-card--feature { background: var(--surface-soft); }
.price-card__badge {
  position: absolute; top: var(--xl); right: var(--xl);
  font-size: 12px; font-variation-settings: "wght" 575; color: var(--muted);
}
.price-card__head { display: flex; flex-direction: column; gap: var(--sm); }
.price-card h3 { font-size: 20px; font-weight: 400; font-variation-settings: "wght" 575; color: var(--ink); }
.price-card__head > p { font-size: 14px; line-height: 1.5; color: var(--muted); min-height: 42px; }
.price-card__price { display: flex; align-items: baseline; gap: 8px; margin: var(--xs) 0 var(--sm); }
.price-card__amount { font-size: 44.8px; line-height: 1.1; font-variation-settings: "wght" 475; color: var(--ink); letter-spacing: -0.02em; }
.price-card__per { font-size: 14px; color: var(--muted); }
.price-card__list { display: flex; flex-direction: column; gap: var(--sm); }
.price-card__list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--body); }
.price-card__list svg { color: var(--ink); flex-shrink: 0; margin-top: 2px; }

/* pricing buttons = pill */
.pricing .btn { border-radius: var(--r-pill); padding: 12px 24px; font-variation-settings: "wght" 575; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--xxl); align-items: stretch; }
.testimonials__media { display: flex; flex-direction: column; gap: var(--md); }
.media-card {
  border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; background: var(--canvas);
}
.media-card img { width: 100%; height: 280px; object-fit: cover; }
.media-card figcaption { padding: var(--md); display: flex; flex-direction: column; gap: 2px; }
.media-card figcaption strong { font-size: 14px; font-weight: 500; color: var(--ink); }
.media-card figcaption span { font-size: 13px; color: var(--muted); }
.media-card--small { display: flex; gap: var(--md); align-items: center; padding: var(--md); }
.media-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-strong); flex-shrink: 0; }
.media-card--small strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.media-card--small span { font-size: 13px; line-height: 1.45; color: var(--muted); }

.quote {
  margin: 0; background: var(--surface-soft); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--xl); display: flex; flex-direction: column; justify-content: center; gap: var(--lg);
}
.quote__stars { display: flex; gap: 4px; color: var(--ink); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 22px; line-height: 1.45; color: var(--ink); font-weight: 400; }
.quote figcaption { display: flex; align-items: center; gap: var(--md); }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-strong); }
.quote figcaption strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.quote figcaption em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ============================================================
   FAQ (dark band)
   ============================================================ */
.faq { background: var(--surface-dark); }
.faq__grid { display: grid; grid-template-columns: 360px 1fr; gap: var(--xxl); align-items: start; }
.faq__head .btn { margin-top: var(--lg); }
.faq__list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.14); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.14); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: var(--lg) 0;
  font-size: 18px; font-weight: 400; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: var(--md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 14px; height: 14px; flex-shrink: 0;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 0 var(--lg); }
.faq-item__body p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.74); max-width: 58ch; }

/* ============================================================
   CTA BAND (light grey near footer)
   ============================================================ */
.cta-band { padding-top: var(--section); padding-bottom: var(--section); }
.cta-band__inner {
  background: var(--surface-strong); border-radius: var(--r-lg); padding: var(--xxl);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--xxl); align-items: center;
}
.cta-band__copy h2 { font-size: 32px; line-height: 1.2; font-weight: 400; color: var(--ink); }
.cta-band__copy p { margin-top: var(--md); font-size: 16px; line-height: 1.5; color: var(--body); }
.cta-band .hl__line { stroke: var(--ink); }
.cta-band__form { display: flex; flex-direction: column; gap: var(--md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--md); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.form-field input, .form-field select {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: 0 16px; height: 44px; width: 100%;
}
.form-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2341454d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px;
}
.form-field input::placeholder { color: var(--border-strong); }
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--link); border-width: 2px; padding-left: 15px; }
.cta-band__form .btn { margin-top: var(--xs); }
.form-status { font-size: 14px; min-height: 1.2em; }
.form-status[data-state="error"] { color: var(--coral); }
.form-status[data-state="success"] { color: var(--success); }
.cta-band__legal { font-size: 13px; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: var(--section) 0 var(--xxl); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--xxl); }
.footer__logo { height: 32px; width: auto; }
.footer__tagline { margin-top: var(--md); font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 32ch; }
.footer__col h4 { font-size: 13px; font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--md); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--sm); }
.footer__col a { font-size: 14px; color: var(--muted); }
.footer__col a:active { color: var(--ink); }
.footer__col--contact p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer__col--contact a { color: var(--link); }
.footer__col--contact strong { color: var(--ink); font-weight: 500; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--md);
  margin-top: var(--section); padding-top: var(--lg); border-top: 1px solid var(--hairline);
}
.footer__bottom p { font-size: 13px; color: var(--muted); }
.footer__legal { display: flex; gap: var(--lg); }
.footer__legal a { font-size: 13px; color: var(--muted); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
.reveal.d5 { transition-delay: .30s; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --gutter: 32px; --section: 72px; }
  .section__title { font-size: 28px; }
  .hero__title { font-size: 36px; }

  .bento-card--ai { grid-column: span 6; }
  .bento-card--num { grid-column: span 6; flex-direction: row; align-items: baseline; gap: var(--md); }
  .bento-card--vikarie, .bento-card--chart { grid-column: span 3; }

  .signature__card { grid-template-columns: 1fr; gap: var(--xl); }
  .how__grid { grid-template-columns: 1fr; }
  .how__map { order: 2; }
  .tabs__grid { grid-template-columns: 1fr; }
  .tabs__visual { order: -1; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .dashboard__sidebar { display: none; }
  .dashboard__body { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 64px; }
  .nav__menu, .nav__actions { display: none; }
  .nav__toggle { display: flex; }

  .hero__title { font-size: 30px; max-width: none; }
  .section__title { font-size: 26px; }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero__actions .btn { width: 100%; }
  .hero__secondary { justify-content: center; }
  .hero__trust { gap: var(--sm) var(--md); }

  .dashboard { margin-top: var(--xxl); }
  .dashboard__main { padding: var(--md); }
  .dashboard__stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard__row { grid-template-columns: 1fr; }

  .bento__grid { grid-template-columns: 1fr; }
  .bento-card { grid-column: auto !important; padding: var(--lg); }
  .bento-card--num { flex-direction: column; }
  .bento-card__metric { font-size: 56px; }

  .signature__card { padding: var(--xl) var(--lg); }
  .signature__card h2 { font-size: 26px; }
  .signature__metric { font-size: 68px; }

  .tabs { padding: var(--lg); }
  .tabs__head { gap: 4px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tabs__btn { flex-shrink: 0; }
  .tabs__grid { gap: var(--xl); }
  .phone-mock { width: 100%; max-width: 300px; }

  .cream-callout { flex-direction: column; align-items: flex-start; gap: var(--md); padding: var(--lg); }

  .quote blockquote p { font-size: 19px; }

  .cta-band__inner { padding: var(--xl) var(--lg); }
  .cta-band__copy h2 { font-size: 26px; }
  .form-grid { grid-template-columns: 1fr; }

  .footer { padding-top: var(--xxl); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--xl); }
  .footer__bottom { margin-top: var(--xl); }
}
