/* ---------- Soriela Landing — Tokens & Base ---------- */
:root {
  --navy: #004E64;
  --navy-2: #0A6179;
  --navy-deep: #00374A;
  --teal-soft: #6B8F71;
  --cream: #D9FFF5;
  --cream-2: #EAFFF8;
  --offwhite: #FAFAFA;
  --paper: #F7FFFC;

  --bg: #F7FFFC;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-glass: rgba(255, 255, 255, 0.62);

  --ink: #003A4A;
  --ink-soft: rgba(0, 58, 74, 0.78);
  --ink-muted: rgba(0, 58, 74, 0.58);
  --muted: rgba(0, 58, 74, 0.66);

  --accent: #C76F3D; /* warm rust accent for editorial pop */
  --warn: #C2722A;
  --good: #5E8F6A;

  --line: rgba(0, 78, 100, 0.10);
  --line-strong: rgba(0, 78, 100, 0.18);

  --shadow-1: 0 1px 2px rgba(0,58,74,.04), 0 8px 24px rgba(0,58,74,.06);
  --shadow-2: 0 1px 2px rgba(0,58,74,.04), 0 18px 48px rgba(0,58,74,.10);
  --shadow-lift: 0 30px 80px rgba(0,58,74,.14), 0 8px 22px rgba(0,58,74,.06);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --wrap: min(1200px, calc(100vw - 44px));
  --wrap-narrow: min(900px, calc(100vw - 44px));
  --sectionY: clamp(72px, 8vw, 128px);

  --ease: cubic-bezier(.2, .8, .2, 1);

  --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Dark hero variant tokens */
[data-hero-mode="dark"] {
  --hero-bg-1: #00222E;
  --hero-bg-2: #003A4D;
  --hero-ink: #EAFFF8;
  --hero-ink-soft: rgba(234,255,248,.74);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: var(--wrap); margin: 0 auto; }
.wrap-narrow { width: var(--wrap-narrow); margin: 0 auto; }

.serif { font-family: var(--serif); font-weight: 400; }
.mono  { font-family: var(--mono); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -.2px; color: var(--navy);
  font-size: 19px;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 70%);
  position: relative; overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,78,100,.25), inset 0 1px 0 rgba(255,255,255,.18);
}
.brand-mark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 32% 30%, rgba(217,255,245,.95), transparent 38%),
    radial-gradient(circle at 70% 72%, rgba(199,111,61,.55), transparent 50%);
  mix-blend-mode: screen;
}
.brand-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; transform: translate(-50%,-50%);
  border-radius: 50%; background: #EAFFF8; box-shadow: 0 0 0 3px rgba(255,255,255,.16);
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; color: var(--ink-soft);
}
.nav-links a {
  padding: 8px 12px; border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: rgba(0,78,100,.06); color: var(--navy); }

.nav-cta { display: flex; gap: 8px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer;
  font-family: inherit;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,78,100,.22), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(0,78,100,.28), inset 0 1px 0 rgba(255,255,255,.18);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--navy);
  border-color: rgba(0,78,100,.16);
}
.btn-ghost:hover { background: rgba(0,78,100,.05); }
.btn-cream {
  background: var(--cream); color: var(--navy);
  border-color: rgba(0,78,100,.10);
}
.btn-cream:hover { background: var(--cream-2); }
.btn-lg { padding: 14px 22px; font-size: 15.5px; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }

