/* SS Technologies: site styles. Plain CSS, no framework, no build step needed to edit. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #0f1b2d;
  --slate: #334155;
  --muted: #5b6b80;
  --paper: #ffffff;
  --surface: #f5f8fb;
  --surface-2: #eef3f8;
  --line: #e1e8f0;
  --line-strong: #c9d5e2;
  --accent: #0b7a75;
  --accent-strong: #08615d;
  --accent-soft: #e6f4f3;
  --navy: #0f2a44;
  --feed-a: #2563eb;
  --feed-b: #d97706;
  --feed-b-text: #b45309;
  --cold: #0ea5e9;
  --hot: #dc2626;
  --ok: #047857;
  --warn-bg: #fff7e6;
  --warn-line: #f2c46d;
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px -12px rgba(15, 27, 45, .18);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--slate);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .55em; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.16rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: .3em 0; }
strong { color: var(--ink); font-weight: 600; }
code, kbd, .mono { font-family: var(--mono); font-size: .9em; }
code { background: var(--surface-2); border: 1px solid var(--line); padding: .05em .35em; border-radius: 5px; color: var(--ink); }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.num { font-variant-numeric: tabular-nums; }

/* Layout */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--navy); color: #c7d3e0; }
.section.dark h2, .section.dark h3, .section.dark strong { color: #fff; }
.section.dark .eyebrow { color: #5fd1c7; }
.section.dark a { color: #7fe0d6; }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.14rem; color: var(--slate); max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.two-col.top { align-items: start; }
.split-60 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-name { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-tag { display: block; font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; margin: 0; }
.menu a, .menu .sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px; color: var(--slate); font-weight: 500; font-size: .95rem; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.menu a:hover, .menu .sub-toggle:hover, .menu a[aria-current="page"], .menu .sub-toggle.current { color: var(--ink); background: var(--surface-2); }
.sub-toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.submenu.open { display: block; }
.submenu a { display: block; padding: 9px 12px; }
.submenu a small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-sm { padding: 9px 15px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.micro { font-size: .86rem; color: var(--muted); margin-top: 12px; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; padding: 84px 0 64px; overflow: hidden; }
.blueprint { position: relative; }
.blueprint::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse at 75% 35%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 75% 35%, #000 10%, transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero .lead { margin-top: 6px; }
.hero-figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px; }
.figure-caption { font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Page hero */
.page-hero { position: relative; padding: 64px 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); overflow: hidden; }
.page-hero h1 { font-size: clamp(1.95rem, 4vw, 2.9rem); max-width: 900px; }
.crumbs { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; margin-top: 52px; }
.trust-strip > div { padding: 18px 20px; border-right: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip .ico { color: var(--accent); flex: none; width: 22px; height: 22px; margin-top: 2px; }
.trust-strip b { display: block; color: var(--ink); font-weight: 600; font-size: .96rem; }
.trust-strip span { font-size: .84rem; color: var(--muted); line-height: 1.45; display: block; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.card.flat { box-shadow: none; }
.card.raised { box-shadow: var(--shadow); }
.card.link-card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card.link-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .97rem; }
.card .card-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; flex: none; }
.icon svg { width: 23px; height: 23px; }
.price-tag { font-family: var(--mono); font-size: .82rem; font-weight: 500; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.section.alt .card { background: #fff; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin: 10px 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b7a75' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.crosslist { list-style: none; padding: 0; margin: 0 0 1em; }
.crosslist li { position: relative; padding-left: 30px; margin: 10px 0; }
.crosslist li::before { content: "\2013"; position: absolute; left: 6px; top: 0; color: var(--muted); font-weight: 700; }
.dash-list { list-style: none; padding: 0; }
.dash-list li { position: relative; padding-left: 18px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--accent); }

/* Pills, badges, tags */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { display: inline-block; font-family: var(--mono); font-size: .76rem; color: var(--slate); background: #fff; border: 1px solid var(--line-strong); padding: 4px 10px; border-radius: 999px; text-decoration: none; }
a.pill:hover { border-color: var(--accent); color: var(--accent-strong); }
.badge { display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; background: var(--warn-bg); color: #8a5a00; border: 1px solid var(--warn-line); }
.badge.teal { background: var(--accent-soft); color: var(--accent-strong); border-color: #a9dcd7; }
.badge.gray { background: var(--surface-2); color: var(--slate); border-color: var(--line-strong); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--surface); color: var(--ink); font-weight: 600; font-size: .86rem; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td strong { white-space: normal; }
.table .price { font-family: var(--mono); color: var(--ink); white-space: nowrap; font-weight: 500; }
.table caption { caption-side: bottom; text-align: left; padding: 10px 16px; font-size: .84rem; color: var(--muted); }

/* Callouts */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 18px 22px; margin: 24px 0; }
.callout.note { border-left-color: var(--feed-b); background: var(--warn-bg); border-color: var(--warn-line); }
.callout.plain { background: var(--surface); border-left-color: var(--navy); }
.callout > :last-child { margin-bottom: 0; }
.callout h3, .callout h4 { margin-bottom: .35em; }

/* Fact cards */
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fact .big { font-size: 1.9rem; font-weight: 700; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact p { margin: 8px 0 10px; font-size: .95rem; }
.fact .src { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.fact .src a { color: var(--muted); }
.section.dark .fact { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
.section.dark .fact .big { color: #fff; }
.section.dark .fact .src, .section.dark .fact .src a { color: #93a6bb; }

/* Steps / timeline */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; margin: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--accent); margin-bottom: 10px; }
.steps li h3 { font-size: 1.04rem; margin-bottom: 6px; }
.steps li p { font-size: .93rem; margin: 0; }
.steps li .when { display: block; font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-top: 10px; }
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Service sections (hub) */
.svc-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; padding: 52px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-block:first-of-type { border-top: 0; }
.svc-block h2 { font-size: 1.6rem; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.kv dt { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 3px; }
.kv dd { margin: 0; color: var(--slate); }

/* Jump links */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.25rem; color: var(--accent); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 16px 22px 6px; }
.faq h3.faq-group { margin: 36px 0 14px; font-size: 1.05rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 52px 48px; background: var(--navy); color: #c7d3e0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 720px; }
.cta-band p { max-width: 640px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-band .micro { color: #93a6bb; }

/* Figures / diagrams */
figure { margin: 0; }
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.diagram figcaption { font-size: .86rem; color: var(--muted); margin-top: 12px; }
.section.dark .diagram { background: #0b2138; border-color: rgba(255,255,255,.12); }
.section.dark .diagram figcaption { color: #93a6bb; }

/* Founder */
.founder { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 26px; align-items: start; }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 2.2rem; letter-spacing: -.02em; }

/* Demo widgets */
.demo { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.demo-head { padding: 22px 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.demo-body { padding: 24px; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 18px; }
.demo-controls label { font-size: .82rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 4px; }
.demo-controls input, .demo-controls select { width: auto; min-width: 110px; margin: 0; }
.demo-out { font-family: var(--mono); font-size: .84rem; }
.demo-canvas { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 12px; background: var(--surface); overflow-x: auto; }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
input, select, textarea { width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; margin-bottom: 18px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 122, 117, .15); }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks label { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; margin: 0; font-size: .92rem; }
.checks input { width: auto; margin: 0; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { min-height: 1.4em; margin-top: 12px; font-weight: 600; color: var(--ok); }

/* Prose (articles, legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { font-size: 1.03rem; }
.prose .byline { font-family: var(--mono); font-size: .8rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #a9b8c9; padding: 64px 0 28px; font-size: .93rem; }
.site-footer a { color: #d5dfea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 9px 0; }
.site-footer .brand { color: #fff; }
.site-footer .brand-tag { color: #8ea2b8; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; font-size: .8rem; color: #8ea2b8; }
.foot-legal p { margin: 0 0 10px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card.link-card:hover { transform: none; }
  .anim { animation: none !important; opacity: 1 !important; }
}

/* Hero diagram animation */
@keyframes rackIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.anim { opacity: 0; animation: rackIn .4s ease forwards; }

/* Responsive */
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .steps.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-block; }
  .menu { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; max-height: calc(100vh - 70px); overflow-y: auto; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a, .menu .sub-toggle { width: 100%; padding: 12px; justify-content: space-between; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
  .hero-grid, .two-col, .split-60 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip > div:nth-child(2) { border-right: 0; }
  .trust-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps, .steps.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-block { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .g3, .g2 { grid-template-columns: minmax(0, 1fr); }
  .steps.six { grid-template-columns: minmax(0, 1fr); }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .cta-band { padding: 36px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .g4, .steps, .steps.five, .trust-strip { grid-template-columns: minmax(0, 1fr); }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip > div:last-child { border-bottom: 0; }
  .hero { padding: 52px 0 44px; }
  .btn-row .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  body { font-size: 12pt; }
}

/* Fixes: buttons inside nav and dark sections keep button colors */
.menu .btn-primary, .menu .btn-primary:hover, .menu .btn-primary[aria-current="page"] { color: #fff; background: var(--accent); }
.menu .btn-primary:hover { background: var(--accent-strong); }
.section.dark .btn-primary, .section.dark .btn-primary:hover { color: #fff; }
.section.dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.stack { display: grid; gap: 18px; }
@media (max-width: 760px) {
  .diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .diagram > svg { min-width: 600px; }
}

/* Global polish */
.card > .badge, .card > .price-tag { align-self: flex-start; }
.card code, .fact code, .demo code { white-space: nowrap; }
.prose code, .table code { overflow-wrap: anywhere; }
.blueprint > * { position: relative; }

/* Elements hidden with the hidden attribute stay hidden, whatever their display style. */
[hidden] { display: none !important; }
