/* own-it.css — Logic Talk AI v3
   Conversion redesign. Mobile-first. Editorial restraint.
   Palette: warm off-white + ink + navy CTA. */

/* Skip-to-content — visually hidden until keyboard focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: #0E1116;
  color: #FAF7F4;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* CRE tools section legal footnote */
.tool-disclaimer {
  margin-top: 36px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}

:root {
  --bg: #FAF7F4;
  --bg-soft: #F2EDE7;
  --bg-card: #FFFFFF;
  --bg-deep: #0E1116;
  --ink: #0E1116;
  --ink-soft: #4A463F;
  --ink-faint: #6B655C; /* darkened from #8C857C — ≈4.6:1 on --bg for WCAG AA at small sizes */
  --line: #E5DED4;
  --line-soft: #EFE9E0;
  --navy: #1e3a5f;
  --navy-deep: #15294a;
  --amber: #d97706;
  --signal: #1e3a5f;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --sh-sm: 0 1px 2px rgba(14,17,22,0.04);
  --sh-md: 0 2px 12px rgba(14,17,22,0.06), 0 1px 3px rgba(14,17,22,0.04);
  --sh-lg: 0 12px 32px rgba(14,17,22,0.10), 0 2px 6px rgba(14,17,22,0.05);

  --serif: 'Fraunces', 'EB Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);

  --container: 1200px;
  --pad-x: clamp(20px, 5vw, 56px);
}

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

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: var(--navy); color: var(--bg); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

/* ======== layout ======== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--bg-deep); color: #F2EDE7; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(242,237,231,0.78); }

/* ======== type ======== */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.section--ink .eyebrow { color: rgba(255,255,255,0.55); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.4em;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.02;
  font-variation-settings: "opsz" 80, "SOFT" 50;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
}
.h2 {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.04;
  font-variation-settings: "opsz" 72, "SOFT" 50;
  margin: 0 0 22px;
}
.h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  margin: 0 0 12px;
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
  margin: 0 0 28px;
}
.eye-strike {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.eye-strike::before, .eye-strike::after {
  content: ""; height: 1px; width: 24px; background: var(--line);
}

.hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ======== nav ======== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(250,247,244,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  box-shadow: var(--sh-sm);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
.brand img { width: 64px; height: 64px; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

@media (max-width: 820px) {
  /* Nav is too tall on mobile to keep position:fixed — it would cover the hero.
     Make it scroll naturally with the page. User scrolls back to top to navigate. */
  .nav { position: static; padding: 16px 0 8px; }
  .nav-inner { flex-wrap: wrap; gap: 8px 16px; padding: 0 16px; justify-content: center; }
  .brand { gap: 8px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 18px; }
  .nav-links { width: 100%; flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding-top: 6px; }
  /* padding expands tap targets to ~40px without changing visual size */
  .nav-links a { font-size: 13px; display: inline-block; padding: 10px 8px; }
  .nav-links .nav-cta { order: 99; width: 100%; display: flex; justify-content: center; margin-top: 4px; }
  .nav-links .nav-cta .btn-sm { width: 100%; max-width: 320px; justify-content: center; }
  /* Hero no longer needs huge top padding to clear a fixed nav */
  .hero { padding-top: clamp(40px, 8vw, 64px) !important; }
}

/* ======== buttons ======== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--navy);
  color: #fff;
  min-height: 48px;
  transition: background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.3s ease;
  position: relative;
}
.btn:hover { background: var(--navy-deep); color: #fff; box-shadow: var(--sh-md); }
.btn:active { transform: scale(0.98); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-card); border-color: var(--ink); color: var(--ink); }
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { background: var(--bg); color: var(--navy); }
.btn-sm {
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  min-height: 38px;
}

/* ======== hero ======== */
.hero {
  padding: clamp(140px, 18vw, 200px) 0 clamp(72px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 28px;
}
.hero-stat-row span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.hero-stat-row span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line);
}
.hero h1 .own {
  font-style: italic;
  position: relative;
  display: inline-block;
  margin-right: 0.22em;
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  color: var(--navy);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  letter-spacing: -0.015em;
  margin: -8px 0 22px;
  font-weight: 500;
}
.hero h1 .own::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.08em;
  background: var(--navy);
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease) 0.4s;
}
.hero h1.in .own::after { transform: scaleX(1); }
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}
.slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.slot-pill:hover {
  background: #fff;
  border-color: var(--navy);
  color: var(--ink);
}
.slot-pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(217,119,6,0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(217,119,6,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(217,119,6,0); }
}

