/* Landing page only. Loaded after style.css; privacy/terms/delete-data keep style.css alone. */
:root {
  --hero-1: #0d1459;
  --hero-2: #1a237e;
  --hero-3: #3949ab;
  --ok: #2e9e5b;
  --warn: #f9a825;
  --bad: #d64545;
  --info: #3d7be0;
  --shadow: 0 10px 34px rgba(26, 35, 126, .16);
}
@media (prefers-color-scheme: dark) {
  :root { --shadow: 0 10px 34px rgba(0, 0, 0, .45); --ok: #4cc47f; --bad: #ef6b6b; --info: #6ea2ff; }
}
html { scroll-behavior: smooth; }
main { max-width: none; padding: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.site-head { max-width: none; padding: 0; position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.site-head nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-head nav a { margin: 0; padding: 6px 10px; border-radius: 8px; }
.site-head nav a.btn-sm { background: var(--accent); color: var(--bg); font-weight: 600; margin-left: 6px; }
.site-head nav a.btn-sm:hover { color: var(--bg); opacity: .9; }

/* hero */
.hero { background: linear-gradient(160deg, var(--hero-1), var(--hero-2) 55%, var(--hero-3)); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.14); padding: 4px 12px; border-radius: 99px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.02em; }
.hero p.lead { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero .btn { background: #fff; color: var(--hero-2); padding: 12px 22px; }
.btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.hero .btn.ghost { color: #fff; background: transparent; }
.hero-note { font-size: .88rem; color: rgba(255,255,255,.7); margin: 0; }

/* product mock (pure HTML/CSS, no screenshots) */
.mock { background: var(--bg); color: var(--fg); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.4); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--card); border-bottom: 1px solid var(--border); align-items: center; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: block; }
.mock-bar span { margin-left: 8px; font-size: .78rem; color: var(--muted); }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.col h4 { margin: 0 0 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; justify-content: space-between; }
.tk { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; font-size: .8rem; line-height: 1.35; }
.tk b { display: block; font-weight: 600; margin-bottom: 6px; }
.tk .meta { display: flex; align-items: center; justify-content: space-between; font-size: .7rem; color: var(--muted); }
.pill { font-size: .66rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; color: #fff; }
.p-urgent { background: var(--bad); } .p-high { background: #e8742a; } .p-med { background: var(--warn); color: #3b2c00; } .p-low { background: var(--info); }
.av { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--bg); font-size: .6rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-left: -4px; border: 2px solid var(--card); }
.bar { height: 5px; background: var(--border); border-radius: 9px; margin: 6px 0 4px; overflow: hidden; }
.bar em { display: block; height: 100%; background: var(--ok); }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { max-width: 40em; margin: 0 0 36px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; margin: 0 0 10px; letter-spacing: -.01em; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feat { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
section.alt .feat { background: var(--bg); }
.feat .ic { width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feat .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin: 0 0 6px; font-size: 1.05rem; }
.feat p { margin: 0; color: var(--muted); font-size: .96rem; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 20px 20px 20px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); margin: 0; }
.steps li::before { content: counter(s); display: flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--bg); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: .95rem; }

/* roles table */
.tbl { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; font-size: .95rem; }
.tbl th, .tbl td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--border); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl thead th { background: var(--card); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tbl tr:last-child td { border-bottom: 0; }
.y { color: var(--ok); font-weight: 700; } .n { color: var(--muted); opacity: .6; }
.tbl-wrap { overflow-x: auto; }

/* trust band */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; color: var(--fg); }
.checks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 10px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg) scale(.8); transform-origin: left top; top: 17px; }
.panel { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.folder { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86rem; line-height: 1.9; color: var(--muted); }
.folder b { color: var(--fg); }
.folder .l2 { padding-left: 18px; } .folder .l3 { padding-left: 36px; } .folder .l4 { padding-left: 54px; }

/* platforms */
.plat { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.plat .feat h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--border); color: var(--muted); }
.tag.live { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); border-color: transparent; }

/* faq */
details { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; margin: 10px 0; padding: 0 18px; }
details[open] { padding-bottom: 14px; }
summary { cursor: pointer; font-weight: 600; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0; color: var(--muted); }

/* final cta */
.final { background: linear-gradient(160deg, var(--hero-1), var(--hero-3)); color: #fff; text-align: center; border-radius: 22px; padding: 52px 24px; }
.final h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.final p { color: rgba(255,255,255,.85); margin: 0 auto 22px; max-width: 32em; }
.final .btn { background: #fff; color: var(--hero-2); padding: 12px 24px; }
.final .btn.ghost { background: transparent; color: #fff; }
.final .cta-row { justify-content: center; margin-bottom: 0; }

.site-foot { max-width: 1080px; margin: 56px auto 0; padding: 28px 20px 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 52px 0; }
  .site-head nav a:not(.btn-sm) { display: none; }
}
@media (max-width: 480px) {
  .board { grid-template-columns: 1fr 1fr; }
  .board .col:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* keep grid children from forcing the page wider than a phone screen */
.hero .wrap > *, .split > *, .grid > *, .plat > *, .steps > * { min-width: 0; }
body { overflow-x: clip; }

@media (max-width: 600px) {
  .tbl { font-size: .82rem; }
  .tbl th, .tbl td { padding: 9px 6px; }
  .tbl thead th { font-size: .66rem; letter-spacing: .02em; }
  .tbl th:first-child, .tbl td:first-child { padding-left: 10px; width: 34%; }
}
