/* ══════════════════════════════════════════════════════════════════════
   commitpk.com home — the v6 sections.
   Shared shell and components live in commit-base.css; tokens in
   commit-tokens.css. Values that change at runtime (opacity, transform,
   clip-path) are set by js/home.js as inline styles.
   ══════════════════════════════════════════════════════════════════════ */

/* ══ HERO ═══════════════════════════════════════════════════════════ */
.hero { padding: 96px 32px 120px; }
.hero__inner { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero__pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(41, 31, 30, 0.08);
  font-size: 13px; font-weight: var(--fw-medium);
  color: var(--text-body);
}
.hero__title {
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.9;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.055em;
  color: var(--commit-ink);
}
.hero__title span { color: var(--commit-purple); }
.hero__sub { max-width: 460px; font-size: 20px; line-height: 1.5; color: var(--text-body); text-wrap: pretty; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__notes { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.hero__notes i { color: #D8C2B8; font-style: normal; }

.hero__visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero__stage { position: relative; width: 100%; max-width: 440px; height: 620px; }

/* Phone */
.phone {
  position: absolute; left: 0; top: 0;
  width: 300px; height: 610px;
  padding: 10px;
  border-radius: 48px;
  background: var(--commit-ink);
  box-shadow: 0 50px 80px -40px rgba(41, 31, 30, 0.55);
}
.phone__screen {
  display: flex; flex-direction: column;
  width: 100%; height: 100%;
  border-radius: 38px; overflow: hidden;
  background: #F4ECE6;
}
.phone__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 44px 16px 12px;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(41, 31, 30, 0.06);
}
.phone__avatar {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: #EFE6DF;
  font-size: 12px; font-weight: var(--fw-bold); color: var(--text-muted);
}
.phone__who { flex: 1; min-width: 0; }
.phone__name { font-size: 14px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.phone__state { font-size: 11px; color: #16A34A; }
.phone__thread { flex: 1; padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; }
.phone__day {
  align-self: center;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px; color: var(--text-muted);
}
.bubble {
  max-width: 82%;
  padding: 10px 12px;
  font-size: 14px; line-height: 1.45;
  color: var(--text-strong);
  transition: all 0.5s var(--ease);
}
.bubble--out { align-self: flex-end;   border-radius: 14px 4px 14px 14px; background: var(--purple-100); }
.bubble--in  { align-self: flex-start; border-radius: 4px 14px 14px 14px; background: #FFFFFF; }
.bubble__time { margin-top: 3px; font-size: 10px; color: var(--text-muted); text-align: right; }
.typing {
  align-self: flex-start;
  display: flex; gap: 4px;
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  background: #FFFFFF;
  transition: opacity 0.3s;
}
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: cmDots 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
.phone__composer {
  margin: 0 10px 14px;
  padding: 11px 14px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  font-size: 13px; color: var(--text-faint);
}

/* Order card floating over the phone */
.ordercard {
  position: absolute; right: 0; bottom: 56px;
  width: 270px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  border-radius: var(--radius-3xl);
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(41, 31, 30, 0.06), 0 40px 60px -30px rgba(64, 43, 202, 0.45);
  transform-origin: left bottom;
  transition: all 0.6s var(--ease);
}
.ordercard__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ordercard__kind {
  font-size: 11px; font-weight: var(--fw-semibold);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.ordercard__ref { font-size: 16px; font-weight: var(--fw-bold); color: var(--text-strong); }
.ordercard__lines {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 12px; border-top: 1px solid #F1ECE6;
}
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.kv__k { color: var(--text-muted); }
.kv__v { font-weight: var(--fw-semibold); color: var(--text-strong); text-align: right; }

/* On a phone the two-up composition becomes one column. It is laid out
   again rather than scaled down, so the chat stays at its real size —
   scaling put this text under 9px. */
@media (max-width: 560px) {
  .hero { padding: 56px 20px 72px; }
  .hero__inner { gap: 48px; }
  .hero__stage { width: 100%; max-width: 340px; height: auto; }
  .phone {
    position: static;
    width: 100%; height: 540px;
    border-radius: 40px;
  }
  .phone__screen { border-radius: 32px; }
  .phone__bar { padding: 20px 16px 12px; }
  .ordercard {
    position: relative; right: auto; bottom: auto;
    width: 88%; margin: -40px 0 0 auto;
    transform-origin: center bottom;
  }
}

/* ══ BEFORE / AFTER ═════════════════════════════════════════════════ */
.ba { padding: 40px 32px 140px; }
.ba__inner { display: flex; flex-direction: column; gap: 40px; }
.ba__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ba__hint { font-size: 15px; color: var(--text-muted); }
.ba__stage {
  position: relative;
  height: 540px;
  border-radius: 28px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  /* pan-y, not none: a horizontal drag moves the divider, a vertical
     swipe still scrolls the page past it. */
  touch-action: pan-y;
  box-shadow: 0 1px 2px rgba(41, 31, 30, 0.06), 0 40px 80px -40px rgba(41, 31, 30, 0.35);
}
.ba__stage:focus-visible { outline: 3px solid var(--commit-purple); outline-offset: 3px; }
.ba__pane { position: absolute; inset: 0; padding: 40px; }
.ba__pane--before { background: #EDE4DC; display: flex; gap: 28px; }
.ba__pane--after  {
  background: #FFFFFF; display: flex; flex-direction: column; gap: 20px;
  clip-path: inset(0 0 0 50%);
}
/* With JS the comparison opens on the chats and slides itself open when
   you reach it; without JS it rests at a static half and half. */
.js .ba__pane--after { clip-path: inset(0 0 0 100%); }

.chatlist {
  flex: 1 1 0; max-width: 420px; min-width: 0;
  display: flex; flex-direction: column;
  border-radius: 18px; background: #FFFFFF; overflow: hidden;
  filter: saturate(0.6);
}
.chatlist__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid #F1ECE6;
}
.chatlist__title { font-size: 16px; font-weight: var(--fw-bold); }
.chatlist__unread {
  padding: 2px 8px; border-radius: var(--radius-pill);
  background: var(--danger); color: #fff;
  font-size: 12px; font-weight: var(--fw-bold);
}
.chatrow { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid #F7F3EF; }
.chatrow__avatar {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: #EFE6DF;
  font-size: 12px; font-weight: var(--fw-bold); color: var(--text-muted);
}
.chatrow__body { flex: 1; min-width: 0; }
.chatrow__name { font-size: 13px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.chatrow__msg { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatrow__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.chatrow__time { font-size: 11px; color: var(--danger); }
.chatrow__count {
  display: grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: var(--fw-bold);
}
.notepad {
  flex: 0 1 230px; min-width: 0; align-self: center;
  transform: rotate(-3deg);
  padding: 22px 20px;
  border-radius: var(--radius-xs);
  background: #FFF7C2;
  box-shadow: 0 12px 24px -12px rgba(41, 31, 30, 0.35);
  font-family: var(--font-mono);
  font-size: 13px; line-height: 1.9; color: #5B4A2E;
}
.notepad__title { font-weight: var(--fw-bold); margin-bottom: 6px; }

.ba__appbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ba__brand { display: flex; align-items: center; gap: 14px; }
.ba__biz { font-size: 14px; color: var(--text-muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 18px; border-radius: var(--radius-xl); background: #FBF7F3; }
.stat__label { font-size: 12px; color: var(--text-muted); }
.stat__value {
  margin-top: 6px;
  font-size: 28px; font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}
.stat__value--owed { color: var(--money-owed); }
/* Fills the rest of the panel: at full reveal this side is seen whole, and
   a short list floating above empty white read as unfinished. */
.feed { flex: 1; display: flex; flex-direction: column; border-radius: var(--radius-xl); border: 1px solid #F1ECE6; overflow: hidden; }
.feedrow:last-child { border-bottom: 0; }
.feedrow { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid #F7F3EF; }
.feedrow__channel { flex: none; width: 76px; font-size: 12px; font-weight: var(--fw-semibold); color: var(--commit-purple); }
.feedrow__body { flex: 1; min-width: 0; font-size: 14px; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feedrow__who { font-weight: var(--fw-semibold); }
.feedrow__what { color: var(--text-muted); }

.ba__tag {
  position: absolute; top: 20px;
  font-size: 12px; font-weight: var(--fw-semibold);
  letter-spacing: 0.12em; text-transform: uppercase;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}
.ba__tag--before { left: 24px; color: var(--text-muted); }
.ba__tag--after  { right: 24px; color: var(--commit-purple); }
.ba__divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px;
  background: var(--commit-ink);
  pointer-events: none;
}
.js .ba__divider { left: 100%; }
.ba__grip {
  position: absolute; top: 50%; left: 50%;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--commit-ink); color: #FFFFFF;
  font-size: 15px;
  box-shadow: 0 8px 20px -6px rgba(41, 31, 30, 0.5);
}

@media (max-width: 1000px) {
  .ba { padding: 24px 20px 100px; }
  .ba__stage { height: 460px; }
  .ba__pane { padding: 24px; }
  .notepad { display: none; }
  .stat { padding: 14px; }
  .stat__value { font-size: 22px; }
}
/* At phone width the inset pane drew a grey frame around the chat list and
   both sides were short of room, so the panes go full bleed and each side
   is trimmed to what reads at a glance. */
@media (max-width: 620px) {
  .ba__stage { height: 440px; }
  .ba__pane { padding: 0; }
  .ba__pane--before { background: #FFFFFF; }
  .chatlist { max-width: none; width: 100%; height: 100%; border-radius: 0; }
  /* Keep the unread count on the left, where the divider leaves it visible. */
  .chatlist__head { padding: 14px 16px; justify-content: flex-start; gap: 10px; }
  .chatrow { padding: 10px 16px; }
  /* The sweep comes to rest with this side fully open, so it is laid out
     as the dashboard it is rather than trimmed to survive the divider. */
  .ba__pane--after { padding: 14px 16px; gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats .stat:last-child { display: none; }
  .feedrow { padding: 11px 14px; }
  .feedrow__channel { width: 62px; }
  /* The labels sit over live content here, so they need a backdrop. */
  .ba__tag {
    top: auto; bottom: 14px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 2px rgba(41, 31, 30, 0.12);
  }
  .ba__tag--before { left: 14px; }
  .ba__tag--after { right: 14px; }
}

/* ══ STORY ══════════════════════════════════════════════════════════ */
.story { padding: 0 32px 120px; scroll-margin-top: 64px; }
.story__inner { display: flex; flex-direction: column; gap: 24px; }
.story__head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; }
.story__grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }

.story__device { flex: 1.3 1 520px; min-width: 0; position: sticky; top: 96px; z-index: 2; }
.story__frame {
  position: relative;
  height: min(540px, calc(100vh - 140px));
  padding: 10px;
  border-radius: 32px;
  background: var(--commit-ink);
  box-shadow: 0 50px 80px -40px rgba(41, 31, 30, 0.5);
}
.story__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 24px; overflow: hidden;
  background: #FFFFFF;
}
.story__screenbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid #F1ECE6;
}
.story__screentitle { font-size: 14px; font-weight: var(--fw-bold); color: var(--text-strong); }
.story__screentime { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.panel {
  position: absolute; inset: 50px 0 0 0;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s var(--ease);
}
.panel:first-of-type { opacity: 1; transform: none; }

/* Counter */
.panel--pos { display: flex; gap: 16px; }
.postiles { flex: 1.4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.postile {
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px;
  border-radius: var(--radius-xl);
  border: 1px solid #F1ECE6;
  background: #FFFFFF;
}
.postile--on { background: var(--purple-50); border-color: var(--purple-200); }
.postile__name { font-size: 15px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.postile__price { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.poscart {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: #FBF7F3;
}
.poscart__label {
  font-size: 12px; font-weight: var(--fw-semibold);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}
.poscart__line { display: flex; justify-content: space-between; font-size: 14px; }
.poscart__total {
  display: flex; justify-content: space-between;
  margin-top: auto; padding-top: 12px;
  border-top: 1px dashed #E5D9CF;
  font-size: 20px; font-weight: var(--fw-semibold);
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.poscart__charge {
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--commit-purple); color: #fff;
  text-align: center;
  font-size: 14px; font-weight: var(--fw-semibold);
}

/* WhatsApp */
.panel--wa { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: #F4ECE6; }
.wa__in {
  align-self: flex-end; max-width: 70%;
  padding: 12px 14px;
  border-radius: 16px 4px 16px 16px;
  background: var(--purple-100);
  font-size: 16px; line-height: 1.45; color: var(--text-strong);
}
.wa__parsed {
  align-self: flex-start; width: min(360px, 90%);
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px;
  border-radius: var(--radius-2xl);
  background: #FFFFFF;
  box-shadow: 0 20px 40px -24px rgba(64, 43, 202, 0.4);
}
.wa__parsedlabel {
  font-size: 11px; font-weight: var(--fw-semibold);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--commit-purple);
}
.wa__parsed .kv { font-size: 15px; }
.wa__out {
  align-self: flex-start; max-width: 70%;
  padding: 12px 14px;
  border-radius: 4px 16px 16px 16px;
  background: #FFFFFF;
  font-size: 16px; line-height: 1.45; color: var(--text-strong);
}

/* Kitchen */
.panel--kds {
  background: #FBF7F3;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start;
}
.ticket {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  border: 1px solid #F1ECE6;
  border-top: 3px solid;
  color: var(--text-strong);
  box-shadow: 0 1px 3px rgba(41, 31, 30, 0.06);
}
.ticket__head { display: flex; justify-content: space-between; align-items: center; }
.ticket__channel { font-size: 12px; font-weight: var(--fw-semibold); color: var(--text-muted); }
.ticket__age { font-family: var(--font-mono); font-size: 15px; font-weight: var(--fw-semibold); }
.ticket__item { font-size: 17px; font-weight: var(--fw-semibold); line-height: 1.3; }

/* Broadcast */
.panel--broadcast {
  padding: 24px; background: #FBF7F3;
  display: flex; gap: 20px; align-items: center; justify-content: center;
}
.promo {
  width: min(340px, 90%);
  border-radius: 18px; background: #FFFFFF; overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(41, 31, 30, 0.35);
}
.promo__art {
  height: 130px;
  background: var(--commit-purple);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 10px, transparent 10px 20px);
}
.promo__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.promo__copy { font-size: 15px; line-height: 1.5; color: var(--text-strong); }
.promo__meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid #F1ECE6;
  font-size: 13px; color: var(--text-muted);
}
.promo__sent { font-weight: var(--fw-bold); color: var(--money-credit); }

/* Daily summary */
.panel--summary { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.summary__label { font-size: 13px; color: var(--text-muted); }
.summary__total {
  font-size: 56px; font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.summary__bar { display: flex; height: 12px; gap: 3px; border-radius: var(--radius-pill); overflow: hidden; }
.summary__key { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-body); }
.summary__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; }
.summary__stat { padding: 16px; border-radius: var(--radius-xl); background: #FBF7F3; }
.summary__statlabel { font-size: 12px; color: var(--text-muted); }
.summary__statvalue { margin-top: 4px; font-size: 24px; font-weight: var(--fw-semibold); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.summary__stattext { margin-top: 8px; font-size: 16px; font-weight: var(--fw-bold); }
.summary__stattext--ok { color: var(--money-credit); }

/* Step copy */
.story__steps { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; margin-top: 0; }
.story__step {
  min-height: 78vh;
  padding-top: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  transition: opacity 0.5s;
}
.story__steptime { font-family: var(--font-mono); font-size: 13px; color: var(--commit-purple); }
.story__steptitle {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.045em;
}
.story__stepbody { font-size: 18px; line-height: 1.5; color: var(--text-body); max-width: 380px; }

@media (max-width: 1039px) {
  .story { padding: 0 20px 72px; }
  .story__grid { gap: 0; }
  .story__device { top: 108px; }
  .story__frame { height: min(300px, 38vh); }
  .story__steps { margin-top: calc(-1 * min(300px, 38vh)); }
  /* Each step is as tall as the screen above it plus its own copy, so the
     shorter frame is what takes the length out. */
  .story__step { min-height: 44vh; padding-top: calc(min(300px, 38vh) + 20px); }
  .panel { padding: 14px; }
  .panel--wa, .panel--broadcast, .panel--summary { padding: 16px; }
  .panel--kds { grid-template-columns: 1fr 1fr; }
  .ticket { padding: 12px; }
  .ticket__item { font-size: 14px; }
  .summary__total { font-size: 36px; }
  .wa__in, .wa__out { font-size: 14px; }
  /* The counter has to give up detail to stay readable in a small frame. */
  .panel--pos { gap: 10px; }
  .postiles { gap: 6px; }
  .postile:nth-child(n+5) { display: none; }
  .postile { padding: 10px; gap: 4px; }
  .postile__name { font-size: 12px; line-height: 1.2; }
  .postile__price { font-size: 11px; }
  .poscart { padding: 10px; gap: 6px; }
  .poscart__label { font-size: 10px; }
  .poscart__line { font-size: 12px; gap: 8px; }
  .poscart__total { font-size: 15px; padding-top: 8px; }
  .poscart__charge { padding: 8px; font-size: 12px; }
  .wa__parsed { padding: 12px; gap: 6px; }
  .wa__parsed .kv { font-size: 12px; }
  .promo__art { height: 80px; }
  .summary__stat { padding: 10px; }
  .summary__statvalue { font-size: 18px; }
  .summary__stattext { font-size: 13px; margin-top: 4px; }
}

/* ══ FEATURES ═══════════════════════════════════════════════════════ */
.features { padding: 120px 32px; background: #FFF6F2; scroll-margin-top: 64px; }
.features__inner { display: flex; flex-direction: column; gap: 56px; }
.features__head { display: flex; flex-direction: column; gap: 16px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 48px 40px;
}
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: var(--commit-cream);
  color: var(--commit-purple);
}
.feature__title { font-size: 19px; font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); }
.feature__body { font-size: 15px; line-height: 1.5; color: var(--text-body); }

@media (max-width: 620px) {
  .features { padding: 80px 20px; }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .feature { gap: 10px; }
  .feature__icon { width: 38px; height: 38px; }
  .feature__title { font-size: 17px; }
  .feature__body { font-size: 14px; }
}

/* ══ INDUSTRIES ═════════════════════════════════════════════════════ */
.verticals { padding: 140px 32px; scroll-margin-top: 64px; }
.verticals__inner { display: flex; flex-direction: column; gap: 40px; }
.verticals__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tabs {
  display: flex; gap: 4px; padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(41, 31, 30, 0.08);
}
.tab {
  all: unset;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: var(--fw-semibold);
  color: var(--text-body);
  background: transparent;
  transition: all 0.25s var(--ease);
}
.tab[aria-selected="true"] { background: var(--commit-ink); color: #FFFFFF; }
.tab:focus-visible { outline: 2px solid var(--commit-purple); outline-offset: 2px; }

.app {
  display: flex; min-height: 440px;
  border-radius: 28px; background: #FFFFFF; overflow: hidden;
  box-shadow: 0 1px 2px rgba(41, 31, 30, 0.06), 0 40px 80px -40px rgba(41, 31, 30, 0.3);
}
.app__side { flex: 0 0 200px; background: #FBF7F3; padding: 24px 14px; display: flex; flex-direction: column; gap: 4px; }
.app__sidelogo { padding: 0 10px 18px; }
.app__nav {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px; font-weight: var(--fw-medium);
  color: var(--text-body);
}
.app__nav--on { background: #FFFFFF; color: var(--commit-purple); font-weight: var(--fw-semibold); }
.app__main { flex: 1; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.app__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app__title { font-size: 22px; font-weight: var(--fw-semibold); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.app__biz { font-size: 13px; color: var(--text-muted); }
.app__rows { display: flex; flex-direction: column; border-radius: var(--radius-xl); border: 1px solid #F1ECE6; overflow: hidden; }
.approw { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid #F7F3EF; }
.approw__at { flex: none; width: 72px; font-family: var(--font-mono); font-size: 13px; color: var(--commit-purple); }
.approw__body { flex: 1; min-width: 0; }
.approw__who { font-size: 15px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.approw__what { font-size: 13px; color: var(--text-muted); }
.app__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.app__tag {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--commit-cream);
  font-size: 13px; font-weight: var(--fw-medium);
  color: var(--commit-ink);
}

@media (max-width: 860px) {
  .verticals { padding: 100px 20px; }
  .app__side { display: none; }
  .app__main { padding: 20px; }
  .approw { gap: 10px; padding: 13px 14px; }
  .approw__at { width: 56px; }
}

/* ══ PILOT ══════════════════════════════════════════════════════════ */
.pilot { padding: 0 32px 140px; scroll-margin-top: 64px; }
.pilot__inner {
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 32px;
  background: var(--commit-purple); color: #FFFFFF;
}
.pilot__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pilot__title {
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 0.92;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.05em;
}
.pilot__sub { font-size: 18px; line-height: 1.55; color: var(--purple-100); max-width: 420px; }
.pilot__list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #FFFFFF; }
.pilot__item { display: flex; gap: 12px; align-items: center; }
.pilot__check {
  flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
}
/* The card keeps the light palette inside the purple panel. */
.pilot__card {
  flex: 1 1 360px; min-width: 0;
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: #FFFFFF; color: #1F1F1F;
  box-shadow: 0 40px 80px -30px rgba(20, 17, 15, 0.45);
  --surface-card: #FFFFFF;
  --surface-page: #FEE9E1;
  --text-strong: #1F1F1F;
  --text-body: #4B5563;
  --text-muted: #857B6F;
  --text-faint: #A39A8E;
  --border-soft: rgba(0,0,0,0.06);
  --border-default: #E5E0D8;
  --border-strong: #D8D2C8;
  --brand: #402BCA;
  --brand-hover: #5E47EC;
}
.pilot__cardtitle { font-size: 20px; font-weight: var(--fw-bold); letter-spacing: var(--tracking-tight); }
.pilot__cardbody { font-size: 15px; line-height: 1.6; color: var(--text-body); }
.pilot__note { font-size: 12px; line-height: 1.5; color: var(--text-muted); }

@media (max-width: 620px) {
  .pilot { padding: 0 20px 100px; }
  .pilot__card { padding: 22px; }
}

/* ══ FAQ ════════════════════════════════════════════════════════════ */
.faq { padding: 0 32px 140px; scroll-margin-top: 64px; }
.faq__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.faq__title {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.05em;
  text-align: center;
}
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid rgba(41, 31, 30, 0.12); }
.faq__q {
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-family: var(--font-sans);
  font-size: 19px; font-weight: var(--fw-semibold);
  color: var(--commit-ink);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--commit-purple); outline-offset: 4px; }
.faq__sign {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(41, 31, 30, 0.06);
  color: var(--commit-ink);
  font-size: 18px;
  transition: all var(--dur-base) var(--ease);
}
.faq__item[open] .faq__sign { background: var(--commit-ink); color: #FFFFFF; transform: rotate(45deg); }
.faq__a { padding: 0 52px 24px 0; font-size: 16px; line-height: 1.6; color: var(--text-body); }

@media (max-width: 620px) {
  .faq { padding: 0 20px 100px; }
  .faq__q { font-size: 17px; gap: 12px; }
  .faq__a { padding-right: 24px; }
}


/* ══ PHONE ══════════════════════════════════════════════════════════
   Section padding is trimmed to take length out of the scroll, and the
   anchor offset follows the taller sticky nav.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 620px) {
  section[id] { scroll-margin-top: 104px; }
  .ba { padding: 24px 20px 72px; }
  .ba__inner { gap: 28px; }
  .story { padding-bottom: 64px; }
  .features { padding: 64px 20px; }
  .features__inner { gap: 40px; }
  .verticals { padding: 72px 20px; }
  .verticals__inner { gap: 28px; }
  .tab { min-height: 44px; padding: 10px 16px; }
  .pilot { padding: 0 20px 72px; }
  .faq { padding: 0 20px 72px; }
  .faq__inner { gap: 28px; }
}
