/* NestLab — site.css (ATOM-2 · dark-first · single stylesheet)
 * Locked: 2026-07-31 per DESIGN.md. No build step. Hand-edited.
 * Load order on every page: <link rel="stylesheet" href="/assets/css/site.css">
 */

/* ============================================================
 * 2.1 Color tokens
 * ============================================================ */
:root {
  --bg:           #0B1020;
  --bg-elev:      #131A30;
  --bg-card:      rgba(30, 41, 59, 0.4);
  --fg:           #E2E8F0;
  --fg-muted:     #94A3B8;
  --fg-dim:       #64748B;
  --border:       rgba(148, 163, 184, 0.10);

  --accent-blue:   #60A5FA;
  --accent-violet: #A78BFA;
  --accent-amber:  #F59E0B;

  --status-live: #34D399;
  --status-soon: #FBBF24;
  --status-dev:  #818CF8;
  --status-oss:  #22D3EE;

  /* 2.2 Typography */
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;

  --text-display: clamp(2.5rem, 6vw, 4.5rem);
  --text-h1:      clamp(2rem, 4vw, 3rem);
  --text-h2:      clamp(1.5rem, 3vw, 2rem);
  --text-h3:      1.125rem;
  --text-body:    1rem;
  --text-small:   0.875rem;
  --text-mono:    0.8125rem;

  --leading-tight: 1.1;
  --leading-snug:  1.3;
  --leading-normal: 1.6;

  --letter-tight: -0.02em;
  --letter-wide:  0.05em;

  /* 2.3 Spacing / radius / shadow */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-sm:   8px;

  --shadow-glow:   0 0 40px rgba(96, 165, 250, 0.12);
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-card-h: 0 12px 32px rgba(0, 0, 0, 0.35);

  /* 2.4 Motion */
  --ease:     cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  /* 3.1 Layout */
  --container: 1200px;
  --gutter:    24px;
  --section-py: clamp(4rem, 8vw, 6rem);
}

/* ============================================================
 * Reset
 * ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Selection */
::selection { background: var(--accent-blue); color: white; }

/* Links */
a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--accent-violet); }
a:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: var(--letter-tight);
  line-height: var(--leading-tight);
  color: var(--fg);
  font-weight: 700;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
main { flex: 1; }

/* ============================================================
 * 3.3 Header
 * ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
  transition: padding var(--dur-base) var(--ease);
}
.site-header.is-scrolled { padding: var(--space-3) 0; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: var(--letter-tight);
  background: linear-gradient(to right, var(--accent-blue), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nav {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.nav a {
  color: var(--fg-muted);
  font-size: var(--text-small);
  font-weight: 500;
}
.nav a:hover, .nav a.is-active { color: var(--fg); }

/* ============================================================
 * 3.4 Footer
 * ============================================================ */
.site-footer {
  margin-top: var(--space-24);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--fg-muted);
  font-size: var(--text-small);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
}
.site-footer h4 {
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer a { color: var(--fg-muted); }
.site-footer a:hover { color: var(--fg); }
.site-footer .footer-bottom {
  grid-column: 1 / -1;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  color: var(--fg-dim);
  font-size: var(--text-mono);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 768px) {
  .site-footer .container { grid-template-columns: 1fr; }
  .site-footer .footer-bottom { flex-direction: column; }
}

/* ============================================================
 * 4.1 Button
 * ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent-blue);
  color: #0B1020;
  font-weight: 600;
  font-size: var(--text-body);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-blue);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn:hover {
  background: var(--accent-violet);
  border-color: var(--accent-violet);
  color: #0B1020;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-elev);
  border-color: var(--accent-blue);
  color: var(--fg);
}
.btn-link {
  background: none;
  border: none;
  color: var(--accent-blue);
  padding: 0;
  font-size: var(--text-small);
  text-decoration: none;
  font-weight: 500;
}
.btn-link::after { content: ' →'; transition: margin var(--dur-fast) var(--ease); }
.btn-link:hover::after { margin-left: var(--space-1); }

/* ============================================================
 * 4.2 Card
 * ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-violet));
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: var(--shadow-card-h);
  color: inherit;
}
.card:hover::before { opacity: 1; }
.card h2 { font-size: var(--text-h2); margin-bottom: var(--space-2); }
.card h3 { font-size: var(--text-h3); margin-bottom: var(--space-2); }
.card p { margin: 0; color: var(--fg-muted); }
.card .card-meta {
  font-size: var(--text-mono);
  color: var(--fg-dim);
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

/* ============================================================
 * 4.3 Status Pill
 * ============================================================ */
.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-mono);
  font-weight: 600;
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  line-height: 1.4;
}
.pill--soon {
  background: rgba(251, 191, 36, 0.10);
  color: var(--status-soon);
  border-color: rgba(251, 191, 36, 0.25);
}
.pill--dev {
  background: rgba(129, 140, 248, 0.10);
  color: var(--status-dev);
  border-color: rgba(129, 140, 248, 0.25);
}
.pill--oss {
  background: rgba(34, 211, 238, 0.10);
  color: var(--status-oss);
  border-color: rgba(34, 211, 238, 0.25);
}
.pill--live {
  background: rgba(52, 211, 153, 0.10);
  color: var(--status-live);
  border-color: rgba(52, 211, 153, 0.25);
}

