/* =====================================================================
   [Business Name] — Template 2 (dark SaaS / startup)
   CONFIG BLOCK: change colors, fonts, shape and layout here.
   ===================================================================== */
:root {
  /* Colors */
  --bg: #0b0d12;              /* page background */
  --bg-2: #11141b;            /* raised sections / table rows */
  --surface: rgba(255,255,255,.045);   /* glass panel fill */
  --surface-strong: rgba(255,255,255,.075);
  --border: rgba(255,255,255,.12);     /* panel borders */
  --text: #eef0f6;            /* main text */
  --muted: #a7aec0;           /* secondary text */
  --accent-1: #7c5cff;        /* gradient start (violet) */
  --accent-2: #22d3ee;        /* gradient end (cyan) */
  --accent-text: #b5a5ff;     /* accent used for small text/links (AA on dark) */
  --on-accent: #07080c;       /* text on gradient buttons */
  --danger: #ff8a9b;          /* form errors */
  --success: #5eead4;         /* form success */
  --warn: #fbd38d;            /* "example price" banner text */

  /* Fonts (also change the Google Fonts <link> in each page <head>) */
  --font-heading: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape, depth, layout */
  --radius: 12px;
  --radius-sm: 10px;
  --max: 1200px;
  --header-h: 68px;
  --gradient: linear-gradient(120deg, var(--accent-1) 0%, var(--accent-2) 100%);
  --glow: 0 0 0 1px rgba(124,92,255,.5), 0 0 32px rgba(124,92,255,.28);
}

/* =====================================================================
   Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* subtle grid + noise background (pure CSS / inline SVG, no images) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 85%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: #fff; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.eyebrow { display: inline-block; font-family: var(--font-heading); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .9rem; }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.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; }

/* focus + skip link */
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: #fff; color: #000; padding: .7rem 1rem; border-radius: var(--radius-sm); font-weight: 600; transition: top .15s; }
.skip-link:focus { top: 1rem; }

/* =====================================================================
   Buttons, badge, glass
   ===================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1 var(--font-body); padding: .95rem 1.4rem; border-radius: var(--radius-sm); border: 1px solid transparent; text-decoration: none; cursor: pointer; min-height: 48px; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn-primary { background: var(--gradient); color: var(--on-accent); box-shadow: 0 8px 28px -8px rgba(124,92,255,.7); }
.btn-primary:hover { color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(34,211,238,.6); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.3); background: var(--surface-strong); }
.btn-sm { padding: .65rem 1.05rem; min-height: 42px; font-size: .95rem; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.badge { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .45rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .875rem; color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.badge b { background: var(--gradient); color: var(--on-accent); border-radius: 999px; padding: .15rem .6rem; font-size: .75rem; font-weight: 700; }

.glass { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: relative; }
/* glowing gradient border on hover / focus-within */
.glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--gradient); opacity: 0; transition: opacity .25s; pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glow:hover::before, .glow:focus-within::before, .glow.always::before { opacity: 1; }
.glow:hover, .glow.always { box-shadow: 0 0 40px -10px rgba(124,92,255,.55); }

/* =====================================================================
   Header (sticky, blurred) + mobile menu
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11,13,18,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.15rem var(--font-heading); color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo:hover { color: #fff; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .55rem .85rem; border-radius: var(--radius-sm); }
.nav a:not(.btn):hover { color: #fff; background: var(--surface); }
.nav a[aria-current="page"] { color: #fff; background: var(--surface-strong); }
.nav .btn { margin-left: .5rem; }
.menu-btn { display: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); width: 46px; height: 46px; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 860px) {
  html.js .menu-btn { display: inline-flex; }
  html.js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: .5rem 0 1.25rem; gap: .25rem; }
  html.js .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav .btn { margin: .5rem 0 0; }
  html:not(.js) .nav { width: 100%; padding-bottom: .75rem; }
}

/* =====================================================================
   Hero + animated blob + product mockup
   ===================================================================== */