/* fix italic f kerning collision with preceding space */
.fix-f {
  font-style: italic;
  color: var(--navy);
  margin-left: 0.08em;
  margin-right: 0.05em;
}

h1, h2, h3, .h1, .h2, .h3, .hero-tagline, .thesis-line, .case-headline {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  font-feature-settings: "kern" 1, "liga" 0, "dlig" 0, "calt" 0;
  font-variant-ligatures: no-common-ligatures no-discretionary-ligatures no-contextual;
  font-variation-settings: normal;
}

.h2 {
  letter-spacing: -0.018em;
  word-spacing: 0.04em;
}

/* hero-side: thesis card */
.own-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
  box-shadow: var(--sh-md);
}
.thesis-line {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 22px;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-weight: 500;
  text-wrap: balance;
}
.thesis-line em {
  font-style: italic;
  color: var(--navy);
  position: relative;
}
.thesis-line .strike-soft {
  text-decoration: line-through;
  text-decoration-color: rgba(140,133,124,0.55);
  color: var(--ink-faint);
  font-weight: 400;
}
.thesis-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.thesis-row:first-of-type { border-top: 1px solid var(--line-soft); }
.thesis-row .label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.thesis-row .v-rent {
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(140,133,124,0.5);
}
.thesis-row .v-own {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}
.thesis-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--navy);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  letter-spacing: -0.005em;
  text-transform: none;
}
.own-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.own-card-head .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}
.own-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.own-card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.own-card-row .label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.own-card-row .v-rent {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(140,133,124,0.6);
}
.own-card-row .v-own {
  color: var(--ink);
  font-weight: 600;
}
.own-card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* counter strip */
.counter-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.counter-cell .num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  color: var(--ink);
  font-variation-settings: "opsz" 80, "SOFT" 50;
  letter-spacing: -0.03em;
  display: inline-block;
}
.counter-cell .lbl {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  font-weight: 500;
}
@media (max-width: 720px) {
  .counter-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; padding-top: 24px; }
}

/* ======== reframe / 3 reasons ======== */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.reason {
  background: var(--bg);
  padding: clamp(28px, 3.4vw, 44px);
}
.reason .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.reason h3 { margin: 0 0 10px; }
.reason p { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 820px) {
  .reasons { grid-template-columns: 1fr; }
}

/* ======== proof: agents (the centerpiece) ======== */
.agent {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.agent:first-of-type { border-top: 0; padding-top: 0; }
.agent-meta { position: sticky; top: 100px; }
.agent-meta .eyebrow { color: var(--navy); }
.agent-meta h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin-bottom: 18px; }
.agent-meta p { font-size: 16px; color: var(--ink-soft); margin: 0 0 16px; max-width: 42ch; }
.agent-meta .agent-tags {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px 8px;
}
.agent-meta .agent-tags li {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .agent { grid-template-columns: 1fr; }
  .agent-meta { position: static; }
}

