/* Gladis Technologies: one stylesheet for the company site and the launch
   page. No web fonts, no scripts, no inline styles (the CSP allows only this
   file). */
:root {
  --ink: #141a2b; --muted: #59627a; --line: #e2e6ef; --soft: #f5f7fb;
  --accent: #2457d6; --accent-ink: #ffffff; --accent-soft: #e8efff;
  --ok: #127a3a; --warn: #a15c00; --bad: #b3261e; --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; }
a { color: var(--accent); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }

/* Layout */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
.prose { max-width: 760px; }
section { padding: 56px 0; }
section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, #2457d6, #6a3fe0); }
nav { white-space: nowrap; }
nav a { margin-left: 22px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; }
nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 60px; background: radial-gradient(1200px 400px at 20% -10%, #e9efff 0%, rgba(233,239,255,0) 60%), radial-gradient(900px 380px at 100% 0%, #f1ebff 0%, rgba(241,235,255,0) 60%); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; letter-spacing: -.025em; margin: 18px 0 16px; max-width: 18em; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; margin: 0 0 26px; }
.sub { color: var(--muted); max-width: 44em; margin: 0 0 28px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn:hover { filter: brightness(.97); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.card li { margin: 4px 0; }
.card .links { font-size: 15px; margin-top: 12px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 12px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; margin-bottom: 10px; }

/* Diagram */
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 28px; overflow-x: auto; }
.diagram img { display: block; min-width: 680px; }

/* Proof panel */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.tile .label { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tile .value { font-size: 17px; font-weight: 650; margin-top: 4px; }
.tile .value::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--line); }
.tile.ok .value::before { background: var(--ok); }
.tile.warn .value::before { background: var(--warn); }
.tile.bad .value::before { background: var(--bad); }
.checked { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Misc */
.note { background: var(--accent-soft); border: 1px solid #cfdcff; border-radius: 12px; padding: 14px 18px; color: #1d3a8a; }
.small { font-size: 14px; color: var(--muted); }
code { background: var(--soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: 15px; }
table.terms { width: 100%; border-collapse: collapse; font-size: 15px; }
table.terms th, table.terms td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
table.terms th { color: var(--muted); font-weight: 650; width: 9em; }
main.prose { padding: 40px 22px 10px; margin: 0 auto; }
main.prose h1 { font-size: 36px; }
main.prose h2 { font-size: 22px; margin-top: 30px; }
h2.q { font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.site-footer a { color: var(--muted); }
@media (max-width: 560px) { .brand { font-size: 16px; } nav a { margin-left: 12px; font-size: 14px; } nav a.hide-sm { display: none; } section { padding: 40px 0; } .hero { padding: 48px 0 40px; } }
