/* ============== Flow — AI Client Acquisition (Light) ============== */

:root {
  --bg: #FAFAF7;
  --bg-2: #FFFFFF;
  --bg-soft: #F4F4F0;
  --ink: #0A0A0A;
  --ink-2: rgba(10, 10, 10, 0.62);
  --ink-3: rgba(10, 10, 10, 0.42);
  --ink-4: rgba(10, 10, 10, 0.22);
  --line: rgba(10, 10, 10, 0.08);
  --line-2: rgba(10, 10, 10, 0.14);
  --line-soft: rgba(10, 10, 10, 0.05);

  /* Accent — overridable by tweaks */
  --h1: 280;
  --h2: 220;
  --h3: 330;
  --c-1: oklch(58% 0.22 var(--h1));
  --c-2: oklch(58% 0.22 var(--h2));
  --c-3: oklch(60% 0.22 var(--h3));
  --c-warm: oklch(78% 0.16 70);
  --c-success: oklch(62% 0.18 145);
  --c-danger: oklch(60% 0.22 25);

  --grad-accent: linear-gradient(135deg, var(--c-1) 0%, var(--c-2) 50%, var(--c-3) 100%);
  --grad-text-dark: linear-gradient(180deg, #0A0A0A 0%, rgba(10,10,10,0.62) 130%);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  --font-display: "Instrument Serif", "Times New Roman", serif;

  --radius-card: 20px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
}

body {
  background:
    radial-gradient(900px 500px at 50% 0%, color-mix(in oklab, var(--c-1) 14%, transparent) 0%, transparent 60%),
    radial-gradient(700px 500px at 90% 30%, color-mix(in oklab, var(--c-2) 10%, transparent) 0%, transparent 60%),
    radial-gradient(700px 500px at 10% 60%, color-mix(in oklab, var(--c-3) 8%, transparent) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}

#app { position: relative; z-index: 1; }

::selection { background: color-mix(in oklab, var(--c-1) 24%, transparent); color: var(--ink); }

/* ============== Typography ============== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; color: var(--ink); }

h1 {
  font-size: clamp(44px, 6.6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.035em; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; line-height: 1.55; }

.text-mono { font-family: var(--font-mono); }
.text-serif { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.text-grad-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============== Layout ============== */

.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.shell-narrow { max-width: 980px; margin: 0 auto; padding: 0 32px; }

@media (max-width: 720px) {
  .shell, .shell-narrow { padding: 0 20px; }
}

/* ============== Navigation ============== */

.nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 12px 20px 0;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid var(--line-2);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 28px rgba(10,10,20,0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 14px;
}

.nav-brand-mark {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  filter: drop-shadow(0 1px 4px color-mix(in oklab, var(--c-1) 36%, transparent));
}

.nav-brand-mark svg { width: 100%; height: 100%; }

.nav-brand-mark .star-core {
  fill: url(#aliothGrad);
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.12); }
}

.nav-brand-mark .star-spark { animation: starTwinkle 3.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

.nav-divider { width: 1px; height: 16px; background: var(--line-2); margin: 0 4px; }

.nav-item {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.18s ease;
}

.nav-item:hover { color: var(--ink); background: rgba(10,10,10,0.04); }

.nav-item.is-active {
  color: var(--ink);
  background: rgba(10,10,10,0.06);
}

.nav-cta {
  margin-left: 4px;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 13px;
}

.nav-cta:hover { background: #000; color: #fff; }

@media (max-width: 760px) { .nav-mid { display: none; } }

/* ============== Buttons ============== */

.btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover { background: #000; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(10,10,10,0.18); }

.btn-ghost {
  background: rgba(10,10,10,0.04);
  color: var(--ink);
  border: 0.5px solid var(--line-2);
}

.btn-ghost:hover { background: rgba(10,10,10,0.08); }

.btn-shine {
  background: var(--grad-accent);
  color: #fff;
  font-weight: 500;
  position: relative;
  box-shadow: 0 8px 24px color-mix(in oklab, var(--c-1) 28%, transparent);
}

.btn-shine:hover { transform: translateY(-2px); box-shadow: 0 16px 40px color-mix(in oklab, var(--c-1) 40%, transparent); }

.btn-mic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: -6px;
  box-shadow: 0 0 12px color-mix(in oklab, var(--c-1) 50%, transparent);
}

/* ============== Glass card ============== */

.card {
  background: var(--bg-2);
  border: 0.5px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 4px 14px rgba(10,10,20,0.04);
  position: relative;
}

.card-hi {
  background: var(--bg-2);
  border: 0.5px solid var(--line-2);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 14px 36px rgba(10,10,20,0.08);
  position: relative;
}

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

.hero {
  position: relative;
  padding-top: 80px;
  padding-bottom: 40px;
  text-align: center;
  min-height: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.7);
  border: 0.5px solid var(--line-2);
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(10,10,20,0.04);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 8px var(--c-success);
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto 22px;
}

.hero h1 .accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero h1 .grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 580px;
  margin: 0 auto 36px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.5;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.hero-stage {
  position: relative;
  margin: 60px auto 0;
  height: 540px;
  width: 100%;
  max-width: 1100px;
}

/* ============== Floating cards (hero) ============== */

.float-card {
  position: absolute;
  width: 280px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 0.5px solid var(--line-2);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 14px 40px rgba(10,10,20,0.08), 0 0 0 0.5px rgba(255,255,255,0.4) inset;
  font-size: 12px;
  z-index: 5;
}

.float-card.fc-tl { top: 10%; left: 0; animation: floatA 7s ease-in-out infinite; }
.float-card.fc-tr { top: 20%; right: 0; animation: floatB 8s ease-in-out infinite; }
.float-card.fc-bl { bottom: 18%; left: 4%; animation: floatB 9s ease-in-out infinite reverse; }
.float-card.fc-br { bottom: 8%; right: 4%; animation: floatA 10s ease-in-out infinite reverse; }

@keyframes floatA { 0%,100%{transform:translate(0,0);} 50%{transform:translate(4px,-12px);} }
@keyframes floatB { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-6px,-8px);} }

