/* ==========================================================================
   GVVA homepage - design system
   Brand (guava): leaf #0e2419, guava #d63a52 (action), lime #a3e05f (systems/flow), honey #f7c548 (numbers), cream #fbf7f0
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Guava palette: leaf (dark), guava flesh (action), lime skin (systems/flow), nectar honey (numbers), seed cream (paper) */
  --forest: #0e2419;
  --forest-2: #143222;
  --forest-3: #1d4230;
  --line-dark: rgba(232, 245, 222, 0.1);
  --on-dark: #eef3e8;
  --on-dark-muted: #9fb3a6;

  --paper: #fbf7f0;
  --paper-2: #f3ecdf;
  --card: #ffffff;
  --line: #e6dfd1;
  --text: #12241b;
  --muted: #5d6b62;

  --guava: #d63a52;
  --guava-hover: #bf2f47;
  --guava-ink: #b42a45;
  --guava-light: #ff8597;
  --guava-soft: #fdeef0;
  --lime: #a3e05f;
  --leaf-ink: #3f6f1f;
  --honey: #f7c548;
  --honey-deep: #e9ad1c;
  --honey-ink: #4a3405;

  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #f6c9d0; color: #7a1a2c; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000000;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--dark { background: var(--forest); color: var(--on-dark); }
.section--paper-2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: var(--guava); box-shadow: 0 0 0 4px rgba(214, 58, 82, 0.15); }
.section--dark .eyebrow { color: var(--on-dark-muted); }

.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section--dark .lede { color: var(--on-dark-muted); }
.accent-guava { color: var(--guava-ink); }
.accent-lime { color: var(--leaf-ink); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--guava { background: var(--guava); color: #fff; box-shadow: 0 10px 30px -10px rgba(214, 58, 82, 0.7); }
.btn--guava:hover { background: var(--guava-hover); }
.btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.22); }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: var(--forest-3); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* --- Header -------------------------------------------------------------- */
.site-header { position: fixed; inset: 12px 0 auto 0; z-index: 900; padding: 0 var(--gutter); }
.nav {
  max-width: var(--wrap); margin: 0 auto; height: 62px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(14, 36, 25, 0.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line-dark); border-radius: 999px; color: #fff;
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; background: #fff; padding: 3px; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #c9d6cc; text-decoration: none; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-cta { display: none; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-cta { display: inline-flex; } }

.menu-btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.06);
}
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .menu-btn { display: none; } }