/* terminal-style screenshot */
.term {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  box-shadow: var(--sh-md);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  font-family: var(--sans);
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: uppercase;
  font-weight: 500;
}
.term-bar .dots {
  display: inline-flex; gap: 6px; margin-right: 8px;
}
.term-bar .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
  display: inline-block;
}
.term-bar .dots i:nth-child(1) { background: #E5685B; }
.term-bar .dots i:nth-child(2) { background: #E8B73A; }
.term-bar .dots i:nth-child(3) { background: #5BB45B; }
.term-body { padding: 22px 24px; }

.term-line { padding: 3px 0; }
.term-prompt { color: var(--ink-faint); user-select: none; }
.term-prompt::before { content: "$ "; color: var(--navy); }
.term-block {
  margin: 14px 0;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 12.5px;
  line-height: 1.6;
}
.term-h {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 18px 0 8px;
}
.term-h:first-child { margin-top: 0; }

.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: 0.5px;
}
.chip-verified { background: #E8F2EC; color: #1F6B3A; }
.chip-assumed { background: #FFF3E0; color: #B35F00; }
.chip-unknown { background: #F4E8E8; color: #A33B2C; }
.chip-blocker { background: #F4E8E8; color: #A33B2C; }
.chip-flag { background: #FFF8DC; color: #92670A; }
.chip-go { background: #E8F2EC; color: #1F6B3A; }

.term-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 12px;
}
.term-table th, .term-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.term-table th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom-color: var(--line);
}
.term-table tr:last-child td { border-bottom: 0; }

.term-output { color: var(--ink-soft); }
.term-output strong { color: var(--ink); }
.term-output em { color: var(--ink-faint); font-style: normal; }

/* ======== case studies ======== */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.4vw, 32px);
  position: relative;
  transition: box-shadow 0.4s var(--ease), border-color 0.3s ease, transform 0.4s var(--ease);
}
.case:hover {
  border-color: #d6cec3;
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
}
.case .case-industry {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.case .case-headline {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  font-variation-settings: "opsz" 60, "SOFT" 50;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 14px;
}
.case .case-headline small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.case .case-title {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.case p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.case-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

/* ======== offer block ======== */
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  box-shadow: var(--sh-md);
}
.offer-side h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 18px; }
.offer-side .price-line {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
  font-weight: 600;
}
.offer-side .price-line strike {
  color: var(--ink-faint);
  text-decoration-color: rgba(140,133,124,0.5);
}
.offer-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 12px;
}
.offer-list li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}
.offer-list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--navy);
  font-weight: 600;
}
.offer-list li strong { color: var(--ink); font-weight: 600; }

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

