:root {
  --bg: #0f1520;
  --card: #161f2e;
  --elevated: #1e2a3a;
  --border: #273548;
  --text: #eef2f7;
  --text-secondary: #c2ccda;
  --accent: #01b6c1;        /* the toucan's beak */
  --accent-strong: #4dd0c8; /* the dark-theme tagline teal */
  --radius: 14px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { color: var(--text); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

a { color: var(--accent-strong); text-underline-offset: 2px; transition: color .15s; }
a:hover { color: var(--text); text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Section anchors land below the sticky header, not under it. */
[id] { scroll-margin-top: 80px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--elevated); color: var(--text);
  padding: 12px 16px; border-radius: 8px; z-index: 20;
}
.skip-link:focus { top: 12px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 21, 32, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.0625rem;
  border-radius: 6px; min-height: 44px; min-width: 44px; justify-content: center;
}
.brand:hover { color: var(--accent-strong); }
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--text-secondary); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 12px; border-radius: 8px; font-size: .9375rem;
  transition: background-color .15s, color .15s;
}
.site-nav a:hover { background: var(--elevated); color: var(--text); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 420px at 50% -10%, rgba(1, 182, 193, .12), transparent 70%); }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(460px, 88%); margin-bottom: 40px; }
.hero h1 { max-width: 760px; }
.lede { font-size: 1.125rem; max-width: 640px; }

/* ── Buttons ────────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .actions { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #06252a; }
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 0 0 4px rgba(77, 208, 200, .18); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--elevated); border-color: var(--accent-strong); }
.ext { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Sections & cards ───────────────────────────────────── */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid rgba(39, 53, 72, .6); }
.eyebrow {
  color: var(--accent-strong); text-transform: uppercase; letter-spacing: .08em;
  font-size: .8125rem; font-weight: 600; margin-bottom: 6px;
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}

.grid-2, .grid-3 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principle p, .contact p { margin-bottom: 0; }
.contact p { margin-bottom: 12px; }
.contact-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 1.0625rem; word-break: break-word; border-radius: 4px; }
.contact-link:hover { color: var(--text); }

/* ── Product ────────────────────────────────────────────── */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; padding: 28px; align-items: start; }
.product-preview {
  display: block; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-preview:hover { border-color: var(--accent-strong); box-shadow: 0 0 0 4px rgba(77, 208, 200, .15); }
.product-preview { position: relative; }
.preview-badge {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15, 21, 32, .85); color: var(--text);
  font-size: .8125rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
}
.product-preview:hover .preview-badge { background: var(--accent); color: #06252a; }
.product-url { color: var(--accent-strong); font-weight: 600; font-size: .875rem; margin-bottom: 10px; }
.feature-list { margin: 0 0 20px; padding-left: 1.1em; }
.feature-list li { margin-bottom: 8px; }
.feature-list strong { color: var(--text); }

.facts, .registry { margin: 0 0 20px; }
.facts div, .registry div {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 16px;
  padding: 10px 0; border-top: 1px solid var(--border);
}
.registry div:first-child { border-top: 0; padding-top: 0; }
.registry div:last-child { padding-bottom: 0; }
.registry { margin: 0; }
dt { color: var(--text); font-weight: 600; font-size: .875rem; }
dd { margin: 0; }
address { font-style: normal; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 36px; font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer-inner p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-secondary); text-decoration: none; padding: 6px 10px; border-radius: 6px; }
.site-footer nav a:hover { color: var(--text); background: var(--elevated); }

/* ── Simple pages (privacy, 404) ────────────────────────── */
.page { padding: 56px 0 72px; }
.page .card { max-width: 760px; }
.page h2 { font-size: 1.25rem; margin-top: 1.5em; }
.page h2:first-child { margin-top: 0; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .hero-logo { margin-bottom: 28px; }
  .section { padding: 44px 0; }
  .card { padding: 20px; }
  .facts div, .registry div { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .brand span { display: none; }       /* mark alone; nav needs the room */
  .site-nav a { padding: 8px 10px; }
}
