/* foiges.com — styles. Fonts are self-hosted (see fonts.css).
   Display: Archivo at its widest. Accent: Fraunces italic. Body: Inter. Labels: JetBrains Mono. */

:root {
  --ink: #0b1330;
  --ink-2: #131e45;
  --cream: #eef2f8;
  --cream-2: #e1e8f3;
  --sun: #ffc93c;
  --cobalt: #2340f5;
  --cobalt-deep: #1b33c9;
  --coral: #ff6b6b;
  --sky: #8fd3ff;
  --coral-soft: #ffc2c2;
  --sun-soft: #ffd98a;
  --cobalt-soft: #bfd0ff;
  --sky-soft: #cdebff;
  --text: #0b1330;
  --muted: #55607a;
  --muted-on-dark: #a9b4d0;
  --line: #0b1330;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --wrap: 940px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --radius: 24px;
  --shadow: 3px 4px 0 var(--ink);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font-family: var(--sans); font-size: 0.9375rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--sun); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); padding: .6rem 1rem; z-index: 200; font-weight: 700; border-radius: 99px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display, .h1, .h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02;
  font-stretch: 125%; font-variation-settings: 'wdth' 125;
}
.accent { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-stretch: 100%; font-variation-settings: 'SOFT' 100, 'WONK' 0; }
.h2 { font-size: clamp(1.9rem, 5vw, 3.25rem); }
.h2 .accent { display: block; font-size: 1.22em; margin-top: .04em; }
.mono, .label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.label { color: var(--muted); margin: 0; }
.on-dark .label, .hero .label { color: var(--sun); }
.lede { font-size: 1.0625rem; max-width: 34rem; color: var(--muted); }
.on-dark .lede { color: var(--muted-on-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 44px; padding: 0 1.5rem; border-radius: 999px; border: 1.5px solid var(--ink);
  font-weight: 700; font-size: .8125rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.3,.7,.3,1), box-shadow .18s, background-color .18s, color .18s;
}
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 3px 4px 0 var(--ink); }
.btn--sun:hover { transform: translate(2px, 2px); box-shadow: 1px 2px 0 var(--ink); }
.hero .btn--sun, .on-dark .btn--sun { border-color: var(--sun); box-shadow: 3px 4px 0 var(--cream); }
.hero .btn--sun:hover, .on-dark .btn--sun:hover { box-shadow: 1px 2px 0 var(--cream); }
.btn--ink { background: var(--ink); color: var(--sun); box-shadow: 3px 4px 0 rgba(11,19,48,.35); }
.btn--ink:hover { transform: translate(2px, 2px); box-shadow: 1px 2px 0 rgba(11,19,48,.35); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }
.hero .btn--line { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn--line:hover { background: #fff; color: var(--ink); }
.btn--sm { height: 32px; padding: 0 .95rem; font-size: .75rem; box-shadow: none !important; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.link { font-weight: 700; font-size: .8125rem; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link::after { content: '\2192'; transition: transform .18s; }
.link:hover::after { transform: translateX(4px); }
.link--under { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.link--under::after { content: none; }

/* ---------- header (floating pill) ---------- */
.site-header { position: fixed; z-index: 100; top: 14px; left: 0; right: 0; pointer-events: none; }
.nav-pill {
  pointer-events: auto; width: min(100% - 2 * var(--gutter), 768px); margin-inline: auto; height: 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 8px 0 18px;
  border-radius: 999px; border: 1px solid transparent; position: relative;
  transition: background-color .25s, border-color .25s, backdrop-filter .25s, color .25s;
}
.site-header.is-stuck .nav-pill, .site-header:not([data-hero]) .nav-pill {
  background: rgba(238,242,248,.82); border-color: rgba(11,19,48,.14);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.site-header[data-hero]:not(.is-stuck) .nav-pill { color: #fff; }
.logo {
  display: inline-flex; align-items: center; gap: 3px; text-decoration: none; line-height: 1;
  font-family: var(--display); font-weight: 900; font-size: 1.125rem; letter-spacing: -0.01em;
  font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase;
}
.logo i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); border: 1.5px solid var(--ink); display: inline-block; margin-top: 0; }
.site-header[data-hero]:not(.is-stuck) .logo i, .site-footer .logo i { border-color: var(--sun); }
.nav { display: contents; }
.nav-pill { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav-pill .btn { justify-self: end; }
.nav-pill .logo { justify-self: start; }
.nav-toggle { justify-self: end; }
.nav ul { display: flex; gap: 1.5rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .75rem; padding: .3rem 0; border-bottom: 1.5px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current='page'] { border-bottom-color: currentColor; }
.nav-toggle { display: none; background: none; border: 1.5px solid currentColor; border-radius: 99px; height: 32px; padding: 0 .9rem; font-weight: 700; font-size: .75rem; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-pill { display: flex; }
  .nav {
    position: absolute; top: 54px; left: 0; right: 0; background: var(--cream); color: var(--ink);
    border: 1.5px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(11,19,48,.15); font-size: .9375rem; }
  .nav .btn { margin-top: 1rem; height: 44px; }
}

/* ---------- blobs ---------- */
.blob { position: absolute; pointer-events: none; border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; translate: 0 var(--py, 0px); }
.blob--cobalt { background: var(--cobalt-deep); }
.blob--sky { background: var(--sky); }
.blob--skysoft { background: var(--sky-soft); }
.blob--sunsoft { background: var(--sun-soft); }
.blob--coralsoft { background: var(--coral-soft); }
.blob--cobaltsoft { background: var(--cobalt-soft); }
.blob--sun { background: var(--sun); }
@media (prefers-reduced-motion: no-preference) {
  .blob { animation: morph 14s ease-in-out infinite, drift 22s ease-in-out infinite; }
  .blob:nth-of-type(2n) { animation-duration: 17s, 26s; animation-direction: alternate, alternate-reverse; }
  .blob:nth-of-type(3n) { animation-duration: 19s, 18s; animation-delay: -6s, -9s; }
}
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; }
  25% { border-radius: 40% 60% 42% 58% / 58% 40% 60% 42%; }
  50% { border-radius: 52% 48% 65% 35% / 38% 62% 38% 62%; }
  75% { border-radius: 62% 38% 40% 60% / 50% 46% 54% 50%; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  33% { transform: translate3d(14px, -22px, 0) rotate(7deg) scale(1.04); }
  66% { transform: translate3d(-18px, 12px, 0) rotate(-6deg) scale(.97); }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; background: var(--ink); color: #fff; min-height: max(100svh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.hero .blob--cobalt { width: min(34vw, 420px); aspect-ratio: .86; right: -5%; top: 5%; }
.hero .blob--skysoft { width: 120px; aspect-ratio: 1; right: calc(10% + 60px); top: 22%; }
.hero .blob--sky { width: clamp(120px, 15vw, 250px); aspect-ratio: .98; left: min(56%, 62vw); bottom: 20%; }
.sticker {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(8deg); white-space: nowrap;
  background: var(--cream); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 99px;
  padding: .4rem .9rem; box-shadow: 2px 3px 0 var(--ink);
}
@media (prefers-reduced-motion: no-preference) { .sticker { animation: wobble 4.5s ease-in-out infinite; } }
a.sticker { pointer-events: auto; text-decoration: none; cursor: pointer; }
a.sticker:hover { background: var(--sun); }
a.sticker:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.hero .blob--skysoft { z-index: 3; }
@keyframes wobble { 0%, 100% { transform: translate(-50%, -50%) rotate(8deg); } 50% { transform: translate(-50%, -50%) rotate(14deg) scale(1.05); } }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(7.5rem, 17vh, 11rem); padding-top: 8rem; }
.hero .h1 { font-size: clamp(2.4rem, 6.4vw, 4rem); margin-top: .9rem; }
.hero .h1 .accent { display: block; color: var(--sun); font-size: 2em; margin-top: .06em; }
.hero__sub { margin-top: 1.5rem; max-width: 29rem; color: #c3cce3; font-size: .9375rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

/* ticker */
.ticker {
  position: relative; z-index: 4; margin: -44px -4% 0; transform: rotate(-1.4deg);
  background: var(--sun); color: var(--ink); overflow: hidden; padding-block: 1.05rem;
  border-block: 1.5px solid var(--ink);
}
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; flex: none; }
.ticker__group span { font-family: var(--mono); font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding-right: 1.8rem; white-space: nowrap; }
.ticker__group span::after { content: '\2726'; padding-left: 1.8rem; }
@media (prefers-reduced-motion: no-preference) { .ticker__track { animation: slide 30s linear infinite; } }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: 9.5rem 0 3.5rem; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-top: .75rem; }
.page-hero .h1 .accent { display: block; font-size: 1.12em; margin-top: .06em; }
.page-hero .lede { margin-top: 1.25rem; }
.page-hero .blob { z-index: 1; }
.pb-a { width: clamp(160px, 22vw, 330px); aspect-ratio: .95; right: -4%; top: 4rem; }
.pb-b { width: clamp(110px, 14vw, 190px); aspect-ratio: 1.1; right: clamp(8%, 20vw, 22%); top: 6.5rem; }
.pb-c { width: clamp(70px, 9vw, 120px); aspect-ratio: 1; right: clamp(4%, 9vw, 12%); top: 14rem; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--flush { padding-top: 0; }
.section__head { margin-bottom: clamp(1.75rem, 4vw, 3rem); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section__head p { max-width: 22rem; margin: 0; color: var(--muted); font-size: .875rem; }
.on-dark { background: var(--ink); color: #fff; }
.on-dark .section__head p { color: var(--muted-on-dark); }
.on-dark .accent { color: var(--sun); }

/* card base */
.card { background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.tag { display: inline-block; background: var(--sun); color: var(--ink); font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .65rem; border-radius: 99px; font-weight: 500; }

/* story */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story .h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
.story .h2 .accent { font-size: 1.3em; }
.story p.body { margin-top: 1.5rem; color: var(--muted); max-width: 30rem; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.chat { background: var(--ink); color: #fff; border-radius: 28px; padding: 1.1rem 1.25rem 1.25rem; box-shadow: var(--shadow); }
.chat__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 1px solid #243055; }
.chat__bar .mono { color: var(--muted-on-dark); font-size: .625rem; }
.chat__bar .live { display: inline-flex; align-items: center; gap: .45rem; }
.chat__bar .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.chat__bar .ex { border: 1px solid #4a5578; border-radius: 99px; padding: .1rem .6rem; }
.chat__body { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-start; }
.chat__msg { max-width: 84%; padding: .6rem .9rem; border-radius: 16px; margin-bottom: .55rem; font-size: .8125rem; line-height: 1.45; transform-origin: bottom left; }
.chat__msg time { display: block; font-family: var(--mono); font-size: .625rem; opacity: .6; margin-top: .25rem; }
.chat__msg--in { background: #1c2750; border-bottom-left-radius: 4px; }
.chat__msg--out { background: var(--sun); color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; transform-origin: bottom right; }
.chat__typing { display: none; align-self: flex-end; background: var(--sun); border-radius: 16px; border-bottom-right-radius: 4px; padding: .7rem .9rem; gap: 4px; margin-bottom: .55rem; }
.chat__typing.on { display: inline-flex; }
.chat__typing i { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; animation: dot 1s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chat__msg.pop { animation: pop .35s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(8px); } to { opacity: 1; transform: none; } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar { padding: 1.35rem 1.4rem 1.5rem; transition: transform .2s, box-shadow .2s; }
.pillar:hover { transform: translate(-2px, -3px); box-shadow: 5px 7px 0 var(--ink); }
.pillar h3 { font-family: var(--display); font-weight: 800; font-size: 1.125rem; font-stretch: 112%; font-variation-settings: 'wdth' 112; letter-spacing: -0.01em; margin: .8rem 0 .45rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .8125rem; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

/* solutions (home) */
.take-over { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.take-over > li { flex: 1 1 calc((100% - 3.3rem) / 4); min-width: 0; }
.take-over .card { padding: 1.2rem 1.2rem 1.25rem; display: flex; flex-direction: column; min-height: 218px; transition: transform .2s, box-shadow .2s; }
.take-over .card:hover { transform: translate(-2px, -3px); box-shadow: 5px 7px 0 var(--ink); }
.take-over .where { display: flex; align-items: center; gap: .4rem; margin-bottom: .75rem; }
.take-over .where i { width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--cobalt)); flex: none; }
.take-over h3 { font-family: var(--display); font-weight: 800; font-size: 1rem; font-stretch: 112%; font-variation-settings: 'wdth' 112; margin-bottom: .45rem; line-height: 1.12; }
.take-over p { color: var(--muted); font-size: .8125rem; margin-bottom: 1rem; }
.take-over .link { margin-top: auto; }
@media (max-width: 900px) { .take-over > li { flex-basis: calc((100% - 1.1rem) / 2); } }
@media (max-width: 520px) { .take-over > li { flex-basis: 100%; } }
.soon { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-family: var(--mono); font-size: .6875rem; color: var(--muted); }
.badge { border: 1px solid var(--muted); border-radius: 99px; padding: .15rem .7rem; letter-spacing: .08em; text-transform: uppercase; }

/* industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.industry { background: var(--cobalt); color: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; display: flex; flex-direction: column; min-height: 250px; transition: transform .2s, box-shadow .2s; }
.industry:hover { transform: translate(-2px, -3px) rotate(-.4deg); box-shadow: 5px 7px 0 var(--ink); }
.industry h3 { font-family: var(--display); font-weight: 800; font-size: 1.1875rem; font-stretch: 112%; font-variation-settings: 'wdth' 112; line-height: 1.1; margin-bottom: .55rem; }
.industry .kinds { font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-bottom: .6rem; }
.industry p { font-size: .8125rem; color: #dce4ff; }
.industry .link { margin-top: auto; color: #fff; }
@media (max-width: 1000px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }
.other-industry { margin-top: 1.25rem; font-size: .8125rem; color: var(--muted); }
.other-industry a { color: var(--ink); font-weight: 700; }

/* stack builder */
.stack-section { border-radius: 0; padding-block: clamp(4rem, 8vw, 6.5rem); }
.stack { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .stack { grid-template-columns: 1fr; } }
.builder { background: var(--cream); color: var(--ink); border-radius: 32px; padding: clamp(1.25rem, 3.5vw, 2rem); min-height: 380px; display: flex; flex-direction: column; }
.builder__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: 1.1rem; }
.builder__progress span { height: 7px; border-radius: 99px; background: transparent; border: 1.5px solid var(--ink); transition: background-color .3s; }
.builder__progress span.is-done { background: var(--ink); }
.builder p.builder__step-label { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; display: flex; justify-content: space-between; }
.builder fieldset { border: 0; padding: 0; margin: 0; min-width: 0; flex: 1; }
.builder legend { padding: 0; }
.builder h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, 3vw, 1.625rem); font-stretch: 118%; font-variation-settings: 'wdth' 118; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: .5rem; }
.builder .hint { color: var(--muted); font-size: .8125rem; margin-bottom: 1.2rem; max-width: 28rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem; height: 36px; padding: 0 .95rem; border-radius: 99px;
  border: 1.5px solid var(--ink); font-weight: 600; font-size: .75rem; background: transparent;
  transition: background-color .15s, color .15s, transform .15s;
}
.chip:hover span { transform: translateY(-1px); }
.chip span::before { content: ''; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; transition: all .15s; }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:checked + span::before { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.3 4.6-4.8' fill='none' stroke='%230b1330' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; border-color: var(--sun); }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { border-style: dashed; border-color: #9ba6c4; color: var(--muted); }
.chip small { font-family: var(--mono); font-size: .5625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field { display: block; margin-bottom: .9rem; }
.field > span { display: block; font-weight: 700; font-size: .75rem; margin-bottom: .3rem; }
.field input[type='text'], .field input[type='email'], .field textarea {
  width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; font-size: .875rem;
}
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input[aria-invalid='true'] { border-color: #d11b1b; box-shadow: 0 0 0 3px rgba(209,27,27,.15); }
.field .err { color: #c01818; font-size: .75rem; margin: .3rem 0 0; display: none; }
.field input[aria-invalid='true'] ~ .err { display: block; }
.priority-row { display: flex; align-items: center; gap: 1rem; margin-top: .4rem; }
.priority-row input[type='range'] { flex: 1; accent-color: var(--ink); height: 28px; }
.priority-row output { font-family: var(--mono); font-size: .6875rem; font-weight: 500; min-width: 8rem; text-align: right; text-transform: uppercase; letter-spacing: .06em; }
.builder__nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px dashed #9ba6c4; }
.builder__nav .btn--line { margin-right: auto; }
.builder__nav .btn--ink { margin-left: auto; }
.builder__sent { background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; padding: 1rem 1.1rem; margin-top: 1.25rem; font-size: .8125rem; }
.builder__sent textarea { width: 100%; margin-top: .6rem; font-family: var(--mono); font-size: .6875rem; min-height: 9rem; border: 1px solid #c9d2e6; border-radius: 10px; padding: .6rem; }
@media (prefers-reduced-motion: no-preference) {
  fieldset[data-step]:not([hidden]) { animation: stepIn .35s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* receipt */
.receipt-wrap { padding: 14px 6px; }
.receipt {
  position: relative; background: var(--cream); color: var(--ink); font-family: var(--mono); font-size: .6875rem; line-height: 1.55;
  padding: 1.5rem 1.15rem 1.1rem; transform: rotate(1.8deg); box-shadow: 4px 0 0 var(--sun);
}
.receipt::before, .receipt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 9px;
  background: linear-gradient(135deg, var(--cream) 50%, transparent 50%) 0 0 / 12px 12px, linear-gradient(225deg, var(--cream) 50%, transparent 50%) 0 0 / 12px 12px;
}
.receipt::before { top: -8px; transform: scaleY(-1); }
.receipt::after { bottom: -8px; }
.receipt__title { text-align: center; font-weight: 600; letter-spacing: .06em; margin: 0; }
.receipt__sub { text-align: center; color: var(--muted); font-size: .625rem; margin: 0; }
.receipt hr { border: 0; border-top: 1px dashed #9ba6c4; margin: .75rem 0; }
.receipt .row { display: flex; justify-content: space-between; gap: .75rem; }
.receipt .row span:last-child { text-align: right; color: var(--muted); }
.receipt .group { color: var(--muted); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .15rem; }
.receipt .meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin: .35rem 0; }
.receipt .meter i { height: 10px; border: 1.5px solid var(--ink); border-radius: 3px; transition: background-color .25s, border-color .25s, transform .25s; }
.receipt .meter i.on { background: var(--coral); border-color: var(--coral); transform: scaleY(1.15); }
.receipt__foot { text-align: center; color: var(--muted); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; margin: .3rem 0 0; }
.barcode { height: 36px; margin-top: .6rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px); }
.row.is-new { animation: rowIn .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rowIn { 0% { opacity: 0; transform: translateX(-14px); background: var(--sun); } 60% { background: var(--sun); } 100% { opacity: 1; transform: none; background: transparent; } }
@media (prefers-reduced-motion: no-preference) {
  .receipt.is-printing { animation: print 1.6s cubic-bezier(.3, .7, .2, 1) both; }
}
@keyframes print { from { clip-path: inset(0 0 100% 0); translate: 0 -30px; } to { clip-path: inset(-20px -20px -20px -20px); translate: 0 0; } }
@media (max-width: 900px) { .receipt { transform: none; max-width: 420px; } }

/* process */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.timeline li { border: 1.5px solid var(--ink); border-radius: 20px; padding: 1.2rem; transition: background-color .2s, transform .2s; }
.timeline li:hover { background: var(--sun); transform: translateY(-3px); }
.timeline .num { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: .6875rem; font-weight: 500; margin-bottom: 1rem; }
.timeline li:hover .num { background: var(--ink); color: var(--sun); }
.timeline h3 { font-family: var(--display); font-weight: 800; font-size: 1rem; font-stretch: 112%; font-variation-settings: 'wdth' 112; margin-bottom: .35rem; }
.timeline p { margin: 0; font-size: .8125rem; color: var(--muted); }
.timeline li:hover p { color: var(--ink); }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: var(--sun); border: 1.5px solid var(--ink); border-radius: 32px; box-shadow: 4px 5px 0 var(--ink); padding: clamp(2rem, 6vw, 4.25rem); position: relative; overflow: hidden; }
.cta .h2 { font-size: clamp(2rem, 6vw, 3.75rem); position: relative; z-index: 1; }
.cta .h2 .accent { font-size: 1.15em; }
.cta p { margin: 1.1rem 0 0; max-width: 22rem; position: relative; z-index: 1; }
.cta .btn { position: absolute; right: clamp(1.5rem, 5vw, 4rem); bottom: clamp(1.5rem, 5vw, 3.5rem); z-index: 1; }
.cta .blob { background: var(--coral-soft); width: 200px; aspect-ratio: 1; right: -40px; top: -60px; opacity: .85; }
@media (max-width: 640px) { .cta .btn { position: static; margin-top: 1.5rem; } }

/* solutions page rows */
.sol-list > li { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(1.75rem, 3vw, 2.25rem); border-top: 1.5px solid var(--ink); }
.sol-list > li:last-child { border-bottom: 1.5px solid var(--ink); }
.sol-list h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.875rem); font-stretch: 118%; font-variation-settings: 'wdth' 118; letter-spacing: -0.02em; line-height: 1.05; margin: .5rem 0; }
.sol-list .short { color: var(--muted); margin: 0; font-size: .875rem; }
.sol-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.sol-cols h3 { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: .25rem; }
.sol-cols p { margin: 0; font-size: .8125rem; }
.note { margin-top: 1.1rem; padding: .7rem 1rem; border: 1.5px dashed var(--ink); border-radius: 14px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 760px) { .sol-list > li, .sol-cols { grid-template-columns: 1fr; } }
.by-industry > li { padding: 1.5rem 0; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: 1fr 1.45fr; gap: 2rem; }
.by-industry > li:last-child { border-bottom: 1.5px solid var(--ink); }
.by-industry h3 { font-family: var(--display); font-weight: 800; font-size: 1.25rem; font-stretch: 112%; font-variation-settings: 'wdth' 112; }
.by-industry .kinds { margin: .3rem 0 0; }
.by-industry ul.picks { display: flex; flex-wrap: wrap; gap: .45rem; margin: .5rem 0 1rem; }
.by-industry ul.picks li { border: 1.5px solid var(--ink); border-radius: 99px; padding: .12rem .75rem; font-size: .75rem; font-weight: 600; }
@media (max-width: 760px) { .by-industry > li { grid-template-columns: 1fr; gap: .75rem; } }

/* work */
.case { padding: clamp(1.25rem, 3vw, 2rem); background: var(--cream); }
.case__tag { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.4rem; }
.case__tag b { background: var(--coral); color: #fff; border-radius: 99px; padding: .2rem .7rem; font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.case__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case__grid h3 { font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: .3rem; }
.case__grid p { margin: 0; font-size: .875rem; }
@media (max-width: 760px) { .case__grid { grid-template-columns: 1fr; } }

/* about */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.person__photo {
  aspect-ratio: 1 / 1.08; border-radius: 28px; display: grid; place-items: center; background: var(--cobalt); position: relative; overflow: hidden;
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(5rem, 14vw, 8.5rem); color: #fff; border: 1.5px solid var(--ink); box-shadow: var(--shadow);
}
.person:nth-child(2) .person__photo { background: var(--sky); }
.person__photo .blob { width: 45%; aspect-ratio: 1; background: rgba(255,255,255,.12); right: -10%; bottom: -10%; }
.person h2 { font-family: var(--display); font-weight: 800; font-size: 1.375rem; font-stretch: 118%; font-variation-settings: 'wdth' 118; margin-top: 1rem; }
.person p { margin: .1rem 0 0; }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } }
.promises { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.promises li { padding: .85rem 0; border-top: 1.5px solid var(--ink); display: flex; gap: .8rem; font-size: .9375rem; }
.promises li::before { content: '\2726'; color: var(--cobalt); }
.promises li:last-child { border-bottom: 1.5px solid var(--ink); }
.promises .btn { margin-top: 1.75rem; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: .9rem; max-width: 760px; }
.faq details { background: var(--cream); border: 1.5px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); transition: background-color .2s; }
.faq details[open] { background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3.5rem 1.1rem 1.35rem; font-family: var(--display); font-weight: 700; font-size: .9375rem; font-stretch: 112%; font-variation-settings: 'wdth' 112; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1rem; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 700; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.35rem 1.2rem; color: var(--muted); max-width: 40rem; font-size: .875rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* audit */
.audit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.audit h2 { font-family: var(--display); font-weight: 800; font-size: 1.1875rem; font-stretch: 118%; font-variation-settings: 'wdth' 118; margin-bottom: .8rem; }
.audit .get li { padding: .7rem 0; border-top: 1.5px solid var(--ink); display: flex; gap: .7rem; font-size: .875rem; }
.audit .get li::before { content: '\2726'; }
.audit .get li:last-child { border-bottom: 1.5px solid var(--ink); }
.audit .prep { margin-top: 2.25rem; }
.audit .prep p { color: var(--muted); }
.booking { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(1.5rem, 3vw, 2rem); box-shadow: 4px 5px 0 var(--sun); }
.booking p { color: var(--muted-on-dark); }
.booking a { color: var(--sun); font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 3.4vw, 1.875rem); font-stretch: 118%; font-variation-settings: 'wdth' 118; overflow-wrap: anywhere; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.booking h2 { color: var(--sun); font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 800px) { .audit { grid-template-columns: 1fr; } }

/* legal */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.legal__toc { position: sticky; top: 92px; font-size: .8125rem; }
.legal__toc p { margin-bottom: .6rem; }
.legal__toc ol { counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc li a { display: flex; gap: .6rem; padding: .28rem 0; text-decoration: none; color: var(--muted); transition: color .15s, padding-left .15s; }
.legal__toc li a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .625rem; padding-top: .2rem; }
.legal__toc li a:hover { color: var(--ink); padding-left: .3rem; }
.legal__body { counter-reset: sec; }
.legal__body section { padding-block: 1.6rem; border-top: 1.5px solid var(--ink); counter-increment: sec; }
.legal__body h2 { font-family: var(--display); font-weight: 800; font-size: 1.1875rem; font-stretch: 118%; font-variation-settings: 'wdth' 118; margin-bottom: .8rem; display: flex; gap: .7rem; align-items: baseline; }
.legal__body h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--mono); font-size: .6875rem; font-weight: 400; color: var(--muted); }
.legal__body ul { margin: 0 0 1em; }
.legal__body li { padding-left: 1.25rem; position: relative; margin-bottom: .3rem; }
.legal__body li::before { content: '\2726'; position: absolute; left: 0; font-size: .75rem; top: .15em; }
.legal__body p, .legal__body li { max-width: 38rem; font-size: .875rem; }
.todo { background: var(--sun); padding: 0 .35rem; border-radius: 4px; font-weight: 600; }
.updated { margin-top: 1rem; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } }

/* footer */
.site-footer { background: var(--ink); color: #fff; position: relative; overflow: hidden; margin-top: var(--section); border-radius: 48px 48px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; padding-block: 4rem 2.25rem; position: relative; z-index: 1; }
.footer__grid h2 { font-family: var(--mono); font-size: .625rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: .9rem; }
.footer__grid li { margin-bottom: .45rem; font-size: .8125rem; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--sun); }
.footer__about p { color: var(--muted-on-dark); max-width: 16rem; margin-top: .9rem; font-size: .8125rem; }
.footer__about .logo { font-size: 1.5rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem; padding-bottom: 1.25rem; position: relative; z-index: 1; }
.footer__bottom .mono { color: var(--muted-on-dark); font-size: .5625rem; }
.footer__bottom .accent { color: #d5dcec; font-size: .9375rem; font-weight: 400; }
.footer__mark {
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase;
  font-size: clamp(5rem, 22vw, 17rem); line-height: .8; letter-spacing: -0.02em; white-space: nowrap; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); user-select: none; height: .62em; overflow: hidden; margin-top: .5rem;
}
@media (prefers-reduced-motion: no-preference) { .footer__mark { animation: outline 8s ease-in-out infinite; } }
@keyframes outline { 0%, 100% { -webkit-text-stroke-color: rgba(255,255,255,.12); } 50% { -webkit-text-stroke-color: rgba(255,201,60,.55); } }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } .site-footer { border-radius: 32px 32px 0 0; } }

/* small screens: keep blobs off the copy */
@media (max-width: 640px) {
  .hero .blob--sky { left: -28px; top: 15%; bottom: auto; width: 92px; }
  .hero .blob--cobalt { width: 56vw; top: 3%; }
  .cta .blob { width: 110px; right: -30px; top: -40px; }
}

.person:nth-child(2) .person__photo { color: var(--ink); }

/* ---------- night body: dark page, bright type ----------
   Light sections now sit on a deep navy base with bright text.
   Delete this whole block to return to the light page. */
:root {
  --base: #141f4d;
  --surface: #1b2860;
  --surface-2: #22316f;
  --fg: #eef2f8;
  --rule: rgba(238, 242, 248, .24);
  --muted: #a9b4d0;
}
body { background: var(--base); color: var(--fg); }
.builder, .receipt { --muted: #55607a; }

/* buttons on the dark page */
.btn--sun { border-color: var(--sun); box-shadow: 3px 4px 0 var(--cream); }
.btn--sun:hover { box-shadow: 1px 2px 0 var(--cream); }
.btn--line { border-color: var(--fg); color: var(--fg); }
.btn--line:hover { background: var(--fg); color: var(--ink); }
.builder .btn--line { border-color: var(--ink); color: var(--ink); }
.builder .btn--line:hover { background: var(--ink); color: var(--cream); }
.cta .btn--ink { box-shadow: 3px 4px 0 rgba(11, 19, 48, .35); }
.skip { color: var(--ink); }

/* header */
.site-header.is-stuck .nav-pill, .site-header:not([data-hero]) .nav-pill {
  background: rgba(20, 31, 77, .78); border-color: var(--rule);
}
.logo i { border-color: transparent; }
@media (max-width: 760px) {
  .nav { background: var(--surface); color: var(--fg); border-color: var(--rule); box-shadow: 3px 4px 0 var(--cobalt); }
  .nav ul a { border-bottom-color: var(--rule); }
}

/* cards and surfaces */
.card { background: var(--surface); border-color: var(--rule); box-shadow: 3px 4px 0 var(--cobalt); }
.pillar:hover, .take-over .card:hover { box-shadow: 5px 7px 0 var(--cobalt); }
.industry { border-color: var(--rule); box-shadow: 3px 4px 0 var(--sun); }
.industry:hover { box-shadow: 5px 7px 0 var(--sun); }
.other-industry a { color: var(--fg); }
.chat { border: 1.5px solid var(--rule); box-shadow: 3px 4px 0 var(--cobalt); }
.booking { border: 1.5px solid var(--rule); }
.booking__frame { margin-top: 1.1rem; background: #fff; border-radius: 16px; overflow: hidden; }
.booking__frame iframe { display: block; width: 100%; height: 720px; border: 0; }
.booking .booking__alt { margin-top: 1rem; font-size: .875rem; }
.booking .booking__alt a { font-family: inherit; font-weight: 600; font-size: inherit; font-stretch: 100%; font-variation-settings: normal; text-decoration-thickness: 1px; }
@media (max-width: 640px) { .booking__frame iframe { height: 780px; } }
.cta { color: var(--ink); box-shadow: 4px 5px 0 var(--cobalt); }
.person__photo { border-color: var(--rule); box-shadow: 3px 4px 0 var(--cobalt); }
.person:nth-child(2) .person__photo { color: var(--ink); }

/* rules and dividers */
.timeline li { border-color: var(--rule); }
.timeline li:hover { color: var(--ink); }
.timeline li:hover h3 { color: var(--ink); }
.timeline .num { border-color: var(--ink); color: var(--ink); }
.sol-list > li, .by-industry > li { border-top-color: var(--rule); }
.sol-list > li:last-child, .by-industry > li:last-child { border-bottom-color: var(--rule); }
.by-industry ul.picks li { border-color: var(--rule); }
.promises li, .audit .get li { border-top-color: var(--rule); }
.promises li:last-child, .audit .get li:last-child { border-bottom-color: var(--rule); }
.promises li::before { color: var(--sun); }
.note { border-color: var(--rule); }
.legal__body section { border-top-color: var(--rule); }
.legal__toc li a:hover { color: var(--fg); }
.todo { color: var(--ink); }

/* faq */
.faq details { background: var(--surface); border-color: var(--rule); box-shadow: 3px 4px 0 var(--cobalt); }
.faq details[open] { background: var(--surface-2); }
.faq summary::after { color: var(--ink); border-color: var(--ink); }
.page-hero .blob { opacity: .8; }

/* "For" and "What you get" labels as stroked (outline) boxes on the Solutions page */
.sol-cols h3 {
  display: inline-block; padding: .3rem .8rem; border-radius: 0; margin-bottom: .55rem;
  font-weight: 600; letter-spacing: .1em; background: transparent; border: 1.5px solid currentColor;
}
.sol-cols > div:nth-child(1) h3 { color: var(--sky); }
.sol-cols > div:nth-child(2) h3 { color: var(--sun); }

/* solutions grid: 5 or 6 cards sit best in rows of three */
@media (min-width: 901px) {
  .take-over:has(> li:nth-child(5):last-child) > li,
  .take-over:has(> li:nth-child(6):last-child) > li { flex-basis: calc((100% - 2.2rem) / 3); }
}

/* "Demo" tag on the Work page: same stroked, square-cornered box as For / What you get */
.case__tag b {
  background: transparent; color: var(--coral); border: 1.5px solid currentColor; border-radius: 0;
  padding: .28rem .7rem; font-weight: 600; letter-spacing: .1em;
}

/* phones: keep decoration off the copy and make touch targets larger */
@media (max-width: 640px) {
  .page-hero { padding-top: 8.75rem; }
  .page-hero .blob { opacity: .5; }
  .pb-a { width: 104px; right: -30px; top: 3rem; }
  .pb-b { width: 60px; right: 70px; top: 4rem; }
  .pb-c { display: none; }
  .chip span { height: 42px; }
  .nav-toggle { height: 40px; }
}

/* solution titles underlined */
.take-over .card h3, .sol-list h2 { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* audit page: booking calendar full width so GHL shows month and times side by side */
.audit { grid-template-columns: 1fr; }
.audit__info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.audit .prep { margin-top: 0; }
.booking__frame iframe { height: 640px; }
@media (max-width: 800px) { .audit__info { grid-template-columns: 1fr; } .audit .prep { margin-top: 1.5rem; } }
@media (max-width: 640px) { .booking__frame iframe { height: 780px; } }

/* hero scale and spacing, matched to the reference screenshot (wide screens only) */
@media (min-width: 900px) {
  .hero .wrap { width: min(100% - 2 * clamp(2.5rem, 6vw, 5rem), 1240px); }
  .hero .h1 { font-size: clamp(2.6rem, 4.2vw, 5.25rem); margin-top: 1.25rem; line-height: 1.02; }
  .hero .h1 .accent { font-size: 2.6em; line-height: .92; margin-top: .02em; }
  .hero__sub { margin-top: 2rem; max-width: 38rem; font-size: clamp(1rem, .55vw + .75rem, 1.125rem); line-height: 1.55; }
  .hero__actions { margin-top: 2.4rem; }
  .hero .blob--sky { left: min(68%, 72vw); }
}

/* ---- layer: hero closing line sits on its own with a small gap ---- */
.hero__close { display: block; margin-top: .75em; }

/* ---- layer: booking calendar demo (looks live, is not clickable) ---- */
.bookdemo { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bookdemo .h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
.bookdemo .h2 .accent { font-size: 1.3em; }
.bookdemo p.body { margin-top: 1.5rem; color: var(--muted); max-width: 30rem; }
.cal { --cell: rgba(238, 242, 248, .09); --dim: rgba(238, 242, 248, .3); width: 100%; max-width: 34rem; justify-self: end; background: var(--surface); color: var(--fg); border: 1.5px solid var(--rule); border-radius: 24px; box-shadow: 3px 4px 0 var(--cobalt); padding: 1.1rem 1.25rem 1.25rem; user-select: none; cursor: default; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: .8rem; border-bottom: 1px solid var(--rule); font-family: var(--display); font-weight: 700; }
.cal__tags { display: inline-flex; align-items: center; gap: .6rem; }
.cal__meta { color: var(--muted-on-dark); font-size: .625rem; }
.cal__ex { color: var(--muted-on-dark); font-size: .625rem; border: 1px solid var(--rule); border-radius: 99px; padding: .1rem .6rem; }
.cal__body { display: grid; grid-template-columns: 1fr 7.5rem; gap: 1.25rem; padding-top: 1rem; }
.cal__body .mono { color: var(--muted-on-dark); margin-bottom: .7rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.cal__wd { font-family: var(--mono); font-size: .5625rem; text-align: center; color: var(--muted-on-dark); padding-bottom: .2rem; }
.cal__d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.cal__d--on { background: var(--cell); color: var(--fg); font-weight: 600; }
.cal__d--off { color: var(--dim); }
.cal__d--pick { background: var(--cobalt); color: #fff; }
.cal__times ul { list-style: none; display: grid; gap: .45rem; margin: 0; padding: 0; }
.cal__times li { border: 1px solid var(--rule); border-radius: 10px; text-align: center; padding: .5rem 0; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.cal__times li.is-pick { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.cal__done { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(255, 201, 60, .12); border: 1px solid rgba(255, 201, 60, .45); }
.cal__check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 700; }
.cal__done strong { display: block; font-family: var(--display); font-size: .9375rem; }
.cal__sub { font-size: .75rem; color: var(--muted-on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .cal__d--pick { animation: cal-pick 10s ease-in-out infinite; }
  .cal__d--t1 { animation: cal-taken 10s ease-in-out infinite; }
  .cal__d--t2 { animation: cal-taken 10s ease-in-out 2.5s infinite; }
  .cal__d--t3 { animation: cal-taken 10s ease-in-out 5s infinite; }
  .cal__times { animation: cal-times 10s ease-in-out infinite; }
  .cal__times li.is-pick { animation: cal-slot 10s ease-in-out infinite; }
  .cal__done { animation: cal-done 10s ease-in-out infinite; }
}
@keyframes cal-pick {
  0%, 10% { background: var(--cell); color: var(--fg); transform: scale(1); }
  14% { background: var(--cobalt); color: #fff; transform: scale(1.12); }
  18%, 88% { background: var(--cobalt); color: #fff; transform: scale(1); }
  94%, 100% { background: var(--cell); color: var(--fg); transform: scale(1); }
}
@keyframes cal-taken {
  0%, 20% { background: var(--cell); color: var(--fg); }
  26%, 80% { background: transparent; color: var(--dim); }
  90%, 100% { background: var(--cell); color: var(--fg); }
}
@keyframes cal-times { 0%, 12% { opacity: .3; } 22%, 88% { opacity: 1; } 94%, 100% { opacity: .3; } }
@keyframes cal-slot {
  0%, 34% { background: transparent; border-color: var(--rule); color: var(--fg); }
  40%, 88% { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
  94%, 100% { background: transparent; border-color: var(--rule); color: var(--fg); }
}
@keyframes cal-done {
  0%, 46% { opacity: 0; transform: translateY(10px); }
  54%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(10px); }
}
@media (max-width: 860px) { .bookdemo { grid-template-columns: 1fr; } .cal { justify-self: stretch; max-width: none; } }
@media (max-width: 460px) {
  .cal__body { grid-template-columns: 1fr; }
  .cal__times ul { grid-template-columns: repeat(2, 1fr); }
}
.bookdemo__go { margin-top: 1.75rem; }

/* ---- layer: calendar days react to the mouse but do nothing when clicked ---- */
@media (hover: hover) {
  .cal__d--on { cursor: pointer; transition: box-shadow .15s ease; }
  .cal__d--on:hover { box-shadow: inset 0 0 0 2px var(--sun); }
}

/* ---- layer: today's date gets a small dot in the calendar demo ---- */
.cal__d--today { position: relative; color: var(--fg); font-weight: 600; }
.cal__d--today::after { content: ''; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sun); }

/* ---- layer: calendar demo is a doorway to the real booking page, and says it is an example ---- */
a.cal { display: block; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
a.cal:hover { transform: translate(-1px, -1px); box-shadow: 4px 5px 0 var(--cobalt); }
a.cal:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.cal__ex { font-size: .6875rem; color: var(--fg); }
.cal__meta { font-size: .6875rem; }
@media (max-width: 460px) { .cal__head { flex-wrap: wrap; } }

/* ---- layer: "what are slow replies costing you" estimate ---- */
.calc .h2 { margin-top: .6rem; font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
.calc .h2 .accent { font-size: 1.3em; }
.calc__lede { margin-top: 1.25rem; max-width: 40rem; color: var(--muted); }
.calc__card { margin-top: 2rem; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1.5px solid var(--rule); border-radius: 24px; padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: 3px 4px 0 var(--cobalt); }
.calc__f { display: block; margin-bottom: 1rem; }
.calc__f > span { display: block; font-weight: 700; font-size: .8125rem; margin-bottom: .4rem; }
.calc__f small { display: block; margin-top: .35rem; font-size: .75rem; color: var(--muted-on-dark); }
.calc__f input[type='number'], .calc__f select { width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--ink); border: 1px solid var(--rule); border-radius: 12px; padding: .7rem .85rem; font-variant-numeric: tabular-nums; }
.calc__f input:focus-visible, .calc__f select:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.calc__f input[type='range'] { width: 100%; accent-color: var(--sun); }
.calc__f output { font-variant-numeric: tabular-nums; }
.calc__out { background: var(--ink); border-radius: 18px; padding: clamp(1.1rem, 3vw, 1.5rem); display: flex; flex-direction: column; }
.calc__out .mono { color: var(--muted-on-dark); }
.calc__big { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.05; color: var(--sun); margin-top: .5rem; font-variant-numeric: tabular-nums; }
.calc__sub { margin-top: .6rem; font-size: .875rem; color: var(--muted-on-dark); }
.calc__out hr { border: 0; border-top: 1px solid var(--rule); margin: 1.1rem 0; }
.calc__year { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-top: .4rem; font-variant-numeric: tabular-nums; }
.calc__out .btn { margin-top: 1.5rem; align-self: flex-start; }
.calc__fine { margin-top: .8rem; font-size: .75rem; color: var(--muted-on-dark); }
.calc__how { margin-top: 1.25rem; max-width: 52rem; font-size: .75rem; line-height: 1.6; color: var(--muted-on-dark); }
@media (max-width: 860px) { .calc__card { grid-template-columns: 1fr; } }
.calc__out p { margin: 0; }
.calc__out .mono + .calc__big { margin-top: .6rem; }
.calc__out .calc__sub { margin-top: .7rem; }
.calc__out .mono + .calc__year { margin-top: .5rem; }

/* ---- layer: in-between estimate page ---- */
.calc__skip { margin-top: 1.25rem; font-size: .875rem; }

/* ---- layer: estimate page, card sits closer to the heading ---- */
.page-hero--tight { padding-bottom: 1rem; }
.page-hero--tight { padding-bottom: 0; }
.page-hero--tight .lede { margin-bottom: 0; }
.page-hero--tight + .section { padding-top: .75rem !important; }

/* ---- layer: result button sits at the bottom of the panel, full width ---- */
.calc__year { margin-bottom: 1.5rem; }
.calc__out .btn { margin-top: auto; align-self: stretch; justify-content: center; text-align: center; }
.calc__fine { text-align: center; }
.calc__out .calc__fine { margin-top: 1.1rem; }
.calc__out .calc__year { margin-bottom: 1.75rem; }
.calc__out .calc__fine { text-wrap: balance; }

/* ---- layer: estimate notes are three short paragraphs ---- */
.calc__how p + p { margin-top: .6rem; }

/* ---- layer: one line of lead-in above the result button ---- */
.calc__out .calc__lead { margin-top: auto; font-weight: 700; font-size: .9375rem; }
.calc__out .calc__lead + .btn { margin-top: .75rem; }

/* ---- layer: FAQ answers wrap without stranded last words ---- */
.faq .answer p { text-wrap: balance; }

/* ---- layer: forced line breaks only where there is room ---- */
@media (max-width: 600px) { .br-wide { display: none; } }

/* ---- layer: questions before the calendar ---- */
.intake__card, .intake__tags, .intake__skip { max-width: 46rem; }
.intake__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; }
.intake__tags li { font-size: .75rem; border: 1px solid var(--rule); border-radius: 99px; padding: .3rem .8rem; color: var(--muted-on-dark); }
.intake__card { background: var(--surface); border: 1.5px solid var(--rule); border-radius: 24px; padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: 3px 4px 0 var(--cobalt); }
.intake__sec { color: var(--muted-on-dark); margin: 1.75rem 0 1rem; }
.intake__sec:first-child { margin-top: 0; }
.intake__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.intake__f { display: block; }
.itext { width: 100%; font: inherit; font-size: .9375rem; color: var(--fg); background: var(--ink); border: 1px solid var(--rule); border-radius: 12px; padding: .7rem .85rem; }
.itext::placeholder { color: rgba(238, 242, 248, .45); }
.itext:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
textarea.itext { min-height: 5.5rem; resize: vertical; }
.itext[aria-invalid='true'] { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .2); }
.intake .err { color: #ff9b9b; font-size: .75rem; margin-top: .3rem; display: none; }
.intake .itext[aria-invalid='true'] ~ .err { display: block; }
.iq { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.iq__label { font-weight: 700; font-size: .9375rem; padding: 0; margin-bottom: .55rem; display: flex; gap: .6rem; }
.iq__n { font-family: var(--mono); font-size: .6875rem; color: var(--sun); padding-top: .2rem; flex: none; }
.iq__hint { font-size: .8125rem; color: var(--muted-on-dark); margin: -.2rem 0 .65rem 1.9rem; }
.iq > :not(legend):not(.iq__hint) { margin-left: 1.9rem; }
.iq > .itext { width: calc(100% - 1.9rem); }
.intake__pair { display: grid; grid-template-columns: 1.6fr 1fr; gap: .6rem; }
.intake .chip span { border-color: var(--rule); color: var(--fg); }
.intake .chip input:checked + span { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.intake .chip input:checked + span::before { background-color: var(--ink); border-color: var(--ink); }
.intake .chip input:focus-visible + span { outline-color: var(--sun); }
.intake__consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.5rem; font-size: .875rem; }
.intake__consent input { margin-top: .2rem; accent-color: var(--sun); width: 18px; height: 18px; flex: none; }
.intake__err { margin: .4rem 0 0 1.75rem; }
.intake__go { width: 100%; margin-top: 1.5rem; justify-content: center; }
.intake__sent { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--ink); border: 1px solid var(--rule); font-size: .875rem; }
.intake__sent textarea { width: 100%; min-height: 9rem; margin: .8rem 0; font-family: var(--mono); font-size: .6875rem; color: var(--fg); background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: .6rem; }
.intake__skip { margin-top: 1.25rem; font-size: .875rem; }
@media (max-width: 600px) {
  .intake__grid, .intake__pair { grid-template-columns: 1fr; }
  .iq > :not(legend):not(.iq__hint), .iq__hint { margin-left: 0; }
  .iq > .itext { width: 100%; }
}

/* ---- layer: story paragraphs sit closer together ---- */
.story p.body + p.body { margin-top: .9rem; }

/* ---- layer: four solution cards, one row ---- */
.take-over > li { flex: 1 1 calc((100% - 3.3rem) / 4); }
@media (max-width: 760px) { .take-over > li { flex-basis: 100%; } }

/* ---- layer: the line under the estimate only shows when it has text ---- */
.calc__sub:empty { display: none; }

/* ---- layer: estimate disclaimer sits with the number; skip link is the quiet route ---- */
.calc__note { margin-top: .45rem; font-size: .6875rem; color: var(--muted-on-dark); }
.calc__skip { margin-top: 1rem; font-size: .8125rem; }
.calc__skip a { color: var(--muted-on-dark); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.calc__skip a:hover { color: var(--fg); }

/* ---- layer: work page placeholders (clearly marked, not real cases) ---- */
.case-list { display: grid; gap: 1.1rem; }
.case--ph { border-style: dashed; box-shadow: none; }
.case--ph .case__tag b { background: transparent; color: var(--sun); border: 1px solid var(--sun); }

/* ---- layer: builder help line ---- */
.builder__help { margin-top: 1.25rem; font-size: .9375rem; color: var(--muted); }
.builder__help a { font-weight: 600; }

/* ---- layer: chat demo, bigger and plainer ---- */
.chat__msg { font-size: 1rem; line-height: 1.4; padding: .7rem 1rem; }
.chat__msg time { font-size: .6875rem; }

/* ---- layer: steps in the booking flow say clearly where you are ---- */
.page-hero--flow .label { display: inline-block; font-size: 1rem; font-weight: 700; letter-spacing: .08em; color: var(--sun); border: 2px solid var(--sun); border-radius: 99px; padding: .5rem 1.15rem; }
.page-hero--flow .h1 { margin-top: 1.25rem; }
@media (max-width: 600px) { .page-hero--flow .label { font-size: .875rem; padding: .45rem 1rem; } }

/* ---- layer: phone hero keeps the decorations clear of the headline; result button gets breathing room ---- */
@media (max-width: 600px) {
  .hero .blob--skysoft { width: 64px; top: 5rem; right: 3.9rem; }
  .hero .blob--sky { top: auto; bottom: 7rem; left: auto; right: -1.5rem; width: 84px; }
}
.calc__out .calc__note { margin: .45rem 0 1.25rem; }
