/* Flare: custom CRMs & business apps
   Editorial "paper" design system: Inter Tight (display), Inter (text), Geist Mono (labels).
   One accent colour (orange). Everything else is ink on paper. */

:root {
  --paper: #F4F3EF;
  --paper-2: #ECEAE4;
  --surface: #FBFBF9;
  --white: #FFFFFF;
  --ink: #131312;
  --ink-2: #3A3A37;
  --muted: #6E6D68;
  --faint: #9B9A94;
  --ghost: #C9C7C0;
  --line: rgba(19, 19, 18, .10);
  --line-2: rgba(19, 19, 18, .18);

  --sig: #C2410C;            /* orange for text on paper (AA) */
  --sig-hi: #FF7A00;         /* bright orange: icons, dots, highlights */
  --sig-deep: #9A3412;
  --sig-tint: #FBE8DB;
  --sig-dim: rgba(255, 122, 0, .22);

  /* aliases kept for older inline styles */
  --orange: var(--sig-hi);
  --orange-ink: var(--sig);
  --dark-line: var(--line-2);

  --display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 14px;
  --r-sm: 9px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --t-press: .14s;
  --t-hover: .2s;
  --t-ui: .24s;
  --t-enter: .6s;
  --rise: 14px;
  --stagger: 60ms;

  --sh-1: 0 1px 2px rgba(19, 19, 18, .05);
  --sh-2: 0 1px 2px rgba(19, 19, 18, .05), 0 10px 30px -12px rgba(19, 19, 18, .16);
  --sh-3: 0 2px 6px rgba(19, 19, 18, .05), 0 30px 60px -24px rgba(19, 19, 18, .22);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .07 0 0 0 0 .07 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.006em;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ghost); text-underline-offset: 3px; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sig-dim); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 600; letter-spacing: -.018em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 4.7vw, 68px); line-height: 1.02; letter-spacing: -.024em; }
h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -.02em; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
strong, b { font-weight: 600; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(var(--max), 100% - var(--pad) * 2); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }

/* Highlighter mark on key words: draws in when the section appears */
.hl {
  color: inherit;
  background: linear-gradient(transparent 62%, var(--sig-dim) 62%) no-repeat 0 0 / 0% 100%;
  transition: background-size .8s var(--ease-out) .35s;
  padding: 0 .04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.reveal.in .hl, .no-js .hl, .page-hero .hl { background-size: 100% 100%; }
.hero .hl { animation: markIn .9s var(--ease-out) .55s both; background-size: 100% 100%; }
@keyframes markIn { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

/* ---------- Header: full-width bar that floats into a pill on scroll ---------- */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; }
.nav {
  pointer-events: auto; position: relative;
  width: min(var(--max), 100% - var(--pad) * 2); height: 56px; margin-inline: auto;
  display: flex; align-items: center; gap: 28px; padding: 0 8px 0 4px; border-radius: 999px;
  transition: width .38s var(--ease-in-out), padding .38s var(--ease-in-out), background-color var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.site-header.scrolled .nav {
  width: min(900px, 100% - 24px); padding: 0 6px 0 18px;
  background: rgba(251, 251, 249, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), 0 12px 32px -16px rgba(19, 19, 18, .25);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo svg { width: 27px; height: 22px; flex: none; }
.logo small { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 2px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(19, 19, 18, .06); }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.menu-toggle:hover { background: rgba(19, 19, 18, .06); }
@media (min-width: 1081px) { .nav-links .btn { display: none; } }
@media (max-width: 440px) { .logo small { display: none; } }
@media (max-width: 1080px) {
  .nav { gap: 8px; }
  .site-header .nav, .site-header.scrolled .nav { width: calc(100% - 24px); padding: 0 6px 0 16px; background: rgba(251, 251, 249, .94); box-shadow: 0 0 0 1px var(--line), 0 12px 32px -16px rgba(19, 19, 18, .25); }
  .nav .logo { margin-right: auto; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; gap: 0; padding: 8px 18px 18px; margin: 0;
    background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--line), var(--sh-3);
  }
  .nav-links.open { display: flex; animation: enter .3s var(--ease-out) both; }
  .nav-links a:not(.btn) { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
  .nav-links .btn { margin-top: 16px; justify-content: space-between; padding-left: 22px; }
  .nav .btn-nav .label-long { display: none; }
}

/* ---------- Buttons: ink pill with an orange arrow disc ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 22px;
  border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; text-decoration: none;
  font-family: var(--text); font-size: 15px; font-weight: 500; letter-spacing: -.006em;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.btn:active { transform: scale(.97); }
.btn-primary, .btn-dark { background: var(--ink); color: var(--paper); }
.btn-primary:hover, .btn-dark:hover { background: #262624; color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); padding: 0 22px; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.btn .arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sig-hi); color: var(--ink); font-size: 15px; line-height: 1; transition: transform var(--t-ui) var(--ease-out); flex: none; }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(3px) rotate(-45deg); }
.btn-ghost .arrow { background: var(--ink); color: var(--paper); margin-right: -14px; }
.btn-primary:not(:has(.arrow)), .btn-dark:not(:has(.arrow)) { padding: 0 22px; }
.btn-sm { height: 40px; padding: 0 6px 0 16px; font-size: 14px; }
.btn-sm .arrow { width: 28px; height: 28px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .6; cursor: progress; }
@media (max-width: 480px) { .cta-row .btn { width: 100%; justify-content: space-between; } .cta-row .btn-ghost { justify-content: center; } }

/* Text link with growing underline */
.more, .table-note a, .section-head p a {
  color: var(--ink); font-weight: 500; text-decoration: none; position: relative; display: inline-flex; gap: 6px;
}
.more::after, .table-note a::after, .section-head p a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform-origin: 0; transform: scaleX(.25); opacity: .5; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.more:hover::after, a:hover .more::after, .table-note a:hover::after, .section-head p a:hover::after { transform: scaleX(1); opacity: 1; }

/* ---------- Sections ---------- */
section { padding: 128px 0 104px; position: relative; }
@media (max-width: 720px) { section { padding: 88px 0 72px; } }
.section-tight { padding: 88px 0; }
main > section:first-child { padding-top: 140px !important; }
@media (max-width: 720px) { main > section:first-child { padding-top: 112px !important; } }

/* Mono label with a hairline that runs to the edge: "01  The real problem ————" */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 40px;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); transform-origin: 0; transition: transform .7s var(--ease-out) .1s; }
.reveal:not(.in) .eyebrow::after, .eyebrow.reveal:not(.in)::after { transform: scaleX(0); }
.eyebrow .num { color: var(--ink); font-weight: 500; }
.hero .eyebrow, .page-hero .eyebrow, .split .eyebrow { display: inline-flex; margin-bottom: 28px; }
.hero .eyebrow::after, .page-hero .eyebrow::after, .split .eyebrow::after { display: none; }
.hero .eyebrow::before, .page-hero .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sig-hi); box-shadow: 0 0 0 4px var(--sig-dim); }

.section-head { max-width: none; margin-bottom: 56px; }
.section-head h2 { max-width: 880px; }
.section-head.center h2, .section-head.center .lead { margin-inline: auto; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { max-width: none; }
.lead { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 680px; }
.answer { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 720px; padding: 2px 0 2px 18px; border-left: 2px solid var(--sig-hi); margin: 0 0 1.4em; }

/* Former dark bands are now soft paper bands with a fade at the edges */
.dark, .tinted { background: linear-gradient(180deg, rgba(236, 234, 228, 0), var(--paper-2) 120px, var(--paper-2) calc(100% - 120px), rgba(236, 234, 228, 0)); }

/* ---------- Hero ---------- */
.hero { padding: 148px 0 96px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(255, 122, 0, .13), transparent 70%),
    radial-gradient(45% 50% at 10% 0%, rgba(255, 255, 255, .75), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0 0 auto; height: min(100%, 860px); z-index: -2; pointer-events: none;
  background-image: var(--grain); opacity: .22; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 28px; }
.hero .lead { max-width: 600px; margin-bottom: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 36px; }
.proof-line { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.proof-line li { display: inline-flex; align-items: center; gap: 8px; }
.proof-line li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sig-hi); }

/* Hero entrance: staggered rise on load */
.hero .eyebrow, .hero h1, .hero .lead, .hero .cta-row, .hero .proof-line, .hero .board, .page-hero .eyebrow, .page-hero h1, .page-hero .lead, .page-hero .updated, .page-hero .cta-row {
  animation: enter var(--t-enter) var(--ease-out) both;
}
.hero h1, .page-hero h1 { animation-delay: 60ms; }
.hero .lead, .page-hero .lead { animation-delay: 120ms; }
.hero .cta-row, .page-hero .cta-row, .page-hero .updated { animation-delay: 180ms; }
.hero .proof-line { animation-delay: 240ms; }
.hero .board { animation-delay: 200ms; --rise: 20px; }
@keyframes enter { from { opacity: 0; transform: translateY(var(--rise)); } to { opacity: 1; transform: none; } }
/* Safety net: once the page has settled, show hero content even if a browser never ran the entrance animation */
.settled :is(.hero, .page-hero) :not(.pulse) { animation: none !important; }

/* Hero visual: sample board */
.board { background: var(--white); border-radius: 20px; box-shadow: 0 0 0 1px var(--line), var(--sh-3); overflow: hidden; }
.board-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.board-title { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.board-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.board-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.board-stats div { padding: 14px 18px; border-right: 1px solid var(--line); }
.board-stats div:last-child { border-right: 0; }
.board-stats b { display: block; font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: -.05em; line-height: 1; margin-bottom: 6px; }
.board-stats span { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: var(--surface); }
.col h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 10px; display: flex; justify-content: space-between; }
.card { background: var(--white); border-radius: 10px; box-shadow: 0 0 0 1px var(--line), var(--sh-1); padding: 10px 11px; margin-bottom: 8px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.card b { display: block; font-size: 13px; color: var(--ink); margin-bottom: 3px; font-weight: 600; }
.card .meta { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.chip.src { background: var(--sig-tint); color: var(--sig-deep); }
.chip.due { background: #F6EFD9; color: #6B5300; }
.chip.ok { background: #E4EFE7; color: #1E5E3A; }
.card.hot { box-shadow: 0 0 0 1.5px var(--sig-hi), 0 6px 18px -8px rgba(255, 122, 0, .45); }
.board-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--sig-hi); box-shadow: 0 0 0 0 rgba(255, 122, 0, .55); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 122, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 0, 0); } }
@media (max-width: 560px) {
  .board-cols { grid-template-columns: 1fr 1fr; }
  .board-cols .col:nth-child(3) { display: none; }
  .board-stats div { padding: 12px; }
  .board-stats b { font-size: 24px; }
}