/* ============================================================
 * 4.4 Bento Grid
 * ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.bento > .card--span-2 { grid-column: span 2; }
.bento > .card--span-4 { grid-column: span 4; }
.bento > .card--span-3 { grid-column: span 3; }
.bento > .card--span-1 { grid-column: span 1; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > .card--span-2,
  .bento > .card--span-3,
  .bento > .card--span-4 { grid-column: span 2; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .card--span-2,
  .bento > .card--span-3,
  .bento > .card--span-4 { grid-column: span 1; }
}

/* ============================================================
 * 4.5 Hero
 * ============================================================ */
.hero {
  padding: var(--space-24) 0 var(--space-16);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero .eyebrow {
  display: inline-block;
  font-size: var(--text-mono);
  font-weight: 600;
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-4);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius-pill);
}
.hero h1 {
  font-size: var(--text-display);
  background: linear-gradient(to right, var(--accent-blue), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: var(--space-6);
}
.hero p {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: var(--fg-muted);
  margin: 0 0 var(--space-8);
  font-weight: 300;
  line-height: var(--leading-snug);
}
.hero .cta-row {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
 * 4.6 Track Record
 * ============================================================ */
.track-record {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.track-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  text-align: center;
}
.track-tile .number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--space-3);
}
.track-tile .label {
  font-size: var(--text-small);
  color: var(--fg-muted);
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .track-record { grid-template-columns: 1fr; }
}

/* ============================================================
 * 4.7 Principle
 * ============================================================ */
.principle .index {
  font-family: var(--font-display);
  font-size: var(--text-small);
  color: var(--accent-blue);
  letter-spacing: var(--letter-wide);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.principle h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.principle p {
  font-size: var(--text-small);
  color: var(--fg-muted);
  margin: 0;
}

/* ============================================================
 * 4.8 Buyer Type
 * ============================================================ */
.buyer-type .index {
  font-family: var(--font-display);
  font-size: var(--text-mono);
  color: var(--accent-amber);
  letter-spacing: var(--letter-wide);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.buyer-type h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.buyer-type p {
  font-size: var(--text-small);
  color: var(--fg-muted);
  margin: 0;
}

/* ============================================================
 * 4.9 Product Showcase
 * ============================================================ */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-violet));
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: var(--shadow-card-h);
}
.product-card:hover::before { opacity: 1; }
.product-card .product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.product-card .product-name {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  margin: 0;
  letter-spacing: var(--letter-tight);
}
.product-card .product-mark {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  padding: var(--space-2);
  border: 1px solid var(--border);
}
.product-card .product-pitch {
  font-size: var(--text-body);
  color: var(--fg-muted);
  margin: 0 0 var(--space-6);
  line-height: var(--leading-normal);
}
.product-card .product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  font-size: var(--text-small);
  color: var(--fg-muted);
}
.product-card .product-features li {
  padding-left: var(--space-6);
  position: relative;
  margin-bottom: var(--space-2);
}
.product-card .product-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 600;
}
.product-card .product-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
 * 4.10 OSS Spotlight
 * ============================================================ */
.oss-callout {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
  padding: var(--space-4);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  color: var(--fg-muted);
  margin: var(--space-4) 0;
}
.oss-callout .stars { color: var(--accent-amber); font-weight: 600; }
.oss-callout .license {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: var(--text-mono);
  padding: 0.1rem 0.5rem;
  background: rgba(96, 165, 250, 0.1);
  color: var(--accent-blue);
  border-radius: var(--radius-sm);
}
.oss-callout code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: var(--text-mono);
}

/* ============================================================
 * 4.11 Section Header
 * ============================================================ */
.section {
  padding: var(--section-py) 0;
}
.section-eyebrow {
  font-size: var(--text-mono);
  font-weight: 600;
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-3);
  display: block;
}
.section-title {
  font-size: var(--text-h1);
  margin-bottom: var(--space-4);
  letter-spacing: var(--letter-tight);
}
.section-hook {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--fg-muted);
  max-width: 720px;
  margin: 0 0 var(--space-12);
  font-weight: 300;
  line-height: var(--leading-snug);
}
.section-header {
  text-align: center;
  margin: 0 auto var(--space-12);
  max-width: 720px;
}
.section-header .section-hook { margin: 0 auto; }

/* ============================================================
 * 4.12 Prose (legal pages)
 * ============================================================ */