/* ---------- Eyebrows / Kickers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(217,255,245,.7);
  border: 1px solid rgba(0,78,100,.10);
}
.eyebrow .sq {
  width: 6px; height: 6px; background: var(--navy); border-radius: 1px;
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy);
}
.kicker::before {
  content: ""; display: block; width: 22px; height: 1px;
  background: var(--navy); opacity: .6;
}

/* ---------- Type ---------- */
h1.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  margin: 0;
}
h1.display em { font-style: italic; color: var(--accent); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--navy-deep);
  margin: 0 0 14px;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
  line-height: 1.55;
}
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */
.section { padding: var(--sectionY) 0; position: relative; }
.section.tinted {
  background:
    linear-gradient(180deg, rgba(217,255,245,.32), rgba(217,255,245,.08));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section.dark {
  background: radial-gradient(120% 100% at 50% 0%, var(--navy-2) 0%, var(--navy-deep) 60%, #001E29 100%);
  color: var(--cream);
}
.section.dark .section-title { color: #fff; }
.section.dark .section-lead { color: rgba(234,255,248,.78); }
.section.dark .kicker { color: var(--cream); }
.section.dark .kicker::before { background: var(--cream); opacity: .5; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(64px, 7vw, 100px) 0 clamp(40px, 5vw, 72px);
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -10% -5% auto -5%; height: 80%;
  background:
    radial-gradient(60% 60% at 18% 28%, rgba(217,255,245,.85), transparent 60%),
    radial-gradient(50% 50% at 88% 22%, rgba(199,111,61,.10), transparent 60%),
    radial-gradient(80% 70% at 50% 92%, rgba(107,143,113,.10), transparent 60%);
  pointer-events: none;
  filter: blur(2px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
}
.hero h1 { margin-top: 18px; }
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  margin: 22px 0 28px;
  max-width: 54ch;
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  color: var(--muted); font-size: 13.5px;
  flex-wrap: wrap;
}
.hero-meta .avs {
  display: inline-flex;
}
.hero-meta .avs > div {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -8px;
  background-size: cover; background-position: center;
}
.hero-meta .avs > div:first-child { margin-left: 0; }
.av-1 { background: linear-gradient(135deg,#C76F3D,#E0935C); }
.av-2 { background: linear-gradient(135deg,#004E64,#0A6179); }
.av-3 { background: linear-gradient(135deg,#6B8F71,#9CB8A0); }
.av-4 { background: linear-gradient(135deg,#D9FFF5,#9DD7C5); }

/* Hero product mockup */
.hero-art {
  position: relative;
  perspective: 1400px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform: rotate3d(1,-.4,.05, 6deg);
  transition: transform .6s var(--ease);
}
.hero-art:hover .product-card { transform: rotate3d(1,-.4,.05, 3deg); }

.pc-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(247,255,252,.78);
}
.pc-dots { display: flex; gap: 6px; }
.pc-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,58,74,.14); }
.pc-dot.r { background: rgba(199,111,61,.55); }
.pc-dot.y { background: rgba(207,164,87,.55); }
.pc-dot.g { background: rgba(94,143,106,.55); }
.pc-title { font-size: 12px; color: var(--ink-muted); margin-left: 8px; font-weight: 500; }

.pc-body { padding: 18px; display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.pc-side {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--line);
  display: grid; gap: 14px; align-content: start;
}
.pc-side h6 {
  margin: 0; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
}
.pc-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pc-side li {
  font-size: 13px; color: var(--ink-soft); padding: 6px 8px; border-radius: 6px;
  display: flex; align-items: center; gap: 8px;
}
.pc-side li.active { background: rgba(0,78,100,.08); color: var(--navy); font-weight: 600; }
.pc-side li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(0,58,74,.25);
}
.pc-side li.active::before { background: var(--navy); }

.pc-main { display: grid; gap: 14px; align-content: start; }
.pc-main-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
}
.pc-main-head h5 {
  margin: 0; font-family: var(--serif); font-size: 19px;
  color: var(--navy-deep); font-weight: 500; letter-spacing: -.01em;
}
.pc-main-head .health {
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: rgba(199,111,61,.10); padding: 4px 8px; border-radius: 999px;
  letter-spacing: .04em;
}

.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pc-stat {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px;
}
.pc-stat .l { font-size: 10.5px; color: var(--ink-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.pc-stat .v { font-size: 18px; font-weight: 700; color: var(--navy-deep); margin-top: 2px; font-feature-settings: "tnum" 1; }
.pc-stat .d { font-size: 11px; color: var(--good); margin-top: 1px; }
.pc-stat .d.neg { color: var(--accent); }

.pc-risk {
  border: 1px solid rgba(199,111,61,.28);
  background: linear-gradient(180deg, rgba(199,111,61,.06), rgba(199,111,61,.02));
  border-radius: 12px; padding: 12px 14px;
  display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center;
}
.pc-risk-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(199,111,61,.14); color: var(--accent);
  display: grid; place-items: center;
}
.pc-risk-text { font-size: 12.5px; color: var(--navy-deep); line-height: 1.4; }
.pc-risk-text b { font-weight: 600; }
.pc-risk-action {
  font-size: 11.5px; font-weight: 600; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 9px;
}

.pc-suggest {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px;
  display: grid; gap: 8px;
}
.pc-suggest h6 {
  margin: 0; font-size: 11px; font-weight: 600;
  color: var(--ink-muted); letter-spacing: .12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.pc-suggest h6::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 3px rgba(217,255,245,.95);
}
.pc-sugg-item {
  font-size: 12.5px; color: var(--ink-soft);
  padding: 6px 8px; border-left: 2px solid var(--cream);
}
.pc-sugg-item b { color: var(--navy-deep); }

/* Floating glyph behind hero card */
.hero-glyph {
  position: absolute; right: -50px; top: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(199,111,61,.16), transparent 70%);
  border-radius: 50%; filter: blur(20px);
  z-index: -1;
}

/* Hero floating chips */
.hero-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-2);
  font-size: 13px;
  color: var(--navy-deep);
  font-weight: 500;
  animation: float 6s ease-in-out infinite;
}
.hero-chip svg { color: var(--navy); }
.hero-chip.c1 { left: -22px; top: 24%; animation-delay: 0s; }
.hero-chip.c2 { right: -8px; bottom: 14%; animation-delay: -2s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Logo strip */
.logo-strip {
  padding: 36px 0 56px;
  border-bottom: 1px solid var(--line);
}
.logo-strip .label {
  text-align: center; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-muted);
  font-weight: 600; margin-bottom: 22px;
}
.logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(28px, 5vw, 56px); align-items: center;
  opacity: .82;
}
.logos > div {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--navy-deep); opacity: .66;
  letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.logos > div .lm {
  width: 18px; height: 18px; border-radius: 4px;
  background: var(--navy-deep); opacity: .8;
  display: inline-grid; place-items: center; color: var(--cream); font-size: 11px;
  font-family: var(--sans); font-weight: 700; font-style: normal;
}

/* ---------- Pain section (story) ---------- */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.story-list { display: grid; gap: 14px; margin-top: 28px; }
.story-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px;
  align-items: start;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink-soft);
  list-style: none;
}
.story-list li:last-child { border-bottom: 1px solid var(--line); }
.story-list .num {
  font-family: var(--serif); font-style: italic;
  color: var(--accent); font-size: 18px; line-height: 1.4;
}
.story-list b { color: var(--navy-deep); font-weight: 600; }

.day-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
  padding: 24px;
  position: relative; overflow: hidden;
}
.day-card::before {
  content: ""; position: absolute;
  inset: -40px -40px auto auto; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(217,255,245,.95), transparent 70%);
  filter: blur(2px); pointer-events: none;
}
.day-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px; position: relative;
}
.day-head h6 {
  margin: 0; font-size: 11px; font-weight: 600; color: var(--ink-muted);
  letter-spacing: .12em; text-transform: uppercase;
}
.day-head time { font-size: 12px; color: var(--ink-muted); }
.day-quote {
  font-family: var(--serif); font-size: 22px; line-height: 1.3;
  color: var(--navy-deep); font-weight: 400; letter-spacing: -.01em;
  margin: 0; position: relative;
}
.day-quote::before { content: "“"; position: absolute; left: -22px; top: -12px; font-size: 56px; color: var(--cream); line-height: 1; font-family: var(--serif); }
.day-attr {
  margin-top: 16px; display: flex; align-items: center; gap: 12px;
  position: relative;
}
.day-attr .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #C76F3D, #E0935C);
}
.day-attr .who { font-size: 13.5px; color: var(--navy-deep); font-weight: 600; }
.day-attr .role { font-size: 12px; color: var(--ink-muted); }

