/* The JOLT website: promotional pages (/, /apps/, /apps/r/, /apps/sql/). The documentation has its own docs/docs.css.
   Light by default, dark when the system asks for it. The hero and the call-to-action band are dark in both. */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f5fb;
  --bg-card: #ffffff;
  --fg: #17142a;
  --fg-muted: #565172;
  --border: #e4e1f1;
  --brand: #6d3df0;
  --brand-2: #9b6bff;
  --brand-ink: #4a22c4;
  --brand-soft: #efe9ff;
  --green: #1d7a4a;
  --green-soft: #e3f4ea;
  --amber: #b45309;
  --amber-soft: #fff1d6;
  --code-bg: #14112b;
  --code-fg: #e9e6ff;
  --shadow: 0 1px 2px rgba(23, 20, 42, 0.06), 0 12px 32px -12px rgba(60, 30, 140, 0.22);
  --shadow-lg: 0 2px 4px rgba(23, 20, 42, 0.08), 0 30px 70px -20px rgba(60, 30, 140, 0.45);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0d1e;
    --bg-alt: #151228;
    --bg-card: #1a1733;
    --fg: #ece9ff;
    --fg-muted: #a39fc4;
    --border: #2b2750;
    --brand: #8f6bff;
    --brand-2: #b79cff;
    --brand-ink: #c9b8ff;
    --brand-soft: #251f4d;
    --green: #4fd08a;
    --green-soft: #12301f;
    --amber: #f5a54a;
    --amber-soft: #38270e;
    --code-bg: #0a0817;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.5), 0 30px 70px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 750; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code, kbd, pre { font-family: "Cascadia Code", "Cascadia Mono", Consolas, "SF Mono", monospace; font-size: 0.88em; }
code { background: var(--brand-soft); color: var(--brand-ink); padding: 1px 6px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--fg-muted); }
.ui { font-weight: 650; }

