/* SAMP ERP — website styles.
   One file, no framework. Tokens first, then layout, components, pages.
   Fonts are self-hosted (no request ever goes to a third party). */

@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* The SAMP ERP wordmark is written like the ERP's own (app/static/css/samp_signature.css):
   Windows' Segoe Print, bold italic. Segoe Print cannot be shipped with a website, so
   phones and Macs use Kalam Bold (SIL OFL 1.1), self-hosted and cut to the wordmark's letters. */
@font-face { font-family: "SAMP Hand"; src: url("../fonts/kalam-bold-wordmark.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+20, U+41, U+45, U+4D, U+50, U+52-53, U+61, U+65, U+6D, U+70, U+73; }

:root {
  --navy-950: #050b24;
  --navy-900: #0a1438;
  --navy-800: #111f52;
  --navy-700: #1a2d70;
  --indigo-600: #2f4fd8;
  --indigo-500: #4766f0;
  --indigo-400: #7b93ff;
  --indigo-100: #e6ebff;
  --indigo-50: #f3f5ff;
  --magenta-500: #e0157f;
  --magenta-400: #f0479e;
  --magenta-100: #fde4f1;
  --amber-500: #f29a12;
  --amber-100: #fff1d6;
  --green-600: #13915f;
  --green-100: #dcf5e9;
  --red-600: #d63c3c;

  --ink: #0d1530;
  --ink-2: #2b3556;
  --muted: #5d6786;
  --muted-2: #8790ab;
  --line: #e3e7f2;
  --line-2: #eef1f8;
  --paper: #ffffff;
  --paper-2: #f6f8fd;
  --paper-3: #eef2fb;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(13, 21, 48, .06), 0 2px 8px rgba(13, 21, 48, .05);
  --shadow: 0 2px 6px rgba(13, 21, 48, .06), 0 12px 32px rgba(13, 21, 48, .08);
  --shadow-l: 0 4px 12px rgba(5, 11, 36, .10), 0 30px 80px rgba(5, 11, 36, .22);
  --ring: 0 0 0 4px rgba(71, 102, 240, .22);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--indigo-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); font-weight: 750; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--indigo-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--indigo-100); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding: 112px 0; position: relative; overflow-x: clip; }
.section-sm { padding: 72px 0; }
.section + .section-sm { padding-top: 0; }
.section.tint { background: var(--paper-2); }
.center { text-align: center; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }

