/* ──────────────────────────────────────────────────────────────────────────
   AcouVero · marketing site · shared styles
   Quiet direction — paper #F4F5F3, ink #0D0E10, cobalt #1F44FF accent.
   Hairline rules, generous whitespace, mono micro-captions.
   ────────────────────────────────────────────────────────────────────────── */

/* Geist via Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --paper:   #F4F5F3;
  --paperHi: #FBFBF9;
  --cream:   #E7E7E3;
  --ink:     #0D0E10;
  --walnut:  #2B2D31;
  --muted:   #8A8D92;
  --rule:    #DFE0DC;
  --accent:  #1F44FF;
  --accentSoft: rgba(31, 68, 255, 0.10);

  --display: 'Geist', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --body:    'Geist', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --mono:    'Geist Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --gutter: 32px;
  --maxw:   1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ── layout ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}
section:first-of-type { border-top: none; }

/* ── mono caption / eyebrow ──────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 0 4px var(--accentSoft);
}

/* ── headlines ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
}

h4 {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
}

.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--walnut);
  max-width: 56ch;
  text-wrap: pretty;
}

p { margin: 0; color: var(--walnut); text-wrap: pretty; }
p.body { color: var(--walnut); line-height: 1.6; }

strong { color: var(--ink); font-weight: 500; }

/* ── topnav ──────────────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.topnav .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
}
.topnav .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 16px;
  color: var(--ink);
}
.topnav .brand svg { display: block; }
.topnav nav { display: flex; gap: 28px; align-items: center; }
.topnav nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--walnut);
}
.topnav nav a:hover { color: var(--ink); }
.topnav .cta {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
  white-space: nowrap;
}

/* ── language switcher ─────────────────────────────────────────────── */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 2px;
  background: var(--paperHi);
}
.lang-switch button, .lang-switch a {
  appearance: none;
  background: transparent;
  border: none;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding: 5px 9px;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}
.lang-switch button:hover, .lang-switch a:hover { color: var(--ink); }
.lang-switch button.is-active, .lang-switch a.is-active {
  background: var(--ink);
  color: var(--paper);
}

.topnav .cta:hover { background: var(--accent); color: var(--paper); }

/* ── mobile nav toggle (hamburger) ───────────────────────────────────── */
.nav-toggle {
  display: none;
  appearance: none; -webkit-appearance: none;
  background: transparent; border: none; cursor: pointer;
  width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center;
  color: var(--ink); z-index: 60;
}
.nav-toggle .bars { position: relative; width: 22px; height: 14px; display: block; }
.nav-toggle .bars i {
  position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px;
  background: currentColor; transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle .bars i:nth-child(1) { top: 0; }
.nav-toggle .bars i:nth-child(2) { top: 6px; }
.nav-toggle .bars i:nth-child(3) { top: 12px; }
.nav-toggle.is-open .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .bars i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── mobile menu overlay ─────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper);
  padding: 88px var(--gutter) 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu .mm-links { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.mobile-menu .mm-links a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 22px 2px; border-bottom: 1px solid var(--rule);
  font-family: var(--display); font-size: 30px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink);
  transition: color 0.15s ease;
}
.mobile-menu .mm-links a:hover, .mobile-menu .mm-links a:active { color: var(--accent); }
.mobile-menu .mm-links a .idx {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em; color: var(--muted);
  align-self: center; min-width: 24px;
}
.mobile-menu .mm-foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu .mm-foot .lang-switch { align-self: flex-start; }
.mobile-menu .mm-cta { justify-content: center; width: 100%; padding: 16px; font-size: 16px; }
@media (min-width: 901px) { .mobile-menu { display: none; } }

html.menu-open, body.menu-open { overflow: hidden; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.btn.ghost {
  background: transparent; color: var(--ink);
  border-color: var(--rule);
}
.btn.ghost:hover {
  background: transparent; color: var(--accent);
  border-color: var(--ink);
}

.btn .arrow {
  width: 14px; height: 14px;
  stroke: currentColor; stroke-width: 1.5;
  fill: none;
}

/* ── crosshair frame (corner ticks) ──────────────────────────────────── */
.frame {
  position: relative;
}
.frame::before, .frame::after,
.frame > .ct-l, .frame > .ct-r {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border: 0 solid var(--muted);
  pointer-events: none;
}
.frame::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.frame::after  { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.frame > .ct-l { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.frame > .ct-r { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* ── footer ──────────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--rule);
  padding: 64px 0 40px;
  background: var(--paperHi);
}
footer.site .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
footer.site h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; font-size: 14px; color: var(--walnut); }
footer.site .social { display: flex; gap: 10px; margin-top: 20px; }
footer.site .social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); color: var(--walnut); transition: color 0.15s ease, border-color 0.15s ease; }
footer.site .social a:hover { color: var(--accent); border-color: var(--ink); }
footer.site .social svg { width: 18px; height: 18px; display: block; }
footer.site .meta {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; color: var(--muted);
  text-transform: uppercase;
}

/* ── utility ─────────────────────────────────────────────────────────── */
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.muted  { color: var(--muted);  }
.rule-line { height: 1px; background: var(--rule); border: none; margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* a tag rendered as labelled chip (e.g. "BETA · FREE") */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paperHi);
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accentSoft);
}

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --gutter: 22px; }
  section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 32px; }
  footer.site .inner { grid-template-columns: 1fr 1fr; }
  .topnav nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