/* ---------- Demo (tabbed) ---------- */
.demo {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.demo-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(217,255,245,.32), transparent);
  overflow-x: auto;
}
.demo-tab {
  flex: 1; min-width: 180px;
  padding: 18px 22px; text-align: left;
  border: 0; background: transparent; cursor: pointer;
  border-right: 1px solid var(--line);
  font-family: inherit;
  position: relative;
  transition: background .2s var(--ease);
}
.demo-tab:last-child { border-right: 0; }
.demo-tab:hover { background: rgba(0,78,100,.03); }
.demo-tab .num {
  font-family: var(--serif); font-style: italic;
  color: var(--accent); font-size: 14px; opacity: .8;
}
.demo-tab .t {
  display: block;
  font-weight: 600; color: var(--navy-deep);
  font-size: 15px; letter-spacing: -.01em;
  margin-top: 4px;
}
.demo-tab .d {
  display: block; font-size: 12.5px; color: var(--ink-muted);
  margin-top: 4px; line-height: 1.4;
}
.demo-tab.active {
  background: rgba(217,255,245,.4);
}
.demo-tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--navy);
}

.demo-pane {
  padding: clamp(24px, 4vw, 44px);
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.demo-copy h4 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--navy-deep); margin: 8px 0 14px;
  letter-spacing: -.018em; line-height: 1.15;
}
.demo-copy p {
  color: var(--ink-soft); font-size: 16px; margin: 0 0 18px; max-width: 46ch;
}
.demo-copy ul {
  list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px;
}
.demo-copy ul li {
  display: flex; gap: 10px; align-items: start;
  font-size: 14.5px; color: var(--ink-soft);
}
.demo-copy ul li::before {
  content: ""; flex: 0 0 auto;
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--cream);
  border: 1px solid rgba(0,78,100,.18);
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004E64' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px 11px; background-position: center; background-repeat: no-repeat;
}

