/* =========================================================
   Genie - site styles (mobile-first)
   ========================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #1764c8;
  --indigo: #3d4fb8;
  --violet: #6b3fb3;
  --magenta: #a1359f;
  --app: #6200ea;
  --orange: #f0841a;
  --green: #1f9d55;

  --grad: linear-gradient(100deg, var(--blue) 0%, var(--violet) 55%, var(--magenta) 100%);
  --grad-dark: linear-gradient(135deg, #0d1d4f 0%, #22237a 50%, #4a1f6e 100%);

  --ink: #10173a;
  --ink-2: #2f3760;
  --muted: #5c6487;
  --line: #e2e5f0;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --bg-tint: #eef0fb;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 23, 58, .06), 0 2px 8px rgba(16, 23, 58, .05);
  --shadow: 0 10px 30px -12px rgba(16, 23, 58, .22), 0 2px 6px rgba(16, 23, 58, .05);
  --shadow-lg: 0 30px 60px -20px rgba(28, 25, 90, .45);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 68px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(77, 52, 170, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(77, 52, 170, .8); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--violet); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--violet); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16,23,58,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-word { font-size: 1.65rem; font-weight: 800; letter-spacing: .02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-light .brand-word { background: linear-gradient(100deg, #7fb2ff, #c99cff 60%, #ff9fe6); -webkit-background-clip: text; background-clip: text; }
.brand-light .brand-sub { color: rgba(255,255,255,.6); }

.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
  box-shadow: 0 20px 40px -20px rgba(16,23,58,.35);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
}
.site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
.site-nav ul { list-style: none; }
.site-nav li a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 1.08rem; color: var(--ink); text-decoration: none;
}
.site-nav li a.is-active { color: var(--violet); }
.nav-cta { width: 100%; margin-top: 18px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 28px;
    max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none;
    opacity: 1; transform: none; visibility: visible;
  }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav li a { border: 0; padding: 8px 12px; font-size: .97rem; border-radius: 10px; color: var(--ink-2); }
  .site-nav li a:hover { background: var(--bg-tint); color: var(--ink); }
  .site-nav li a.is-active { background: var(--bg-tint); color: var(--violet); }
  .nav-cta { width: auto; margin: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }
.section-dark { background: var(--grad-dark); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.section-dark .eyebrow { color: #c9b5ff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-dark); color: rgba(255,255,255,.85);
  padding-block: 48px 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(161,53,159,.45), transparent 60%),
    radial-gradient(500px 380px at 10% 90%, rgba(23,100,200,.5), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 8px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .hl { background: linear-gradient(100deg, #8ec0ff, #d6a8ff 55%, #ffa8e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.22rem); max-width: 560px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; list-style: none; font-size: .95rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: #7ee2a8; width: 18px; height: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; margin-bottom: 20px;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: .85rem; font-weight: 700; color: #fff;
}
.pill b { background: var(--orange); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: .75rem; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 480px) { .pill { font-size: .78rem; line-height: 1.35; border-radius: 16px; } }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 360px; }
.device {
  position: relative; background: #0b0d1c; border-radius: 34px; padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2e48;
}
.device img { border-radius: 25px; width: 100%; }
.device-phone { width: min(62vw, 270px); transform: translateY(24px); z-index: 2; }
.device-back { position: absolute; width: min(48vw, 210px); opacity: .95; z-index: 1; }
.device-back.left { left: calc(50% - min(58vw, 250px)); bottom: 70px; transform: rotate(-8deg); }
.device-back.right { right: calc(50% - min(58vw, 250px)); bottom: 70px; transform: rotate(8deg); }
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem;
  padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow);
  white-space: nowrap;
}
.float-chip .dot { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; }
.float-chip .dot .icon { width: 17px; height: 17px; }
.float-chip.c1 { top: 18%; left: 2%; }
.float-chip.c2 { top: 44%; right: 0; }
.float-chip.c3 { bottom: 16%; left: 0; }

@media (min-width: 960px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 24px; }
  .hero-copy { padding-bottom: 96px; }
  .hero-visual { min-height: 560px; }
  .device-phone { width: 290px; }
  .device-back { width: 220px; }
  .device-back.left { left: 0; }
  .device-back.right { right: 0; }
}
@media (max-width: 480px) {
  .float-chip { font-size: .76rem; padding: 8px 10px; }
  .float-chip .dot { width: 24px; height: 24px; }
  .device-back { display: none; }
}

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 4; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 26px 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }
@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card { display: block; text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4d8ec; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 14px; color: #fff; background: var(--grad);
  box-shadow: 0 8px 18px -8px rgba(77, 52, 170, .6);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-icon.ic-blue { background: linear-gradient(135deg, #2a8cf0, #1452b8); }
.card-icon.ic-violet { background: linear-gradient(135deg, #8a5cf0, #5a2fb0); }
.card-icon.ic-magenta { background: linear-gradient(135deg, #d14fc4, #8e2a8b); }
.card-icon.ic-orange { background: linear-gradient(135deg, #ffad4d, #e5700a); }
.card-icon.ic-green { background: linear-gradient(135deg, #37c47a, #138a48); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .95rem; color: var(--violet); }
.card-link .icon { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .card-link .icon { transform: translateX(3px); }

.section-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section-dark .card p { color: rgba(255,255,255,.7); }
.section-dark .card:hover { border-color: rgba(255,255,255,.28); }

/* ---------- Split (text + media) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split + .split { margin-top: clamp(64px, 10vw, 120px); }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.reverse .split-media { order: -1; }
}
.split-copy > p { font-size: 1.05rem; }
.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon {
  width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%;
  background: color-mix(in srgb, var(--green) 14%, #fff); color: var(--green);
}
.section-dark .checklist .icon { background: rgba(126,226,168,.15); color: #7ee2a8; }
.checklist strong { color: var(--ink); }
.section-dark .checklist strong { color: #fff; }
.checklist.cols { gap: 10px 24px; }
@media (min-width: 640px) { .checklist.cols { grid-template-columns: 1fr 1fr; } }

.split-media { position: relative; display: flex; justify-content: center; }
.split-media::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 40px; z-index: 0;
  background: var(--grad); opacity: .14; filter: blur(30px);
}
.split-media > * { position: relative; z-index: 1; }
.shot { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.shot img { width: 100%; }
.shot-browser { padding-top: 30px; position: relative; }
.shot-browser::before {
  content: ""; position: absolute; top: 11px; left: 14px; width: 9px; height: 9px; border-radius: 50%;
  background: #ff5f57; box-shadow: 15px 0 0 #febc2e, 30px 0 0 #28c840;
}
.shot-browser img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-top: 1px solid var(--line); }
.device-stack { display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.device-stack .device { width: min(44vw, 240px); }
.device-stack .device:nth-child(2) { transform: translateY(-28px); }

/* ---------- Logos / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; font-size: .93rem; color: var(--ink);
}
.chip .icon { width: 18px; height: 18px; color: var(--violet); }
.section-dark .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.section-dark .chip .icon { color: #d6a8ff; }

.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(4, 1fr); } }
.partner {
  display: grid; place-items: center; min-height: 70px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; color: var(--ink-2); text-align: center;
}
.partner small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* ---------- Editions ---------- */
.editions { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 960px) { .editions { grid-template-columns: repeat(3, 1fr); } }
.edition {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.edition-head { padding: 26px 26px 22px; color: #fff; }
.edition-head h3 { color: #fff; font-size: 1.6rem; margin: 0; }
.edition-head p { margin: 4px 0 0; color: rgba(255,255,255,.85); font-weight: 600; }
.edition.start .edition-head { background: linear-gradient(135deg, #1e8fe0, #1458b5); }
.edition.plus .edition-head { background: linear-gradient(135deg, #ffa23a, #e36d07); }
.edition.pro .edition-head { background: linear-gradient(135deg, #9a4cc9, #6a2a95); }
.edition.featured { border-color: #f6b46b; box-shadow: 0 24px 50px -24px rgba(227,109,7,.55); }
.edition .badge {
  position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.95); color: #c25a00;
  font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em;
}
.edition-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.edition-body .lead { font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.edition-body .checklist { margin: 0 0 24px; gap: 9px; font-size: .96rem; }
.edition-body .checklist .icon { width: 20px; height: 20px; }
.edition-body .btn { margin-top: auto; }
.edition.start .checklist .icon { color: #1458b5; background: #e3effc; }
.edition.plus .checklist .icon { color: #d46500; background: #fff0e0; }
.edition.pro .checklist .icon { color: #6a2a95; background: #f2e6fa; }
.edition-foot { padding: 14px 26px; font-weight: 700; font-size: .92rem; text-align: center; border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { position: sticky; top: 0; background: #fff; font-size: 1rem; color: var(--ink); }
.compare thead th.c-start { color: #1458b5; }
.compare thead th.c-plus { color: #d46500; }
.compare thead th.c-pro { color: #6a2a95; }
.compare tbody tr:hover { background: var(--bg-soft); }
.compare .group td { background: var(--bg-tint); font-weight: 800; color: var(--ink); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.compare .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3f6ec; color: var(--green); }
.compare .yes .icon { width: 15px; height: 15px; }
.compare .no { color: #b8bdd3; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 64px);
  background: var(--grad-dark); color: rgba(255,255,255,.85);
  display: grid; gap: 24px; align-items: center;
}
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(161,53,159,.55), transparent 65%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.08rem; }
@media (min-width: 960px) { .cta { grid-template-columns: 1fr auto; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-dark); color: rgba(255,255,255,.82); padding-block: clamp(48px, 8vw, 88px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 0%, rgba(161,53,159,.45), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2rem, 5.4vw, 3.1rem); }
.page-hero p { max-width: 680px; font-size: 1.1rem; margin: 0; }
.page-hero .eyebrow { color: #c9b5ff; }

/* in-page nav for features */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink-2); text-decoration: none; background: var(--bg-soft); }
.subnav a:hover, .subnav a.is-active { background: var(--ink); color: #fff; }

.feature-block { padding-block: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.feature-block:nth-of-type(even) { background: var(--bg-soft); }
.mini-grid { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 640px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
.mini { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mini .ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--bg-tint); color: var(--violet); }
.mini .ic .icon { width: 21px; height: 21px; }
.mini h3 { font-size: 1rem; margin: 2px 0 4px; }
.mini p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .industries { grid-template-columns: repeat(5, 1fr); } }
.industry { padding: 14px 12px; overflow-wrap: anywhere; hyphens: auto; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; font-size: .97rem; }
.industry .icon { color: #d6a8ff; }
@media (max-width: 480px) { .industry { font-size: .86rem; padding: 12px 10px; gap: 8px; } .industry .icon { width: 1.05em; height: 1.05em; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; }
.field .err { display: block; color: #c0262d; font-size: .85rem; margin-top: 4px; }
.field .input-validation-error { border-color: #e0565c; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--violet); }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-ok { background: #e3f6ec; color: #11663a; }
.alert-err { background: #fde8e9; color: #9a1c22; }

.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.contact-list .ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { font-weight: 700; }

/* ---------- Docs ---------- */
.docs-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .docs-layout { grid-template-columns: 260px 1fr; gap: 56px; } }
.docs-side { font-size: .95rem; }
@media (min-width: 960px) { .docs-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.docs-side h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 20px 0 8px; }
.docs-side h2:first-child { margin-top: 0; }
.docs-side ul { list-style: none; }
.docs-side a { display: block; padding: 7px 12px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.docs-side a:hover { background: var(--bg-soft); }
.docs-side a.is-active { background: var(--bg-tint); color: var(--violet); }
.docs-search { width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); margin-bottom: 18px; }
.docs-search:focus { outline: none; border-color: var(--violet); background: #fff; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0d1c; box-shadow: var(--shadow); margin-bottom: 32px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prose { max-width: 760px; font-size: 1.04rem; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 1.2em 0; }
.prose code { background: var(--bg-tint); padding: .15em .4em; border-radius: 6px; font-size: .92em; }
.prose pre { background: #0f1638; color: #e6e9ff; padding: 18px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--violet); background: var(--bg-tint); border-radius: 0 12px 12px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--bg-soft); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }

.empty-state { text-align: center; padding: 56px 24px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state .icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--violet); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; list-style: none; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800;
}
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.soon { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #fff0e0; color: #c25a00; margin-bottom: 16px; }
.page-hero .soon { background: rgba(255,173,77,.18); color: #ffc887; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1233; color: rgba(255,255,255,.7); padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand p { margin: 16px 0 18px; max-width: 320px; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #b99bff; width: 18px; height: 18px; }
.footer-contact strong { color: #fff; font-weight: 700; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.08); }
.social a:hover { background: rgba(255,255,255,.16); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

[hidden] { display: none !important; }
