/* RekonPro website. Light premium look shared with the app: a pale blue-grey page, white cards with soft
   borders, the brand blue for the one main action and navy for the strong moments. */

@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #eef2f8;          /* the page */
  --surface: #f6f8fb;     /* quiet fills inside cards */
  --surface-2: #ffffff;   /* cards */
  --line: #e6ebf2;
  --line-2: #f0f3f7;
  --ink: #0d1526;
  --muted: #4a5568;
  --faint: #8a94a6;
  --accent: #2f6bff;
  --accent-2: #5b8cff;
  --accent-hover: #1e4fd8;
  --accent-soft: #eaf1ff;
  --accent-ink: #ffffff;
  --navy: #0f1f3d;
  --navy-deep: #091327;
  --green: #16a34a;
  --green-soft: #e9f8ef;

  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --step-small: 0.875rem;                               /* 14 */
  --step-body: 1.0625rem;                               /* 17 */
  --step-lead: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);   /* 18–21 */
  --step-head: clamp(2rem, 1.4rem + 2vw, 2.9rem);       /* 32–46 */
  --step-display: clamp(2.5rem, 1.3rem + 4.4vw, 4.25rem); /* 40–68 */

  --container: 1240px;
  --margin: clamp(1rem, 3vw, 1.5rem);
  /* full-bleed sections keep their content on the same column as the container */
  --edge: max(var(--margin), calc((100% - var(--container)) / 2 + var(--margin)));
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 10vw, 8.5rem);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(13, 21, 38, 0.04), 0 18px 40px -28px rgba(13, 21, 38, 0.28);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 200ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; letter-spacing: -0.025em; line-height: 1.08; }
p { max-width: 62ch; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nums { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--margin); }
.wrap { padding-inline: var(--edge); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.45; }
.small { font-size: var(--step-small); line-height: 1.5; }
.muted { color: var(--muted); }
.center { text-align: center; margin: 28px auto 0; max-width: none; }
.card { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.pill i { width: 7px; height: 7px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3rem; padding: 0 1.4rem;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); border: 0; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(47, 107, 255, 0.75);
  transition: transform var(--t-press) var(--ease-out), filter var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(13, 21, 38, 0.04); }