.demo-visual {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px; min-height: 360px;
  display: grid; gap: 12px; align-content: start;
  position: relative; overflow: hidden;
}

/* ---------- Personas ---------- */
.personas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.persona {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 24px;
  display: grid; gap: 14px; align-content: start;
  position: relative; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.persona:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.persona-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream); display: grid; place-items: center;
  color: var(--navy); border: 1px solid rgba(0,78,100,.10);
}
.persona h4 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: 22px; color: var(--navy-deep);
  letter-spacing: -.012em;
}
.persona p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.persona .quote {
  margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--navy-deep); font-style: italic;
  font-family: var(--serif);
}
.persona .quote-attr { font-size: 12px; color: var(--ink-muted); margin-top: 6px; font-style: normal; font-family: var(--sans); }

/* ---------- Capabilities (alt list) ---------- */
.caps-list { display: grid; gap: 10px; margin-top: 8px; }
.cap-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 22px; align-items: center;
  padding: 22px 4px; border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding .2s var(--ease);
}
.cap-row:last-child { border-bottom: 1px solid var(--line); }
.cap-row .num {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--accent); width: 40px;
}
.cap-row .body h5 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 2vw, 26px); color: var(--navy-deep);
  letter-spacing: -.014em; line-height: 1.2;
}
.cap-row .body p {
  margin: 6px 0 0; color: var(--ink-soft); font-size: 14.5px; max-width: 70ch;
}
.cap-row .arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream); color: var(--navy);
  display: grid; place-items: center;
  border: 1px solid rgba(0,78,100,.10);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.cap-row:hover .arrow { background: var(--navy); color: #fff; transform: rotate(-15deg); }

/* ---------- Quote / Testimonial ---------- */
.testimonial {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border: 1px solid rgba(0,78,100,.12);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  position: relative; overflow: hidden;
}
.testimonial::before {
  content: ""; position: absolute; top: 22px; left: 32px;
  font-family: var(--serif); font-size: 100px; color: rgba(0,78,100,.10);
  line-height: 1; pointer-events: none;
}
.testimonial blockquote {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.5vw, 32px); line-height: 1.25;
  color: var(--navy-deep); letter-spacing: -.012em;
}
.testimonial blockquote em { color: var(--accent); font-style: italic; }
.testimonial figcaption {
  margin-top: 22px; display: flex; align-items: center; gap: 14px;
}
.testimonial figcaption .av {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #004E64, #6B8F71);
  border: 2px solid #fff;
}
.testimonial .who { font-weight: 600; color: var(--navy-deep); font-size: 14.5px; }
.testimonial .role { font-size: 13px; color: var(--ink-muted); margin-top: 2px; }

.metrics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.metric {
  background: rgba(255,255,255,.7); border: 1px solid rgba(0,78,100,.10);
  border-radius: 14px; padding: 18px;
}
.metric .v {
  font-family: var(--serif); font-size: 36px; color: var(--navy-deep);
  letter-spacing: -.02em; line-height: 1; font-feature-settings: "tnum" 1;
}
.metric .v em { color: var(--accent); font-style: italic; }
.metric .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.4; }

