/* Maple Automation — launch site */
:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7de;
  --ink: #161616;
  --muted: #69675f;
  --line: rgba(22, 22, 22, .16);
  --blue: #4052de;
  --blue-deep: #2738c9;
  --green: #b8ef68;
  --orange: #ff7048;
  --orange-text: #a93216;
  --white: #fffdfa;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(31, 26, 16, .12);
  --shell: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .025;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

::selection { background: var(--green); color: var(--ink); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.section-shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(88px, 11vw, 160px); }
[id] { scroll-margin-top: 88px; }

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 12px max(24px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, min-height .25s ease;
}
.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(244, 241, 234, .9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 18px;
  letter-spacing: -.025em;
  text-decoration: none;
}
.brand b { font-weight: 730; }
.brand-mark {
  width: 36px;
  height: 36px;
  padding: 6px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
}
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-nav > a:not(.button) {
  position: relative;
  color: #3c3b37;
  font-size: 14px;
  text-decoration: none;
}
.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.site-nav > a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.button-primary { background: var(--green); color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.button-wide { width: 100%; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -2px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #4f4d46;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow-light { color: rgba(255,255,255,.92); font-size: 12px; }
.pulse-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,112,72,.14); }

.hero {
  display: grid;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  padding-block: clamp(68px, 8vh, 110px) clamp(80px, 10vh, 130px);
  align-items: center;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(40px, 7vw, 110px);
}
.hero > * { min-width: 0; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(62px, 7.3vw, 108px);
  font-weight: 550;
  letter-spacing: -.072em;
  line-height: .89;
}
.hero h1 em { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.06em; }
.hero-lede { max-width: 590px; margin-bottom: 34px; color: #514f48; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.52; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-line { display: flex; gap: 0; padding: 30px 0 0; margin: 0; color: var(--muted); list-style: none; font-size: 12px; font-weight: 650; }
.trust-line li { display: flex; align-items: center; }
.trust-line li:not(:last-child)::after { margin-inline: 12px; content: "·"; color: var(--orange); }

.hero-visual {
  position: relative;
  min-height: 570px;
  border: 1px solid rgba(22,22,22,.1);
  overflow: hidden;
  background:
    linear-gradient(rgba(22,22,22,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,22,22,.055) 1px, transparent 1px),
    #e9e5dc;
  background-size: 42px 42px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-visual::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 65% 45%, rgba(83,102,255,.13), transparent 34%); }
