/* trk-links — minimal link utility (compact, soft green accents) */
:root {
  --bg: #fafbfa;
  --surface: #ffffff;
  --text: #1c1c1c;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #059669;
  --primary-light: #d1fae5;
  --primary-dark: #047857;
  --max: 720px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 0.4rem 0.85rem; z-index: 100; font-size: 0.85rem; border-radius: var(--radius); }
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.site-main { padding-bottom: 2.5rem; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; min-height: 3rem; }
.brand { font-weight: 600; font-size: 0.95rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--primary); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.82rem; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 0.35rem 0.5rem; cursor: pointer; font-size: 0.75rem; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 3px 0; }

.demo-banner { background: var(--primary-light); border-bottom: 1px solid #a7f3d0; padding: 0.5rem 0; font-size: 0.8rem; color: var(--primary-dark); }

.hero-minimal { padding: 2rem 0 1.5rem; }
.hero-minimal h1 { margin: 0 0 0.5rem; font-size: clamp(1.35rem, 4vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; }
.lead { color: var(--muted); margin: 0; font-size: 0.92rem; }
.eyebrow { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin: 0; }

.section-block { padding: 1.5rem 0; }

.link-list { display: flex; flex-direction: column; gap: 0.5rem; }
.link-row { display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; transition: border-color 0.12s; }
.link-row:hover { border-color: var(--primary); }
.link-icon { font-size: 1rem; opacity: 0.7; }
.link-row strong { display: block; font-size: 0.88rem; font-weight: 600; }
.mono { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
.status { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); background: var(--primary-light); padding: 0.2rem 0.5rem; border-radius: 4px; }

.page-hero { padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { margin: 0.25rem 0 0.5rem; font-size: clamp(1.3rem, 4vw, 1.65rem); font-weight: 600; }
.content-section { padding: 1.5rem 0; }

.prose { font-size: 0.88rem; }
.prose h2 { font-size: 1rem; font-weight: 600; margin-top: 1.25rem; }
.prose p, .prose li { color: var(--muted); }
.prose ol { padding-left: 1.25rem; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem; }
.contact-card h2 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin: 0.85rem 0 0.15rem; font-weight: 600; }
.contact-card h2:first-child { margin-top: 0; }
.muted-card { background: var(--bg); }
.text-link { font-weight: 600; font-size: 0.88rem; }

.site-footer { border-top: 1px solid var(--border); margin-top: 1.5rem; }
.footer-inner { padding: 1.5rem 0; }
.footer-brand strong { font-size: 0.9rem; }
.footer-brand p { margin: 0.25rem 0 0; font-size: 0.78rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.75rem 0; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.78rem; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { margin: 0; font-size: 0.72rem; color: var(--muted); }
.muted { color: var(--muted); }

.section-head h2 { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.75rem; }
.text-link { color: var(--primary); font-weight: 600; font-size: 0.88rem; }
.footer-inner { padding: 1.5rem 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.link-row:focus-within { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15); }
.nav-toggle:focus-visible { outline-color: var(--primary); }

.contact-card p { margin: 0; font-size: 0.88rem; }
.prose a { color: var(--primary); }
.prose li { margin-top: 0.25rem; }
.hero-minimal + .section-block { padding-top: 0.5rem; }

@media (min-width: 601px) {
  .link-list { max-width: 100%; }
  .wrap { padding: 0 1.25rem; }
}

@media (max-width: 600px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.35rem; padding: 0.35rem 0; }
  .link-row { grid-template-columns: auto 1fr; }
  .status { grid-column: 2; justify-self: start; margin-top: 0.25rem; }
  .page-hero { padding: 1.5rem 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .link-row { transition: none; }
}

.hero-minimal { border-bottom: 1px solid var(--border); margin-bottom: 0.5rem; }
.link-list + .prose { margin-top: 0.5rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.page-hero .lead { font-size: 0.9rem; }

/* Shared utilities & a11y enhancements */
.site-main { min-height: 50vh; }
.header-inner.wrap, .footer-inner.wrap { padding-left: 0; padding-right: 0; }
.site-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.demo-banner strong { font-weight: 700; }
.content-section .prose { max-width: 42rem; }
.page-hero .eyebrow + h1 { margin-top: 0.35rem; }
.contact-grid .contact-card h2 + p { line-height: 1.5; }

@media (prefers-contrast: more) {
  :root { --border: currentColor; }
  .site-header, .site-footer, .contact-card, .deal-card, .saas-card, .catalog-card, .stat-card, .panel, .mod, .link-row { border-width: 2px; }
}

@media print {
  .skip-link, .nav-toggle, .demo-banner, .site-nav { display: none !important; }
  .site-header { position: static; border-bottom: 1px solid #000; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
}