/* ── Type helpers ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: var(--indigo-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::before { display: none; }
.h-xl { font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 780; }
.h-l { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.035em; line-height: 1.06; }
.h-m { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em; }
.h-s { font-size: 20px; letter-spacing: -0.015em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.55; }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 14px 0 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  --b: var(--indigo-600); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 14px; font: 600 16px/1 var(--font); letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(180deg, #5372ff, var(--indigo-600)); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 22px rgba(47, 79, 216, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 28px rgba(47, 79, 216, .45); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-s); }
.btn-ghost:hover { border-color: #cdd4ea; transform: translateY(-1px); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.btn-wa { background: #1faa59; color: #fff; box-shadow: 0 8px 22px rgba(31, 170, 89, .3); }
.btn-wa:hover { transform: translateY(-1px); background: #1b9a50; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255,255,255,.78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.9); }
.site-header.on-dark:not(.scrolled) { background: transparent; }
.site-header.on-dark:not(.scrolled) .nav-links a, .site-header.on-dark:not(.scrolled) .brand-name { color: #fff; }
.site-header.on-dark:not(.scrolled) .brand-by { color: rgba(255,255,255,.62); }
.site-header.on-dark:not(.scrolled) .nav-toggle span { background: #fff; }
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; flex: none; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; flex: none; padding: 3px; border-radius: 7px; background: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  position: relative; display: inline-block; padding: 2px 8px 7px 2px; overflow: visible; white-space: nowrap;
  font: italic 700 24px/1.35 "Segoe Print", "SAMP Hand", "Segoe Script", cursive; letter-spacing: -.055em; color: var(--navy-900);
}
.brand-name::after {
  content: ""; position: absolute; left: 7%; right: 4%; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #2f4fd8 45%, #7b93ff 78%, transparent);
  transform: rotate(-3deg); transform-origin: left center;
}
.site-header.on-dark:not(.scrolled) .brand-name, .site-footer .brand-name { text-shadow: 0 2px 9px rgba(0, 12, 35, .4); }
.site-header.on-dark:not(.scrolled) .brand-name::after, .site-footer .brand-name::after {
  background: linear-gradient(90deg, transparent, #80d4ff 45%, #d7f1ff 78%, transparent);
}
.brand-by { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-weight: 550; font-size: 15.5px; padding: 8px 14px; border-radius: 10px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.nav-links a:hover { background: rgba(71, 102, 240, .08); }
.nav-links a[aria-current="page"] { color: var(--indigo-600); }
.site-header.on-dark:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.1); }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: visible; overflow-x: clip; color: #fff; margin-top: calc(-1 * var(--nav-h));
  padding: calc(var(--nav-h) + 88px) 0 0;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(224, 21, 127, .30), transparent 60%),
    radial-gradient(800px 600px at 10% 10%, rgba(71, 102, 240, .45), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, #0f1d55 100%);
}
.hero::before { /* fine grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero-inner { position: relative; text-align: center; max-width: 980px; margin: 0 auto; }
.hero .chip { margin-bottom: 26px; }
.hero h1 .serif { color: #ffd2ea; font-size: 1.06em; }
.hero .lead { color: rgba(255,255,255,.76); max-width: 760px; margin: 26px auto 36px; }
.hero .btn-row { justify-content: center; }
.hero-trust { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: rgba(255,255,255,.7); font-size: 14.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: #7ee2b0; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  font-size: 14px; font-weight: 550; color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.chip b { background: linear-gradient(90deg, var(--magenta-500), #ff7ab8); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: 12px; letter-spacing: .02em; }
.chip-light { color: var(--ink-2); background: #fff; border-color: var(--line); box-shadow: var(--shadow-s); }

.hero-visual { position: relative; z-index: 2; max-width: 1120px; margin: 72px auto -240px; padding: 0 var(--gutter); }
.hero + .strip { padding-top: 300px; }
.hero-visual .window { transform: perspective(2200px) rotateX(8deg); transform-origin: 50% 0; }
.hero-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, transparent, var(--paper)); pointer-events: none; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-l); border: 1px solid rgba(255,255,255,.7);
  font-size: 14px; line-height: 1.3; animation: floaty 7s ease-in-out infinite;
}
.float-card b { display: block; font-weight: 680; font-size: 14.5px; }
.float-card span { color: var(--muted); font-size: 13px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 20px; height: 20px; }
.fc-1 { left: -8px; top: 18%; }
.fc-2 { right: -6px; top: 8%; animation-delay: -2.4s; }
.fc-3 { right: 4%; bottom: 26%; animation-delay: -4.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Window frame for screenshots ─────────────────────────────── */
.window { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-l); border: 1px solid rgba(13,21,48,.08); }
.window-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: linear-gradient(180deg, #f7f8fc, #eef1f8); border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8dce8; }
.window-bar i:nth-child(1) { background: #ff6159; } .window-bar i:nth-child(2) { background: #ffbd2e; } .window-bar i:nth-child(3) { background: #28c941; }
.window-bar em { font-style: normal; margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 550; }
.window img { width: 100%; }
.dark .window { border-color: rgba(255,255,255,.1); }

/* ── Strip (industries) ───────────────────────────────────────── */
.strip { padding: 34px 0 10px; }
.strip-label { text-align: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 650; margin-bottom: 18px; }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.strip-items span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 15px; }
.strip-items span i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--indigo-500)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--indigo-500)) 18%, transparent); }

