/* =========================================================================
   Conjure Marketing Site
   Warm, light, product-aligned landing page — real artifacts, real flow
   ========================================================================= */

:root {
  --bg: #FAF7F2;
  --bg-warm: #F7F2ED;
  --surface: #FFFFFF;
  --surface-soft: #FFFDF9;
  --ink: #1C1915;
  --ink-soft: #59544D;
  --muted: #7A7470;
  --muted-light: #9C938B;
  --accent: #4DA666;
  --accent-deep: #347044;
  --accent-soft: rgba(77, 166, 102, 0.10);
  --accent-fill: rgba(77, 166, 102, 0.06);
  --accent-mid: rgba(77, 166, 102, 0.28);
  --taupe: #C7BDB3;
  --taupe-soft: rgba(199, 189, 179, 0.32);
  --taupe-line: rgba(199, 189, 179, 0.50);
  --gold: #C9AD6A;
  --shadow-xs: 0 1px 2px rgba(89, 84, 77, 0.06);
  --shadow-sm: 0 3px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 18px 50px rgba(89, 84, 77, 0.11);
  --shadow-lg: 0 30px 90px rgba(89, 84, 77, 0.14);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --nav-height: 68px;
  --max-width: 1180px;
  --section-y: clamp(60px, 8vw, 104px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 0%, rgba(77, 166, 102, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 48%, var(--bg-warm) 100%);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid rgba(77, 166, 102, 0.48);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 2000;
  transform: translateY(-180%);
  border-radius: var(--radius-full);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.section-shell {
  position: relative;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: var(--section-y) 0;
}

.section-heading { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-heading-wide { max-width: 900px; }

.section-heading h2,
.capabilities-copy h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.section-heading p:not(.eyebrow),
.capabilities-copy p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  border-radius: var(--radius-full);
  background: var(--accent);
  opacity: 0.55;
}

/* =========================================================================
   Conjure orb (mirrors the app mark)
   ========================================================================= */

.orb {
  position: relative;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, #A7E3B8 0%, #6CC084 32%, #4DA666 58%, #2E7541 100%);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.35), 0 4px 14px rgba(77, 166, 102, 0.30);
}
.orb::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 166, 102, 0.30), transparent 70%);
  animation: orbPulse 3.6s var(--ease) infinite;
}
.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.42), transparent 55%);
  animation: orbSpin 6s linear infinite;
  mix-blend-mode: screen;
}
.orb-sm { width: 30px; height: 30px; }
.orb-lg { width: 58px; height: 58px; margin-bottom: 4px; }

@keyframes orbPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.08); }
}
@keyframes orbSpin {
  to { transform: rotate(360deg); }
}

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

.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  pointer-events: none;
}
.nav-inner {
  width: min(var(--max-width), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-full);
  background: rgba(250, 247, 242, 0.86);
  box-shadow: 0 12px 42px rgba(89, 84, 77, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav.scrolled .nav-inner {
  background: rgba(255, 253, 249, 0.94);
  border-color: rgba(199, 189, 179, 0.66);
  box-shadow: 0 10px 32px rgba(89, 84, 77, 0.12);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border-radius: var(--radius-full);
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: -0.045em;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  border-radius: var(--radius-full);
  color: var(--muted);
  padding: 9px 13px;
  font-size: 0.86rem;
  font-weight: 760;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-link:hover { background: rgba(199, 189, 179, 0.18); color: var(--ink-soft); }
.nav-link-cta {
  margin-left: 8px;
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 16px rgba(77, 166, 102, 0.22);
}
.nav-link-cta:hover { background: #438f59; color: white; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--taupe-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--ink-soft);
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Buttons, links, reveals
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 13px 21px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(77, 166, 102, 0.22), var(--shadow-xs);
}
.btn-primary:hover { background: #438f59; box-shadow: 0 12px 30px rgba(77, 166, 102, 0.27), var(--shadow-xs); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--taupe-line);
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: white; border-color: rgba(199, 189, 179, 0.78); }
.btn-lg { min-height: 52px; padding-inline: 26px; font-size: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 800;
  transition: gap 0.18s var(--ease), color 0.18s var(--ease);
}
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { gap: 9px; color: var(--accent); }

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.76s var(--ease), transform 0.76s var(--ease);
}
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }
.js-enabled .reveal-delay-1 { transition-delay: 0.08s; }
.js-enabled .reveal-delay-2 { transition-delay: 0.16s; }

/* =========================================================================
   Browser frame (reusable real-screenshot mock)
   ========================================================================= */

.browser-frame {
  overflow: hidden;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--taupe-soft);
  background: rgba(255, 255, 255, 0.7);
  padding: 11px 14px;
}
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E0D7CC; }
.browser-dots i:nth-child(1) { background: #E37B66; }
.browser-dots i:nth-child(2) { background: #D5B85D; }
.browser-dots i:nth-child(3) { background: var(--accent); }
.browser-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--taupe-soft);
  border-radius: var(--radius-full);
  background: rgba(250, 247, 242, 0.92);
  color: var(--muted);
  padding: 7px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.browser-live {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 6px 11px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.browser-live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 166, 102, 0.18);
}
.browser-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.browser-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--taupe-soft);
  background: rgba(255, 253, 249, 0.86);
  padding: 13px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.browser-caption strong { color: var(--ink-soft); font-weight: 800; }