.fc-eyebrow {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fc-eyebrow .dot-live {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 6px var(--c-success);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

.fc-title { font-size: 13px; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 4px; color: var(--ink); }
.fc-meta { font-size: 11px; color: var(--ink-2); display: flex; gap: 10px; }
.fc-meta b { color: var(--ink); font-weight: 600; }

.fc-bubble {
  margin-top: 10px;
  padding: 7px 10px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ============== Sections ============== */

.section {
  padding: 120px 0;
  position: relative;
}

.section-tight { padding: 80px 0; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { margin: 14px auto 16px; max-width: 880px; }
.section-head .lede { max-width: 580px; margin: 0 auto; color: var(--ink-2); font-size: 17px; line-height: 1.5; }

/* Logo strip */
.logo-strip {
  display: flex;
  justify-content: center;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
  padding: 32px 0 0;
  opacity: 0.65;
}

.logo-strip .logo {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-transform: uppercase;
}

.logo-strip-label {
  text-align: center;
  margin-top: 80px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ============== Solutions grid ============== */

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 880px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: var(--bg-2);
  border: 0.5px solid var(--line);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}

.solution-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10,10,20,0.07);
}

.sc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--c-1) 14%, white), color-mix(in oklab, var(--c-2) 10%, white));
  border: 0.5px solid color-mix(in oklab, var(--c-1) 24%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--c-1);
}

.sc-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 8px;
  border: 0.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-soft);
}

.sc-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.sc-desc { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-bottom: auto; max-width: 92%; }

.sc-visual {
  margin-top: 24px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 200px;
}

.sc-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

.sc-bullets li::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-1);
  flex-shrink: 0;
}

/* ============== Steps ============== */

.steps-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

@media (max-width: 880px) { .steps-row { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--bg-2);
  border: 0.5px solid var(--line);
  text-align: left;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.step-num-big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 88px;
  font-weight: 400;
  letter-spacing: -0.04em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0.9;
  margin-bottom: 12px;
}

.step h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ============== ROI Calculator ============== */