/* ── Flow (enquiry → payment) ─────────────────────────────────── */
.flow { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin-top: 8px; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--indigo-400), var(--magenta-400), var(--amber-500)); opacity: .5; }
.flow-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 6px; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
.flow-step .node { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); position: relative; z-index: 1; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.flow-step .node svg { width: 28px; height: 28px; color: var(--indigo-600); }
.flow-step .num { font-size: 12px; color: var(--muted-2); font-weight: 650; letter-spacing: .06em; }
.flow-step .lbl { font-weight: 650; font-size: 15px; line-height: 1.25; }
.flow-step:hover .node, .flow-step[aria-selected="true"] .node { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--indigo-400); }
.flow-step[aria-selected="true"] .node { background: linear-gradient(180deg, #5372ff, var(--indigo-600)); border-color: transparent; }
.flow-step[aria-selected="true"] .node svg { color: #fff; }
.flow-step[aria-selected="true"] .lbl { color: var(--indigo-600); }
.flow-pulse { position: absolute; top: 29px; left: 6%; width: 12px; height: 12px; border-radius: 50%; background: var(--magenta-500); box-shadow: 0 0 0 6px rgba(224,21,127,.18); z-index: 2; animation: travel 9s linear infinite; pointer-events: none; }
@keyframes travel { from { left: 6%; } to { left: calc(94% - 12px); } }
.flow-detail { margin: 44px auto 0; max-width: 940px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; padding: 30px 32px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 214px; }
.flow-detail h3 { font-size: 22px; margin: 6px 0 10px; }
.flow-detail p { color: var(--muted); margin: 0; }
.flow-detail .docs { display: flex; flex-direction: column; gap: 8px; }
.flow-detail .docs-h { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); font-weight: 650; margin-bottom: 4px; }
.doc-pill { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 550; }
.doc-pill svg { width: 16px; height: 16px; color: var(--indigo-600); flex: none; }
.flow-detail[hidden] { display: none; }

/* ── Feature rows (alternating) ───────────────────────────────── */
.feature-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: center; }
.feature-row + .feature-row { margin-top: 128px; }
.feature-row.flip { grid-template-columns: 1.25fr 1fr; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.03em; margin: 14px 0 16px; }
.feature-copy > p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--indigo-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f4fd8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks.light li { color: rgba(255,255,255,.85); }
.ticks.light li::before { background-color: rgba(255,255,255,.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ee2b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.shot { position: relative; }
.shot::before { content: ""; position: absolute; inset: -10% -6% -10% -6%; background: radial-gradient(closest-side, rgba(71,102,240,.16), transparent); z-index: -1; filter: blur(10px); }
.shot.m::before { background: radial-gradient(closest-side, rgba(224,21,127,.13), transparent); }
.shot.a::before { background: radial-gradient(closest-side, rgba(242,154,18,.15), transparent); }
.shot-note { margin-top: 12px; font-size: 12.5px; color: var(--muted-2); text-align: right; }

/* ── Cards / grids ────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-s); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5dcef; }
.card h3 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14.5px; color: var(--ink-2); }
.card .list li { padding-left: 16px; position: relative; }
.card .list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--indigo-500)); }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--indigo-500)) 12%, #fff); color: var(--c, var(--indigo-600)); }
.icon-tile svg { width: 24px; height: 24px; }
.c-indigo { --c: #3f5ef0; } .c-magenta { --c: #e0157f; } .c-amber { --c: #e38a00; } .c-green { --c: #13915f; }
.c-teal { --c: #0d9aa8; } .c-violet { --c: #7a4ce6; } .c-red { --c: #d63c3c; } .c-sky { --c: #1f8ce0; } .c-slate { --c: #4a5677; }

/* ── Dark band ────────────────────────────────────────────────── */
.dark { background: radial-gradient(800px 500px at 90% 0%, rgba(224,21,127,.18), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(71,102,240,.3), transparent 60%), var(--navy-950); color: #fff; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead, .dark .muted, .dark p { color: rgba(255,255,255,.72); }
.dark .eyebrow { color: #a9b8ff; }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.dark .card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.dark .card p { color: rgba(255,255,255,.66); }
.dark .icon-tile { background: rgba(255,255,255,.08); color: #fff; }

/* Architecture diagram */
.arch { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.arch-svg { width: 100%; height: auto; }
.arch-svg text { font-family: var(--font); }

/* ── Stats ────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-s); overflow: hidden; }
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 40px; font-weight: 780; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(180deg, var(--ink), var(--indigo-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* ── Pricing ──────────────────────────────────────────────────── */
.price-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.price-card { position: relative; border-radius: var(--radius-l); padding: 40px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-card.hl { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; border-color: transparent; box-shadow: var(--shadow-l); overflow: hidden; }
.price-card.hl::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224,21,127,.45), transparent); }
.price-card.hl h3, .price-card.hl .amt { color: #fff; }
.price-card .tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--indigo-50); color: var(--indigo-600); }
.price-card.hl .tag { background: rgba(255,255,255,.12); color: #ffd2ea; }
.amt { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; font-size: 52px; font-weight: 790; letter-spacing: -0.045em; line-height: 1; }
.amt small { font-size: 17px; font-weight: 550; letter-spacing: -0.01em; opacity: .72; }
.amt-sub { font-size: 15px; opacity: .78; }
.price-lines { margin: 26px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.price-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15.5px; }
.price-lines div span:last-child { font-variant-numeric: tabular-nums; font-weight: 650; }
.price-lines .total { font-size: 17px; font-weight: 700; border-bottom: 0; }
.price-card:not(.hl) .price-lines { border-top-color: var(--line); }
.price-card:not(.hl) .price-lines div { border-bottom-color: var(--line-2); }
/* Price calculator (Pricing) and the live price in the enquiry form */
.stepper { display: inline-flex; align-items: stretch; border: 1px solid #d6dbea; border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { width: 44px; border: 0; background: var(--paper-2); color: var(--ink); font: 600 20px/1 var(--font); cursor: pointer; transition: background .15s ease; }
.stepper button:hover { background: var(--indigo-50); color: var(--indigo-600); }
.stepper input, .field .stepper input { width: 72px; min-width: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-align: center; font: 700 18px/1.2 var(--font); padding: 11px 4px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--indigo-500); box-shadow: var(--ring); }
.field .stepper { align-self: flex-start; }
.calc-field { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.calc-field:first-of-type { margin-top: 10px; }
.calc-field label { display: flex; flex-direction: column; gap: 3px; }
.calc-field label b { font-size: 18px; color: var(--ink); }
.calc-field label small { color: var(--muted); font-size: 14px; }
.calc .price-card.hl .amt { font-size: 46px; }
.calc .price-lines [hidden] { display: none; }
.calc-amc { margin: 18px 0 0; font-size: 15px; color: rgba(255,255,255,.82); }
.calc-pay { margin: 14px 0 0; font-size: 13.5px; color: rgba(255,255,255,.62); }
.estimate { border: 1px solid var(--indigo-100); background: var(--indigo-50); border-radius: 14px; padding: 14px 16px; }
.est-row { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; font-size: 15px; color: var(--ink-2); }
.est-row b, .est-row span:last-child { font-variant-numeric: tabular-nums; }
.est-total { border-top: 1px solid var(--indigo-100); margin-top: 4px; padding-top: 9px; font-size: 16.5px; color: var(--ink); }
.est-note { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) { .calc-field { flex-direction: column; align-items: flex-start; } .calc .price-card.hl .amt { font-size: 38px; } }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 22px; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 10px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f4fd8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 4px 24px; color: var(--muted); max-width: 760px; }
.faq .ans p:last-child { margin: 0; }

/* ── CTA band ─────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(224,21,127,.45), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(71,102,240,.55), transparent 60%), var(--navy-900); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow-l); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); margin: 16px 0 0; font-size: 18px; }
.cta-band .btn-row { justify-content: flex-end; }

/* ── Forms ────────────────────────────────────────────────────── */
.form-shell { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 36px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .lbl { font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.field label .req { color: var(--magenta-500); }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid #d6dbea; border-radius: 12px; padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6786' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-500); box-shadow: var(--ring); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red-600); }
.field .err { color: var(--red-600); font-size: 13.5px; min-height: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; border: 1px solid #d6dbea; border-radius: 12px; cursor: pointer; font-weight: 650; font-size: 15px; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.seg label small { font-weight: 500; color: var(--muted); font-size: 13px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--indigo-500); background: var(--indigo-50); box-shadow: var(--ring); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--indigo-500); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.check { cursor: pointer; }
/* The consent box sits inside a .field, whose text-box rules (appearance:none,
   padding, rounded corners) used to turn it into an empty circle that never
   showed a tick. It has its own drawn box and tick. */
.field .check input[type="checkbox"], .check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; min-width: 22px; margin: 1px 0 0; padding: 0; flex: none;
  border: 1.6px solid #aab4d0; border-radius: 6px; background: #fff center / 15px 15px no-repeat; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.check input[type="checkbox"]:hover { border-color: var(--indigo-500); }
.check input[type="checkbox"]:checked {
  background-color: var(--indigo-600); border-color: var(--indigo-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.check input[type="checkbox"]:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--indigo-500); }
.check input[type="checkbox"][aria-invalid="true"] { border-color: var(--red-600); }
.field .hint { font-size: 13px; color: var(--muted); line-height: 1.4; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; border-radius: 14px; padding: 16px 18px; font-size: 15px; margin-top: 18px; background: var(--paper-3); color: var(--ink-2); }
.form-status.show { display: block; }
.form-status.ok { background: var(--green-100); color: #0e5c3d; }
.form-status.bad { background: #fde8e8; color: #8a1f1f; }
.form-done { text-align: center; padding: 26px 8px 8px; }
.form-done .big-tick { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); }
.form-done .big-tick svg { width: 36px; height: 36px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none !important; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact */
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: flex; gap: 16px; padding: 18px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line-2); }
.contact-item .icon-tile { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.contact-item b { display: block; font-size: 15.5px; }
.contact-item span, .contact-item a { font-size: 15px; }
.contact-item .meta { color: var(--muted); font-size: 13.5px; }

/* Steps (trial) */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 750; color: #fff; background: linear-gradient(180deg, #5372ff, var(--indigo-600)); margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 88px 0 72px; background: linear-gradient(180deg, var(--paper-2), #fff); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -200px; top: -260px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(71,102,240,.14), transparent); }
.page-hero::after { content: ""; position: absolute; left: -220px; bottom: -320px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224,21,127,.08), transparent); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.04em; margin: 16px 0 18px; max-width: 900px; }
.page-hero .lead { max-width: 720px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Feature index (features page) */
.toc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.toc-pills a { padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink-2); box-shadow: var(--shadow-s); }
.toc-pills a:hover { text-decoration: none; border-color: var(--indigo-400); color: var(--indigo-600); }
.module { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 64px 0; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; }
.module-head { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.module-head h2 { font-size: 30px; margin: 18px 0 12px; }
.module-head p { color: var(--muted); }
.module-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.mini h3 { font-size: 16.5px; margin-bottom: 6px; letter-spacing: -0.01em; }
.mini p { font-size: 15px; color: var(--muted); margin: 0; }
.module-body .window { grid-column: 1 / -1; margin-bottom: 6px; }

/* Notice / callout */
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--amber-100); color: #6b4300; font-size: 15px; line-height: 1.55; }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.callout.info { background: var(--indigo-50); color: #23377f; }

/* Legal documents */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: 14px; max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; padding-right: 8px; }
.legal-toc b { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.legal-toc a { display: block; padding: 5px 0; color: var(--ink-2); }
.legal-toc a.active { color: var(--indigo-600); font-weight: 650; }
.doc { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 820px; }
.doc .doc-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 18px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.doc .notice { padding: 20px 22px; border-radius: 16px; background: var(--amber-100); color: #5c3a00; margin: 0 0 32px; }
.doc .notice .head { font-weight: 750; margin-bottom: 8px; }
.doc .notice p { margin: 0 0 8px; }
.doc .caption { font-weight: 750; font-size: 20px; letter-spacing: -0.015em; color: var(--ink); margin: 40px 0 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 18px; }
.doc table th, .doc table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc table th { background: var(--paper-2); font-weight: 700; color: var(--ink); }
.doc table .band { background: var(--navy-900); color: #fff; }
.doc table .ref { width: 46px; color: var(--muted); font-weight: 600; }
.doc table .k { width: 36%; font-weight: 600; color: var(--ink); }
.doc h2.clause, .doc .schedule-title h2 { display: flex; gap: 12px; font-size: 22px; margin: 48px 0 16px; padding-top: 8px; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 20px); }
.doc h2.clause span:first-child { color: var(--indigo-600); min-width: 30px; }
.doc .schedule { margin-top: 64px; padding-top: 32px; border-top: 2px solid var(--ink); }
.doc .schedule-title .no { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta-500); font-weight: 700; }
.doc .schedule-title h2 { margin-top: 6px; }
.doc h3.sub { display: flex; gap: 10px; font-size: 18px; margin: 30px 0 12px; color: var(--ink); }
.doc h3.sub span:first-child { color: var(--indigo-600); }
.doc .c { display: grid; grid-template-columns: 46px 1fr; gap: 6px; margin: 0 0 10px; }
.doc .c > span { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.doc .c p { margin: 0; }
.doc .s { display: grid; grid-template-columns: 46px 34px 1fr; margin: 0 0 8px; }
.doc .s::before { content: ""; }
.doc .s > span { color: var(--muted); }
.doc .defs .s { grid-template-columns: 46px 40px 1fr; }
.doc .lead { font-weight: 700; color: var(--ink); font-size: inherit; }
.doc dfn { font-style: normal; font-weight: 650; color: var(--ink); }
.doc .contents, .doc .execution, .doc header.title, .doc .sig { display: none; }
.doc .levels td:first-child { font-weight: 650; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 80px 0 36px; font-size: 15px; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-by { color: rgba(255,255,255,.55); }
.foot-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: rgba(255,255,255,.5); }
.foot-address { margin-top: 18px; line-height: 1.6; font-size: 14px; color: rgba(255,255,255,.62); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1faa59; color: #fff; box-shadow: 0 10px 30px rgba(31,170,89,.45); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ── Reveal on scroll ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.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; }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-cta .btn-ghost { display: none; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-copy { order: 0; }
  .arch, .form-shell, .price-wrap, .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module { grid-template-columns: 1fr; gap: 28px; }
  .module-head { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: 2%; } .fc-2 { right: 2%; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-open .nav-links { display: flex; position: fixed; left: 0; right: 0; top: var(--nav-h); flex-direction: column; align-items: stretch; gap: 2px; padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
  .nav-open .nav-links a { color: var(--ink) !important; padding: 14px 12px; font-size: 17px; }
  .nav-open .nav-links .m-cta { display: flex; margin-top: 10px; }
  .nav-open .site-header { background: #fff; }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .flow::before, .flow-pulse { display: none; }
  .flow-detail { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .float-card { display: none; }
  .hero-visual .window { transform: none; }
}
@media (min-width: 901px) { .nav-links .m-cta { display: none; } }
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .section-sm { padding: 52px 0; }
  .g2, .g3, .g4, .module-body, .steps, .incl { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .form-card, .price-card { padding: 26px 20px; }
  .cta-band { padding: 40px 24px; border-radius: 22px; }
  .hero { padding-top: calc(var(--nav-h) + 52px); }
  .hero-visual { margin-top: 48px; margin-bottom: -120px; }
  .hero + .strip { padding-top: 150px; }
  .btn { height: 50px; }
  .hero .btn-row .btn, .cta-band .btn-row .btn { width: 100%; }
  .h-xl br { display: none; }
  .hero .chip { font-size: 13px; text-align: left; }
  .hero .chip b { white-space: nowrap; }
  .flow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .flow::-webkit-scrollbar { display: none; }
  .flow-step { flex: 0 0 92px; scroll-snap-align: start; gap: 8px; padding: 6px 4px; }
  .flow-step .node { width: 56px; height: 56px; border-radius: 16px; }
  .flow-step .lbl { font-size: 13.5px; }
  .flow-detail { margin-top: 20px; padding: 24px 20px; }
  .feature-row + .feature-row { margin-top: 88px; }
  .stat b { font-size: 32px; }
  .foot-grid { grid-template-columns: 1fr; }
  .doc .c { grid-template-columns: 38px 1fr; }
  .doc .s, .doc .defs .s { grid-template-columns: 14px 32px 1fr; }
  .doc table { font-size: 13.5px; display: block; overflow-x: auto; }
  .amt { font-size: 42px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- Availability (Windows · India · more regions) ---------- */
.avail { padding: 56px 0 8px; }
.avail-panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center;
  padding: 40px 44px; border-radius: var(--radius-l); color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #1f3a9c 0%, var(--navy-800) 46%, var(--navy-900) 100%);
  box-shadow: var(--shadow-l);
}
.avail-panel::after { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 21, 127, .28), transparent); pointer-events: none; }
.avail-copy { position: relative; z-index: 1; }
.avail-copy .eyebrow { color: #a9b8ff; }
.avail-copy h2 { margin: 12px 0 14px; color: #fff; }
.avail-copy h2 .serif { color: #ffd2ea; }
.avail-copy p { color: rgba(255, 255, 255, .74); font-size: 16.5px; line-height: 1.6; margin: 0 0 20px; max-width: 46ch; }
.avail-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 650; text-decoration: none;
  padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); transition: background .2s ease, transform .2s ease; }
.avail-link:hover { background: rgba(255, 255, 255, .18); transform: translateY(-1px); }
.avail-link svg { width: 16px; height: 16px; }
.avail-tiles { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.avail-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px;
  border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px); }
.avail-tile b { display: block; font-size: 16px; color: #fff; margin-bottom: 2px; }
.avail-tile span:not(.avail-ic) { display: block; font-size: 14px; color: rgba(255, 255, 255, .68); line-height: 1.45; }
.avail-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.avail-ic svg { width: 22px; height: 22px; }
.t-win .avail-ic { background: rgba(71, 102, 240, .22); color: #9fb2ff; }
.t-in .avail-ic { background: rgba(242, 154, 18, .2); color: #ffc35c; }
.t-next .avail-ic { background: rgba(224, 21, 127, .2); color: #ff8cc6; }
.t-next { border-style: dashed; }
.t-ios .avail-ic { background: rgba(13, 154, 168, .22); color: #6fe3ee; }
.avail-badge { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.avail-badge.ok { background: rgba(19, 145, 95, .22); color: #7ee2b0; }
.avail-badge.soon { background: rgba(255, 255, 255, .1); color: #ffd2ea; }
.avail-badge.soon i { width: 7px; height: 7px; border-radius: 50%; background: #ff8cc6; animation: avail-pulse 1.8s ease-in-out infinite; }
@keyframes avail-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 198, .55); } 50% { box-shadow: 0 0 0 6px rgba(255, 140, 198, 0); } }

.avail-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 22px 0 0; padding: 9px 16px;
  border-radius: 999px; background: var(--indigo-50); border: 1px solid var(--indigo-100); font-size: 14px; color: var(--ink-2); font-weight: 600; }
.avail-pill .ap-item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.avail-pill svg { width: 16px; height: 16px; color: var(--indigo-600); }
.avail-pill .ap-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.avail-pill .ap-next { color: var(--magenta-500); }
.avail-pill .ap-next svg { color: var(--magenta-500); }
.avail-pill .ap-next:hover { text-decoration: underline; }
.foot-avail { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.foot-avail svg { width: 15px; height: 15px; flex: none; }

@media (max-width: 900px) {
  .avail-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; }
}
@media (max-width: 640px) {
  .avail { padding: 40px 0 0; }
  .avail-panel { padding: 26px 18px; border-radius: var(--radius); }
  .avail-tile { grid-template-columns: auto minmax(0, 1fr); }
  .avail-tile .avail-badge { grid-column: 2; justify-self: start; }
  .avail-pill { border-radius: var(--radius-s); }
  .avail-pill .ap-sep { display: none; }
}
@media (prefers-reduced-motion: reduce) { .avail-badge.soon i { animation: none; } .avail-link { transition: none; } }

@media print {
  .site-header, .site-footer, .wa-float, .legal-toc, .doc-actions, .cta-band { display: none !important; }
  .legal-layout { display: block; }
  body { font-size: 12pt; }
}