.caption-dot {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(77, 166, 102, 0.14);
}

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

.hero {
  padding-top: clamp(112px, 11vw, 150px);
  padding-bottom: clamp(48px, 6vw, 84px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}
.hero-title {
  max-width: 640px;
  color: var(--ink);
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.hero-subtitle {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.58;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 32px;
}
.hero-proof div {
  border: 1px solid var(--taupe-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  padding: 14px 15px;
  box-shadow: var(--shadow-xs);
}
.hero-proof dt {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-proof dd {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero-visual { position: relative; }
.hero-visual .browser-frame { transform: rotate(0.4deg); }

/* =========================================================================
   Build centerpiece — the real idea flow
   ========================================================================= */

.flow {
  width: min(680px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.flow-card {
  border: 1px solid var(--taupe-line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
}
.flow-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.flow-icon { color: var(--accent); }
.flow-icon svg { width: 18px; height: 18px; }
.flow-label { color: var(--ink); font-size: 1rem; font-weight: 750; letter-spacing: -0.01em; }
.flow-question { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.5; }
.flow-divider { height: 1px; background: var(--taupe-soft); margin: 14px 0; }

.flow-options { display: flex; flex-direction: column; gap: 10px; }
.flow-option {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
}
.flow-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-fill);
  color: var(--ink);
}
.flow-option.is-muted {
  background: rgba(199, 189, 179, 0.12);
  color: var(--muted-light);
}

.flow-reply {
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-fill);
  padding: 13px 16px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.flow-directions { display: flex; flex-direction: column; gap: 10px; }
.flow-direction {
  border-radius: 13px;
  padding: 14px 16px;
  border: 1.5px solid transparent;
}
.flow-direction strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.flow-direction span { display: block; font-size: 0.87rem; line-height: 1.5; }
.flow-direction.is-selected {
  border-color: var(--accent);
  background: var(--accent-fill);
}
.flow-direction.is-selected strong { color: var(--ink); }
.flow-direction.is-selected span { color: var(--ink-soft); }
.flow-direction.is-muted { background: rgba(199, 189, 179, 0.10); }
.flow-direction.is-muted strong { color: var(--muted); }
.flow-direction.is-muted span { color: var(--muted-light); }

.flow-plan-name {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.flow-plan-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.flow-sub-label {
  display: block;
  margin-top: 16px;
  margin-bottom: 10px;
  color: var(--muted-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.flow-features { display: flex; flex-direction: column; gap: 8px; }
.flow-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}
.flow-features .dot {
  flex: none;
  width: 6px; height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent-mid);
}
.flow-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  border-radius: 8px;
  background: rgba(199, 189, 179, 0.16);
  color: var(--ink-soft);
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 700;
}
.chip-ai {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.chip-spark {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.flow-buildbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  border: 1.5px solid var(--accent-mid);
  border-radius: 11px;
  background: var(--accent-fill);
  padding: 12px 15px;
}
.flow-buildbar-text { color: var(--ink); font-size: 0.9rem; font-weight: 800; }
.flow-buildbar-meta { color: var(--muted); font-size: 0.78rem; font-weight: 600; }

.flow-connector {
  width: 2px;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--taupe), rgba(199, 189, 179, 0.2));
  position: relative;
}
.flow-connector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--accent), rgba(77, 166, 102, 0.25));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.6s var(--ease);
}
.flow-connector.is-drawn::after { transform: scaleY(1); }
.flow-connector-result { height: 40px; }

.flow-result { margin-top: 0; }
.flow-result .browser-frame img { aspect-ratio: 16 / 9; }
.flow-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding: 0 4px;
}
.flow-result-meta p { color: var(--muted); font-size: 0.94rem; max-width: 460px; }

.browser-frame-dark { box-shadow: 0 30px 90px rgba(28, 25, 21, 0.18); }

/* =========================================================================
   Examples gallery
   ========================================================================= */

.examples {
  border-top: 1px solid rgba(199, 189, 179, 0.26);
  border-bottom: 1px solid rgba(199, 189, 179, 0.26);
}
.example-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.example-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.example-shot { overflow: hidden; border-bottom: 1px solid var(--taupe-soft); background: var(--bg-warm); }
.example-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.example-card:hover .example-shot img { transform: scale(1.03); }
.example-body { padding: 20px 22px 22px; }
.example-kicker {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.example-card h3 {
  margin-top: 11px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: -0.025em;
}
.example-body p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.example-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 800;
  transition: gap 0.18s var(--ease);
}
.example-link svg { width: 14px; height: 14px; }
.example-card:hover .example-link { gap: 9px; }

/* =========================================================================
   Capabilities
   ========================================================================= */

.capabilities-board {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 16%, rgba(77, 166, 102, 0.10), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 242, 237, 0.84));
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-lg);
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.capabilities-grid article {
  min-height: 196px;
  border: 1px solid var(--taupe-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}
.cap-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(77, 166, 102, 0.2);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.cap-icon svg { width: 21px; height: 21px; }
.capabilities-grid h3 { color: var(--ink); font-size: 1.12rem; font-weight: 760; letter-spacing: -0.02em; }
.capabilities-grid p { margin-top: 8px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* =========================================================================
   How it works
   ========================================================================= */

.how-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.how-step {
  position: relative;
  border: 1px solid var(--taupe-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 20px 18px;
  box-shadow: var(--shadow-xs);
}
.how-step::before {
  content: "";
  width: 13px; height: 13px;
  display: block;
  margin-bottom: 16px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(77, 166, 102, 0.16);
}
.how-index { color: var(--accent); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.13em; }
.how-step h3 { margin-top: 6px; color: var(--ink); font-size: 1.06rem; letter-spacing: -0.02em; }
.how-step p { margin-top: 8px; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }

/* =========================================================================
   Final CTA
   ========================================================================= */

.cta { padding-bottom: clamp(64px, 8vw, 110px); }
.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 166, 102, 0.16), transparent 22rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(247, 242, 237, 0.86));
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}
.cta-panel h2 {
  max-width: 600px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.cta-panel > p {
  max-width: 520px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

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

.footer {
  border-top: 1px solid var(--taupe-soft);
  background: rgba(250, 247, 242, 0.72);
  padding: 36px 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}
.footer-brand { display: flex; align-items: center; gap: 12px; max-width: 380px; }
.footer-name { display: block; color: var(--ink); font-weight: 850; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-link { color: var(--muted); font-size: 0.88rem; font-weight: 760; }
.footer-link:hover { color: var(--ink-soft); }
.footer-copy { color: var(--muted-light); font-size: 0.82rem; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1120px) {
  .hero-grid,
  .capabilities-board { grid-template-columns: 1fr; }
  .hero-visual .browser-frame { max-width: 720px; margin: 0 auto; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-inner { width: calc(100% - 20px); }
  .nav-links {
    position: fixed;
    top: calc(var(--nav-height) + 18px);
    left: 10px;
    right: 10px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--taupe-line);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-link { display: block; padding: 12px 14px; }
  .nav-link-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 32px, var(--max-width)); }
  .hero-proof,
  .example-gallery { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .flow-result-meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  :root { --nav-height: 64px; }
  .section-shell { width: min(100% - 24px, var(--max-width)); }
  .hero { padding-top: 100px; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.6rem); line-height: 0.98; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .browser-url { font-size: 0.68rem; }
  .flow-card { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .flow-connector::after { transform: scaleY(1); }
}
