/* ==========================================================================
   Shift — public site
   Black, white, orange. Libre Baskerville for display, Proxima Nova (or the
   system sans) for text. Inspired by the restraint of Apple, Rivian, Oceanco.
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --ink-2: #1d1d1f;
  --paper: #ffffff;
  --mist: #f5f5f7;
  --line: #e4e4e8;
  --line-dark: #2a2a2e;
  --muted: #6e6e73;
  --muted-dark: #a1a1a6;
  --orange: #ff5b14;
  --orange-ink: #c2410c;     /* orange for small text on white (AA) */
  --orange-soft: #fff1ea;

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "proxima-nova", "Proxima Nova", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 168px);
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; }
::selection { background: var(--orange); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--section) 0; position: relative; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #f5f5f7; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.center { text-align: center; }
.hide-sm { display: inline; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.display--xl { font-size: clamp(44px, 8.2vw, 112px); }
.display--lg { font-size: clamp(38px, 6vw, 80px); }
.display--md { font-size: clamp(30px, 4.4vw, 56px); }
.display--sm { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; }
.display em { font-style: italic; color: var(--orange); }
.section--dark .display em, .hero .display em { color: var(--orange); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink); margin: 0 0 20px;
}
.eyebrow--light, .section--dark .eyebrow { color: var(--orange); }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; color: var(--muted); max-width: 40ch; }
.section--dark .lead { color: var(--muted-dark); }
.lead--center { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--accent { background: var(--orange); color: var(--ink); }
.btn--accent:hover { box-shadow: 0 12px 30px -10px rgba(255, 91, 20, .6); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(127,127,127,.08); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 18px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--orange-ink); display: inline-flex; gap: 8px; align-items: center; }
.section--dark .link-arrow { color: var(--orange); }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--serif); font-size: 26px; letter-spacing: -.03em; text-decoration: none; font-weight: 700; line-height: 1;
}
.logo span { color: var(--orange); }
.logo--light { color: #fff; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.nav { padding-top: env(safe-area-inset-top, 0px); }
.nav__links { display: flex; gap: 32px; }
.nav__links a, .nav__login { text-decoration: none; font-size: 15px; opacity: .82; transition: opacity .2s; }
.nav__links a:hover, .nav__login:hover, .nav__links a[aria-current] { opacity: 1; }
.nav__links a[aria-current] { box-shadow: inset 0 -2px 0 var(--orange); padding-bottom: 2px; }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav--dark { color: #fff; }
.nav--light { color: var(--ink); }
.nav.is-scrolled {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink);
  border-bottom-color: rgba(0, 0, 0, .06);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; color: inherit; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  background: var(--paper); color: var(--ink);
  padding: 8px var(--gutter) 28px; display: grid; gap: 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 0; font-size: 22px; font-family: var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }
.nav.menu-open { background: var(--paper); color: var(--ink); }
@media (max-width: 900px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: block; }
  .nav__actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--ink); color: #fff;
  display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px;
}
.hero__glow {
  position: absolute; inset: auto -20% -40% auto; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(255, 91, 20, .28), rgba(255, 91, 20, 0) 70%);
  pointer-events: none; filter: blur(10px);
  animation: glow 12s var(--ease-in-out) infinite alternate;
}
@keyframes glow { to { transform: translate(-8%, -6%) scale(1.08); } }
.hero h1 { font-size: clamp(42px, 5.6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(32px, 6vw, 80px); align-items: center; width: 100%; }
.hero__copy .lead { color: var(--muted-dark); margin: 28px 0 36px; max-width: 34ch; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__ctas .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero__meta { margin-top: 48px; display: flex; gap: 32px; flex-wrap: wrap; color: var(--muted-dark); font-size: 14px; }
.hero__meta strong { display: block; color: #fff; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.hero h1 .line, .page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span, .page-hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-loaded .hero h1 .line > span, .is-loaded .page-hero h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span, .page-hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .line:nth-child(3) > span, .page-hero h1 .line:nth-child(3) > span { transition-delay: .24s; }
.hero__fade { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.is-loaded .hero__fade { opacity: 1; transform: none; }
.hero__fade--2 { transition-delay: .7s; }
.hero__fade--3 { transition-delay: .9s; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
}

/* Phone mock with live enquiries */
.phone {
  position: relative; width: min(340px, 100%); margin-left: auto; aspect-ratio: 9 / 18.5;
  border-radius: 48px; padding: 12px;
  background: linear-gradient(160deg, #2a2a2e, #111113);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 50px 100px -30px rgba(0,0,0,.8), 0 30px 60px -40px rgba(255, 91, 20, .5);
  opacity: 0; transform: translateY(40px) rotate(2deg);
  transition: opacity 1.4s var(--ease) .35s, transform 1.4s var(--ease) .35s;
}
.is-loaded .phone { opacity: 1; transform: rotate(0); }
.phone__screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #26170f 0%, #121214 55%);
  padding: 54px 14px 14px;
}
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; }
.phone__time { text-align: center; color: #fff; font-size: 13px; opacity: .7; letter-spacing: .02em; }
.phone__clock { text-align: center; color: #fff; font-family: var(--serif); font-size: 58px; letter-spacing: -.03em; line-height: 1; margin: 6px 0 22px; }
.feed { display: grid; gap: 8px; }
.note {
  background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 11px 13px; color: #fff; font-size: 12.5px; line-height: 1.35;
  animation: noteIn .8s var(--ease) both;
}
.note__top { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.note__icon { width: 20px; height: 20px; border-radius: 6px; background: var(--orange); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 12px; color: var(--ink); flex: none; }
.note__app { font-size: 11px; opacity: .65; text-transform: uppercase; letter-spacing: .05em; }
.note__when { margin-left: auto; font-size: 11px; opacity: .5; }
.note strong { font-weight: 600; }
.note--booked .note__icon { background: #fff; }
@keyframes noteIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .phone { margin: 24px auto 0; width: min(300px, 86%); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: rgba(255,255,255,.55); border-top: 1px solid var(--line-dark); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: 20px; white-space: nowrap; }
.marquee__track span::after { content: "·"; margin-left: 48px; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll-scrubbed statement ---------- */
.statement { max-width: 22ch; }
.scrub .w { opacity: .16; transition: opacity .25s linear; }
.scrub .w.on { opacity: 1; }

/* ---------- Problem cards ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 7vw, 88px); }
.problem {
  background: var(--mist); border-radius: var(--radius); padding: 34px 30px 32px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.problem:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.problem__n { font-family: var(--serif); color: var(--orange-ink); font-size: 15px; margin-bottom: 40px; display: block; }
.problem h3 { font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 14px; }
.problem p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .problems { grid-template-columns: 1fr; } }

/* ---------- Sticky "how it works" ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 64px; }
.steps__visual { position: sticky; top: 96px; height: min(560px, calc(100vh - 140px)); align-self: start; }
.stage {
  position: relative; height: 100%; border-radius: 28px; background: var(--ink); overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.6);
}
.stage__panel {
  position: absolute; inset: 0; padding: clamp(24px, 3vw, 40px); color: #fff;
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.stage__panel.is-active { opacity: 1; transform: none; }
.stage__label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 14px; }
.stage__panel h4 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.15; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .3; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__n { font-family: var(--serif); font-size: 15px; color: var(--orange-ink); margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.025em; line-height: 1.08; margin-bottom: 18px; }
.step p { color: var(--muted); font-size: 19px; max-width: 34ch; }
.step ul { margin: 8px 0 0; padding: 0; list-style: none; color: var(--ink-2); }
.step li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; display: flex; gap: 12px; }
.step li::before { content: ""; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; margin-top: 9px; flex: none; }
.step__mobile-visual { display: none; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps__visual { display: none; }
  .step { min-height: 0; opacity: 1; padding: 36px 0; border-top: 1px solid var(--line); }
  .step__mobile-visual { display: block; margin-top: 24px; }
  .step__mobile-visual .stage { height: auto; }
  .step__mobile-visual .stage__panel { position: relative; opacity: 1; transform: none; }
}

/* Stage visuals */
.mini-ads, .chat, .comp-list, .dash-mini, .bars { flex: none; }
.mini-ads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.mini-ad { background: #1c1c1f; border-radius: 14px; padding: 10px; border: 1px solid #2a2a2e; }
.mini-ad__img { aspect-ratio: 1; border-radius: 9px; background: linear-gradient(135deg, #3a2417, #ff5b14 140%); margin-bottom: 8px; position: relative; overflow: hidden; }
.mini-ad:nth-child(2) .mini-ad__img { background: linear-gradient(135deg, #1f2a2f, #6b7f86); }
.mini-ad:nth-child(3) .mini-ad__img { background: linear-gradient(135deg, #2b2b2b, #8a8a8a); }
.mini-ad__bar { height: 6px; border-radius: 3px; background: #333; margin-top: 5px; }
.mini-ad__bar--s { width: 60%; }
.mini-ad__tag { position: absolute; left: 8px; top: 8px; font-size: 10px; background: rgba(0,0,0,.55); padding: 3px 7px; border-radius: 999px; }
.chat { display: grid; gap: 8px; margin-bottom: 24px; }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.35; }
.bubble--in { background: #2a2a2e; border-bottom-left-radius: 6px; }
.bubble--out { background: var(--orange); color: var(--ink); margin-left: auto; border-bottom-right-radius: 6px; }
.bubble small { display: block; opacity: .6; font-size: 11px; margin-top: 3px; }
.comp-list { display: grid; gap: 10px; margin-bottom: 24px; }
.comp { display: flex; align-items: center; gap: 12px; background: #1c1c1f; border: 1px solid #2a2a2e; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.comp__dot { width: 34px; height: 34px; border-radius: 10px; background: #333; flex: none; }
.comp__meta { color: var(--muted-dark); font-size: 12px; }
.comp__badge { margin-left: auto; font-size: 11px; padding: 4px 9px; border-radius: 999px; background: rgba(255,91,20,.15); color: var(--orange); white-space: nowrap; }
.dash-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash-mini div { background: #1c1c1f; border: 1px solid #2a2a2e; border-radius: 14px; padding: 12px; }
.dash-mini b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.dash-mini span { font-size: 11px; color: var(--muted-dark); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; margin-bottom: 24px; }
.bars i { flex: 1; background: var(--orange); border-radius: 4px 4px 0 0; opacity: .9; transform-origin: bottom; animation: grow 1s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- Human / AI split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.split__col { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 44px); }
.split__col h3 { font-family: var(--serif); font-size: 28px; letter-spacing: -.02em; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.split__col ul { list-style: none; margin: 0; padding: 0; }
.split__col li { padding: 14px 0; border-top: 1px solid var(--line-dark); color: var(--muted-dark); }
.split__col li strong { color: #fff; font-weight: 600; }
.split__col--accent { background: linear-gradient(160deg, rgba(255,91,20,.12), rgba(255,91,20,0) 60%); border-color: rgba(255,91,20,.35); }
.tag { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #2a2a2e; color: var(--muted-dark); }
.split__col--accent .tag { background: var(--orange); color: var(--ink); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* ---------- Scale-in showcase (dashboard preview) ---------- */
.showcase { padding-top: 0; }
.showcase__frame {
  --p: 0;
  transform: scale(calc(.86 + var(--p) * .14));
  border-radius: calc(40px - var(--p) * 18px);
  transform-origin: center top;
  background: linear-gradient(180deg, #232326, #161618); padding: clamp(10px, 1.4vw, 16px);
  border: 1px solid #2f2f33;
  box-shadow: 0 60px 120px -60px rgba(255,91,20,.35);
  will-change: transform;
}
.app {
  border-radius: calc(26px - var(--p, 1) * 12px);
  color: var(--ink);
  background: #fff; overflow: hidden; display: grid; grid-template-columns: 200px 1fr; min-height: 460px; font-size: 13px;
}
.app__side { background: var(--ink); color: #fff; padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; }
.app__side .logo { color: #fff; font-size: 20px; margin-bottom: 22px; }
.app__side a { color: var(--muted-dark); padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.app__side a.on { background: #1f1f22; color: #fff; }
.app__main { padding: 24px; background: #fafafa; }
.app__h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.app__h h4 { font-family: var(--serif); font-size: 22px; }
.app__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.app__kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.app__kpi span { color: var(--muted); font-size: 12px; }
.app__kpi b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.02em; margin-top: 4px; }
.app__kpi small { color: #15803d; font-size: 11px; }
.app__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.app__card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.app__card h5 { margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.app__chart { display: flex; align-items: flex-end; gap: 4px; height: 140px; }
.app__chart i { flex: 1; background: var(--orange); border-radius: 3px 3px 0 0; }
.app__lead { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); gap: 8px; }
.app__lead:first-of-type { border-top: 0; }
.pill { display: inline-block; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--mist); color: var(--ink-2); white-space: nowrap; }
.pill--booked { background: #e8f5ec; color: #166534; }
.pill--new { background: var(--orange-soft); color: var(--orange-ink); }
@media (max-width: 800px) {
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__kpis { grid-template-columns: repeat(2, 1fr); }
  .app__row { grid-template-columns: 1fr; }
}

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.calc__in, .calc__out { border-radius: var(--radius); padding: clamp(28px, 3.5vw, 44px); }
.calc__in { background: #fff; border: 1px solid var(--line); }
.calc__out { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.field { margin-bottom: 28px; }
.field:last-child { margin-bottom: 0; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.field__top label { font-weight: 600; }
.field__top output { font-family: var(--serif); font-size: 22px; }
input[type="range"] { width: 100%; accent-color: var(--orange); height: 28px; }
.calc__big { font-family: var(--serif); font-size: clamp(54px, 7vw, 88px); letter-spacing: -.03em; line-height: 1; }
.calc__note { color: var(--muted-dark); font-size: 15px; margin: 0; }
.calc__rows { display: grid; gap: 0; }
.calc__rows div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 15px; }
.calc__rows b { color: #fff; font-weight: 600; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Sector cards ---------- */
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.sector {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: #fff;
  background: var(--ink); isolation: isolate;
}
.sector::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 70% at 85% 100%, rgba(255,91,20,.55), rgba(255,91,20,0) 60%), linear-gradient(180deg, #161618, #0b0b0c);
  transition: transform 1.2s var(--ease);
}
.sector--alt::before { background: radial-gradient(90% 70% at 15% 100%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%), linear-gradient(180deg, #1d1d1f, #0b0b0c); }
.sector:hover::before { transform: scale(1.06); }
.sector h3 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.025em; line-height: 1.05; margin-bottom: 16px; }
.sector p { color: var(--muted-dark); max-width: 36ch; }
.sector__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.chip { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.sector__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.sector__go span { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease), background-color .3s; }
.sector:hover .sector__go span { transform: translateX(6px); background: var(--orange); }
@media (max-width: 800px) { .sectors { grid-template-columns: 1fr; } .sector { min-height: 420px; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.price {
  background: #fff; border-radius: var(--radius); padding: 36px 32px; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.price--feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.price__label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 26px; }
.price--feature .price__label { color: var(--orange); }
.price__from { font-size: 14px; color: var(--muted); }
.price--feature .price__from, .price--feature .price__unit { color: var(--muted-dark); }
.price__amount { font-family: var(--serif); font-size: 56px; letter-spacing: -.03em; line-height: 1; margin: 4px 0 6px; }
.price__unit { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.price ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.price li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; }
.price--feature li { border-color: var(--line-dark); }
.price li::before { content: "✓"; color: var(--orange-ink); font-weight: 700; }
.price--feature li::before { color: var(--orange); }
.price__plus { font-family: var(--serif); font-size: 15px; color: var(--muted); text-align: center; }
.price-note { margin-top: 28px; color: var(--muted); font-size: 15px; text-align: center; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- Founding band ---------- */
.founding { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.founding__count { font-family: var(--serif); font-size: clamp(120px, 18vw, 240px); line-height: .8; letter-spacing: -.05em; color: var(--orange); text-align: right; }
@media (max-width: 800px) { .founding { grid-template-columns: 1fr; } .founding__count { text-align: left; } }

/* ---------- Answer box (AI-search friendly summary) ---------- */
.answer {
  border-left: 3px solid var(--orange); padding: 6px 0 6px 24px; margin: 0 0 8px;
  font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 62ch;
}
.answer strong { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); letter-spacing: -.015em; line-height: 1.3; }
.faq__icon { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .45s var(--ease), background-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease); }
.faq__item[open] .faq__icon { background: var(--orange); border-color: var(--orange); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 60px 28px 0; color: var(--muted); font-size: 17px; max-width: 72ch; }
.faq__a p { margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(140px, 18vw, 220px) 0 clamp(64px, 8vw, 110px); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 26px; color: var(--muted-dark); }
.page-hero .hero__glow { opacity: .8; }
.crumbs { font-size: 13px; color: var(--muted-dark); margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Generic grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--mist); border-radius: var(--radius); padding: 32px; }
.card h3 { font-family: var(--serif); font-size: 24px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.card--white { background: #fff; border: 1px solid var(--line); }
.list-check { list-style: none; margin: 0; padding: 0; }
.list-check li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.list-check li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 9px; flex: none; }
.table-wrap { overflow-x: auto; margin-top: 40px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.cmp th, .cmp td { text-align: left; padding: 18px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-top: 0; }
.cmp td:last-child, .cmp th:last-child { background: var(--orange-soft); }
.cmp td:first-child { font-weight: 600; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,91,20,.15); }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.form .consent input { margin-top: 3px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; }
.alert--err { background: #fef2f2; color: #991b1b; }
.alert--ok { background: #ecfdf3; color: #166534; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.audit-box { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 100px -60px rgba(0,0,0,.35); border: 1px solid var(--line); }
.thanks { text-align: center; padding: 40px 0; }
.thanks__tick { width: 72px; height: 72px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; margin: 0 auto 24px; font-size: 32px; animation: pop .7s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--serif); font-size: 26px; margin: 40px 0 14px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #f5f5f7; padding: clamp(80px, 10vw, 140px) 0 36px; }
.footer__cta { padding-bottom: clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--line-dark); margin-bottom: 56px; }
.footer__cta h2 { margin-bottom: 36px; max-width: 20ch; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__blurb { color: var(--muted-dark); margin-top: 18px; max-width: 32ch; font-size: 15px; }
.footer__h { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-dark); margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer__base a { text-decoration: none; color: #f5f5f7; opacity: .85; font-size: 15px; }
.footer ul a:hover, .footer__base a:hover { opacity: 1; color: var(--orange); }
.footer .logo { text-decoration: none; }
.footer .logo { opacity: 1; font-size: 30px; }
.footer__areas { color: var(--muted-dark); font-size: 15px; line-height: 1.8; }
.footer__base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-dark); font-size: 13px; }
.footer__base p { margin: 0; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--scale { transform: scale(.94); }
.js .reveal--scale.is-in { transform: none; }

/* Counters */
[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__fade, .phone, .hero h1 .line > span, .page-hero h1 .line > span { opacity: 1 !important; transform: none !important; }
  .showcase__frame { transform: none !important; }
  .scrub .w { opacity: 1; }
  .marquee__track { animation: none; }
}