/* ======== meet franco ======== */
.meet {
  display: grid;
  /* Wider photo column — landscape dog+Franco shot needs the room
     (was 320px, sized for the old portrait crop) */
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 820px) {
  .meet { grid-template-columns: 1fr; gap: 32px; }
}
.meet-photo {
  position: relative;
}
.meet-photo img {
  width: 100%;
  /* height:auto guards against the HTML height attribute stretching the
     photo if a stale/partial stylesheet ever drops the aspect-ratio rule */
  height: auto;
  /* Natural ratio of franco-photo (1200x1002, from Franco's WhatsApp original
     2026-06-12) — no crop, dog fully in frame */
  aspect-ratio: 1200 / 1002;
  object-fit: cover;
  border-radius: var(--r-md);
  filter: saturate(0.95);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
}
.meet-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.meet-badge:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--sh-lg);
}
.meet-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5BB45B;
  box-shadow: 0 0 0 3px rgba(91,180,91,0.2);
}
.meet-text .h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.meet-text p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 16px;
  text-wrap: pretty;
  max-width: 60ch;
}
.meet-text em { font-style: italic; color: var(--ink); }
.meet-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  counter-reset: meet;
  display: grid;
  gap: 14px;
}
.meet-list li {
  position: relative;
  padding: 16px 18px 16px 64px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  counter-increment: meet;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.meet-list li:hover { border-color: var(--navy); transform: translateX(2px); }
.meet-list li::before {
  content: counter(meet, decimal-leading-zero);
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--navy);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.meet-list li strong { color: var(--ink); font-weight: 600; }
.meet-sign {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  margin-top: 8px !important;
  font-size: 15px !important;
  font-variation-settings: "opsz" 24, "SOFT" 50;
}

/* ======== bio ======== */
.bio {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.bio-text { font-size: 17px; color: var(--ink-soft); line-height: 1.65; }
.bio-text p { margin: 0 0 16px; text-wrap: pretty; max-width: 60ch; }
.bio-text strong { color: var(--ink); font-weight: 600; }
.bio-text .creds {
  font-size: 13.5px;
  color: var(--ink-faint);
  font-family: var(--mono);
  letter-spacing: 0.02em;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .bio { grid-template-columns: 1fr; }
  .bio-photo { width: 132px; height: 132px; }
}

/* ======== services ======== */
.svcs {
  display: grid;
  gap: 16px;
}
.svc {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-card);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.svc:hover {
  border-color: var(--navy);
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
  color: var(--ink);
}
.svc .svc-num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 50;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.svc h3 { margin: 0 0 6px; }
.svc p { margin: 0 0 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 56ch; }
.svc .svc-tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 5px 7px;
}
.svc .svc-tags li {
  font-size: 11.5px;
  color: var(--ink-soft);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--mono);
}
.svc .svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.svc:hover .svc-cta {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.svc .svc-cta .arrow { transition: transform 0.3s var(--ease); }
.svc:hover .svc-cta .arrow { transform: translateX(4px); }
.svc-tag-anchor {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(217,119,6,0.12);
  color: var(--amber);
  margin-bottom: 8px;
}
.svc-tag-anchor.navy { background: rgba(30,58,95,0.10); color: var(--navy); }

@media (max-width: 820px) {
  .svc { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .svc .svc-num { font-size: 32px; }
  .svc .svc-cta { align-self: stretch; justify-content: center; padding: 14px 18px; }
}

/* ======== lead magnet ======== */
.magnet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 4vw, 56px);
  border-radius: var(--r-lg);
  background: var(--bg-deep);
  color: #F2EDE7;
  position: relative;
  overflow: hidden;
}
.magnet::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 80% 20%, rgba(217,119,6,0.18), transparent 50%);
  pointer-events: none;
}
.magnet > * { position: relative; z-index: 1; }
.magnet h3 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.magnet p { color: rgba(242,237,231,0.78); margin: 0 0 22px; max-width: 44ch; }
.magnet-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.magnet-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--sans);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.magnet-form input::placeholder { color: rgba(255,255,255,0.45); }
.magnet-form input:focus { border-color: var(--amber); background: rgba(255,255,255,0.10); }
.magnet-form .btn { background: var(--amber); }
.magnet-form .btn:hover { background: #b35f00; }
.magnet-microcopy {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(242,237,231,0.55);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.magnet-success {
  display: none;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(91, 180, 91, 0.15);
  border: 1px solid rgba(91, 180, 91, 0.4);
  color: #C8F0C8;
  font-size: 14.5px;
}
.magnet-form.sent + .magnet-success { display: block; }
.magnet-form.sent { display: none; }

.magnet-cover {
  position: relative;
  aspect-ratio: 8.5 / 11;
  max-width: 280px;
  margin-left: auto;
  background: linear-gradient(155deg, #fff 0%, #F2EDE7 100%);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.3);
  padding: 28px 24px;
  color: var(--ink);
  font-family: var(--serif);
  transform: rotate(-3deg);
  border: 1px solid rgba(0,0,0,0.04);
}
.magnet-cover::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--navy);
  border-radius: 6px 0 0 6px;
}
.magnet-cover .mc-eyebrow {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
  font-weight: 600;
}
.magnet-cover .mc-title {
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 60, "SOFT" 50;
  margin-bottom: 14px;
  color: var(--ink);
}
.magnet-cover .mc-list {
  list-style: none;
  padding: 0; margin: 14px 0 0;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.magnet-cover .mc-list li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.magnet-cover .mc-list li::before {
  content: "□ ";
  color: var(--navy);
  margin-right: 6px;
}
.magnet-cover .mc-foot {
  position: absolute;
  bottom: 18px; left: 28px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 820px) {
  .magnet { grid-template-columns: 1fr; }
  .magnet-cover { display: none; }
}

/* ======== faq ======== */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-faint);
  transition: transform 0.4s var(--ease), color 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--navy); }
.faq summary:hover { color: var(--navy); }
.faq-body {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 70ch;
}