/* ---------- header ---------- */
.site-top { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.site-top .bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.site-top nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-top nav a { color: var(--fg); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.97rem; }
.site-top nav a:hover { background: var(--brand-soft); text-decoration: none; }
.site-top nav a[aria-current="page"] { color: var(--brand-ink); }
.site-top nav a.cta { background: var(--brand); color: #fff; margin-left: 8px; padding: 9px 18px; }
.site-top nav a.cta:hover { filter: brightness(1.1); }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--border); color: var(--fg); border-radius: 10px; width: 42px; height: 38px; font-size: 18px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1.02rem; border: 1px solid transparent; transition: transform 0.12s, filter 0.12s, background 0.12s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, #7c4dff, #5b2fe0); color: #fff; box-shadow: 0 10px 28px -8px rgba(110, 60, 240, 0.7); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { color: var(--fg); border-color: var(--border); background: var(--bg-card); }
.btn.ghost:hover { border-color: var(--brand); }
.on-dark .btn.ghost, .hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); }
.on-dark .btn.ghost:hover, .hero .btn.ghost:hover { border-color: rgba(255, 255, 255, 0.7); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #f3f0ff; padding: 88px 0 0; background:
  radial-gradient(900px 500px at 82% -10%, rgba(155, 107, 255, 0.55), transparent 60%),
  radial-gradient(700px 500px at 0% 10%, rgba(58, 130, 255, 0.28), transparent 60%),
  linear-gradient(180deg, #120d33 0%, #1b1050 60%, #231368 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-copy { max-width: 860px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18); color: #d9ceff; margin-bottom: 24px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 12px #6ee7a8; }
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.grad { background: linear-gradient(100deg, #c4a8ff 0%, #8fd0ff 55%, #7ef0c0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #d4cdf5; max-width: 720px; margin: 0 auto; }
.hero .btn-row { justify-content: center; }
.hero-note { margin: 22px 0 0; font-size: 0.93rem; color: #a99fe0; }
.hero-stage { position: relative; margin: 64px auto 0; max-width: 1060px; }
.hero-stage .photo { position: absolute; inset: -40px -60px auto auto; width: 46%; opacity: 0.9; border-radius: 24px; pointer-events: none; }

/* ---------- window mockups (CSS only, so they never go missing) ---------- */
.win { background: #fff; color: #1d1b30; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.14); font-family: "Segoe UI", system-ui, sans-serif; font-size: 13px; line-height: 1.4; text-align: left; }
.win.full { border-radius: 14px; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #217346; color: #fff; font-weight: 600; font-size: 13px; }
.win-bar .dots { display: flex; gap: 6px; margin-right: 8px; }
.win-bar .dots b { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.win-bar .title { margin: 0 auto; opacity: 0.95; }
.ribbon { display: flex; align-items: center; gap: 16px; padding: 8px 16px; background: #f3f2f7; border-bottom: 1px solid #dcdae8; font-size: 12.5px; color: #3d3a55; }
.ribbon .tab { padding: 2px 4px; }
.ribbon .tab.on { color: #217346; font-weight: 700; border-bottom: 2px solid #217346; }
.ribbon .btn-jet { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: #6d3df0; color: #fff; border-radius: 6px; padding: 3px 10px; font-weight: 700; }
.win-body { display: grid; grid-template-columns: 1fr 330px; min-height: 330px; }
.sheet { display: grid; grid-template-columns: 34px repeat(5, 1fr); grid-auto-rows: 26px; font-size: 12.5px; border-right: 1px solid #dcdae8; align-content: start; background: #fff; }
.sheet > div { border-right: 1px solid #ecebf3; border-bottom: 1px solid #ecebf3; padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .h { background: #f3f2f7; color: #6a6784; text-align: center; font-weight: 600; padding: 3px 0; }
.sheet .th { background: #e3f4ea; font-weight: 700; color: #14583a; }
.sheet .n { text-align: right; font-variant-numeric: tabular-nums; }
.sheet .sel { outline: 2px solid #217346; outline-offset: -2px; background: #f1faf5; }
.pane { background: #faf9ff; display: flex; flex-direction: column; font-size: 12.5px; }
.pane-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #fff; border-bottom: 1px solid #e4e1f1; font-weight: 700; }
.pane-head img { border-radius: 5px; }
.pane-tabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid #e4e1f1; background: #fff; }
.pane-tabs span { padding: 5px 10px; border-radius: 6px 6px 0 0; color: #5d5a78; font-weight: 600; }
.pane-tabs span.on { background: #efe9ff; color: #4a22c4; }
.pane-main { padding: 12px; display: grid; gap: 9px; align-content: start; }
.pane-main h4 { margin: 4px 0 0; font-size: 12.5px; letter-spacing: 0; display: flex; align-items: center; gap: 6px; }
.pane-main h4 b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #6d3df0; color: #fff; font-size: 11px; }
.field { border: 1px solid #d7d3ea; border-radius: 6px; background: #fff; padding: 6px 8px; color: #3d3a55; }
.field.code { font-family: "Cascadia Mono", Consolas, monospace; font-size: 11.5px; background: #14112b; color: #e9e6ff; border-color: #14112b; white-space: pre; overflow: hidden; line-height: 1.5; }
.field .k { color: #ffb86b; } .field .f { color: #8fd0ff; } .field .s { color: #7ef0c0; } .field .c { color: #8a85b3; }
.minibtn { display: inline-block; border-radius: 6px; padding: 4px 11px; font-weight: 700; background: #6d3df0; color: #fff; justify-self: start; }
.minibtn.alt { background: #efe9ff; color: #4a22c4; }
.mini-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.15rem; color: var(--fg-muted); }
.kicker { display: block; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.on-dark { color: #f3f0ff; background: linear-gradient(135deg, #150f3d, #2a1380); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .section-head p, .on-dark .muted { color: #c6bdee; }
.on-dark .kicker { color: #b79cff; }

/* ---------- the pitch row ---------- */
.band { padding: 28px 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; color: var(--fg-muted); font-weight: 650; font-size: 0.97rem; }
.band li::before { content: "✓"; color: var(--green); margin-right: 8px; font-weight: 800; }

/* ---------- split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 0.4em; }
.split .lead { color: var(--fg-muted); font-size: 1.15rem; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ticks strong { color: var(--fg); }

/* ---------- agent conversation mockup ---------- */
.term { background: var(--code-bg); color: var(--code-fg); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #2c2760; font-size: 14px; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #1d1840; color: #9d96d4; font-size: 12.5px; font-weight: 600; }
.term-bar .dots { display: flex; gap: 6px; }
.term-bar .dots b { width: 10px; height: 10px; border-radius: 50%; background: #3e3786; }
.term-body { padding: 18px 20px 22px; display: grid; gap: 14px; line-height: 1.55; }
.term .you { background: #2a2360; border-radius: 12px; padding: 12px 16px; color: #f1edff; font-family: "Segoe UI", system-ui, sans-serif; font-size: 15px; }
.term .you small { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #a99fe0; margin-bottom: 3px; font-weight: 700; }
.term .ai { font-family: "Segoe UI", system-ui, sans-serif; font-size: 15px; color: #d9d4f7; }
.term .ai small { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #7ef0c0; margin-bottom: 3px; font-weight: 700; }
.term pre { margin: 0; font-size: 13px; color: #b9b2ee; white-space: pre-wrap; }
.term pre .ok { color: #7ef0c0; }
.term pre .dim { color: #7a73b8; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #7c4dff, #5b2fe0); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step h3 { margin-bottom: 0.35em; }
.step p { color: var(--fg-muted); margin: 0; font-size: 0.97rem; }

/* ---------- two ways to ship ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.way::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #7c4dff, #4fa8ff); }
.way.central::before { background: linear-gradient(90deg, #1d7a4a, #4fd08a); }
.way .tag { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.way.central .tag { color: var(--green); background: var(--green-soft); }
.way h3 { font-size: 1.6rem; }
.way .diagram { margin: 20px 0 8px; border: 1px dashed var(--border); border-radius: 14px; padding: 18px; background: var(--bg-alt); }
.flow { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 650; }
.flow .node { padding: 8px 14px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border); text-align: center; }
.flow .node small { display: block; font-weight: 500; color: var(--fg-muted); font-size: 0.78rem; }
.flow .node.hot { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.flow .node.green { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.flow .arrow { color: var(--fg-muted); font-weight: 800; }
.way ul { margin: 14px 0 0; padding-left: 20px; color: var(--fg-muted); }
.way li { margin: 6px 0; }
.way li strong { color: var(--fg); }
.both { margin-top: 24px; text-align: center; color: var(--fg-muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-ink); font-size: 22px; margin-bottom: 16px; }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--fg-muted); margin: 0; font-size: 0.98rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; }

/* ---------- app showcase cards ---------- */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.app { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s; color: var(--fg); }
.app:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.app-art { padding: 28px 28px 0; min-height: 230px; display: grid; align-items: end; }
.app-art.r { background: linear-gradient(135deg, #1b4fc9 0%, #4f8bff 55%, #8fd0ff 100%); }
.app-art.sql { background: linear-gradient(135deg, #0b6b77 0%, #1fa5a0 55%, #7fe3c8 100%); }
.app-art .win { font-size: 11.5px; border-radius: 10px 10px 0 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.25); }
.app-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.app-body h3 { font-size: 1.55rem; margin-bottom: 0.3em; }
.app-body p { color: var(--fg-muted); }
.app-body .more { margin-top: auto; font-weight: 750; color: var(--brand-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.chips li { font-size: 0.82rem; font-weight: 650; padding: 3px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.chips.green li { background: var(--green-soft); color: var(--green); }
.badge { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); }

/* mini charts inside mockups */
.mini-plot { height: 96px; border: 1px solid #d7d3ea; border-radius: 6px; background: #fff; padding: 4px; }
.mini-plot svg { width: 100%; height: 100%; display: block; }

/* ---------- code block ---------- */
.codeblock { background: var(--code-bg); color: var(--code-fg); border-radius: 14px; padding: 18px 22px; overflow-x: auto; font-size: 0.88rem; line-height: 1.6; border: 1px solid #2c2760; margin: 0 0 1.2em; }
.codeblock .c { color: #8a85b3; } .codeblock .k { color: #ffb86b; } .codeblock .f { color: #8fd0ff; } .codeblock .s { color: #7ef0c0; }
.install { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--border); background: var(--bg-card); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.install code { font-size: 1rem; background: none; color: var(--fg); padding: 0; }

/* ---------- facts / stats ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { padding: 22px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); }
.fact b { display: block; font-size: 1.85rem; letter-spacing: -0.03em; color: var(--brand-ink); line-height: 1.1; margin-bottom: 6px; }
.fact span { color: var(--fg-muted); font-size: 0.93rem; }

/* ---------- call to action ---------- */
.cta-band { text-align: center; padding: 100px 0; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta-band p { max-width: 640px; margin: 0 auto; font-size: 1.15rem; color: #c6bdee; }
.cta-band .btn-row { justify-content: center; }

/* ---------- note ---------- */
.callout { border-radius: 14px; padding: 18px 22px; background: var(--amber-soft); color: var(--fg); border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); }
.callout.info { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- app detail pages ---------- */
.app-hero { padding: 72px 0 0; color: #f3f0ff; position: relative; overflow: hidden; }
.app-hero.r { background: radial-gradient(800px 420px at 85% -10%, rgba(143, 208, 255, 0.5), transparent 60%), linear-gradient(180deg, #0f1f5e 0%, #1a3fa8 100%); }
.app-hero.sql { background: radial-gradient(800px 420px at 85% -10%, rgba(126, 240, 192, 0.45), transparent 60%), linear-gradient(180deg, #08333c 0%, #0b6b77 100%); }
.app-hero .crumbs { font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 22px; }
.app-hero .crumbs a { color: #fff; }
.app-hero .grid2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: end; }
.app-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.app-hero .lead { font-size: 1.25rem; color: rgba(255, 255, 255, 0.86); }
.app-hero .hero-copy-l { padding-bottom: 56px; }
.app-hero .win { border-radius: 14px 14px 0 0; }
.app-hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.app-hero .badge { background: rgba(255, 255, 255, 0.16); color: #fff; margin-bottom: 18px; }
.flowline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flowline.six { grid-template-columns: repeat(3, 1fr); }
.fl { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.fl .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; margin-bottom: 12px; }
.fl h3 { font-size: 1.12rem; margin-bottom: 0.3em; }
.fl p { margin: 0; color: var(--fg-muted); font-size: 0.96rem; }
.tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow); }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.tablewrap th, .tablewrap td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tablewrap th { background: var(--bg-alt); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); }
.tablewrap tr:last-child td { border-bottom: 0; }
.qa details { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); margin: 0 0 12px; padding: 0 22px; }
.qa summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.qa details[open] summary::after { content: "–"; }
.qa details p, .qa details ul { color: var(--fg-muted); margin-top: 0; }
.qa summary::-webkit-details-marker { display: none; }
.er { width: 100%; height: auto; display: block; }
.photo { border-radius: 18px; }
.stack > * + * { margin-top: 18px; }

/* ---------- footer ---------- */
.site-foot { background: var(--code-bg); color: #b9b2ee; padding: 64px 0 28px; font-size: 0.95rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-foot .brand { color: #fff; }
.site-foot p { margin: 14px 0 0; max-width: 360px; color: #958eca; }
.site-foot h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #7a73b8; margin: 0 0 14px; }
.site-foot a { display: block; color: #cfc8f5; padding: 4px 0; }
.site-foot .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid #2a2557; color: #7a73b8; font-size: 0.88rem; }
.site-foot .legal a { display: inline; color: inherit; }

/* ---------- policy and support pages ---------- */
.prose { max-width: 760px; font-size: 1.05rem; line-height: 1.65; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 6px 0; }

/* ---------- narrow screens ---------- */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .split, .app-hero .grid2 { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .steps, .grid.c4, .facts { grid-template-columns: repeat(2, 1fr); }
  .grid.c3, .flowline, .flowline.six { grid-template-columns: repeat(2, 1fr); }
  .ways, .apps { grid-template-columns: 1fr; }
  .win-body { grid-template-columns: 1fr 280px; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu { display: block; }
  .site-top nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .site-top nav.open { display: flex; }
  .site-top nav a.cta { margin: 8px 0 0; text-align: center; }
  .hero { padding-top: 56px; }
  .hero-stage { margin-top: 44px; }
  .win-body { grid-template-columns: 1fr; }
  .sheet { display: none; }
  .steps, .grid.c3, .grid.c2, .grid.c4, .facts, .flowline, .flowline.six { grid-template-columns: 1fr; }
  .way { padding: 26px 22px; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; }
  .hero-stage .photo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .app { transition: none; }
}

/* Contact form */
.contact-card { max-width: 760px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 40px; }
.contact-card h2 { margin-top: 0; }
.contact-card > p { color: var(--fg-muted); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 24px; }
.contact-form .row { display: flex; flex-direction: column; gap: 6px; }
.contact-form .row.wide, .contact-form .cf-turnstile { grid-column: 1 / -1; }
.contact-form label { font-weight: 600; font-size: 0.92rem; }
.contact-form input, .contact-form textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form button[disabled] { opacity: 0.6; cursor: wait; }
.contact-status { margin-top: 18px; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.contact-status.ok { background: var(--green-soft); color: var(--green); }
.contact-status.err { background: var(--amber-soft); color: var(--amber); }
@media (max-width: 720px) {
  .contact-card { padding: 26px 20px; }
  .contact-form { grid-template-columns: 1fr; }
}