/* ---------- Grids & tiles ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.tile { background: var(--surface); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line), var(--sh-1); padding: 26px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin: 0; }
.tile .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--ink); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.tile .icon svg { width: 20px; height: 20px; }
a.tile { display: block; color: inherit; text-decoration: none; transition: box-shadow var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
a.tile:hover { box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); transform: translateY(-2px); }
a.tile:hover .icon { background: var(--sig-tint); color: var(--sig-deep); }
.tile .more { margin-top: 16px; font-size: 14.5px; }
.tile.featured { box-shadow: 0 0 0 1.5px var(--ink), var(--sh-2); }

.symptom { display: flex; gap: 14px; align-items: flex-start; }
.symptom .x { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--sig); box-shadow: inset 0 0 0 1px var(--sig-dim); background: var(--sig-tint); margin-top: 2px; }
.symptom h3 { font-size: 18px; margin-bottom: 6px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--sh-1); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; color: var(--ink); width: 22%; }
.compare td { color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .us { background: var(--white); color: var(--ink); font-weight: 500; box-shadow: inset 1px 0 0 var(--line), inset -1px 0 0 var(--line); }
.compare thead .us { color: var(--ink); font-weight: 500; }
.compare thead .us::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sig-hi); margin-right: 8px; vertical-align: 1px; }
.table-note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; border-top: 1px solid var(--line-2); padding: 22px 0 32px; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--ink); transform-origin: 0; transform: scaleX(0); transition: transform .9s var(--ease-out) .2s; }
.step.in::before, .no-js .step::before { transform: scaleX(1); }
.step .when { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.step .n { font-family: var(--mono); font-size: 11px; color: var(--ink); position: absolute; top: 22px; right: 0; }
.step h3 { font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -.025em; margin: 0 0 10px; padding-right: 0; }
.step p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 430px; }
.step .when { padding-right: 28px; }

/* ---------- Module list ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.modules > div { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--line); }
.modules > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.modules h3 { font-size: 19px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.modules h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sig-hi); flex: none; }
.modules p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 1000px) {
  .modules { grid-template-columns: 1fr 1fr; }
  .modules > div { padding: 24px 24px 24px 0 !important; border-left: 0 !important; }
  .modules > div:nth-child(2n) { padding-left: 24px !important; border-left: 1px solid var(--line) !important; }
}
@media (max-width: 640px) { .modules { grid-template-columns: 1fr; } .modules > div, .modules > div:nth-child(2n) { padding: 22px 0 !important; border-left: 0 !important; } }

/* ---------- Integrations ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-pill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.logo-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--sig-hi); display: inline-block; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: f; border-top: 1px solid var(--line-2); }
.flow div { position: relative; padding: 22px 18px 24px 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.flow div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.flow div b { display: block; font-family: var(--display); color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.flow div::before { counter-increment: f; content: "0" counter(f); font-family: var(--mono); font-size: 11px; color: var(--muted); display: block; margin-bottom: 16px; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(3, 1fr); } .flow div:nth-child(4) { padding-left: 0; border-left: 0; } .flow div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr 1fr; } .flow div { padding-left: 0 !important; border-left: 0 !important; } .flow div:nth-child(2n) { padding-left: 16px !important; border-left: 1px solid var(--line) !important; } .flow div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Offer: receipt card ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 440px; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 1000px) { .offer-grid { grid-template-columns: 1fr; } }
.ticket { position: relative; background: var(--white); color: var(--ink); border-radius: 4px; box-shadow: var(--sh-3); margin: 12px 0; filter: drop-shadow(0 1px 0 var(--line)); }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background-size: 14px 12px; background-repeat: repeat-x; }
.ticket::before { top: -11px; background-image: radial-gradient(circle at 7px 0, transparent 5px, var(--white) 5.6px); }
.ticket::after { bottom: -11px; background-image: radial-gradient(circle at 7px 100%, transparent 5px, var(--white) 5.6px); }
.ticket-head { padding: 26px 28px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px dashed var(--line-2); }
.ticket-head b { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.ticket-head span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.ticket-body { padding: 6px 28px 0; }
.ticket ul { list-style: none; padding: 0; margin: 0; }
.ticket li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.ticket li span:last-child { font-family: var(--mono); font-size: 12px; color: var(--sig); }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 28px 0; padding: 18px 0 8px; border-top: 1.5px solid var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ticket-total b { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -.04em; color: var(--sig); text-transform: none; line-height: 1; }
.ticket-foot { padding: 6px 28px 26px; font-size: 13px; color: var(--muted); margin: 0; }
.ticket.in li { animation: enter .42s var(--ease-out) both; --rise: 6px; }
.ticket.in li:nth-child(2) { animation-delay: 70ms; } .ticket.in li:nth-child(3) { animation-delay: 140ms; } .ticket.in li:nth-child(4) { animation-delay: 210ms; } .ticket.in li:nth-child(5) { animation-delay: 280ms; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type, .faq h2.cat + details { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.7vw, 21px); letter-spacing: -.02em; color: var(--ink); transition: color var(--t-hover) ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink-2); }
.faq .a { padding: 0 48px 26px 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 760px; }
.faq details[open] .a { animation: enter .35s var(--ease-out) both; --rise: 6px; }
.faq .a p:last-child { margin-bottom: 0; }
.faq h2.cat { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 64px 0 0; padding-bottom: 14px; }
.faq h2.cat:first-child { margin-top: 0; }

/* ---------- Fit ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }
.fit .tile ul { margin: 6px 0 0; padding: 0; list-style: none; }
.fit .tile li { padding: 11px 0 11px 30px; position: relative; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 15.5px; }
.fit .tile li:last-child { border-bottom: 0; }
.fit .yes li::before { content: "✓"; position: absolute; left: 2px; top: 11px; color: var(--sig); font-weight: 600; }
.fit .no li::before { content: "×"; position: absolute; left: 3px; top: 9px; color: var(--faint); font-size: 18px; }

/* ---------- Closing CTA ---------- */
.cta-band { text-align: center; padding: 140px 0 120px; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 55% at 50% 62%, rgba(255, 122, 0, .13), transparent 70%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--grain); opacity: .25; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent); }
.cta-band h2 { max-width: 860px; margin-inline: auto; }
.cta-band p { color: var(--ink-2); max-width: 600px; margin: 0 auto 34px; font-size: clamp(17px, 1.5vw, 19px); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 148px 0 72px; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 70% at 85% 0%, rgba(255, 122, 0, .11), transparent 70%), radial-gradient(45% 60% at 5% 0%, rgba(255, 255, 255, .7), transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: var(--grain); opacity: .28; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 60px); max-width: 940px; }
.page-hero .lead { max-width: 720px; }
.crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; color: var(--ghost); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose li { margin-bottom: .45em; }
.updated { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0; }
.callout { background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: var(--r); padding: 20px 22px; margin: 1.8em 0; }
.callout p:last-child { margin: 0; }