.roi {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  border-radius: 24px;
  background: var(--bg-2);
  border: 0.5px solid var(--line-2);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(10,10,20,0.08);
}

@media (max-width: 880px) { .roi { grid-template-columns: 1fr; } }

.roi-inputs { padding: 36px 36px 36px; }
.roi-output {
  padding: 36px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--c-1) 8%, white), color-mix(in oklab, var(--c-2) 6%, white));
  border-left: 0.5px solid var(--line);
  position: relative;
  overflow: hidden;
}

@media (max-width: 880px) { .roi-output { border-left: 0; border-top: 0.5px solid var(--line); } }

.roi-output::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--c-1) 20%, transparent), transparent 70%);
  pointer-events: none;
}

.roi-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--ink-2);
}

.roi-label .val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.roi-input {
  margin-bottom: 26px;
}

.roi-input input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  margin: 0;
}

.roi-input input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-1) var(--pct, 50%), var(--line-2) var(--pct, 50%));
}

.roi-input input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  width: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 0.5px solid var(--line-2);
  box-shadow: 0 2px 8px rgba(10,10,20,0.18), inset 0 0 0 5px var(--c-1);
  cursor: grab;
}

.roi-input input[type=range]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: var(--line-2);
}

.roi-input input[type=range]::-moz-range-thumb {
  height: 18px; width: 18px;
  border-radius: 50%;
  background: #fff;
  border: 0.5px solid var(--line-2);
  box-shadow: 0 2px 8px rgba(10,10,20,0.18), inset 0 0 0 5px var(--c-1);
  cursor: grab;
}

.roi-out-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.roi-out-num {
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 12px 0 6px;
  font-variant-numeric: tabular-nums;
}

.roi-out-sub {
  color: var(--ink-2);
  font-size: 14px;
  margin-bottom: 28px;
}

.roi-bars { display: flex; flex-direction: column; gap: 14px; position: relative; }

.roi-bar-row { display: grid; grid-template-columns: 100px 1fr 84px; align-items: center; gap: 12px; }
.roi-bar-row .name { font-size: 12px; color: var(--ink-2); }
.roi-bar-row .num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; text-align: right; }

.roi-bar-track { height: 8px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.roi-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ink-3), var(--ink-3));
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.roi-bar-fill.is-flow {
  background: var(--grad-accent);
}

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

.pricing-toggle {
  display: inline-flex;
  background: var(--bg-2);
  border: 0.5px solid var(--line-2);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin: 0 auto 40px;
  font-size: 13px;
}

.pricing-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--ink-2);
  font-weight: 500;
  transition: all 0.18s;
}

.pricing-toggle button.is-active {
  background: var(--ink);
  color: #fff;
}

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.tier {
  padding: 32px;
  background: var(--bg-2);
  border: 0.5px solid var(--line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
}

.tier.is-featured {
  border: 0.5px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad-accent) border-box;
  box-shadow: 0 24px 60px rgba(10,10,20,0.08);
  position: relative;
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-accent);
  border-radius: 999px;
  white-space: nowrap;
}

