/* EYMOVEX — "Night instrument" */
:root {
  --bg: #0b0d10;
  --bg-2: #11151a;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f5f7;
  --muted: #b3bec8;
  --faint: #8794a0;
  --accent: #4fd1c5;
  --accent-soft: rgba(79, 209, 197, 0.14);
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

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

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #031614; padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(11, 13, 16, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.wordmark { font-weight: 600; font-size: 17px; letter-spacing: 0.34em; text-decoration: none; padding: 6px 0; }
.wordmark span { color: var(--accent); }
.nav { display: flex; gap: clamp(16px, 3vw, 40px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.display { font-size: clamp(44px, 7.2vw, 108px); line-height: 0.98; letter-spacing: -0.04em; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--muted); max-width: 40ch; margin: 28px 0 0; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: #04211e; }
.btn-primary:hover { transform: translateY(-1px); background: #6fe0d5; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* Hero */
.hero { position: relative; padding: clamp(64px, 10vw, 140px) 0 clamp(72px, 10vw, 140px); }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 45%, rgba(79, 209, 197, 0.10), transparent 70%); pointer-events: none; }

/* Instrument ring */
.instrument { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.instrument svg { width: 100%; height: 100%; overflow: visible; }
.instrument .spin { transform-origin: 260px 260px; animation: spin 60s linear infinite; }
.instrument .spin-rev { transform-origin: 260px 260px; animation: spin 90s linear infinite reverse; }
.instrument .pulse { transform-origin: 260px 260px; animation: pulse 4.8s ease-in-out infinite; }
.instrument .sweep { transform-origin: 260px 260px; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .instrument * { animation: none !important; } }

/* Sections */
.section { padding: clamp(80px, 11vw, 160px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); }

/* Split products */
.split { display: grid; gap: 64px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 0; } .split > * + * { border-left: 1px solid var(--line); padding-left: clamp(40px, 5vw, 80px); } .split > *:first-child { padding-right: clamp(40px, 5vw, 80px); } }
.product-name { font-family: var(--mono); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.dev { background: rgba(255, 255, 255, 0.07); color: #d9dfe4; }
.product p { color: var(--muted); max-width: 46ch; margin: 22px 0 0; }
.text-link { display: inline-flex; gap: 10px; margin-top: 32px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.text-link:hover { color: var(--accent); }

/* Principles */
.principles { display: grid; gap: 48px; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.principle .num { font-family: var(--mono); color: var(--accent); font-size: 14px; letter-spacing: 0.12em; }
.principle h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin: 18px 0 14px; }
.principle p { color: var(--muted); margin: 0; }

/* Feature list (products page) */
.feature-grid { display: grid; gap: 40px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.feature { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.feature h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: 17px; }
.product-block { display: grid; gap: 40px; }
@media (min-width: 1024px) { .product-block { grid-template-columns: 0.9fr 1.1fr; gap: 96px; align-items: start; } }
.note { margin-top: 48px; padding: 22px 26px; border-left: 2px solid var(--accent); background: var(--bg-2); color: var(--muted); font-size: 16px; max-width: 760px; }

/* Facts (company page) */
.facts { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.facts div { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .facts div { grid-template-columns: 260px 1fr; gap: 24px; } }
.facts dt { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; font-size: 19px; }

/* Contact */
.big-mail { display: inline-block; font-size: clamp(30px, 5.4vw, 76px); font-weight: 600; letter-spacing: -0.03em; text-decoration: none; border-bottom: 2px solid var(--accent); line-height: 1.15; margin-top: 40px; word-break: break-word; }
.big-mail:hover { color: var(--accent); }

/* CTA band */
.cta { text-align: left; }
.cta .wrap { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1024px) { .cta .wrap { grid-template-columns: 1.4fr auto; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 14px; color: var(--faint); }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer p { margin: 0; }

/* Prose (privacy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; margin: 48px 0 12px; }
.prose p, .prose li { color: var(--muted); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 719px) { .site-header { position: static; } .site-header .wrap { padding-top: 10px; padding-bottom: 10px; gap: 8px; } }