/* ---------- Integrations ---------- */
.integrations-board {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 36px;
}
.int {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px;
  display: flex; align-items: center; gap: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.int:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.int-logo {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: 13px; flex: 0 0 auto;
}
.int .name { font-weight: 600; color: var(--navy-deep); font-size: 14px; }
.int .cat { font-size: 11.5px; color: var(--ink-muted); margin-top: 1px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 28px;
}
.price {
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 28px;
  display: grid; gap: 14px; align-content: start;
  position: relative;
}
.price.featured {
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--cream); border: 0;
  box-shadow: var(--shadow-lift);
}
.price.featured .p-name,
.price.featured .p-price,
.price.featured ul li { color: var(--cream); }
.price.featured .p-desc { color: rgba(217,255,245,.78); }
.price.featured ul li::before { background: rgba(217,255,245,.95); }
.price.featured .btn-primary {
  background: var(--cream); color: var(--navy-deep);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.price.featured .badge {
  position: absolute; top: -10px; right: 22px;
  background: var(--accent); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}
.p-name {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-muted);
}
.p-price {
  font-family: var(--serif); font-size: 44px; line-height: 1;
  color: var(--navy-deep); font-weight: 400; letter-spacing: -.02em;
}
.p-price small { font-size: 14px; color: var(--ink-muted); font-family: var(--sans); }
.p-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.5; margin: 0; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.price ul li {
  display: flex; gap: 10px; align-items: start;
  font-size: 14px; color: var(--ink-soft); line-height: 1.4;
}
.price ul li::before {
  content: ""; flex: 0 0 auto;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy); margin-top: 8px;
}
.price hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px;
  margin-top: 8px;
}
.post {
  display: block; color: inherit;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.post .img {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.post.feat .img { aspect-ratio: 4 / 3; }
.post .img-1 { background:
  linear-gradient(135deg, #004E64, #0A6179);
}
.post .img-2 { background:
  linear-gradient(135deg, #D9FFF5, #9DD7C5);
}
.post .img-3 { background:
  linear-gradient(135deg, #F2EFE8, #E8D6C0);
}
.post .img-4 { background:
  linear-gradient(135deg, #C76F3D, #E0935C);
}
.post .body { padding: 20px 22px 22px; }
.post .meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px; color: var(--ink-muted); margin-bottom: 10px;
}
.post .tag {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy);
  background: var(--cream); padding: 3px 8px; border-radius: 999px;
}
.post h4 {
  margin: 0 0 8px; font-family: var(--serif); font-weight: 500;
  font-size: 20px; line-height: 1.2; color: var(--navy-deep);
  letter-spacing: -.014em;
}
.post.feat h4 { font-size: 28px; }
.post p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.post .read {
  margin-top: 14px; display: inline-flex; gap: 6px; align-items: center;
  color: var(--navy); font-weight: 600; font-size: 13px;
}
.post .read::after {
  content: "→"; transition: transform .2s var(--ease);
}
.post:hover .read::after { transform: translateX(4px); }

/* Decorative imgs */
.deco-svg { width: 60%; height: 60%; opacity: .85; }
.deco-svg-text {
  font-family: var(--serif); font-style: italic;
  fill: rgba(255,255,255,.94); font-size: 18px;
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 0; margin-top: 24px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 4px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-family: var(--serif); font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400; color: var(--navy-deep);
  letter-spacing: -.012em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-size: 26px;
  color: var(--navy); font-weight: 300; line-height: 1;
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a {
  padding: 0 4px 22px; color: var(--ink-soft); font-size: 15px; max-width: 80ch;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 84px);
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute;
  inset: -100px; opacity: .35;
  background:
    radial-gradient(circle at 20% 30%, rgba(217,255,245,.85), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(199,111,61,.45), transparent 50%);
  pointer-events: none; filter: blur(10px);
}
.final-cta > * { position: relative; }
.final-cta h3 {
  margin: 12px 0 14px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4.5vw, 60px); letter-spacing: -.02em; line-height: 1.05;
}
.final-cta h3 em { font-style: italic; color: var(--cream); }
.final-cta p { color: rgba(217,255,245,.85); margin: 0 auto 28px; max-width: 56ch; font-size: 17px; }
.final-cta .lead-form {
  display: flex; gap: 8px; justify-content: center; max-width: 480px;
  margin: 0 auto; flex-wrap: wrap;
}
.final-cta .lead-form input {
  flex: 1; min-width: 220px;
  padding: 14px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08); color: #fff;
  font-family: inherit; font-size: 14.5px;
  outline: none;
}
.final-cta .lead-form input::placeholder { color: rgba(217,255,245,.6); }
.final-cta .lead-form input:focus {
  border-color: rgba(217,255,245,.7);
  background: rgba(255,255,255,.14);
}
.final-cta .lead-form .btn-primary {
  background: var(--cream); color: var(--navy-deep);
}
.final-cta .fineprint { margin-top: 14px; font-size: 13px; color: rgba(217,255,245,.6); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.4);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 24px;
}
.foot-grid h6 {
  margin: 0 0 14px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--navy-deep);
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { font-size: 14px; color: var(--ink-soft); }
.foot-grid a:hover { color: var(--navy); }
.foot-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--ink-muted);
}
.foot-social { display: flex; gap: 8px; }
.foot-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,78,100,.06); display: grid; place-items: center;
  color: var(--navy);
  transition: background .2s var(--ease);
}
.foot-social a:hover { background: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .demo-pane,
  .testimonial,
  .blog-grid,
  .integrations-board,
  .pricing-grid,
  .personas-grid {
    grid-template-columns: 1fr;
  }
  .integrations-board { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-chip { display: none; }
}
@media (max-width: 560px) {
  .pc-body { grid-template-columns: 1fr; }
  .pc-stats { grid-template-columns: 1fr 1fr 1fr; }
  .demo-tab { min-width: 240px; }
  .foot-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
