/* SPFlow public site.
   Layout concept: a quiet white page threaded by one motif, the approval path: nodes on a line that
   turn green as an invoice moves on. It appears in the hero ticket, the four steps and the feature rail. */
:root {
  --ink: #0c1a2e;
  --ink-2: #47566c;
  --ink-3: #7a8799;
  --paper: #ffffff;
  --mist: #f3f6fb;
  --line: #dde5ef;
  --brand: #1b4fd6;
  --brand-ink: #123a9e;
  --brand-soft: #e8efff;
  --ok: #12a66a;
  --ok-soft: #e2f6ec;
  --wait: #f5a300;
  --wait-soft: #fff1cc;
  --wait-ink: #855600;
  --night: #0b1730;
  --night-2: #16264a;
  --danger: #c2281d;

  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --sec: clamp(72px, 9vw, 128px);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(12, 26, 46, 0.06), 0 28px 64px -24px rgba(12, 26, 46, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.1rem + 4.7vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); line-height: 1.08; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.02em; }
.i { flex: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }
.section[id], .tour[id] { scroll-margin-top: 72px; }
.band { background: var(--mist); }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.fine { margin-top: 28px; font-size: 0.9rem; color: var(--ink-3); }
.mono { font-family: var(--mono); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.new { display: inline-block; vertical-align: middle; font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--wait-ink); background: var(--wait-soft); padding: 3px 8px; border-radius: 99px; line-height: 1.4; }

/* ── Buttons ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 12px; border: 1.5px solid transparent; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-primary .i { transition: transform 0.2s; }
.btn-primary:hover .i { transform: translateX(3px); }
.btn-quiet { color: var(--ink); padding-inline: 14px; }
.btn-quiet:hover { color: var(--brand); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-ink); }
.btn-light:hover { background: var(--brand-soft); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ── Header ────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.site-nav ul { display: flex; gap: 4px; margin-inline: auto; }
.site-nav li a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 0.97rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.site-nav li a:hover { color: var(--ink); background: var(--mist); }
.nav-end { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; font-family: var(--mono); font-size: 0.8rem; font-weight: 500; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.lang a { padding: 7px 10px; text-decoration: none; color: var(--ink-3); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* ── Hero ──────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.hero-copy .lead { margin-top: 24px; max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 0.95rem; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .i { color: var(--ok); }

.ticket { position: relative; justify-self: end; width: 100%; max-width: 390px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 16px; box-shadow: var(--shadow); }
.ticket::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border-radius: 20px; background: var(--brand-soft); }
.ticket-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.ticket-doc { width: 40px; height: 40px; border-radius: 11px; background: var(--mist); color: var(--brand); display: grid; place-items: center; }
.ticket-head b { display: block; font-size: 0.98rem; line-height: 1.25; }
.ticket-head .mono { font-size: 0.78rem; color: var(--ink-3); }
.ticket-sum { font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket-note { margin-top: 6px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); text-align: right; }

.track { padding-top: 18px; }
.track-step { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.track-step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--ok); }
.track-step:last-child { padding-bottom: 4px; }
.track-step:last-child::before { display: none; }
.node { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.track-step .node { background: var(--ok); color: #fff; box-shadow: 0 0 0 4px var(--ok-soft); }
.track-step b { display: block; font-size: 0.98rem; line-height: 1.3; }
.track-step div span { font-size: 0.84rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* The one orchestrated moment: steps turn green in order, then rest in the completed state. */
@keyframes node-in { from { background: var(--paper); color: transparent; box-shadow: 0 0 0 2px var(--line) inset; } 60% { transform: scale(1.18); } }
@keyframes line-in { from { background: var(--line); } }
@keyframes text-in { from { color: var(--ink-3); } }
@media (prefers-reduced-motion: no-preference) {
  .track-step .node { animation: node-in 0.5s ease both; }
  .track-step::before { animation: line-in 0.5s ease both; }
  .track-step b { animation: text-in 0.5s ease both; }
  .track-step.s1 .node, .track-step.s1 b { animation-delay: 0.5s; }
  .track-step.s1::before { animation-delay: 0.9s; }
  .track-step.s2 .node, .track-step.s2 b { animation-delay: 1.2s; }
  .track-step.s2::before { animation-delay: 1.6s; }
  .track-step.s3 .node, .track-step.s3 b { animation-delay: 1.9s; }
  .track-step.s3::before { animation-delay: 2.3s; }
  .track-step.s4 .node, .track-step.s4 b { animation-delay: 2.6s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero-shot { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); margin-bottom: -150px; }
.frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding-inline: 14px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e3; }
.frame img { width: 100%; }