.hero { position: relative; padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); text-align: center; isolation: isolate; overflow: hidden; }
.hero-inner { max-width: 820px; margin-inline: auto; }
.hero h1 { margin: 1rem 0 1rem; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.hero-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.blob-wrap { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; left: 50%; top: -120px; margin-left: -460px; background: var(--accent-1); animation: drift1 16s ease-in-out infinite alternate; }
.blob.b2 { width: 460px; height: 460px; left: 50%; top: -60px; margin-left: 0; background: var(--accent-2); opacity: .35; animation: drift2 19s ease-in-out infinite alternate; }
.blob.b3 { width: 340px; height: 340px; left: 50%; top: 120px; margin-left: -170px; background: #c026d3; opacity: .22; animation: drift3 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 60px) scale(.9); } }
@keyframes drift3 { to { transform: translate(90px, -40px) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.mock-wrap { position: relative; margin-top: clamp(1.75rem, 3.5vw, 2.75rem); text-align: left; }
.mock-wrap::before { content: ""; position: absolute; inset: 8% 6% -6%; background: var(--gradient); filter: blur(70px); opacity: .22; z-index: -1; }
.mock { border-radius: 14px; overflow: hidden; background: rgba(16,19,27,.85); border: 1px solid var(--border); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(124,92,255,.15); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.mock-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-bar .url { margin-left: .75rem; flex: 0 1 280px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.06); }
.mock-body { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.mock-side { padding: 1rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: .6rem; }
.mock-side .brand { height: 22px; width: 70%; border-radius: 6px; background: var(--gradient); margin-bottom: .6rem; }
.mock-side .item { height: 16px; border-radius: 5px; background: rgba(255,255,255,.07); }
.mock-side .item.on { background: rgba(124,92,255,.35); box-shadow: inset 0 0 0 1px rgba(124,92,255,.6); }
.mock-side .item:nth-child(4) { width: 80%; } .mock-side .item:nth-child(6) { width: 60%; } .mock-side .item:nth-child(7) { width: 72%; }
.mock-main { padding: 1.1rem 1.25rem 1.25rem; display: grid; gap: 1rem; align-content: start; }
.mock-top { display: flex; justify-content: space-between; align-items: center; }
.mock-top .title { height: 18px; width: 160px; border-radius: 5px; background: rgba(255,255,255,.14); }
.mock-top .pill { height: 26px; width: 92px; border-radius: 8px; background: var(--gradient); opacity: .9; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.mock-stat { border: 1px solid var(--border); border-radius: 10px; padding: .8rem; background: rgba(255,255,255,.03); }
.mock-stat .k { height: 9px; width: 50%; border-radius: 4px; background: rgba(255,255,255,.14); margin-bottom: .6rem; }
.mock-stat .v { height: 20px; width: 70%; border-radius: 5px; background: rgba(255,255,255,.28); }
.mock-stat:nth-child(1) .v { background: var(--gradient); }
.mock-chart { border: 1px solid var(--border); border-radius: 10px; padding: 1rem; background: rgba(255,255,255,.03); display: flex; align-items: flex-end; gap: .5rem; height: 150px; position: relative; overflow: hidden; }
.mock-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent-1), rgba(124,92,255,.15)); }
.mock-chart span:nth-child(3n) { background: linear-gradient(180deg, var(--accent-2), rgba(34,211,238,.12)); }
.mock-rows { display: grid; gap: .5rem; }
.mock-rows div { height: 14px; border-radius: 5px; background: rgba(255,255,255,.06); }
.mock-rows div:nth-child(2) { width: 88%; } .mock-rows div:nth-child(3) { width: 70%; }
/* chips stay INSIDE the mockup box (no overhang past the container); c1 sits in the chart-header row */
.chip { position: absolute; padding: .65rem .9rem; border-radius: var(--radius-sm); background: rgba(24,28,40,.92); border: 1px solid var(--border); display: flex; align-items: center; gap: .6rem; font-size: .85rem; box-shadow: 0 16px 40px -12px rgba(0,0,0,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip .dot { width: 28px; height: 28px; border-radius: 8px; background: var(--gradient); }
.chip small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.2; }
.chip strong { font-family: var(--font-heading); font-size: .9rem; line-height: 1.2; }
.mock-charthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.mock-charthead .ch-title { height: 16px; width: 140px; max-width: 40%; border-radius: 5px; background: rgba(255,255,255,.14); }
.chip.c1 { position: relative; flex: none; }  /* sits beside the chart header, in the empty space, never over a card */
.chip.c2 { left: 210px; bottom: 1rem; }
@media (prefers-reduced-motion: no-preference) { .chip.c1 { animation: float 6s ease-in-out infinite alternate; } .chip.c2 { animation: float 7s ease-in-out infinite alternate-reverse; } }
@keyframes float { to { transform: translateY(-8px); } }
@media (max-width: 760px) {
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-stats { grid-template-columns: 1fr 1fr; } .mock-stat:nth-child(3) { display: none; }
  .chip.c2 { display: none; }
}

/* logo strip */
.logos { padding-block: 1rem 2.5rem; text-align: center; }
.logos p { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 1.1rem; }
.logo-ph { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; border: 1px dashed rgba(255,255,255,.22); border-radius: var(--radius-sm); color: var(--muted); font: 600 .9rem var(--font-heading); }
.logo-ph::before { content: ""; width: 16px; height: 16px; border-radius: 4px; background: rgba(255,255,255,.2); }

/* =====================================================================
   Bento features
   ===================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile { padding: 1.5rem; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s; }
.tile h3 { margin-bottom: .4rem; }
.tile p { color: var(--muted); font-size: .98rem; margin: 0; }
.tile .vis { margin-top: auto; padding-top: 1.25rem; }
.t-lg { grid-column: span 4; } .t-md { grid-column: span 3; } .t-sm { grid-column: span 2; }
.icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(124,92,255,.16); border: 1px solid rgba(124,92,255,.4); display: grid; place-items: center; margin-bottom: 1rem; color: var(--accent-text); }
.icon svg { width: 22px; height: 22px; }
.v-bars { display: flex; align-items: flex-end; gap: .4rem; height: 90px; }
.v-bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent-1), rgba(124,92,255,.1)); }
.v-bars span:nth-child(even) { background: linear-gradient(180deg, var(--accent-2), rgba(34,211,238,.1)); }
.v-toggles { display: grid; gap: .6rem; }
.v-toggles div { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 .7rem; border-radius: 8px; background: rgba(255,255,255,.05); }
.v-toggles div::before { content: ""; width: 45%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.16); }
.v-toggles div::after { content: ""; width: 30px; height: 16px; border-radius: 99px; background: var(--gradient); box-shadow: inset -10px 0 0 -2px rgba(255,255,255,.9); }
.v-toggles div:nth-child(2)::after { background: rgba(255,255,255,.14); box-shadow: inset 10px 0 0 -2px rgba(255,255,255,.7); }
.v-nodes { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.v-nodes span { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid var(--border); flex: none; }
.v-nodes span:nth-child(odd) { background: rgba(124,92,255,.25); border-color: rgba(124,92,255,.6); }
.v-nodes i { flex: 1; height: 2px; background: var(--gradient); opacity: .7; }
.v-lines { display: grid; gap: .5rem; }
.v-lines div { height: 10px; border-radius: 5px; background: rgba(255,255,255,.09); }
.v-lines div:nth-child(1) { width: 92%; background: var(--gradient); opacity: .8; } .v-lines div:nth-child(2) { width: 74%; } .v-lines div:nth-child(3) { width: 55%; }
.v-ring { width: 88px; height: 88px; border-radius: 50%; background: conic-gradient(var(--accent-2) 0 72%, rgba(255,255,255,.1) 72% 100%); display: grid; place-items: center; }
.v-ring::after { content: ""; width: 64px; height: 64px; border-radius: 50%; background: #12151d; }
@media (max-width: 960px) { .t-lg, .t-md { grid-column: span 6; } .t-sm { grid-column: span 3; } .bento > .t-sm:last-child { grid-column: span 6; } }
@media (max-width: 620px) { .t-sm { grid-column: span 6; } }

/* =====================================================================
   Steps, metrics, testimonials, CTA
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.step { padding: 1.75rem; }
.step .num { font: 700 .95rem var(--font-heading); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--gradient); color: var(--on-accent); margin-bottom: 1rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.75rem; }
.metric { text-align: center; padding: .5rem; }
.metric .n { font: 700 clamp(2rem, 4vw, 3rem)/1.1 var(--font-heading); letter-spacing: -.03em; }
.metric p { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; }
.metrics-note { text-align: center; color: var(--muted); font-size: .85rem; margin: 1rem 0 0; }
@media (max-width: 820px) { .metrics { grid-template-columns: 1fr 1fr; } }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; margin: 0; }
.quote blockquote { margin: 0; font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); display: grid; place-items: center; font: 700 .9rem var(--font-heading); color: var(--on-accent); flex: none; }
.who strong { display: block; font-size: .95rem; line-height: 1.3; }
.who span { color: var(--muted); font-size: .85rem; }
.sample-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(251,211,141,.4); border-radius: 6px; padding: .15rem .5rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

.cta-band { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(34,211,238,.12)); }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 1.75rem; font-size: 1.1rem; }

/* page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin: 0 auto; }
.page-hero .blob-wrap, .hero.nf .blob-wrap { /* fade the glow out so it melts into the page background (no hard line) */
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.page-hero .blob.b1 { width: 380px; height: 380px; top: -160px; margin-left: -380px; }
.page-hero .blob.b2 { width: 340px; height: 340px; top: -140px; margin-left: 20px; }

/* =====================================================================
   Features page rows
   ===================================================================== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: 2.25rem; }
.feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-copy ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .65rem; }
.feature-copy li { display: flex; gap: .7rem; color: var(--text); }
.feature-copy li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .22rem; border-radius: 6px; background: var(--gradient); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
.feature-copy p { color: var(--muted); }
.feature-vis { padding: 1.5rem; min-height: 260px; display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.feature-vis .v-bars { height: 140px; }
.feature-vis .row { display: flex; gap: .75rem; align-items: center; }
.feature-vis .box { height: 54px; flex: 1; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.feature-vis .box.hi { background: rgba(124,92,255,.22); border-color: rgba(124,92,255,.55); }
@media (max-width: 820px) { .feature-row { grid-template-columns: 1fr; } .feature-row:nth-child(even) .feature-copy { order: 0; } }
.integrations { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
@media (max-width: 760px) { .integrations { grid-template-columns: repeat(2, 1fr); } }
.integ { padding: 1rem; display: flex; align-items: center; gap: .7rem; font: 600 .92rem var(--font-heading); }
.integ::before { content: ""; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.1); flex: none; }

/* =====================================================================
   About
   ===================================================================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.panel { padding: 2rem; }
.panel p { color: var(--muted); margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.value { padding: 1.5rem; }
.value p { color: var(--muted); font-size: .96rem; margin: 0; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.member { padding: 1.5rem; text-align: center; }
.member .avatar { width: 84px; height: 84px; margin: 0 auto 1rem; font-size: 1.1rem; background: linear-gradient(135deg, rgba(124,92,255,.5), rgba(34,211,238,.35)); color: var(--text); border: 1px dashed rgba(255,255,255,.35); }
.member p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 960px) { .values, .team { grid-template-columns: 1fr 1fr; } .two-col { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .values, .team { grid-template-columns: 1fr; } }

/* =====================================================================
   Pricing
   ===================================================================== */
.example-banner { max-width: 760px; margin: 0 auto 2rem; text-align: center; font-size: .92rem; color: var(--warn); border: 1px solid rgba(251,211,141,.35); background: rgba(251,211,141,.07); border-radius: var(--radius-sm); padding: .7rem 1rem; }
.toggle-row { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 2.5rem; font-weight: 500; flex-wrap: wrap; }
.toggle-row .lbl { color: var(--muted); transition: color .2s; }
.toggle-row .lbl.active { color: #fff; }
.switch { position: relative; width: 58px; height: 32px; border-radius: 99px; border: 1px solid rgba(255,255,255,.5); background: var(--surface-strong); cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--gradient); border-color: transparent; }
.switch[aria-checked="true"]::after { transform: translateX(26px); }
@media (prefers-reduced-motion: reduce) { .switch::after { transition: none; } }
.save-pill { font-size: .78rem; font-weight: 700; color: var(--on-accent); background: var(--success); border-radius: 99px; padding: .15rem .6rem; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.tier { padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.tier.popular { background: linear-gradient(180deg, rgba(124,92,255,.16), rgba(255,255,255,.04)); }
.tier .pop { position: absolute; top: -13px; left: 1.75rem; background: var(--gradient); color: var(--on-accent); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 99px; }
.tier h3 { font-size: 1.3rem; }
.tier .sub { color: var(--muted); font-size: .96rem; min-height: 3.4em; margin-bottom: 1rem; }  /* keeps all prices on one baseline */
.price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .25rem; }
.price .amount { font: 700 3rem/1 var(--font-heading); letter-spacing: -.04em; }
.price .per { color: var(--muted); font-size: .95rem; }
.price-note { color: var(--muted); font-size: .8rem; margin: 0 0 1.5rem; min-height: 1.4em; }
.tier ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; font-size: .98rem; }
.tier li { display: flex; gap: .65rem; }
.tier li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: .25rem; background: var(--accent-2); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
.tier .btn { margin-top: auto; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .tier .sub { min-height: 0; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
.compare caption { text-align: left; padding: 1rem 1.25rem; color: var(--muted); font-size: .9rem; }
.compare th, .compare td { padding: .9rem 1.25rem; text-align: center; border-top: 1px solid var(--border); }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font-weight: 500; }
.compare thead th { font: 600 .95rem var(--font-heading); color: #fff; background: rgba(255,255,255,.04); }
.compare tbody tr:hover { background: rgba(255,255,255,.03); }
.compare .yes { color: var(--accent-2); font-weight: 700; }
.compare .no { color: var(--muted); }

.faq { max-width: 780px; margin-inline: auto; display: grid; gap: .75rem; }
.faq-item { padding: 0; }
.faq-item h3 { margin: 0; font-size: 1.05rem; letter-spacing: 0; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; color: var(--text); font: 600 1.05rem var(--font-heading); text-align: left; padding: 1.15rem 1.35rem; cursor: pointer; border-radius: var(--radius); }
.faq-q::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent-2); flex: none; transition: transform .2s; }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.35rem 1.2rem; color: var(--muted); }
.faq-a p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq-q::after { transition: none; } }

/* =====================================================================
   Contact form
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; align-items: start; }
.form-card { padding: 2rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.field .req { color: var(--accent-2); }
.input { width: 100%; font: inherit; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-sm); padding: .8rem 1rem; min-height: 48px; }
.input::placeholder { color: #8a91a5; }
textarea.input { min-height: 140px; resize: vertical; }
select.input option { background: #14171f; color: var(--text); }
.input:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 1px; border-color: transparent; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .88rem; margin: .4rem 0 0; min-height: 0; }
.err:empty { display: none; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(94,234,212,.4); background: rgba(94,234,212,.08); color: var(--success); }
.form-status[hidden] { display: none; }
.side-card { padding: 1.75rem; display: grid; gap: 1.25rem; }
.side-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.side-card p { margin: 0; color: var(--muted); }
.map-ph { height: 150px; border-radius: var(--radius-sm); border: 1px dashed rgba(255,255,255,.25); background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px); display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* 404 */
.nf { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.nf .code { font: 800 clamp(5rem, 18vw, 10rem)/1 var(--font-heading); letter-spacing: -.06em; }
.nf p { color: var(--muted); max-width: 46ch; margin: 0 auto 2rem; font-size: 1.15rem; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { border-top: 1px solid var(--border); background: rgba(8,9,13,.7); padding-block: 3.5rem 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-2); text-decoration: underline; }
.footer-about p { color: var(--muted); max-width: 34ch; margin-top: 1rem; font-size: .96rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; color: var(--text); }
.socials a:hover { border-color: var(--accent-2); color: var(--accent-2); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Scroll reveal — FAIL-SAFE.
   Content is visible by default. It is only hidden when JS has added
   .js-reveal to <html> (done only if IntersectionObserver exists) AND the
   visitor has not asked for reduced motion. Printing always shows everything.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  html.js-reveal .reveal.in { opacity: 1; transform: none; }
  html.js-reveal .reveal.instant { transition: none; }
}
/* Hero entrance: a plain keyframe animation always finishes, so it can never leave content hidden. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s ease both; }
  .rise.d2 { animation-delay: .15s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }
