/* Deep Learning Systems. No trackers, no third-party code. */
@font-face { font-family: "Archivo"; src: url("/assets/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --night: #0f1d24; --night-2: #142a33; --night-line: #24414c; --night-text: #c9dade; --night-mute: #8fb0ba;
  --stone: #eef2f1; --paper: #ffffff; --ink: #13232b; --ink-2: #44606b; --line: #d4dedc;
  --signal: #ff8a3d; --signal-hi: #ffa463; --signal-ink: #331804;
  --leaf: #7fd1b9; --leaf-ink: #0b2a22;
  --brass: #c9a04a; --brass-ink: #4d370b;
}
@media (prefers-color-scheme: dark) {
  :root { --stone: #0c181e; --paper: #10212a; --ink: #e4eeee; --ink-2: #9fb9c1; --line: #24414c; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.6; font-stretch: 100%; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--signal); color: var(--signal-ink); padding: 8px 14px; z-index: 10; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 760; font-stretch: 112%; letter-spacing: -0.012em; }
h3 { font-size: 20px; font-weight: 700; font-stretch: 108%; }
p { margin: 0 0 14px; }

.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.1; }
.btn--signal { background: var(--signal); color: var(--signal-ink); }
.btn--signal:hover { background: var(--signal-hi); }
.btn--ghost { border-color: #3c6170; color: #fff; }
.btn--ghost:hover { border-color: var(--night-mute); }
.btn--brass { background: var(--brass); color: var(--brass-ink); }
.btn--brass:hover { background: #d9b462; }

/* Header */
.site-header { background: var(--night); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 760; font-stretch: 108%; font-size: 19px; letter-spacing: -0.005em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; color: var(--night-text); }
.nav a:not(.btn):hover { color: #fff; text-decoration: underline; }
.nav .btn { min-height: 40px; padding: 9px 16px; font-size: 15px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }
.brand span, .nav .btn { white-space: nowrap; }
@media (max-width: 480px) { .brand { font-size: 16px; gap: 10px; } .brand svg { width: 30px; height: 30px; } .nav .btn { padding: 8px 12px; font-size: 14px; } }

/* Hero */
.hero { background: var(--night); color: var(--night-text); padding: 44px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.3vw, 68px); font-weight: 780; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; margin: 0 0 22px; }
.hero__lede { font-size: 19px; line-height: 1.55; max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.feedbox { position: relative; }
.feed { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.feed text { font-family: "Archivo", system-ui, sans-serif; }
.toast { position: absolute; left: -28px; bottom: -40px; width: min(300px, 80%); background: #fff; color: #13232b; border-radius: 12px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.4; border-left: 5px solid var(--signal); }
.toast strong { display: block; font-size: 15px; margin-bottom: 2px; }
.toast span { color: #5b7480; font-size: 13px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .toast { position: static; width: auto; margin-top: 14px; }
  .hero { padding-bottom: 64px; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--paper { background: var(--paper); }
.section__intro { font-size: 19px; color: var(--ink-2); max-width: 38em; margin: 14px 0 0; }
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; margin-top: 48px; }
.solution { border-top: 2px solid var(--ink); padding-top: 18px; }
.solution h3 { margin-bottom: 10px; }
.solution p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .solutions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .solutions { grid-template-columns: 1fr; } }

.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; margin: 44px 0 0; }
.terms div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; font-stretch: 106%; }
.terms dd { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .terms { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .terms div { grid-template-columns: 1fr; gap: 4px; } }

/* Products band */
.product { background: var(--night-2); color: var(--night-text); }
.product__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; }
.product__mark svg { width: 128px; height: 128px; display: block; }
.product h2 { color: #fff; }
.product__name { color: #fff; font-weight: 760; font-stretch: 85%; font-size: 26px; margin: 18px 0 4px; }
.product__name span { color: var(--brass); }
.product p { max-width: 36em; }
@media (max-width: 640px) { .product__grid { grid-template-columns: 1fr; } .product__mark svg { width: 88px; height: 88px; } }

/* Contact */
.contact__lines { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 34px 0 10px; }
.contact__lines a { font-size: clamp(24px, 3.4vw, 36px); font-weight: 760; font-stretch: 108%; text-decoration: none; border-bottom: 3px solid var(--signal); line-height: 1.25; }
.contact__lines a:hover { color: var(--signal); }
.contact__where { color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--night); color: var(--night-mute); font-size: 15px; padding: 32px 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer a { color: var(--night-text); }

/* Policy pages */
.page-hero { background: var(--night); color: var(--night-text); padding: 48px 0 44px; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); font-weight: 780; font-stretch: 112%; letter-spacing: -0.015em; margin-bottom: 10px; }
.prose { max-width: 720px; padding: 48px 0 80px; }
.prose h2 { font-size: 26px; font-stretch: 106%; margin: 40px 0 12px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose code { font-size: .92em; background: var(--paper); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.summary { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--signal); border-radius: 10px; padding: 18px 22px 6px; }
.callout { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.notfound { padding: 96px 0 120px; }