.prose {
  max-width: 65ch;
  margin: 0 auto;
  padding: var(--space-12) 0;
}
.prose h1 {
  font-size: var(--text-h1);
  margin-bottom: var(--space-3);
}
.prose h2 {
  font-size: var(--text-h2);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.prose h3 {
  font-size: var(--text-h3);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.prose p {
  margin: 0 0 var(--space-4);
  color: var(--fg);
}
.prose ul, .prose ol {
  margin: 0 0 var(--space-6);
  padding-left: var(--space-6);
  color: var(--fg);
}
.prose li { margin-bottom: var(--space-2); }
.prose code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  background: var(--bg-elev);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}
.prose .meta {
  font-size: var(--text-small);
  color: var(--fg-dim);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
 * Trust badges (security.html, trust.html)
 * ============================================================ */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin: var(--space-8) 0;
}
.badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  text-align: center;
}
.badge .badge-name {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.badge .badge-status {
  font-size: var(--text-mono);
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  color: var(--status-soon);
}
.badge--ready .badge-status { color: var(--status-live); }

/* ============================================================
 * Page-header (work, process, about, contact, security...)
 * ============================================================ */
.page-header {
  padding: var(--space-24) 0 var(--space-12);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.page-header .eyebrow {
  font-size: var(--text-mono);
  font-weight: 600;
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--space-3);
  display: block;
}
.page-header h1 {
  font-size: var(--text-display);
  margin-bottom: var(--space-4);
}
.page-header p {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--fg-muted);
  margin: 0;
  font-weight: 300;
}

/* ============================================================
 * Closing CTA (homepage)
 * ============================================================ */
.closing-cta {
  text-align: center;
  padding: var(--space-24) 0;
  max-width: 720px;
  margin: 0 auto;
}
.closing-cta h2 {
  font-size: var(--text-h1);
  margin-bottom: var(--space-4);
}
.closing-cta p {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--fg-muted);
  margin: 0 0 var(--space-8);
  font-weight: 300;
}

/* ============================================================
 * Process timeline
 * ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}
.timeline-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  position: relative;
}
.timeline-step .step-num {
  font-family: var(--font-display);
  font-size: var(--text-mono);
  color: var(--accent-blue);
  letter-spacing: var(--letter-wide);
  margin-bottom: var(--space-2);
  font-weight: 600;
}
.timeline-step h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-2);
  font-weight: 600;
}
.timeline-step p {
  font-size: var(--text-small);
  color: var(--fg-muted);
  margin: 0;
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ============================================================
 * Contact email list (anti-scrape)
 * ============================================================ */
.contact-list {
  display: grid;
  gap: var(--space-3);
  max-width: 560px;
  margin: 0 auto;
}
.contact-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: var(--fg);
  font-weight: 500;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.contact-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.3);
  color: var(--fg);
}
.contact-list .email-key {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: var(--text-small);
  color: var(--accent-blue);
  flex: 0 0 auto;
  min-width: 0;
  word-break: break-all;
}
.contact-list .email-desc {
  font-size: var(--text-small);
  color: var(--fg-muted);
  font-weight: 400;
  flex: 1 1 100%;
  text-align: left;
  min-width: 0;
}
@media (min-width: 720px) {
  .contact-list .email-desc {
    flex: 1 1 auto;
    text-align: right;
  }
}

/* ============================================================
 * Utilities
 * ============================================================ */
.text-muted { color: var(--fg-muted); }
.text-dim   { color: var(--fg-dim); }
.text-mono  { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.mt-4       { margin-top: var(--space-4); }
.mt-8       { margin-top: var(--space-8); }
.mt-12      { margin-top: var(--space-12); }
.text-center { text-align: center; }

/* ============================================================
 * Contact forms (Sales + Support, mailto:-based, no backend)
 * Added 2026-07-31 — see contact.html
 * ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-form .form-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  margin: 0;
  color: var(--fg);
}

.contact-form .form-desc {
  color: var(--fg-muted);
  font-size: var(--text-small);
  margin: 0 0 var(--space-2);
  font-weight: 300;
  line-height: var(--leading-normal);
}

.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: var(--space-3);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--text-body);
  transition: border-color var(--dur-fast) var(--ease);
}

.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

.contact-form .form-meta {
  font-size: var(--text-small);
  color: var(--fg-dim);
  margin: var(--space-2) 0 0;
  font-family: var(--font);
}

.contact-form .form-meta .js-mail {
  font-family: var(--font);
  color: var(--fg-muted);
}

.contact-form .form-status {
  font-size: var(--text-small);
  margin: var(--space-2) 0 0;
  min-height: 1.2em;
  font-weight: 500;
}

.contact-form .form-status.is-pending { color: var(--accent-blue); }
.contact-form .form-status.is-error  { color: #F87171; }
.contact-form .form-status.is-info    { color: var(--fg-muted); }

/* ============================================================
 * Reduced motion
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
</content>
</invoke>