/* ======== contact / final ======== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-side .h3 { margin: 0 0 18px; }
.contact-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 14px;
}
.contact-list li {
  font-size: 15.5px;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.55;
}
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 2px;
  background: var(--navy);
}
.contact-list li strong { color: var(--ink); font-weight: 600; }
.contact-direct {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contact-stack-note {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute, var(--ink));
}
.contact-stack-note strong {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
}
.calendly-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.calendly-inline-widget { min-width: 0 !important; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ======== footer ======== */
.footer {
  background: var(--bg-deep);
  color: #908a82;
  padding: clamp(64px, 8vw, 100px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
.footer-brand .brand { color: #fff; font-size: 24px; }
.footer-brand p { color: #908a82; margin: 12px 0 0; max-width: 38ch; font-size: 14.5px; line-height: 1.6; }
.footer-brand a { color: #d8d2ca; }
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-links h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #908a82;
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #d8d2ca; font-size: 14px; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #A6A096; /* ≥4.5:1 on the dark footer — #6c655c failed at 3.29 */
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ======== motion: reveals ======== */
/* Default: visible (graceful fallback if JS fails or IntersectionObserver doesn't fire).
   JS adds .has-js to <html> on load → THEN we hide elements until .in fires.
   This guarantees content is always visible even if JS errors out on mobile. */
.r-up {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.r-fade {
  transition: opacity 0.9s var(--ease);
}
.has-js .r-up {
  opacity: 0;
  transform: translateY(28px);
}
.has-js .r-up.in { opacity: 1; transform: translateY(0); }
.has-js .r-fade { opacity: 0; }
.has-js .r-fade.in { opacity: 1; }

.hero h1 .word {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(8px);
  display: inline-block;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  transition-delay: var(--word-delay, 0s);
  margin-right: 0.22em;
}
.hero h1 .word:last-child { margin-right: 0; }
.hero h1.in .word {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .r-up, .r-fade { opacity: 1; transform: none; }
}

/* ======== mobile final tightening ======== */
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 96px 0 56px; }
  .hero h1 .word { white-space: normal; }
  .h1 { font-size: clamp(36px, 11vw, 52px); }
  .h2 { font-size: clamp(28px, 8vw, 40px); }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .slot-pill { align-self: flex-start; }
  .calendly-inline-widget { height: 580px !important; }
  .agent { padding: 48px 0; }
  .term-body { padding: 18px 16px; font-size: 12px; }
  .term-table { font-size: 11px; }
  .case .case-headline { font-size: 32px; }
  .magnet-form input { width: 100%; }
  .magnet-form .btn { width: 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (hover: none) and (pointer: coarse) {
  .case:hover, .svc:hover { transform: none; }
}

/* ============================================================
   v3.3 — Simplified homepage components (2026-05-11)
   ============================================================ */

/* ----- Hero (clean variant, no thesis card) ----- */
.hero--clean .hero-clean-grid {
  max-width: 880px;
  display: block;
}
.hero--clean .hero-cta-dual {
  margin-top: 32px;
  gap: 14px;
  flex-wrap: wrap;
}
.hero--clean .hero-cta-dual .btn { min-height: 52px; padding: 16px 28px; }
.hero-micro {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-faint);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.hero-promise {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.hero-promise strong {
  color: var(--ink-bold, var(--ink));
  font-weight: 600;
}
@media (max-width: 600px) {
  .hero--clean .hero-cta-dual { flex-direction: column; align-items: stretch; }
  .hero--clean .hero-cta-dual .btn { width: 100%; }
  .hero-micro { font-size: 12px; line-height: 1.5; }
  .hero-promise { font-size: 15px; margin-top: 14px; }
}

/* ----- "What I've Built" — 3-card grid (replaces agent terminal demos) ----- */
.builds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) {
  .builds-grid { grid-template-columns: 1fr; gap: 18px; }
}

.build-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.build-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--navy);
  color: var(--ink);
}
.build-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--navy) 30%, var(--navy) 70%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease);
}
.build-card:hover::after { transform: scaleX(1); }

.build-card--accent { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.build-card--accent .build-icon { color: var(--navy); }

.build-icon {
  width: 56px;
  height: 56px;
  color: var(--navy);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 10px;
}
.build-icon svg { width: 100%; height: 100%; }

.build-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.build-card h3.h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.build-card > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.build-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.build-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.build-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

.build-cta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.build-cta .arrow { transition: transform 0.3s var(--ease); }
.build-card:hover .build-cta .arrow { transform: translateX(4px); }

/* ----- Proof section CTA below cases ----- */
.proof-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ----- Mobile sticky CTA bar (kicks in <820px) ----- */
.sticky-mobile {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250,247,244,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(14,17,22,0.08);
  gap: 8px;
}
.sticky-mobile .sticky-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  min-height: 44px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.sticky-mobile .sticky-primary {
  background: var(--navy);
  color: #fff;
}
.sticky-mobile .sticky-primary:active { transform: scale(0.98); }
.sticky-mobile .sticky-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.sticky-mobile .sticky-secondary:hover,
.sticky-mobile .sticky-secondary:active {
  border-color: var(--navy);
  color: var(--navy);
}
.sticky-mobile .arrow { font-size: 14px; }

@media (max-width: 820px) {
  .sticky-mobile { display: flex; }
  /* Reserve space at the bottom of the page so the sticky bar doesn't cover the footer */
  body { padding-bottom: 76px; }
}

/* Force-hide sticky bar when reduce-motion users prefer no overlay */
@media (prefers-reduced-motion: reduce) {
  .sticky-mobile { transition: none; }
}

/* ----- Tool-spec blocks (rich descriptions of Deal Intelligence + OM Generator) ----- */
.tool-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.tool-block:first-of-type { border-top: 0; padding-top: 0; }
.tool-block--reverse {
  grid-template-columns: 1fr 1.1fr;
}
.tool-block--reverse .tool-meta { order: 2; }
.tool-block--reverse .tool-flow { order: 1; }
@media (max-width: 900px) {
  .tool-block,
  .tool-block--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tool-block--reverse .tool-meta { order: 1; }
  .tool-block--reverse .tool-flow { order: 2; }
}

.tool-meta { display: flex; flex-direction: column; }
.tool-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.tool-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--navy);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-icon svg { width: 100%; height: 100%; }
.tool-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.tool-name {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 72, "SOFT" 50;
}
.tool-pitch {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 60ch;
}
.tool-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tool-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.tool-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: 700;
}
.tool-features li strong {
  color: var(--ink);
  font-weight: 600;
}
.tool-meta .btn { align-self: flex-start; }