.mobile-menu {
  max-width: var(--wrap); margin: 8px auto 0; padding: 10px;
  background: rgba(14, 36, 25, 0.96); border: 1px solid var(--line-dark); border-radius: 24px;
  display: grid; gap: 2px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 16px; border-radius: 14px; color: #e3e9dd; text-decoration: none; font-weight: 700; font-size: 17px; }
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.06); }
.mobile-menu .btn { margin-top: 8px; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; background: var(--forest); color: var(--on-dark);
  padding: clamp(128px, 16vw, 168px) 0 clamp(64px, 8vw, 96px);
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -380px;
  background: radial-gradient(closest-side, rgba(163, 224, 95, 0.22), transparent 70%), radial-gradient(closest-side at 30% 70%, rgba(214, 58, 82, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

.hero .eyebrow { color: #c9d6cc; }
.hero .eyebrow::before { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(2.9rem, 6vw, 5.6rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.045em; color: #fff;
}
.hero h1 .line-2 {
  display: block;
  background: linear-gradient(100deg, var(--lime) 5%, var(--honey) 50%, var(--guava-light) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-kicker { font-family: var(--mono); font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--honey); margin-bottom: 12px; }
.hero-copy { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #b8c7bc; max-width: 34em; }
.hero-copy mark { background: none; color: #fff; font-weight: 700; box-shadow: inset 0 -0.42em 0 rgba(214, 58, 82, 0.45); padding: 0 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 44px; }
@media (max-width: 520px) { .hero-actions .btn { width: 100%; } }

.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); max-width: 560px; }
.hero-stats div { padding: 18px 16px 0 0; }
.hero-stats div + div { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.stat-num { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--honey); letter-spacing: -0.03em; line-height: 1.1; }
.stat-label { display: block; font-size: 13.5px; color: var(--on-dark-muted); margin-top: 4px; }

/* Hero visual: example Nectar conversation + workflow */
.demo { position: relative; }
.demo-card {
  position: relative; background: #fff; color: var(--text); border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.demo-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #efeadf; }
.demo-avatar { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; background: linear-gradient(135deg, var(--guava), var(--lime)); color: #fff; flex: none; }
.demo-avatar svg { width: 20px; height: 20px; }
.demo-name { font-weight: 800; font-size: 15px; line-height: 1.2; }
.demo-status { font-size: 12.5px; color: #2f7a1f; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.demo-status::before { content: ''; width: 7px; height: 7px; border-radius: 9px; background: #22c55e; }
.demo-tag { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #87948b; background: #f3efe6; padding: 5px 9px; border-radius: 99px; }
.demo-body { padding: 18px; display: grid; gap: 12px; background: linear-gradient(180deg, #fff, #fdfbf6); }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
/* Messages are visible by default; they only animate in once JS marks the demo as playing */
.demo.is-playing .msg, .demo.is-playing .chips { opacity: 0; transform: translateY(8px); animation: msg-in .5s ease forwards; }
.demo.is-playing .chips { animation-delay: 2.6s; }
.msg--user { justify-self: end; background: var(--forest); color: #fff; border-bottom-right-radius: 6px; }
.demo.is-playing .msg--user { animation-delay: .3s; }
.msg--bot { justify-self: start; background: #f4efe5; border-bottom-left-radius: 6px; }
.demo.is-playing .msg--bot { animation-delay: 1.4s; }
.msg--bot ol { list-style: none; counter-reset: step; display: grid; gap: 6px; margin-top: 8px; }
.msg--bot li { counter-increment: step; display: flex; gap: 10px; align-items: baseline; }
.msg--bot li::before { content: counter(step); flex: none; width: 20px; height: 20px; border-radius: 6px; display: inline-grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; background: #fff; color: var(--guava-ink); border: 1px solid #f6c9d0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid #e3e9dd; background: #fff; border-radius: 999px; padding: 7px 12px;
  font-size: 13px; font-weight: 600; color: #2f4337; transition: border-color .15s, color .15s, background-color .15s;
}
.chip:hover { border-color: var(--guava); color: var(--guava-ink); background: var(--guava-soft); }
@keyframes msg-in { to { opacity: 1; transform: none; } }

.flow {
  margin-top: 16px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark);
}
.flow-label { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 12px; }
.flow-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; position: relative; }
.flow-node {
  position: relative; z-index: 1; padding: 10px 8px; border-radius: 12px; text-align: center;
  background: var(--forest-2); border: 1px solid var(--line-dark); font-size: 12.5px; font-weight: 600; color: #cdd9cf;
  animation: node-on 6s ease-in-out infinite;
}
.flow-node b { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--on-dark-muted); font-weight: 600; margin-bottom: 2px; }
.flow-node:nth-child(2) { animation-delay: 1.5s; }
.flow-node:nth-child(3) { animation-delay: 3s; }
.flow-node:nth-child(4) { animation-delay: 4.5s; }
.flow-row::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(163, 224, 95, 0.7) 0 6px, transparent 6px 12px);
  background-size: 24px 2px; animation: dash 1.2s linear infinite;
}
@keyframes node-on {
  0%, 30%, 100% { border-color: var(--line-dark); color: #cdd9cf; box-shadow: none; }
  8%, 22% { border-color: var(--lime); color: #fff; box-shadow: 0 0 0 4px rgba(163, 224, 95, 0.15); }
}
@keyframes dash { to { background-position: 24px 0; } }

/* --- Proof strip --------------------------------------------------------- */
.proof { background: var(--forest-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.proof-inner { display: grid; gap: 22px; padding: 26px 0; align-items: center; }
@media (min-width: 1024px) { .proof-inner { grid-template-columns: auto 1fr auto; gap: 36px; } }
.proof-title { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.proof-clients { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.proof-client { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: #fff; }
.proof-client small { font-weight: 500; color: var(--on-dark-muted); font-size: 13.5px; }
.clocks { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.clocks::-webkit-scrollbar { display: none; }
.clocks > span:first-child { flex-shrink: 0; white-space: nowrap; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #22c55e; margin-right: 4px; }
.clock { flex-shrink: 0; display: inline-flex; gap: 6px; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line-dark); font-family: var(--mono); font-size: 12px; color: var(--on-dark-muted); }
.clock b { color: #fff; font-weight: 600; }
.clock--home b { color: var(--honey); }

/* --- Problem ------------------------------------------------------------- */
.problem-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
.problem-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.problem-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.problem-list .x { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #fee2e2; color: #b91c1c; font-weight: 800; font-family: var(--mono); }
.problem-list h3 { font-size: 1.25rem; margin-bottom: 4px; }
.problem-list p { color: var(--muted); font-size: 15.5px; }
.problem-answer { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--forest); color: #fff; display: flex; gap: 16px; align-items: center; }
.problem-answer .tick { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--honey); color: var(--forest); font-weight: 800; }
.problem-answer p { font-size: 16px; color: #d4e0d6; }
.problem-answer strong { color: #fff; }

/* --- Services (bento) ---------------------------------------------------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .bento .b-1 { grid-column: span 4; } .bento .b-2 { grid-column: span 2; } .bento .b-3 { grid-column: span 3; } .bento .b-4 { grid-column: span 3; } }
.svc {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 20px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc:hover { border-color: #cfcabf; box-shadow: 0 24px 50px -30px rgba(14, 36, 25, 0.35); transform: translateY(-2px); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-num { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.svc-bar { height: 4px; width: 44px; border-radius: 4px; }
.svc h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.svc-items { display: grid; gap: 10px; margin-top: auto; }
@media (min-width: 560px) { .svc-items--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc-items--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .svc-items--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.svc-item { padding: 14px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid #efece6; }
.svc-item h4 { font-family: var(--body); font-size: 15px; font-weight: 750; letter-spacing: 0; line-height: 1.3; margin-bottom: 4px; }
.svc-item p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.svc--dark { background: var(--forest); border-color: var(--forest); color: #fff; }
.svc--dark .svc-num { color: var(--on-dark-muted); }
.svc--dark .svc-item { background: var(--forest-2); border-color: var(--line-dark); }
.svc--dark .svc-item p { color: var(--on-dark-muted); }

/* --- Solutions ----------------------------------------------------------- */
.tracks { display: grid; gap: 16px; }
@media (min-width: 900px) { .tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.track {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px;
  background: var(--forest-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.track--featured { background: linear-gradient(180deg, rgba(214, 58, 82, 0.12), rgba(214, 58, 82, 0) 60%), var(--forest-2); border-color: rgba(214, 58, 82, 0.55); }
.track-badge { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 99px; background: var(--guava); color: #fff; }
.track-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); }
.track h3 { font-size: 1.6rem; color: #fff; }
.track > p { color: var(--on-dark-muted); font-size: 15.5px; }
.track ul { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.track li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: #dbe5dc; }
.track li::before { content: '→'; font-family: var(--mono); color: var(--lime); }

/* --- Results ------------------------------------------------------------- */
.cases { display: grid; gap: 16px; }
@media (min-width: 960px) { .cases { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; } .case--lead { grid-row: span 2; } }
.case {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.case--lead { background: var(--forest); border-color: var(--forest); color: #fff; }
.case-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.case-logo { height: 56px; min-width: 56px; padding: 0 12px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; }
.case-meta h3 { font-family: var(--body); font-size: 17px; font-weight: 800; letter-spacing: 0; }
.case-meta p { font-size: 14px; color: var(--muted); font-weight: 600; }
.case--lead .case-meta p { color: var(--on-dark-muted); }
.case-place { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.case--lead .case-place { border-color: var(--line-dark); color: #cdd9cf; }
.case-outcome { font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.case--lead .case-outcome { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.case-outcome em { font-style: normal; color: var(--guava-ink); }
.case--lead .case-outcome em { color: var(--honey); }
.case > p:not(.case-outcome) { color: var(--muted); font-size: 15.5px; }
.case--lead > p:not(.case-outcome) { color: #b8c7bc; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.stack span { font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; background: var(--paper-2); color: #46584c; }
.case--lead .stack span { background: rgba(255, 255, 255, 0.07); color: #cdd9cf; }

/* --- Process ------------------------------------------------------------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.step-num::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); font-size: 15px; }
.step--start { background: var(--forest); border-color: var(--forest); color: #fff; }
.step--start .step-num { color: var(--honey); }
.step--start .step-num::after { background: var(--line-dark); }
.step--start p { color: #b8c7bc; }
.step--start .btn { width: 100%; }
.step-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 8px; }
.step--done { background: var(--honey); border-color: var(--honey-deep); }
.step--done .step-num, .step--done p { color: var(--honey-ink); }
.step--done .step-num::after { background: rgba(74, 52, 5, 0.2); }

/* --- Rent calculator ----------------------------------------------------- */
.calc { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc-fields { display: grid; gap: 22px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.field output { font-family: var(--mono); font-weight: 700; color: var(--leaf-ink); }
.field input[type="range"] { width: 100%; accent-color: var(--guava); height: 28px; }
.calc-result { padding: clamp(24px, 3vw, 34px); border-radius: 22px; background: var(--forest); color: #fff; }
.calc-result .eyebrow { color: var(--on-dark-muted); }
.calc-total { display: block; margin: 14px 0 8px; font-family: var(--mono); font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; color: var(--honey); }
.calc-result p { color: #b8c7bc; font-size: 15.5px; margin-bottom: 22px; }
.calc-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* --- About --------------------------------------------------------------- */
.about-statement { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; max-width: 30em; }
.about-statement .muted { color: var(--muted); }
.pillars { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-top-width: 4px; }
.pillar h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.pillar-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.pillar-icon svg { width: 22px; height: 22px; }
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; border-radius: var(--radius); overflow: hidden; background: var(--forest); color: #fff; }
@media (min-width: 760px) { .numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.numbers div { padding: 26px 24px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.numbers .stat-num { font-size: clamp(1.9rem, 4vw, 2.6rem); }

/* --- Integrations -------------------------------------------------------- */
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech li { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-family: var(--mono); font-size: 14px; font-weight: 600; color: #2f4337; }
.tech li.aws { border-color: #ff9900; color: #b45309; }

/* --- FAQ ----------------------------------------------------------------- */
.faq-grid { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; } .faq-grid .section-head { position: sticky; top: 110px; align-self: start; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 650; letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; border: 1.5px solid var(--line); font-family: var(--mono); font-size: 18px; transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--forest); color: #fff; border-color: var(--forest); }
.faq-content { padding: 0 0 26px; color: var(--muted); font-size: 16px; max-width: 62ch; }

/* --- Closing CTA --------------------------------------------------------- */
.closer { position: relative; overflow: hidden; text-align: center; }
.closer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 0%, rgba(214, 58, 82, 0.22), transparent 70%), radial-gradient(500px 300px at 50% 100%, rgba(163, 224, 95, 0.18), transparent 70%);
}
.closer .wrap { position: relative; }
.closer h2 { font-size: clamp(2.4rem, 6.4vw, 4.8rem); color: #fff; letter-spacing: -0.04em; max-width: 14em; margin: 18px auto 18px; }
.closer .lede { margin: 0 auto 34px; }
.closer-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--forest); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding: clamp(56px, 7vw, 80px) 0 112px; font-size: 15px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 30ch; }
.footer-made { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: #cdd9cf; }
.site-footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a, .site-footer .link-btn { color: var(--on-dark-muted); text-decoration: none; background: none; border: 0; padding: 0; font-size: 15px; text-align: left; }
.site-footer a:hover, .site-footer .link-btn:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.55; }
.site-footer .map-link { color: #c5ee95; text-decoration: underline; text-underline-offset: 3px; }
.footer-disclosure { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.footer-disclosure a { color: #c5ee95; text-decoration: underline; }
.footer-bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: 13.5px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer-links svg { width: 20px; height: 20px; display: block; }
.footer-links .link-btn, .footer-links a { font-size: 13.5px; }

/* --- Cookie banner ------------------------------------------------------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000001; padding: 16px; transform: translateY(110%); transition: transform .5s ease; }
.cookie-banner.translate-y-0 { transform: none; }
.cookie-card { max-width: 860px; margin: 0 auto; background: var(--forest); color: #cdd9cf; border: 1px solid var(--line-dark); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); display: grid; gap: 16px; }
@media (min-width: 760px) { .cookie-card { grid-template-columns: 1fr auto; align-items: center; gap: 24px; } }
.cookie-card h3 { font-family: var(--body); font-size: 17px; font-weight: 800; letter-spacing: 0; color: #fff; margin-bottom: 4px; }
.cookie-card p { font-size: 14px; line-height: 1.55; }
.cookie-card a { color: #c5ee95; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; }

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .demo.is-playing .msg, .demo.is-playing .chips { opacity: 1; transform: none; animation: none; }
}

/* ==========================================================================
   Inner pages (case studies, service pages)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; background: var(--forest); color: var(--on-dark); padding: clamp(120px, 14vw, 156px) 0 clamp(56px, 7vw, 84px); isolation: isolate; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 20%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 80% at 70% 20%, #000 25%, transparent 75%);
}
.page-hero h1 { margin: 18px 0 18px; font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #fff; max-width: 16em; }
.page-hero h1 em { font-style: normal; color: var(--honey); }
.page-hero .lede { color: #b8c7bc; max-width: 46em; }
.page-hero .hero-actions { margin: 30px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line-dark); max-width: 920px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { padding: 18px 18px 0 0; }
.facts .stat-num { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 0.85fr 1.15fr; } .split > .section-head { position: sticky; top: 110px; } }
.prose { display: grid; gap: 18px; font-size: 17px; color: #2f4337; max-width: 70ch; }
.prose h3 { font-size: 1.45rem; margin-top: 12px; color: var(--text); }
.prose ul { display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--guava); }
.prose strong { color: var(--text); }
.prose a { color: var(--leaf-ink); text-underline-offset: 3px; }

.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 28px); display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 1.3rem; }
.card p, .card li { color: var(--muted); font-size: 15.5px; }
.card .tag { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--guava-ink); letter-spacing: .04em; }
.card ul { display: grid; gap: 6px; }
.card li::before { content: '→ '; font-family: var(--mono); color: var(--leaf-ink); }
.section--dark .card { background: var(--forest-2); border-color: var(--line-dark); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p, .section--dark .card li { color: var(--on-dark-muted); }
.section--dark .card .tag { color: var(--honey); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.compare tbody th { font-weight: 750; color: var(--text); }
.compare td { color: #2f4337; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--guava-soft); border: 1px solid #f6c9d0; color: #5b1b28; font-size: 15px; }
.callout strong { color: #7a1a2c; }
.callout--lime { background: #eef7e3; border-color: #cfe7b3; color: #24421a; }
.source-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.source-note a { color: var(--leaf-ink); }

.related { display: grid; gap: 12px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related a { display: grid; gap: 6px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color .2s, transform .2s; }
.related a:hover { border-color: var(--guava); transform: translateY(-2px); }
.related b { font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.related span { font-size: 14.5px; color: var(--muted); }
.case-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--honey); text-decoration: none; }
.case-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc-more { margin-top: 4px; font-weight: 700; font-size: 14.5px; color: var(--leaf-ink); text-decoration: none; }
.svc--dark .svc-more { color: var(--lime); }
.svc-more:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Comparison tables stack on phones (labels come from the header row, set in site.js) */
@media (max-width: 640px) {
  .table-wrap.is-stacked { overflow: visible; }
  .is-stacked .compare { min-width: 0; }
  .is-stacked .compare thead { display: none; }
  .is-stacked .compare tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .is-stacked .compare tr:last-child { border-bottom: 0; }
  .is-stacked .compare th, .is-stacked .compare td { display: block; border: 0; padding: 4px 0; }
  .is-stacked .compare tbody th { font-size: 16px; margin-bottom: 4px; }
  .is-stacked .compare td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
}