.tier-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.tier-price { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.tier-price .unit { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.tier-setup { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.tier-tagline { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 16px 0; }

.tier-features { list-style: none; padding: 0; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.tier-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.tier-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--c-success); }

.tier-cta {
  margin-top: auto;
  padding: 12px;
  border-radius: var(--radius-pill);
  text-align: center;
  font-weight: 500;
  font-size: 13.5px;
  cursor: pointer;
  border: 0.5px solid var(--line-2);
  background: rgba(10,10,10,0.04);
  color: var(--ink);
  transition: all 0.2s;
}

.tier.is-featured .tier-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.tier-cta:hover { transform: translateY(-1px); }

/* ============== Case Studies ============== */

.cases-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
@media (max-width: 880px) { .cases-grid { grid-template-columns: 1fr; } }

.case {
  padding: 32px;
  border-radius: 22px;
  background: var(--bg-2);
  border: 0.5px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.case.is-featured {
  background: var(--ink);
  color: #fff;
}
.case.is-featured .case-co, .case.is-featured .case-quote, .case.is-featured .case-result-num { color: #fff; }
.case.is-featured .case-quote-by { color: rgba(255,255,255,0.7); }
.case.is-featured .case-result-label { color: rgba(255,255,255,0.65); }

.case-co { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: auto; }
.case-quote { font-size: 17px; line-height: 1.45; letter-spacing: -0.015em; margin: 24px 0 18px; font-weight: 500; }
.case-quote.serif { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 22px; }
.case-quote-by { font-size: 12px; color: var(--ink-3); margin-bottom: 24px; }

.case-result { display: flex; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 24px; border-top: 0.5px solid var(--line); }
.case.is-featured .case-result { border-top-color: rgba(255,255,255,0.14); }
.case-result-num { font-family: var(--font-display); font-style: italic; font-size: 56px; letter-spacing: -0.03em; line-height: 1; font-weight: 400; }
.case-result-label { font-size: 12px; color: var(--ink-3); line-height: 1.4; max-width: 110px; }

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

.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; border-top: 0.5px solid var(--line); }

.faq-item { border-bottom: 0.5px solid var(--line); }

.faq-q {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
}

.faq-q:hover { color: var(--c-1); }

.faq-q-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-2);
  transition: transform 0.3s;
}

.faq-item.is-open .faq-q-icon { transform: rotate(45deg); background: var(--ink); color: #fff; }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.faq-item.is-open .faq-a {
  max-height: 320px;
  padding-bottom: 24px;
}

/* ============== Contact form ============== */

.contact {
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--c-1) 35%, transparent), transparent 70%);
  filter: blur(60px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
}

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } .contact { padding: 40px 28px; } }

.contact h2 { color: #fff; font-size: clamp(34px, 4vw, 48px); }
.contact .lede { color: rgba(255,255,255,0.65); font-size: 16px; margin-top: 16px; }

.contact-meta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.contact-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
}

.contact-meta-row .key { width: 90px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.16em; font-size: 10px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.contact-input, .contact-textarea, .contact-select {
  appearance: none;
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: 0;
  transition: all 0.18s;
}

.contact-input::placeholder, .contact-textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-input:focus, .contact-textarea:focus, .contact-select:focus { border-color: var(--c-1); background: rgba(255,255,255,0.1); }
.contact-input.is-error { border-color: var(--c-danger); }

.contact-textarea { min-height: 110px; resize: vertical; }

.contact-select { color: rgba(255,255,255,0.6); cursor: pointer; }
.contact-select:has(option:checked:not([value=""])) { color: #fff; }
.contact-select option { background: #0a0a0a; color: #fff; }

.contact-submit {
  margin-top: 6px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 0;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  align-self: flex-start;
}

.contact-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255,255,255,0.18); }

.contact-success {
  padding: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.14);
  text-align: center;
}

.contact-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

/* Calendly inline widget — keep light theme inside dark contact panel */
.calendly-inline-widget { color-scheme: light; }
.calendly-inline-widget iframe { border-radius: 16px; }

@media (max-width: 880px) {
  .calendly-inline-widget { height: 620px !important; }
}

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

.footer {
  padding: 56px 0 60px;
  border-top: 0.5px solid var(--line);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  color: var(--ink-3);
  font-size: 12px;
}

@media (max-width: 880px) { .footer { grid-template-columns: 1fr 1fr; } }

.footer-brand-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 600; color: var(--ink); font-size: 14px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 13px; letter-spacing: -0.005em; }
.footer-col a:hover { color: var(--ink); }

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-3);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) { .footer-legal { flex-direction: column; gap: 12px; text-align: center; } }

/* ============== Utility ============== */

.center { display: flex; align-items: center; justify-content: center; }
.col { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 8px; }
.center-text { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

@keyframes barWave { 0%,100%{transform:scaleY(0.3);} 50%{transform:scaleY(1);} }

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 60px; min-height: 720px; }
  .hero-stage { height: 460px; margin-top: 32px; }
  .float-card { width: 200px; transform: scale(0.78); transform-origin: top left; }
  .float-card.fc-tr { transform-origin: top right; }
  .float-card.fc-bl { transform-origin: bottom left; }
  .float-card.fc-br { transform-origin: bottom right; }
}