/* Right side: inputs → process → outputs flow */
.tool-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.tool-flow-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--sh-sm);
}
.tool-flow-in   { border-left: 3px solid var(--ink-faint); }
.tool-flow-mid  { border-left: 3px solid var(--navy); background: var(--bg-soft); }
.tool-flow-out  { border-left: 3px solid var(--amber); }

.tof-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.tool-flow-step ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tool-flow-step ul li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
  position: relative;
  padding-left: 16px;
}
.tool-flow-step ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -2px;
  font-size: 20px;
  color: var(--ink-faint);
  line-height: 1;
}
.tool-flow-arrow {
  align-self: center;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ink-faint);
  line-height: 1;
}

/* Compact "Custom Build" card after the two tools */
.tool-other {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-top: 56px;
}
.tool-other-icon {
  width: 56px;
  height: 56px;
  color: var(--navy);
  background: #fff;
  border-radius: var(--r-md);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-other-icon svg { width: 100%; height: 100%; }
.tool-other-text .tool-tag { margin-bottom: 4px; }
.tool-other-text .tool-name {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 8px;
}
.tool-other-text p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
  max-width: 70ch;
}
@media (max-width: 760px) {
  .tool-other {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 24px;
    gap: 16px;
  }
  .tool-other .btn { width: 100%; justify-content: center; }
}

/* Compact tool strip — DealBrief cards (v3.3 trim: full feature breakdown lives on app.logictalk.ai) */
.tool-strip { display: grid; gap: 16px; }
.tool-strip .tool-other { margin-top: 0; background: var(--bg-card); }

/* ======== 48-hour plan artifact preview (audit section) ======== */
.plan-preview { margin: 0 0 26px; }
.plan-doc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--sh-lg);
  transform: rotate(-0.5deg);
}
.plan-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.plan-doc-brand {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.plan-doc-stamp {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  padding: 3px 7px;
}
.plan-doc-title {
  font-family: var(--serif);
  font-size: 16.5px;
  color: var(--ink);
  margin: 0 0 14px;
}
.plan-redact {
  display: inline-block;
  height: 9px;
  max-width: 100%;
  border-radius: 4px;
  background: var(--line);
}
.plan-redact--soft { background: var(--line-soft); }
.plan-doc-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.plan-doc-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
}
.plan-doc-bars { display: grid; gap: 6px; }
.plan-doc-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
}
.plan-doc-tag--build { color: var(--navy); background: rgba(30,58,95,0.08); }
.plan-doc-tag--skip { color: var(--amber); background: rgba(217,119,6,0.10); }
.plan-doc-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-faint);
}
.plan-preview-caption {
  font-size: 13px;
  color: var(--ink-faint);
  margin: 12px 2px 0;
  line-height: 1.5;
}