.button--dark { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.button--sm { min-height: 2.6rem; padding: 0 1rem; font-size: 14px; border-radius: 12px; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { filter: brightness(1.06); }
  .button--ghost:hover { filter: none; background: var(--surface); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- interface fragments (the product's own look; data-ui) ---------- */
[data-ui] { font-size: 14px; line-height: 1.4; color: #0f172a; text-align: left; }
[data-ui].ui-card, [data-ui] .ui-card { background: #fff; border: 1px solid #e5eaf2; border-radius: 16px; }
[data-ui] .ui-muted { color: #64748b; }
[data-ui] .ui-subtle { color: #64748b; }
[data-ui] .ui-ro { display: inline-block; border-radius: 99px; background: #eef3ff; color: #1e4fd8; font-weight: 700; font-size: 12px; padding: 2px 9px; }
[data-ui] .ui-badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; padding: 2px 9px; font-size: 11.5px; font-weight: 600; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 25%, transparent); white-space: nowrap; }
[data-ui] .b-green { background: #ecfdf5; color: #047857; }
[data-ui] .b-amber { background: #fff7ea; color: #b45309; }
[data-ui] .b-rose { background: #fff1f2; color: #be123c; }
[data-ui] .b-blue { background: #eff6ff; color: #1d4ed8; }
[data-ui] .b-slate { background: #f1f5f9; color: #475569; }
[data-ui] .ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: #fff; background: linear-gradient(180deg, #5b8cff, #2f6bff); transition: filter var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
[data-ui] .ui-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { [data-ui] .ui-btn:hover { filter: brightness(1.06); } }
[data-ui] input[type="checkbox"] { width: 17px; height: 17px; accent-color: #2f6bff; margin: 0; }

/* ---------- header: a floating white bar ---------- */
.top { position: sticky; top: 12px; z-index: 30; margin-top: 12px; }
.top__card { display: flex; align-items: center; gap: 28px; padding: 9px 10px 9px 18px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 12px 30px -22px rgba(13, 21, 38, 0.35); }
.top__card img { width: 174px; }
.top nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--muted); }
.top nav a { text-decoration: none; transition: color var(--t-hover) ease; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }
.top__btns { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 1000px) { .top nav { display: none; } }
@media (max-width: 560px) { .top__btns .button--ghost { display: none; } .top__card img { width: 140px; } }

/* ---------- 1. hero: copy left, the customer's phone right ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 56px; }
.hero h1 { margin-top: 20px; font-size: var(--step-display); line-height: 1.03; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sentence { margin-top: 22px; font-size: var(--step-lead); color: var(--muted); max-width: 44ch; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__price { margin-top: 14px; color: var(--faint); }

/* A real phone in glacier white: satin frame, thin black bezel, side buttons, Dynamic Island. */
.phone { width: 320px; justify-self: end; margin-right: clamp(0px, 4vw, 60px); rotate: 2deg; position: relative; padding: 5px; border-radius: 52px;
  background: linear-gradient(145deg, #fdfdfc 0%, #e9ebee 22%, #f8f8f7 45%, #d9dde2 72%, #f3f4f5 100%);
  box-shadow: 0 0 0 1px #c9ced5, inset 0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 -2px 3px rgba(120, 130, 145, 0.25), 0 50px 80px -30px rgba(9, 19, 39, 0.45), 0 18px 30px -18px rgba(9, 19, 39, 0.25); }
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #cfd4da, #f4f5f6 60%, #d8dce1); box-shadow: 0 0 0 1px #c3c8cf; }
.phone::before { left: -4px; top: 110px; height: 30px; box-shadow: 0 0 0 1px #c3c8cf, 0 46px 0 0 #e4e7ea, 0 46px 0 1px #c3c8cf; }
.phone::after { right: -4px; top: 150px; height: 70px; }
.phone__screen { border-radius: 47px; background: var(--surface); overflow: hidden; padding: 40px 10px 12px; position: relative; border: 6px solid #0b0d10; }
.phone__screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: #0b0d10; }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: float 6s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.approve { padding: 14px; font-size: 13px; }
.approve__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.approve__shop { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; }
.approve__shop img { width: 20px; height: 20px; border-radius: 5px; }
.approve__title { margin-top: 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.approve .ui-muted { font-size: 12px; }
.approve__photo { margin-top: 10px; height: 92px; border-radius: 12px; overflow: hidden; position: relative; background: #1f2937; }
.approve__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.approve__photo span { position: absolute; left: 8px; top: 8px; }
.approve__jobs { margin-top: 10px; display: grid; gap: 6px; }
.approve__job { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid #e5eaf2; cursor: pointer; transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease; }
.approve__job:has(input:checked) { border-color: #bcd0ff; background: #f6f9ff; }
.approve__job > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.approve__job strong { font-weight: 600; font-size: 12px; }
.approve__job .ui-badge { font-size: 10px; padding: 1px 7px; }
.approve__job b { font-size: 12.5px; }
.approve__total { margin-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.approve__total .ui-muted { font-size: 11.5px; }
.approve__total b { font-size: 19px; letter-spacing: -0.02em; }
.approve__sign { margin-top: 10px; width: 100%; min-height: 42px; font-size: 13.5px; }
.approve__readout { margin-top: 8px; font-size: 11px; color: #64748b; text-align: center; min-height: 2.8em; }
.approve.is-done .approve__sign { background: #047857; }

/* ---------- 2. the dashboard in a frame ---------- */
.frame { padding: 14px; border-radius: 30px; background: rgba(255, 255, 255, 0.55); border: 1px solid #fff; box-shadow: 0 40px 80px -40px rgba(9, 19, 39, 0.35); }
.app { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 22px; background: var(--surface); font-size: 13px; }
.app__side { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); }
.app__side img { width: 151px; margin: 0 0 12px -2px; }
.app__side span { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.app__side span i { width: 16px; height: 16px; border-radius: 5px; background: #e2e8f2; flex: none; }
.app__side .is-on { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.app__side .is-on i { background: var(--accent); }
.app__side .is-on::before { content: ""; position: absolute; left: -12px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.app__side span b { margin-left: auto; min-width: 20px; height: 20px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10.5px; display: grid; place-items: center; }
.app__side span em { margin-left: auto; width: 6px; height: 6px; border-radius: 99px; background: var(--green); }
.app__side small { color: var(--faint); font-size: 11.5px; margin: 12px 10px 4px; }
.app__main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app__bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); }
.app__bar b { font-size: 15px; }
.app__search { flex: 1; max-width: 320px; height: 36px; border-radius: 11px; background: var(--surface); color: var(--faint); display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.app__new { margin-left: auto; height: 36px; padding: 0 14px; border-radius: 11px; background: var(--navy-deep); color: #fff; font-weight: 600; display: flex; align-items: center; font-size: 12.5px; white-space: nowrap; }
.app__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.app__kpis > div, .app__two > div { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); }
.app__kpis small { color: var(--muted); font-weight: 500; }
.app__kpis strong { display: block; font-size: 24px; letter-spacing: -0.02em; margin: 6px 0; }
.up { display: inline-flex; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--green-soft); color: var(--green); }
.app__two { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 12px; }
.app__two b { display: block; font-size: 14px; }
.app__two small { color: var(--faint); font-size: 11.5px; }
.chart { width: 100%; height: auto; margin-top: 8px; font-size: 10px; fill: var(--faint); }
.app__donut { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.donut { position: relative; flex: none; width: 110px; }
.donut svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.donut span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--faint); font-size: 10px; }
.donut span b { color: var(--ink); font-size: 22px; line-height: 1; }
.keys { flex: 1; display: grid; gap: 5px; font-size: 11.5px; color: var(--muted); min-width: 0; }
.keys li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.keys i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.keys b { margin-left: auto; color: var(--ink); font-size: 11.5px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.facts .card { padding: 22px 24px; }
.facts b { display: block; font-size: 1.125rem; letter-spacing: -0.01em; }
.facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ---------- section intros ---------- */
.intro { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.intro h2 { margin-top: 14px; }
.intro p { margin: 14px auto 0; font-size: var(--step-lead); color: var(--muted); }

/* ---------- 3. one RO, start to finish ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.flow li { padding: 22px; }
.flow span { width: 34px; height: 34px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.flow .is-on span { background: var(--accent); color: #fff; }
.flow h3 { font-size: 1.0625rem; margin-top: 16px; letter-spacing: -0.01em; }
.flow p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- 4. features ---------- */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 26px; display: flex; flex-direction: column; }
.feat h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.feat > p { margin: 8px 0 20px; color: var(--muted); font-size: 15px; }
.feat__ui { margin-top: auto; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); display: grid; gap: 8px; }
.feat__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 11px; background: #fff; border: 1px solid var(--line-2); }
.bubble { max-width: 88%; padding: 9px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); }
.bubble b { color: var(--accent-hover); font-weight: 600; word-break: break-all; }
.bubble--me { justify-self: end; background: var(--accent); color: #fff; border-color: var(--accent); }
.feat__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat__stats div { padding: 10px 12px; border-radius: 11px; background: #fff; border: 1px solid var(--line-2); }
.feat__stats small { display: block; color: var(--faint); font-size: 11.5px; }
.feat__stats b { font-size: 18px; letter-spacing: -0.02em; }

/* ---------- 5. in the bay ---------- */
.bay { display: grid; grid-template-columns: 1.05fr 1fr 230px; gap: 40px; align-items: center; padding: 16px 40px 16px 16px; }
.bay__photo { aspect-ratio: 4 / 5; overflow: clip; border-radius: 18px; }
.bay__photo img { width: 100%; height: 100%; object-fit: cover; }
.bay__text h2 { margin-top: 14px; }
.bay__text p { margin-top: 16px; color: var(--muted); font-size: var(--step-lead); }
.bay__phone { padding: 6px; border-radius: 30px; background: #0b0d10; box-shadow: 0 30px 50px -30px rgba(9, 19, 39, 0.5); }
.bay__phone img { width: 100%; border-radius: 24px; }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li, .split__text li { padding-left: 26px; position: relative; }
.checks li::before, .split__text li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- 6. pricing (home and the pricing page) ---------- */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 28px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.price.is-main { border: 2px solid var(--accent); box-shadow: 0 30px 60px -36px rgba(47, 107, 255, 0.6); }
.price__rec { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.price h2, .price h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.price .amount { margin-top: 16px; font-size: 2.75rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.price .amount span { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--faint); }
.price .per { margin-top: 8px; color: var(--faint); font-size: 14px; }
.price p.for { margin-top: 16px; color: var(--muted); font-size: 15px; }
.price .spacer { flex: 1; min-height: 24px; }
.price .button { margin-top: auto; }
.price__alt, .price .link.small { margin-top: 10px; text-align: center; color: var(--faint); }
@media (max-width: 1180px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 7. FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 48px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head h2 { margin-top: 14px; }
.faq__head p { margin-top: 16px; color: var(--muted); }
.faq__list { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 22px; font-size: 1.0625rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--surface); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--t-ui) var(--ease-out); }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--accent); }
.faq details[open] .plus::before { background: #fff; }
.faq details[open] .plus::after { transform: rotate(0deg); background: #fff; }
.faq details p { padding: 0 22px 20px; color: var(--muted); max-width: 60ch; }

/* ---------- 8. CTA ---------- */
.cta { margin-top: calc(var(--section) / 2); padding: clamp(32px, 5vw, 60px); border-radius: 30px; background: var(--navy-deep); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 99px; background: radial-gradient(closest-side, rgba(47, 107, 255, 0.45), transparent); pointer-events: none; }
.cta h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem); line-height: 1.1; }
.cta p { margin-top: 12px; color: #b9c3d6; font-size: 1.0625rem; max-width: 52ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }

/* ---------- footer: one white card ---------- */
.foot { margin-block: 24px 28px; }
.foot__card { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 24px; padding: 32px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.foot__brand img { width: 174px; }
.foot__brand p { margin-top: 12px; color: var(--faint); font-size: 14px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot nav h2 { margin-bottom: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--faint); }
.foot nav a { text-decoration: none; color: var(--muted); transition: color var(--t-hover) ease; }
.foot nav a:hover { color: var(--accent); }
.foot__legal { grid-column: 1 / -1; max-width: none; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.foot__legal a { color: inherit; }

/* ---------- motion (content stays visible without JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 420ms); }
  .js .lines [data-line] { transform: translateY(105%); animation: line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line { to { transform: none; } }

/* ---------- home at tablet and phone widths ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__sentence { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .phone { justify-self: center; margin-right: 0; rotate: none; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app__two { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats { grid-template-columns: 1fr; }
  .bay { grid-template-columns: 1fr 1fr; padding: 16px; }
  .bay__text { padding: 8px 8px 16px; }
  .bay__phone { display: none; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq__head { position: static; }
  .cta { grid-template-columns: 1fr; }
  .foot__card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .phone { width: 300px; }
  .app__bar .app__search { display: none; }
  .facts, .flow, .prices { grid-template-columns: 1fr; }
  .bay { grid-template-columns: 1fr; }
  .bay__photo { aspect-ratio: 4 / 3; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ---------- inner pages ---------- */
.pagehead { padding: clamp(3rem, 6vw, 5rem) var(--edge) clamp(2.5rem, 5vw, 4rem); }
.pagehead h1 { font-size: var(--step-display); letter-spacing: -0.035em; line-height: 1.03; max-width: 16ch; }
.pagehead p { margin-top: 22px; font-size: var(--step-lead); color: var(--muted); max-width: 46ch; }
.pagehead .button { margin-top: 30px; justify-self: start; }
.pagehead p.small { margin-top: 14px; font-size: 15px; color: var(--faint); }
.pagehead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; row-gap: 40px; }
.pagehead > :not(figure) { grid-column: 1 / 7; }
.pagehead figure { grid-column: 7 / 13; grid-row: 1 / span 5; aspect-ratio: 16 / 10; overflow: clip; padding: 10px; background: rgba(255, 255, 255, 0.6); border: 1px solid #fff; border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(9, 19, 39, 0.35); }
.pagehead figure img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 0; border-radius: 18px; }
.pagehead--plain { display: block; }
@media (max-width: 860px) { .pagehead > :not(figure), .pagehead figure { grid-column: 1 / -1; grid-row: auto; } }

.split { align-items: center; row-gap: 32px; }
.split__text { grid-column: 1 / 6; }
.split__text p { margin-top: 16px; color: var(--muted); }
.split__text ul { margin-top: 20px; display: grid; gap: 10px; padding: 0; list-style: none; }
.split__shot { grid-column: 6 / 13; overflow: clip; padding: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.split__shot img { width: 100%; border-radius: 16px; }
.split.flip .split__text { grid-column: 8 / 13; grid-row: 1; }
.split.flip .split__shot { grid-column: 1 / 8; grid-row: 1; }
.split .col-left { grid-column: 1 / 8; }
.split .col-right { grid-column: 8 / 13; }
.wrap.band { margin: calc(var(--section) / 4) max(var(--margin), calc((100% - var(--container)) / 2 + var(--margin))); padding-inline: clamp(20px, 4vw, 56px); background: #fff; border: 1px solid var(--line-2); border-radius: 30px; box-shadow: var(--shadow); }
.band .steps li, .band .split__shot { background: var(--surface); box-shadow: none; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.compare thead th { font-size: 1rem; font-weight: 600; position: sticky; top: 0; background: #fbfcfe; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 14%; }
.compare tbody th { font-weight: 400; }
.compare .group th { padding-top: 26px; font-weight: 700; color: var(--ink); border-bottom-color: var(--line); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--faint); }
.tablewrap { overflow-x: auto; }
@media (max-width: 520px) { .compare { font-size: 14px; } .compare th, .compare td { padding: 10px 4px; } .compare thead th { font-size: 13px; } .compare td:not(:first-child), .compare th:not(:first-child) { width: 15%; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps h3 { font-size: 1.25rem; }
ol.steps li { counter-increment: s; }
ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; }
.steps p { margin-top: 10px; color: var(--muted); }
.prose { max-width: 820px; padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose p, .prose ul { margin-top: 14px; }
.prose li { margin-top: 6px; }
.notice { background: #fff7e6; color: #7a4b00; border: 1px solid #fde3bf; border-radius: var(--radius-sm); padding: 14px 18px; font-size: 15px; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.formgrid label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.formgrid .wide { grid-column: 1 / -1; }
.formgrid input, .formgrid select, .formgrid textarea { min-height: 3rem; padding: 0.7rem 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 400; font-size: 1rem; }
.formgrid input:focus, .formgrid select:focus, .formgrid textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: #fff; }
.formgrid textarea { min-height: 7rem; }
.formgrid .button { justify-self: start; }
@media (max-width: 860px) {
  .split__text, .split__shot, .split.flip .split__text, .split.flip .split__shot, .split .col-left, .split .col-right { grid-column: 1 / -1; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .formgrid { grid-template-columns: 1fr; }
}

/* ---------- help center ---------- */
[hidden] { display: none !important; }
.helpsearch { margin-top: 32px; max-width: 560px; }
.helpsearch input { width: 100%; min-height: 3.5rem; padding: 0 1.25rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; font-size: 1.0625rem; box-shadow: var(--shadow); }
.helpsearch input::placeholder { color: var(--faint); }
.help { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.help__toc { position: sticky; top: 100px; display: grid; font-size: 15px; }
.help__toc h2 { margin: 28px 0 6px; font-size: 1rem; font-weight: 600; color: var(--faint); }
.help__toc h2:first-child { margin-top: 0; }
.help__toc a { padding: 5px 0; text-decoration: none; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .help__toc a:hover { color: var(--accent); } }
.help__group + .help__group { margin-top: 56px; }
.help__grouptitle { margin-bottom: 16px; font-size: 1.25rem; color: var(--faint); }
.guide { display: grid; align-content: start; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.guide + .guide { margin-top: 12px; }
.guide__tag { font-size: 13px; font-weight: 600; color: var(--accent); }
.guide h3 { margin-top: 6px; font-size: 1.5rem; }
.guide h3 + p { margin-top: 10px; color: var(--muted); }
.guide ol { counter-reset: step; margin-top: 20px; padding: 0; list-style: none; }
.guide ol li { counter-increment: step; position: relative; padding-left: 40px; }
.guide ol li + li { margin-top: 12px; }
.guide ol li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.guide__roles { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin-top: 24px; padding: 18px 20px; background: var(--surface); border-radius: var(--radius-sm); }
.guide__roles dt { font-weight: 600; }
.guide__roles dd { color: var(--muted); }
.guide__tip { margin-top: 20px; padding: 14px 18px; background: var(--surface); border-radius: var(--radius-sm); font-size: 15px; color: var(--muted); }
.help__none { padding: 28px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); }
@media (min-width: 1100px) {
  .guide { grid-template-columns: minmax(0, 62ch) minmax(200px, 1fr); column-gap: clamp(32px, 4vw, 64px); }
  .guide > * { grid-column: 1; }
  .guide > .guide__tip { grid-column: 2; grid-row: 1 / span 6; align-self: start; margin-top: 0; }
}
.helpcontact { padding-top: 0; }
.helpcontact p { margin-top: 16px; }
@media (max-width: 860px) {
  .help { grid-template-columns: 1fr; }
  .help__toc { display: none; }
  .guide__roles { grid-template-columns: 1fr; gap: 2px; }
  .guide__roles dd + dt { margin-top: 10px; }
}
.help__note { max-width: 760px; margin-bottom: 40px; }
.guide__shot { margin-top: 22px; border-radius: 16px; overflow: clip; background: var(--surface); border: 1px solid var(--line-2); }
.guide__shot img { width: 100%; }
.guide__shot--phone { max-width: 220px; border: 6px solid #0b0d10; border-radius: 26px; }
.guide__shot--phone img { aspect-ratio: 9 / 14; object-fit: cover; object-position: top; }

/* keyboard: first Tab stop jumps past the navigation */
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; }

/* 404 and thank-you link lists */
.notfound { display: grid; gap: 10px; max-width: 820px; font-size: 1.0625rem; }
.notfound li { padding: 16px 20px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); color: var(--muted); }
.notfound a { font-weight: 600; color: var(--accent); }

/* phones: the demo button follows the thumb */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; justify-content: center; box-shadow: 0 10px 30px rgba(9, 19, 39, 0.35); transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
  /* With script, it waits until the first screen (which has its own buttons) is scrolled past. */
  .js .mobile-cta:not(.is-shown) { opacity: 0; transform: translateY(16px); pointer-events: none; }
  body:has(.mobile-cta) { padding-bottom: 88px; }
}

/* ---------- wholesale page: product fragments drawn in HTML ---------- */
.pagehead figure.ws-hero { aspect-ratio: auto; padding: 14px; }
.ws-card { display: grid; gap: 10px; padding: 18px; background: #fff; border: 1px solid #e5eaf2; border-radius: 16px; }
.ws-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ws-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ws-grid div { padding: 10px 12px; border-radius: 12px; background: var(--surface); }
.ws-grid small { display: block; color: #64748b; font-size: 11.5px; }
.ws-grid b { font-size: 15px; font-variant-numeric: tabular-nums; }
.ws-mmr { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; border: 1px solid #e5eaf2; font-variant-numeric: tabular-nums; }
.ws-mmr em { font-style: normal; color: #047857; font-size: 12px; margin-right: 6px; }
.ws-foot { padding-top: 8px; border-top: 1px solid #e5eaf2; }
.ws-green { color: #047857; }
.ws-pl .ws-card { border: 0; padding: 14px; font-variant-numeric: tabular-nums; }
.ws-pl i { font-style: normal; color: #94a3b8; margin-right: 6px; }
.ws-sum { padding: 8px 10px; border-radius: 10px; background: var(--surface); font-weight: 600; }
.pagehead .ws-card p { margin-top: 0; max-width: none; font-size: 13px; color: #64748b; }
.pagehead .ws-card p.ws-title { font-size: 18px; color: var(--ink); }

/* Cookie banner (base.js): a small card bottom-left; on phones it spans the width and the floating CTA waits. */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px; display: grid; gap: 12px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line, #e5eaf2); box-shadow: 0 24px 50px -24px rgba(9, 19, 39, 0.45); font-size: 14px; line-height: 1.5; }
.consent p { margin: 0; }
.consent div { display: flex; gap: 8px; justify-content: flex-end; }
.consent-open .mobile-cta, .consent-open .rk-chat__open { display: none; }
.foot__link { padding: 0; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; text-align: left; transition: color var(--t-hover) ease; }
.foot__link:hover { color: var(--accent); }
@media (max-width: 640px) { .consent { right: 16px; max-width: none; bottom: max(16px, env(safe-area-inset-bottom)); } }

/* ---------- guided assistant (assistant.js) ---------- */
.rk-chat__open { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 600 15px/1 var(--font); box-shadow: 0 14px 30px -12px rgba(9, 19, 39, 0.6); cursor: pointer; }
.rk-chat__open:hover { background: var(--navy-deep); }
.rk-chat { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 46; display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 40px)); background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(9, 19, 39, 0.45); overflow: hidden; font-family: var(--font); }
.rk-chat[hidden], .rk-chat__open[hidden] { display: none; }
.rk-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--navy); color: #fff; }
.rk-chat__head strong { font-size: 16px; }
.rk-chat__langs { display: flex; gap: 2px; margin-left: auto; }
.rk-chat__langs button { padding: 3px 7px; border: 0; border-radius: 6px; background: transparent; color: rgba(255, 255, 255, 0.7); font: 600 12px var(--font); cursor: pointer; }
.rk-chat__langs button.is-on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.rk-chat__close { padding: 0 4px; border: 0; background: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.rk-chat__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.rk-chat__msg { margin: 0; max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; white-space: pre-line; }
.rk-chat__msg--bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.rk-chat__msg--me { align-self: flex-end; background: var(--accent); color: #fff; }
.rk-chat__choices { display: flex; flex-wrap: wrap; gap: 6px; }
.rk-chat__choice { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 14px var(--font); cursor: pointer; }
.rk-chat__choice:hover { border-color: var(--accent); color: var(--accent); }
.rk-chat__choice--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.rk-chat__choice--primary:hover { color: #fff; filter: brightness(1.08); }
.rk-chat__form { display: grid; gap: 8px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.rk-chat__form input, .rk-chat__form textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font: 15px var(--font); color: var(--ink); background: #fff; }
.rk-chat__form textarea { min-height: 80px; resize: vertical; }
.rk-chat__send { min-height: 2.6rem; }
.rk-chat__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) {
  /* Above the phone "Book a demo" bar. */
  body:has(.mobile-cta) .rk-chat__open { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px); }
  .rk-chat { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}