.visual-label { position: absolute; z-index: 3; top: 28px; left: 30px; display: flex; align-items: center; gap: 10px; color: #66635b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.visual-label span { padding: 5px 8px; background: #dad5cb; color: #5c5a54; border-radius: 4px; }
.input-stack { position: absolute; z-index: 2; left: 7%; top: 19%; bottom: 17%; display: flex; flex-direction: column; justify-content: space-between; }
.input-chip {
  display: flex;
  width: 170px;
  padding: 13px;
  align-items: center;
  gap: 10px;
  background: rgba(255,253,250,.95);
  border: 1px solid rgba(22,22,22,.1);
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(44,39,28,.08);
  transform: rotate(-2deg);
}
.input-chip:nth-child(2) { transform: rotate(2deg) translateX(14px); }
.input-chip:nth-child(3) { transform: rotate(-1deg) translateX(-5px); }
.chip-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; background: var(--paper-2); border-radius: 7px; font-weight: 800; }
.input-chip span:last-child { display: flex; flex-direction: column; min-width: 0; }
.input-chip b { font-size: 12px; }
.input-chip small { color: #625f58; font-size: 11px; }
.flow-lines { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
.flow-lines path { fill: none; stroke: #8e8b82; stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .58; }
.flow-lines .flow-line-active { stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 7 7; animation: dash 15s linear infinite; opacity: .9; }
@keyframes dash { to { stroke-dashoffset: -140; } }
.automation-node {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 54%;
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  color: white;
  background: var(--blue);
  border: 9px solid rgba(244,241,234,.85);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(83,102,255,.3);
  transform: translate(-50%, -50%);
}
.automation-node svg { width: 40px; height: 40px; }
.automation-node svg path, .automation-node svg circle { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.automation-node span { position: absolute; bottom: 14px; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.output-card { position: absolute; z-index: 3; top: 36%; right: 4%; width: 215px; padding: 18px; background: var(--ink); color: white; border-radius: 14px; box-shadow: 0 18px 45px rgba(0,0,0,.22); transform: rotate(2deg); }
.output-status { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.output-status span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.output-card p { margin-bottom: 18px; font-size: 13px; line-height: 1.45; }
.output-meta { display: flex; justify-content: space-between; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.16); color: #a7a59f; font-size: 8px; }
.output-meta b { color: white; }
.visual-stamp { position: absolute; right: 28px; bottom: 28px; color: #646159; font-family: Georgia, serif; font-size: 12px; font-style: italic; line-height: 1.35; text-align: right; }

.signal-strip { display: flex; min-height: 78px; padding: 14px 24px; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 42px); background: var(--ink); color: white; }
.signal-strip p { margin: 0; font-size: clamp(13px, 1.6vw, 19px); font-weight: 600; }
.signal-strip span { color: var(--green); font-size: 20px; }

.two-col-intro { display: grid; grid-template-columns: .36fr 1fr; gap: 30px; }
.section-intro h2, .section-heading h2, .calculator-copy h2, .founder-copy h2, .faq-heading h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 550;
  letter-spacing: -.055em;
  line-height: .99;
}
.two-col-intro > div { display: grid; grid-template-columns: 1fr .58fr; align-items: end; gap: 50px; }
.two-col-intro > div p { margin-bottom: 26px; color: var(--muted); font-size: 18px; }
.pain-grid { display: grid; margin-top: 70px; border-block: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
.pain-grid article { min-height: 280px; padding: 34px 38px 28px 0; }
.pain-grid article + article { padding-left: 38px; border-left: 1px solid var(--line); }
.card-number { display: block; margin-bottom: 64px; color: var(--orange-text); font-size: 12px; font-weight: 800; }
.pain-grid h3 { margin-bottom: 14px; font-size: 22px; letter-spacing: -.025em; }
.pain-grid p { margin: 0; color: var(--muted); font-size: 15px; }

.use-cases { background: #3345c8; color: white; }
.section-heading { display: grid; margin-bottom: 64px; align-items: end; grid-template-columns: 1fr .52fr; gap: 60px; }
.section-heading h2 { margin: 0; }
.section-heading > p { margin: 0 0 8px; color: rgba(255,255,255,.9); font-size: 17px; }
.case-list { border-top: 1px solid rgba(255,255,255,.34); }
.case-row { border-bottom: 1px solid rgba(255,255,255,.34); }
.case-trigger {
  display: grid;
  width: 100%;
  padding: 26px 0;
  align-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  grid-template-columns: 70px 1fr .75fr 42px;
  text-align: left;
}
.case-index { color: var(--green); font-size: 12px; font-weight: 800; }
.case-title { font-size: clamp(21px, 2.2vw, 30px); font-weight: 650; letter-spacing: -.03em; }
.case-tag { color: rgba(255,255,255,.86); font-size: 14px; }
.case-toggle { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 20px; font-weight: 300; }
.case-panel { padding: 0 0 32px 70px; }
.before-after { display: grid; padding: 26px; background: rgba(20,27,97,.23); border-radius: 12px; grid-template-columns: 1fr 40px 1fr; gap: 20px; }
.before-after > span { align-self: center; color: var(--green); font-size: 22px; text-align: center; }
.before-after small { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.before-after p { max-width: 440px; margin: 6px 0 0; color: rgba(255,255,255,.94); font-size: 15px; }
.tools-line { margin: 14px 0 0; color: rgba(255,255,255,.8); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.dark-heading > p { color: var(--muted); }
.steps { position: relative; padding: 0; margin: 0; list-style: none; }
.steps::before { position: absolute; top: 42px; bottom: 42px; left: 44px; width: 1px; content: ""; background: var(--line); }
.steps li { position: relative; display: grid; min-height: 145px; grid-template-columns: 90px 1fr; gap: 40px; }
.step-marker { position: relative; z-index: 2; display: grid; width: 88px; height: 88px; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; }
.step-marker span { display: grid; width: 56px; height: 56px; place-items: center; background: var(--ink); color: white; border-radius: 50%; font-size: 11px; font-weight: 800; }
.steps li > div:last-child { display: grid; padding: 12px 0 42px; border-bottom: 1px solid var(--line); grid-template-columns: .35fr .55fr 1fr; gap: 35px; }
.step-time { margin: 8px 0 0; color: var(--blue-deep); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.steps h3 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.steps li > div:last-child > p:last-child { max-width: 520px; margin: 3px 0 0; color: var(--muted); font-size: 15px; }
.scope-note { display: grid; margin: 64px 0 0 130px; padding: 24px 28px; align-items: center; background: #e6e1d7; border-radius: 12px; grid-template-columns: 50px 1fr auto; gap: 20px; }
.scope-icon { display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 20px; }
.scope-note p { margin: 0; color: #55524b; font-size: 13px; }
.scope-note p b { color: var(--ink); }
.scope-note a { color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }

.calculator-section { background: #ded9ce; }
.calculator-grid { display: grid; align-items: start; grid-template-columns: .8fr 1fr; gap: clamp(50px, 8vw, 130px); }
.calculator-copy { position: sticky; top: 110px; }
.calculator-copy h2 { font-size: clamp(42px, 5vw, 68px); }
.calculator-copy > p { max-width: 520px; color: var(--muted); font-size: 17px; }
.calc-note { display: flex; max-width: 500px; margin-top: 40px; align-items: flex-start; gap: 13px; }
.calc-note > span { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border: 1px solid #8d897f; border-radius: 50%; font-family: Georgia, serif; font-style: italic; }
.calc-note p { margin: 1px 0 0; color: #5d5a53; font-size: 11px; }
.calculator { padding: clamp(26px, 4vw, 48px); background: var(--white); border-radius: 18px; box-shadow: 0 18px 60px rgba(45,39,27,.08); }
.calculator label { display: block; color: #4f4d46; font-size: 11px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-with-suffix, .input-with-prefix { display: flex; height: 60px; margin-top: 8px; align-items: center; border: 1px solid #cfcbc2; border-radius: 8px; overflow: hidden; background: white; }
.input-with-suffix:focus-within, .input-with-prefix:focus-within { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(39,56,201,.18); }
.input-with-suffix input, .input-with-prefix input { width: 100%; height: 100%; min-width: 0; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 22px; font-weight: 650; }
.input-with-suffix span, .input-with-prefix span { padding: 0 16px; color: #625f58; font-size: 12px; text-transform: uppercase; }
.input-with-prefix > span:first-child { padding-right: 0; color: var(--ink); font-size: 18px; }
.range-label { margin-block: 29px; }
.range-label > span { display: flex; justify-content: space-between; }
.range-label output { color: var(--blue); font-size: 12px; }
input[type="range"] { width: 100%; margin: 17px 0 0; accent-color: var(--blue); }
.calc-result { display: grid; margin: 34px 0 22px; padding: 25px; background: var(--ink); color: white; border-radius: 10px; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc-result > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.calc-result small { display: block; margin-bottom: 5px; color: #aaa9a4; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.calc-result strong { display: block; color: var(--green); font-size: clamp(24px, 3.2vw, 39px); letter-spacing: -.04em; white-space: nowrap; }
.calc-result em { margin-left: 3px; color: white; font-size: 10px; font-style: normal; font-weight: 500; letter-spacing: 0; }

.about { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(55px, 9vw, 140px); }
.founder-card { align-self: start; }
.founder-portrait { position: relative; display: grid; aspect-ratio: .83; place-items: center; overflow: hidden; background: var(--blue); border-radius: 220px 220px 18px 18px; }
.founder-portrait > span { position: relative; z-index: 2; color: var(--green); font-family: Georgia, serif; font-size: clamp(78px, 11vw, 145px); font-style: italic; letter-spacing: -.1em; transform: translateX(-.05em); }
.founder-portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .3; }
.founder-portrait path { fill: none; stroke: white; stroke-width: 1.2; }
.portrait-caption { display: flex; margin: 15px 10px 0; justify-content: space-between; color: #4f4d46; font-size: 10px; font-weight: 800; line-height: 1.5; text-transform: uppercase; }
.portrait-caption span { color: #625f58; font-weight: 600; }
.founder-copy { padding-top: 25px; }
.founder-copy h2 { margin-bottom: 30px; }
.founder-copy > p { max-width: 660px; color: var(--muted); }
.founder-copy .founder-lede { color: var(--ink); font-size: 20px; line-height: 1.55; }
.credential-grid { display: grid; margin-block: 36px 28px; border-block: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
.credential-grid div { padding: 22px 18px 22px 0; }
.credential-grid div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.credential-grid strong { display: block; margin-bottom: 4px; font-size: 12px; }
.credential-grid span { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; }
.founder-links { display: flex; gap: 30px; }
.experience-note { margin-top: 28px; font-size: 10px; font-style: italic; }

.guardrails { background: var(--ink); color: white; }
.guardrail-grid { display: grid; border-top: 1px solid rgba(255,255,255,.2); grid-template-columns: repeat(4, 1fr); }
.guardrail-grid article { min-height: 270px; padding: 28px 26px 10px 0; }
.guardrail-grid article + article { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.2); }
.guardrail-grid span { display: block; margin-bottom: 78px; color: var(--green); font-size: 10px; font-weight: 800; }
.guardrail-grid h3 { margin-bottom: 12px; font-size: 18px; }
.guardrail-grid p { margin: 0; color: rgba(255,255,255,.6); font-size: 12px; }

.faq { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(50px, 9vw, 140px); }
.faq-heading { align-self: start; }
.faq-heading h2 { font-size: clamp(42px, 5vw, 67px); }
.faq-heading > p { max-width: 420px; color: var(--muted); }
.faq-heading .text-link { margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 84px; padding: 22px 0; align-items: center; justify-content: space-between; gap: 25px; cursor: pointer; font-size: 17px; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 24px; font-weight: 300; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; padding: 0 45px 24px 0; margin: 0; color: var(--muted); font-size: 14px; }

.contact-section { padding-inline: 24px; background: var(--paper); }
.contact-shell { display: grid; width: min(1340px, 100%); margin-inline: auto; padding: clamp(36px, 6vw, 82px); background: var(--blue); color: white; border-radius: 24px; grid-template-columns: .75fr 1fr; gap: clamp(45px, 8vw, 120px); }
.contact-copy h2 { margin-bottom: 25px; font-size: clamp(48px, 6.4vw, 86px); font-weight: 550; letter-spacing: -.06em; line-height: .95; }
.contact-copy > p { max-width: 460px; color: rgba(255,255,255,.92); }
.contact-direct { display: flex; margin-top: 48px; flex-direction: column; }
.contact-direct small { margin-bottom: 5px; color: rgba(255,255,255,.82); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.contact-direct a { font-size: clamp(18px, 2.1vw, 27px); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-location { display: flex; margin-top: 55px; align-items: center; gap: 9px; font-size: 13px; }
.contact-location span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.fit-check { display: grid; max-width: 490px; margin-top: 34px; border-block: 1px solid rgba(255,255,255,.28); }
.fit-check p { padding: 13px 0; margin: 0; color: rgba(255,255,255,.86); font-size: 12px; }
.fit-check p + p { border-top: 1px solid rgba(255,255,255,.2); }
.fit-check b { color: white; }
.contact-form { padding: clamp(24px, 3.7vw, 46px); background: var(--white); color: var(--ink); border-radius: 14px; }
.contact-form label, .contact-form legend { display: block; color: #4c4a44; font-size: 10px; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }
.contact-form label > span[aria-hidden] { color: var(--orange); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #cecbc2;
  outline: 0;
  background: white;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  text-transform: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input { height: 48px; }
.contact-form textarea { min-height: 126px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(83,102,255,.12); }
.contact-form > label { margin-top: 18px; }
.contact-form .optional { float: right; color: #68655e; font-size: 10px; font-weight: 600; }
.contact-form fieldset { padding: 0; margin: 20px 0; border: 0; }
.choice-row { display: grid; margin-top: 8px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-row label { position: relative; cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: grid; height: 42px; place-items: center; border: 1px solid #cecbc2; border-radius: 6px; color: #66635c; font-size: 12px; text-transform: none; }
.choice-row input:checked + span { border-color: var(--blue); background: rgba(83,102,255,.08); color: var(--blue); }
.choice-row input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-note { margin: 13px 0 0; color: #625f58; font-size: 12px; line-height: 1.5; }
.form-status { min-height: 18px; margin: 9px 0 0; color: var(--blue-deep); font-size: 12px; font-weight: 700; }

.site-footer { width: var(--shell); padding-block: 80px 28px; margin-inline: auto; }
.footer-top { display: grid; padding-bottom: 70px; align-items: start; grid-template-columns: 1fr .8fr .5fr; gap: 50px; }
.brand-footer { font-size: 22px; }
.footer-top > p { color: var(--muted); font-family: Georgia, serif; font-size: 18px; font-style: italic; line-height: 1.45; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #4f4d46; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; padding-top: 22px; justify-content: space-between; border-top: 1px solid var(--line); color: #625f58; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 22px; }
.footer-bottom a { text-decoration: none; }

/* Multi-page layout: classes used by services, process, about and contact pages */
.page-hero { padding-bottom: clamp(48px, 6vw, 90px); }
.page-hero h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(52px, 6.4vw, 96px);
  font-weight: 550;
  letter-spacing: -.065em;
  line-height: .92;
}
.page-hero h1 em { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.05em; }
.two-col-intro h2 { margin-bottom: 24px; font-size: clamp(38px, 4.8vw, 66px); font-weight: 550; letter-spacing: -.055em; line-height: 1; }
.approach .section-heading > p { color: var(--muted); }
.approach-grid { display: grid; margin-block: 0 44px; border-block: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.approach-grid article { padding: 30px 30px 30px 0; }
.approach-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 40px; color: var(--orange-text); font-size: 12px; font-weight: 800; }
.approach-grid h3 { margin-bottom: 12px; font-size: 22px; letter-spacing: -.025em; }
.approach-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.guardrails .two-col-intro > div p { color: rgba(255,255,255,.82); }
.guardrails .text-link { color: white; }
.faq-list summary::after { flex: 0 0 auto; content: "+"; font-size: 24px; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.about { display: block; }
.about-grid { display: grid; align-items: start; grid-template-columns: minmax(180px, .5fr) 1fr; gap: clamp(40px, 8vw, 120px); }
.founder-mark { display: grid; aspect-ratio: .83; place-items: center; background: var(--blue); color: var(--green); border-radius: 220px 220px 18px 18px; font-family: Georgia, serif; font-size: clamp(64px, 9vw, 130px); font-style: italic; letter-spacing: -.08em; }
.about-grid h2 { margin-bottom: 26px; font-size: clamp(38px, 4.8vw, 66px); font-weight: 550; letter-spacing: -.055em; line-height: 1; }
.about-grid p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: 17px; }
.about-links { display: flex; margin-top: 30px; flex-wrap: wrap; gap: 30px; }
.calculator label { margin-top: 22px; }
.calculator label:first-child { margin-top: 0; }
.calculator input[type="number"] { display: block; width: 100%; height: 56px; margin-top: 8px; padding: 0 16px; border: 1px solid #cfcbc2; border-radius: 8px; background: white; color: var(--ink); font-size: 20px; font-weight: 650; }
.calculator input[type="number"]:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(39,56,201,.18); outline: 0; }
.calculator output { display: block; margin-top: 8px; color: var(--blue-deep); font-size: 13px; }
.calculator-result { display: grid; margin: 30px 0 22px; padding: 25px; background: var(--ink); color: white; border-radius: 10px; grid-template-columns: 1fr 1fr; gap: 24px; }
.calculator-result > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.calculator-result span:not([data-value-result]) { display: block; margin-bottom: 5px; color: #c4c3be; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.calculator-result strong { display: block; color: var(--green); font-size: clamp(24px, 3vw, 36px); letter-spacing: -.04em; white-space: nowrap; }
.calculator .calc-note { margin-top: 18px; color: #5d5a53; font-size: 12px; }
.contact-form select { display: block; width: 100%; height: 48px; margin-top: 7px; padding: 0 12px; border: 1px solid #cecbc2; border-radius: 6px; background: white; color: var(--ink); font: inherit; font-size: 14px; text-transform: none; }
.contact-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(83,102,255,.12); outline: 0; }
.contact-icon { color: var(--green); font-size: 22px; }
.site-footer { display: grid; align-items: start; border-top: 1px solid var(--line); grid-template-columns: 1fr auto; gap: 24px 50px; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); font-family: Georgia, serif; font-style: italic; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { color: #4f4d46; font-size: 13px; text-decoration: none; }
.site-footer nav a:hover { color: var(--blue-deep); text-decoration: underline; }
.footer-note { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: #625f58; font-size: 12px; grid-column: 1 / -1; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.use-cases :focus-visible, .contact-copy :focus-visible { outline-color: var(--green); }
.contact-form :focus-visible { outline-color: var(--blue-deep); }

@media (max-width: 1050px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; padding-top: 30px; }
  .hero-visual { min-height: 540px; }
  .two-col-intro { grid-template-columns: 1fr; }
  .two-col-intro > div { grid-template-columns: 1fr .6fr; }
  .calculator-grid { gap: 50px; }
  .about { grid-template-columns: .62fr 1fr; gap: 60px; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential-grid div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .guardrail-grid { grid-template-columns: repeat(2, 1fr); }
  .guardrail-grid article:nth-child(3) { padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .guardrail-grid article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.2); }
  .contact-shell { grid-template-columns: .7fr 1fr; gap: 45px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 1240px); }
  .site-header { min-height: 66px; padding-inline: 16px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; width: 42px; height: 42px; padding: 11px; place-content: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; }
  .menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: none; padding: 105px 25px 35px; align-items: stretch; flex-direction: column; background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 24px; }
  .site-nav .button { margin-top: auto; }
  body.menu-open { overflow: hidden; }
  .hero { padding-top: 58px; gap: 52px; }
  .hero h1 { font-size: clamp(54px, 14vw, 85px); }
  .hero-visual { min-height: 490px; }
  .signal-strip { gap: 10px; }
  .signal-strip p { font-size: 11px; }
  .two-col-intro > div, .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-grid article { min-height: 0; padding: 28px 0; }
  .pain-grid article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .card-number { margin-bottom: 30px; }
  .case-trigger { grid-template-columns: 45px 1fr 38px; }
  .case-tag { display: none; }
  .case-panel { padding-left: 45px; }
  .before-after { grid-template-columns: 1fr; }
  .before-after > span { transform: rotate(90deg); }
  .steps li > div:last-child { grid-template-columns: 1fr; gap: 8px; }
  .scope-note { margin-left: 0; grid-template-columns: 45px 1fr; }
  .scope-note a { grid-column: 2; }
  .calculator-grid { grid-template-columns: 1fr; }
  .calculator-copy { position: static; }
  .about { grid-template-columns: 1fr; }
  .founder-card { max-width: 540px; }
  .faq { grid-template-columns: 1fr; }
  .contact-section { padding-inline: 12px; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-location { margin-top: 30px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid article, .approach-grid article + article { padding: 26px 0; border-left: 0; }
  .approach-grid article + article { border-top: 1px solid var(--line); }
  .step-number { margin-bottom: 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .founder-mark { max-width: 260px; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section-pad { padding-block: 82px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { padding-top: 38px; }
  .hero h1 { margin-bottom: 25px; font-size: clamp(49px, 15.2vw, 72px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .trust-line { flex-wrap: wrap; row-gap: 5px; }
  .hero-visual { min-height: 470px; margin-inline: -5px; }
  .input-chip { width: 137px; padding: 10px; }
  .chip-icon { width: 28px; height: 28px; }
  .input-chip b { font-size: 10px; }
  .input-chip small { font-size: 8px; }
  .automation-node { left: 54%; width: 84px; height: 84px; border-width: 7px; }
  .automation-node svg { width: 30px; }
  .automation-node span { bottom: 8px; font-size: 6px; }
  .output-card { top: 39%; right: 3%; width: 154px; padding: 13px; }
  .output-card p { font-size: 10px; }
  .output-meta { flex-direction: column; gap: 3px; }
  .visual-stamp { display: none; }
  .signal-strip { min-height: 68px; }
  .signal-strip p:nth-of-type(2), .signal-strip p:nth-of-type(2) + span { display: none; }
  .pain-grid { margin-top: 45px; }
  .section-heading { margin-bottom: 44px; }
  .case-trigger { padding-block: 20px; grid-template-columns: 34px 1fr 36px; }
  .case-title { font-size: 19px; }
  .case-panel { padding-left: 34px; }
  .before-after { padding: 18px; }
  .steps::before { left: 29px; }
  .steps li { min-height: 0; grid-template-columns: 60px 1fr; gap: 16px; }
  .step-marker { width: 58px; height: 58px; }
  .step-marker span { width: 42px; height: 42px; }
  .steps li > div:last-child { padding-top: 0; padding-bottom: 35px; }
  .steps h3 { font-size: 22px; }
  .scope-note { padding: 20px; }
  .calculator { padding: 22px 18px; }
  .field-pair { grid-template-columns: 1fr; }
  .calc-result { grid-template-columns: 1fr; }
  .calc-result > div + div { padding: 17px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .guardrail-grid { grid-template-columns: 1fr; }
  .guardrail-grid article, .guardrail-grid article + article, .guardrail-grid article:nth-child(3) { min-height: 0; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .guardrail-grid article:first-child { border-top: 0; }
  .guardrail-grid span { margin-bottom: 35px; }
  .contact-shell { padding: 30px 18px; border-radius: 15px; }
  .contact-copy h2 { font-size: 48px; }
  .contact-direct a { font-size: 17px; }
  .contact-form { padding: 22px 16px; }
  .choice-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 45px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 15px; }
  .calculator-result { grid-template-columns: 1fr; }
  .calculator-result > div + div { padding: 17px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
}
@media (max-width: 420px) {
  .automation-node { top: 31%; left: 74%; }
  .output-card { top: auto; bottom: 5%; right: 4%; }
  .flow-lines { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-visual, .signal-strip, .calculator-section, .contact-section, .site-footer { display: none; }
  body { background: white; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