/* Glossary */
.glossary-index { display: flex; flex-direction: column; gap: 2px; margin: 0 0 28px; padding: 0; list-style: none; }
.glossary-index a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink-2); font-size: 14.5px; border-bottom: 1px solid var(--line); }
.glossary-index a:hover { color: var(--ink); }
.glossary dl { margin: 0; }
.glossary .term { padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.glossary dt { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.glossary dt .aka { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.glossary dt a.anchor { font-family: var(--mono); font-size: 13px; color: var(--ghost); text-decoration: none; opacity: 0; transition: opacity var(--t-hover) ease; }
.glossary .term:hover a.anchor, .glossary dt a.anchor:focus-visible { opacity: 1; }
.glossary dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 720px; }
.glossary dd p:last-child { margin-bottom: 0; }
.glossary .ex { font-size: 14.5px; color: var(--muted); }
.glossary-group { font-family: var(--mono); font-size: 12px !important; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 64px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.glossary-group:first-of-type { margin-top: 0; }

/* ---------- Two-column ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr !important; } }
.sticky-side { position: sticky; top: 104px; }
@media (max-width: 900px) { .sticky-side { position: static; } }

/* ---------- Booking form ---------- */
.form-card { background: var(--white); border-radius: 20px; box-shadow: 0 0 0 1px var(--line), var(--sh-3); padding: 32px; }
@media (max-width: 520px) { .form-card { padding: 24px 18px; } }
.progress { display: flex; gap: 6px; margin-bottom: 12px; }
.progress span { flex: 1; height: 3px; border-radius: 999px; background: var(--line); transition: background .3s ease; }
.progress span.on { background: var(--ink); }
.step-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.form-step { display: none; }
.form-step.active { display: block; animation: enter .4s var(--ease-out) both; --rise: 8px; }
.form-step h2 { font-size: 26px; letter-spacing: -.025em; margin-bottom: 6px; }
.form-step > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 500; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); letter-spacing: -.006em;
  padding: 13px 14px; border: 0; border-radius: 10px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--t-hover) ease, background-color var(--t-hover) ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px var(--sig-dim); }
.field.invalid input, .field.invalid select, .field.invalid textarea { box-shadow: inset 0 0 0 1.5px #B42318; }
.field .err { display: none; color: #B42318; font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 14px; cursor: pointer; margin: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--t-hover) ease, background-color var(--t-hover) ease; }
.choices label:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.choices input { accent-color: var(--ink); margin: 0; }
.choices label:has(input:checked) { background: var(--ink); color: var(--paper); box-shadow: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin: 8px 0 20px; line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.form-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 10px; }
.form-nav .btn-primary { flex: 1; justify-content: space-between; }
.form-nav .btn-primary:not(:has(.arrow)) { justify-content: center; }
.form-status { margin: 14px 0 0; font-size: 14px; color: var(--muted); min-height: 1.2em; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.call-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line-2); }
.call-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.call-list .n { flex: none; font-family: var(--mono); font-size: 11px; color: var(--ink); width: 22px; padding-top: 4px; }
.call-list b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.02em; margin-bottom: 2px; }
.call-list span { color: var(--ink-2); font-size: 15px; }

.embed-box { background: var(--white); border-radius: 20px; box-shadow: 0 0 0 1px var(--line), var(--sh-2); overflow: hidden; }
.embed-box iframe { width: 100%; height: 720px; border: 0; display: block; }
.fallback { padding: 32px; }
.fallback h2 { letter-spacing: -.025em; }

/* ---------- Footer with faded wordmark ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 96px 0 0; overflow: hidden; font-size: 14.5px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.site-footer .logo { color: var(--ink); }
.site-footer h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 4px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer li:has(> [hidden]) { display: none; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer a.btn { color: var(--paper); }
.foot-tag { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); max-width: 320px; margin: 18px 0 22px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 72px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-bottom a { color: var(--muted); }
.foot-word {
  font-family: var(--display); font-weight: 600; letter-spacing: -.06em; line-height: .8; white-space: nowrap; text-align: center;
  font-size: clamp(72px, 19vw, 300px); margin: 12px 0 -.1em;
  color: transparent; background: linear-gradient(180deg, var(--ink) 25%, rgba(19, 19, 18, .12)); -webkit-background-clip: text; background-clip: text;
  user-select: none; -webkit-user-select: none;
}

[hidden] { display: none !important; }

/* ---------- Scroll reveal (staggered) ---------- */
.reveal { opacity: 0; transform: translateY(var(--rise)); }
.reveal.in { opacity: 1; transform: none; transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out); transition-delay: calc(min(var(--i, 0), 5) * var(--stagger)); }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hl { background-size: 100% 100%; }
  .step::before { transform: scaleX(1); }
}
