@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  --paper: #eef1f4;
  --surface: #ffffff;
  --ink: #14171a;
  --steel: #55626d;
  --line: #d6dce2;
  --pulse: #e0491f;
  --pulse-deep: #c23a12;
  --ready: #1d8a5f;
  --wait: #a86a12;
  --night: #1b2026;
  --night-line: #2e353d;
  --night-text: #c3ccd4;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.01em; }

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

.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(238, 241, 244, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.lockup { display: block; width: 168px; height: auto; }
.lockup-link { display: block; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 16px; }
.site-nav a { text-decoration: none; color: var(--steel); }
.site-nav a:hover { color: var(--ink); }
.site-nav .button { color: #fff; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.button:hover { background: var(--pulse-deep); border-color: var(--pulse-deep); }
.button:active { transform: translateY(1px); }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--surface); border-color: var(--ink); }
.button.on-dark { background: #fff; color: var(--ink); border-color: #fff; }
.button.on-dark:hover { background: var(--pulse); border-color: var(--pulse); color: #fff; }
.site-nav .button { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 6.3vw, 92px); line-height: 0.88; text-transform: uppercase; letter-spacing: -0.015em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lede { margin-top: 28px; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); color: var(--steel); }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .proof { margin-top: 40px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--steel); max-width: 30em; }
.hero .proof svg { flex: none; }

/* Hero: the ticket board */
.board { position: relative; }
.pulse-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72px; pointer-events: none; }
.pulse-line polyline { fill: none; stroke: var(--pulse); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 4000; stroke-dashoffset: 4000; vector-effect: non-scaling-stroke; animation: draw 2.4s cubic-bezier(.6,.1,.2,1) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.ticket {
  position: relative; z-index: 1;
  background: var(--surface); border-radius: 18px;
  box-shadow: 0 1px 0 var(--line), 0 24px 60px -24px rgba(20, 23, 26, 0.28);
  padding: 22px 24px 44px; max-width: 440px;
}
.ticket-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket-number { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--steel); letter-spacing: 0.02em; }
.ticket-device { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.ticket-customer { margin-top: 6px; font-size: 15px; color: var(--steel); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; background: #fdeae3; color: var(--pulse-deep); transition: background 0.4s, color 0.4s; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill[data-tone="wait"] { background: #f8eedc; color: var(--wait); }
.status-pill[data-tone="ready"] { background: #dff1e8; color: var(--ready); }

.track { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.track li { font-size: 13px; color: var(--steel); line-height: 1.25; }
.track li::before { content: ""; display: block; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 8px; transition: background 0.4s; }
.track li.done::before { background: var(--ink); }
.track li.current { color: var(--ink); font-weight: 600; }
.track li.current::before { background: var(--pulse); }

.ticket-meta { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; }
.ticket-meta dt { color: var(--steel); }
.ticket-meta dd { margin: 0; font-weight: 600; }

.phone {
  position: relative; z-index: 2;
  width: 250px; margin: -28px -12px 0 auto;
  background: var(--ink); border-radius: 34px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(20, 23, 26, 0.45);
}
.phone-screen { background: #f7f8fa; border-radius: 26px; padding: 16px 12px 18px; min-height: 236px; display: flex; flex-direction: column; gap: 8px; }
.phone-example { align-self: stretch; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--pulse-deep); background: #fbe9e3; border-radius: 8px; padding: 5px 8px; }
.phone-from { text-align: center; font-size: 12px; color: var(--steel); margin-bottom: 6px; }
.phone-from strong { display: block; color: var(--ink); font-size: 13px; }
.bubble { align-self: flex-start; max-width: 92%; background: #e3e7eb; border-radius: 18px 18px 18px 6px; padding: 9px 12px; font-size: 13.5px; line-height: 1.35; }
.bubble.new { animation: bubble-in 0.45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } }

/* Capability marquee */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee { display: flex; width: max-content; padding: 20px 0; font-size: 16px; color: var(--steel); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; animation: marquee 48s linear infinite; }
.marquee-track li { display: flex; align-items: center; white-space: nowrap; padding: 0 22px; }
.marquee-track li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pulse); margin-left: 44px; }
.marquee-track strong { color: var(--ink); font-weight: 600; margin-right: 0.3em; }
.strip:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Section scaffolding */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-head { max-width: 760px; }
.section-head h2 { font-size: clamp(42px, 5.6vw, 76px); text-transform: uppercase; }
.section-head p { margin-top: 20px; font-size: clamp(18px, 1.5vw, 20px); color: var(--steel); max-width: 36em; }

/* Journey */
.journey { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.journey li { position: relative; padding: 26px 22px 0 0; counter-increment: step; }
.journey li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--pulse); margin-bottom: 14px; }
.journey li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.journey h3 { font-size: 30px; text-transform: uppercase; }
.journey p { margin-top: 10px; font-size: 16px; color: var(--steel); }

/* Capabilities */
.capabilities { background: var(--surface); }
.cap-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 48px; }
.cap { grid-column: span 4; }
.cap.wide { grid-column: span 6; }
.cap-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; margin-bottom: 20px; }
.cap-icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cap h3 { font-size: 32px; text-transform: uppercase; }
.cap > p { margin-top: 10px; color: var(--steel); font-size: 17px; }
.cap ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; font-size: 16px; }
.cap li { position: relative; padding-left: 22px; }
.cap li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--pulse); }