/* ── How it works ──────────────────────────────────── */
.how { background: var(--mist); padding-top: calc(var(--sec) + 150px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.steps li { position: relative; padding-top: 62px; }
.steps li::before { content: ""; position: absolute; top: 21px; left: 44px; right: -32px; height: 2px; background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px); }
.steps li:last-child::before { display: none; }
.step-no { position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: 0.95rem; color: var(--brand); background: var(--paper); border: 2px solid var(--brand); }
.steps li:last-child .step-no { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }

/* ── Feature tour ──────────────────────────────────── */
.tour-grid { margin-top: 56px; }
.tour-tabs { display: none; }
.tour-panels { display: grid; gap: 72px; min-width: 0; }
.tour-text { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 48px; margin-top: 32px; }
.tour-text h3 { font-size: 1.5rem; }
.tour-text p { margin-top: 12px; color: var(--ink-2); }
.ticks { display: grid; gap: 12px; align-content: start; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { margin-top: 5px; color: var(--ok); }
.ticks-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px; }

@media (min-width: 1000px) {
  .js .tour-grid { display: grid; grid-template-columns: 312px minmax(0, 1fr); gap: 48px; align-items: start; }
  .js .tour-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
  .js .tour-tabs::before { content: ""; position: absolute; left: 26px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
  .js .tour-panel:not(.is-active) { display: none; }
  .js .tour-panel h3 .new { display: none; }
}
.tour-tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 12px 9px 8px; border: 0; border-radius: 12px; background: none; font: 500 1.02rem/1.3 var(--body); color: var(--ink-2); text-align: left; cursor: pointer; }
.tour-tab .node { width: 38px; height: 38px; background: var(--paper); border: 2px solid var(--line); color: var(--ink-3); transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.tour-tab:hover { color: var(--ink); }
.tour-tab:hover .node { border-color: var(--brand); color: var(--brand); }
.tour-tab[aria-selected="true"] { color: var(--ink); font-weight: 650; background: var(--mist); }
.tour-tab[aria-selected="true"] .node { background: var(--brand); border-color: var(--brand); color: #fff; }
.tour-tab .new { margin-left: auto; }

/* ── More features ─────────────────────────────────── */
.more { padding-top: 0; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 36px; margin-top: 56px; }
.more-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.more-grid h3 { font-size: 1.08rem; }
.more-grid p { margin-top: 6px; font-size: 0.97rem; line-height: 1.5; color: var(--ink-2); }

/* ── Integrations ──────────────────────────────────── */
.integ { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.integ .lead { margin-top: 20px; }
.integ-list { display: grid; }
.integ-list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line); }
.integ-list > div:first-child { border-top: 1px solid var(--line); }
.integ-list dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.integ-list dd { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 7px 14px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: 0.95rem; font-weight: 500; }

/* ── Pricing ───────────────────────────────────────── */
#pricing .lead { margin-top: 20px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.plan { display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.plan h3 { font-size: 1.3rem; }
.plan-volume { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-bottom: 20px; font-size: 0.97rem; color: var(--ink-2); }
.plan-featured .plan-volume { color: rgba(255, 255, 255, 0.9); }
.plan-row { padding-block: 20px; border-top: 1px solid var(--line); }
.plan-row:last-of-type { margin-bottom: 14px; }
.plan-kind { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; }
.plan-price span { font-family: var(--display); font-weight: 650; font-size: 2.3rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-price small { font-size: 0.95rem; color: var(--ink-3); }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 30px 60px -28px rgba(27, 79, 214, 0.7); }
.plan-featured .plan-row { border-top-color: rgba(255, 255, 255, 0.24); }
.plan-featured .plan-kind, .plan-featured .plan-price small { color: rgba(255, 255, 255, 0.78); }
.plans-setup { margin-top: 24px; color: var(--ink-2); }
.plans-setup + .plans-setup { margin-top: 6px; }
.included { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 40px; }
.included h3 { font-size: 1.08rem; }

/* ── FAQ ───────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 4px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { color: var(--brand); transition: transform 0.2s; }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 24px 4px; color: var(--ink-2); max-width: 68ch; }

/* ── Contact ───────────────────────────────────────── */
.contact { background: var(--night); color: #fff; }
.contact .eyebrow { color: #8fb0ff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact .lead { margin-top: 20px; color: rgba(255, 255, 255, 0.76); }
.contact-mail { margin-top: 44px; display: grid; gap: 6px; }
.contact-mail span { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.contact-mail a { font-family: var(--display); font-size: clamp(1.15rem, 0.9rem + 1vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-mail a:hover { text-decoration-color: #fff; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: var(--paper); color: var(--ink); }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.92rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper); font: 400 1rem/1.45 var(--body); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-err { font-size: 0.88rem; color: var(--danger); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 11px; font-size: 0.95rem; background: var(--mist); color: var(--ink); }
.form-status.is-ok { background: var(--ok-soft); color: #0a6b44; }
.form-status.is-err { background: #fdecea; color: var(--danger); }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-3); }

/* ── Footer ────────────────────────────────────────── */
.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.72); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.93rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: center; padding-block: 36px; }
.foot .logo { color: #fff; font-size: 1.15rem; }
.foot-brand p { margin-top: 8px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: #fff; }
.foot-legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.86rem; color: rgba(255, 255, 255, 0.55); }

.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: #fff; }

/* ── Cookie consent ────────────────────────────────── */
.consent { position: fixed; z-index: 60; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(760px, calc(100% - 32px)); display: flex; align-items: center; gap: 16px 28px; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); font-size: 0.95rem; line-height: 1.5; }
.consent-text { flex: 1; min-width: 0; color: var(--ink-2); }
.consent-text strong { color: var(--ink); }
.consent details { margin-top: 6px; }
.consent summary { cursor: pointer; color: var(--brand); font-weight: 500; }
.consent details p { margin-top: 6px; font-size: 0.9rem; }
.consent-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 720px) {
  .consent { flex-direction: column; align-items: stretch; bottom: 12px; padding: 16px; }
  .consent-actions .btn { flex: 1; }
}

.notfound { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 20px; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1100px) {
  .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(12, 26, 46, 0.3); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; margin: 0; }
  .site-nav li a { padding: 12px 8px; font-size: 1.05rem; }
  .nav-end { justify-content: space-between; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .ticket { justify-self: start; }
  .hero-shot { margin-bottom: -70px; }
  .how { padding-top: calc(var(--sec) + 70px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .steps li:nth-child(2)::before { display: none; }
  .integ, .faq, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .included { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .lead { font-size: 1.08rem; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding: 0 0 32px 62px; min-height: 76px; }
  .steps li::before { display: block; top: 44px; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
  .steps li:nth-child(2)::before { display: block; }
  .steps li:last-child::before { display: none; }
  .steps li:last-child { padding-bottom: 0; }
  .tour-panels { gap: 56px; }
  .tour-text { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .ticks-row { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .integ-list > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .frame-bar { height: 22px; }
  .frame-bar i { width: 7px; height: 7px; }
  /* Phone: keep the product screens legible. The image is shown larger and pans sideways inside its frame. */
  .frame { overflow-x: auto; overscroll-behavior-x: contain; }
  .frame-bar { position: sticky; left: 0; }
  .frame img { width: 210%; max-width: none; }
  .faq-list details p { padding-right: 4px; }
  .ticket::before { inset: 10px -8px -10px 8px; }
}
@media (max-width: 440px) {
  .more-grid { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
}