/* Flux */
.flux { background: var(--night); color: #fff; overflow: hidden; }
.flux .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.flux .section-head p { color: var(--night-text); }
.flux-points { margin-top: 36px; display: grid; gap: 22px; }
.flux-points div { border-left: 2px solid var(--pulse); padding-left: 18px; }
.flux-points strong { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.01em; }
.flux-points span { display: block; margin-top: 4px; color: var(--night-text); font-size: 16px; }

.chat { background: #232930; border: 1px solid var(--night-line); border-radius: 22px; padding: 22px; display: grid; gap: 14px; font-size: 15.5px; }
.chat-name { font-size: 13px; color: var(--night-text); margin-bottom: 4px; }
.chat-you { justify-self: end; max-width: 86%; background: #fff; color: var(--ink); border-radius: 18px 18px 6px 18px; padding: 11px 15px; }
.chat-flux { max-width: 94%; }
.chat-flux p { color: #e8edf1; }
.proposal { margin-top: 12px; background: var(--night); border: 1px solid var(--night-line); border-radius: 14px; overflow: hidden; }
.proposal-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border-top: 1px solid var(--night-line); font-size: 14px; }
.proposal-row:first-child { border-top: 0; }
.proposal-row b { font-weight: 600; color: #fff; }
.proposal-row small { grid-column: 1 / -1; color: var(--night-text); font-size: 13px; }
.proposal-row em { font-style: normal; color: var(--night-text); }
.proposal-actions { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--night-line); }
.proposal-actions span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid var(--night-line); color: var(--night-text); }
.proposal-actions span.apply { background: var(--pulse); border-color: var(--pulse); color: #fff; }

.flux-try { margin-top: 32px; }
.contact .demo-link { color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* Texting */
.texting .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.rules { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule dt { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.1; }
.rule dd { margin: 0; color: var(--steel); font-size: 16px; }
.consent { margin-top: 28px; background: var(--surface); border-radius: 14px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; border: 1px solid var(--line); }
.consent .box { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--surface); border: 2px solid var(--steel); margin-top: 1px; }
.consent-note { margin-top: 10px; font-size: 14px; color: var(--steel); }

/* Integration */
.integration { background: var(--surface); }
.integration-grid { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
.fit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fit-list div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.fit-list strong { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; }
.fit-list span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--steel); }
.rollout { padding: 28px; background: var(--paper); border-radius: 20px; align-self: start; }
.rollout ol { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 26px; counter-reset: roll; }
.rollout-title { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; }
.rollout li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: roll; }
.rollout li::before { content: counter(roll); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; }
.rollout strong { display: block; font-weight: 600; font-size: 17px; }
.rollout span { display: block; margin-top: 2px; color: var(--steel); font-size: 15.5px; }

/* Shops */
.shops .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.shops .section-head { grid-column: 1 / -1; }
.shop-point h3 { font-size: 28px; text-transform: uppercase; }
.shop-point p { margin-top: 10px; color: var(--steel); font-size: 16.5px; }
.shop-point { border-top: 2px solid var(--ink); padding-top: 22px; }

/* Contact */
.contact { background: var(--pulse); color: #fff; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.contact h2 { font-size: clamp(52px, 7.6vw, 104px); text-transform: uppercase; line-height: 0.88; }
.contact .intro { margin-top: 22px; font-size: 20px; max-width: 30em; color: #fff3ee; }
.contact-card { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 28px; display: grid; gap: 16px; }
.contact-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-card input, .contact-card textarea, .contact-card select {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 14px;
}
.contact-card textarea { min-height: 110px; resize: vertical; }
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact-card .button { width: 100%; }
.contact-card .fine { font-size: 13.5px; color: var(--steel); }
.contact-card .fine a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: var(--night-text); padding: 56px 0 40px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.site-footer .lockup { width: 150px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-footer a { text-decoration: none; color: #fff; }
.site-footer a:hover { color: var(--pulse); }
.footer-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--night-line); }
.made-by a { font-weight: 600; }
.footer-identity { grid-column: 1 / -1; font-size: 14px; line-height: 1.6; }
.site-footer .footer-identity a { color: var(--night-text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-identity a:hover { color: var(--pulse); }

/* Legal pages */
.doc { padding: clamp(48px, 7vw, 96px) 0; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(48px, 7vw, 84px); text-transform: uppercase; }
.doc .effective { margin-top: 14px; color: var(--steel); font-size: 16px; }
.doc .summary { margin-top: 32px; background: var(--surface); border-left: 3px solid var(--pulse); border-radius: 0 14px 14px 0; padding: 20px 22px; font-size: 17px; }
.doc section { margin-top: 44px; scroll-margin-top: 90px; }
.doc h2 { font-size: 32px; text-transform: uppercase; }
.doc section p, .doc section li { margin-top: 12px; font-size: 17px; max-width: 40em; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc h3 { margin-top: 32px; font-size: 24px; text-transform: uppercase; scroll-margin-top: 90px; }
.doc .identity { margin-top: 16px; background: var(--surface); border-radius: 14px; padding: 18px 22px; display: grid; gap: 6px; }
.doc .identity p { margin-top: 0; font-size: 16px; }

/* Opt-in examples */
.example-card { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 16px; }
.example-tag { justify-self: start; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pulse-deep); background: #fbe9e3; border-radius: 999px; padding: 4px 12px; }
.example-card .field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.example-card .field input { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 14px; }
.example-card .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.example-card .check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.example-card .button[disabled] { opacity: 0.55; cursor: not-allowed; }
.example-card .button[disabled]:hover { background: var(--ink); border-color: var(--ink); }
.doc .example-card p { margin-top: 0; font-size: 14.5px; color: var(--steel); }
.sample-details { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sample-details dt { font-size: 13px; color: var(--steel); }
.sample-details dd { margin: 0; font-weight: 600; }
.signature-box { height: 110px; border: 1px dashed var(--steel); border-radius: 12px; display: grid; place-items: center; color: var(--steel); font-size: 14px; }

/* Motion and effects */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 20; background: linear-gradient(90deg, var(--pulse), #ff8a63); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.55; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.glow-a { width: 520px; height: 520px; right: -80px; top: -60px; background: radial-gradient(circle, rgba(224, 73, 31, 0.45), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.glow-b { width: 460px; height: 460px; right: 22%; bottom: -160px; background: radial-gradient(circle, rgba(88, 132, 170, 0.35), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.12); } }
.hero .wrap { position: relative; }

.headline .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.headline .line > span { display: block; }
.js .headline .line > span { transform: translateY(105%); animation: rise 0.9s cubic-bezier(.2,.8,.2,1) forwards; }
.js .headline .line:nth-child(2) > span { animation-delay: 0.08s; }
.js .headline .line:nth-child(3) > span { animation-delay: 0.16s; }
@keyframes rise { to { transform: none; } }
.js .intro-fade { opacity: 0; animation: fade-in 0.8s ease 0.45s forwards; }
.js .board { opacity: 0; animation: board-in 1s cubic-bezier(.2,.8,.2,1) 0.25s forwards; }
@keyframes fade-in { to { opacity: 1; } }
@keyframes board-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }

.board { perspective: 1200px; }
.board-inner { transform-style: preserve-3d; transition: transform 0.25s ease-out; transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
.board-inner .phone { transform: translateZ(40px); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.cap-grid .reveal:nth-child(3n+2) { transition-delay: 0.08s; }
.cap-grid .reveal:nth-child(3n) { transition-delay: 0.16s; }

.journey-rail { margin-top: 64px; height: 2px; background: var(--line); position: relative; }
.journey-rail span { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; }
.journey { margin-top: 0; border-top: 0; }
@supports (animation-timeline: view()) {
  .journey-rail span { transform: scaleX(0); animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
}
.journey li::before { transition: color 0.4s; }

.card { position: relative; padding: 28px; border-radius: 22px; background: var(--paper); border: 1px solid transparent; isolation: isolate; overflow: hidden; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, border-color 0.35s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(224, 73, 31, 0.13), transparent 60%); opacity: 0; transition: opacity 0.35s; }
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 24px 48px -28px rgba(20, 23, 26, 0.35); }
.card:hover::before { opacity: 1; }
.card .cap-icon { background: var(--surface); box-shadow: 0 1px 0 var(--line); transition: background 0.3s, transform 0.4s cubic-bezier(.2,.8,.2,1); }
.card:hover .cap-icon { background: var(--ink); transform: rotate(-6deg) scale(1.06); }
.card:hover .cap-icon svg { stroke: #fff; }
.cap-grid { gap: 24px; }

.flux { position: relative; }
.flux::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px circle at var(--flux-x, 75%) var(--flux-y, 40%), rgba(224, 73, 31, 0.16), transparent 60%); pointer-events: none; }
.flux .wrap { position: relative; }
.chat { position: relative; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.chat::before { content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: conic-gradient(from var(--spin), transparent 0 70%, var(--pulse) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 5s linear infinite; pointer-events: none; }
@keyframes spin { to { --spin: 360deg; } }
.typing { display: none; gap: 5px; padding: 10px 2px; }
.typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--night-text); animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.js .chat[data-stage] .chat-you, .js .chat[data-stage] .chat-flux, .js .chat[data-stage] .proposal-row, .js .chat[data-stage] .proposal-actions { opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.5s cubic-bezier(.2,.8,.2,1); }
.js .chat[data-stage="typing"] .typing { display: flex; }
.js .chat .shown { opacity: 1 !important; transform: none !important; }
.proposal-actions .apply { position: relative; }
.chat[data-stage="done"] .proposal-actions .apply { animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(224, 73, 31, 0.6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(224, 73, 31, 0); } }

.consent { transition: transform 0.3s, box-shadow 0.3s; }
.consent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(20, 23, 26, 0.3); }
.rule { transition: padding-left 0.3s; }
.rule:hover { padding-left: 10px; }
.rule:hover dt { color: var(--pulse-deep); }

.fit-list div { transition: background 0.3s, padding-left 0.3s; }
.fit-list div:hover { padding-left: 12px; background: linear-gradient(90deg, var(--paper), transparent); }

.contact { position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: -40%; background: conic-gradient(from var(--spin) at 30% 50%, #e0491f, #c23a12, #ff6a3d, #e0491f); animation: spin 18s linear infinite; filter: blur(40px); opacity: 0.9; }
.contact .wrap { position: relative; }
.contact-card { box-shadow: 0 40px 80px -30px rgba(80, 20, 4, 0.55); }

.button { position: relative; overflow: hidden; }
.button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.6s; }
.button:hover::after { transform: translateX(120%); }

/* Responsive */
@media (max-width: 1020px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 0 32px; }
  .journey li { border-top: 2px solid var(--ink); padding-bottom: 36px; }
  .journey-rail { display: none; }
  .journey { margin-top: 56px; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .cap, .cap.wide { grid-column: auto; }
  .shops .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 880px) {
  .site-nav a:not(.button) { display: none; }
  .hero .wrap, .flux .wrap, .texting .wrap, .integration-grid, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .board { max-width: 460px; }
  .phone { margin-right: 0; }
  .hero .proof { max-width: none; }
  .rule { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .card { padding: 22px; }
  .glow-a { width: 340px; height: 340px; }
  .marquee { font-size: 15px; }
  .lockup { width: 140px; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .cap-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .fit-list { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 220px; }
  .site-nav .button { padding: 0 14px; font-size: 14px; }
  .track li { font-size: 12px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .contact-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .intro-fade, .js .board, .js .headline .line > span { opacity: 1; transform: none; }
  .js .chat[data-stage] .chat-you, .js .chat[data-stage] .chat-flux, .js .chat[data-stage] .proposal-row, .js .chat[data-stage] .proposal-actions { opacity: 1; transform: none; }
  .progress { display: none; }
  .pulse-line polyline { animation: none; stroke-dashoffset: 0; }
  .bubble.new { animation: none; }
  .status-pill, .track li::before { transition: none; }
}

/* Printed, the homepage doubles as a leave-behind brochure. */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .skip, .contact-card, .hero .actions, .pulse-line, .progress, .hero-bg, .contact-bg, .typing, .journey-rail { display: none !important; }
  .reveal, .intro-fade, .board, .headline .line > span, .chat * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .marquee-track[aria-hidden] { display: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .marquee { width: auto; -webkit-mask-image: none; mask-image: none; }
  .section, .hero { padding: 10mm 0; }
  .flux, .contact, .site-footer { background: #fff !important; color: var(--ink) !important; }
  .flux .section-head p, .flux-points span, .contact .intro, .site-footer { color: var(--steel) !important; }
  .chat { background: #fff; border-color: var(--line); }
  .chat-flux p, .proposal-row b { color: var(--ink); }
  .proposal { background: #fff; border-color: var(--line); }
  .proposal-row { border-color: var(--line); }
  .site-footer a { color: var(--ink); }
  .footer-base { border-color: var(--line); }
  .journey li, .cap, .shop-point, .rule, .rollout li, .fit-list div { break-inside: avoid; }
  .print-contact { display: block !important; }
  a[href^="http"]::after { content: ""; }
}
.print-contact { display: none; margin-top: 18px; font-size: 14pt; font-weight: 600; }
