/* ---------------------------------------------------------
   Vetko marketing site
   Tokens: ink (brand navy) · paper (warm bg) · surface (card)
           line (hairline) · violet (accent) · slate (muted text)
   Type: Baloo 2 (display) · Archivo (body) · IBM Plex Mono (data/labels)
--------------------------------------------------------- */

:root {
  --ink: #0b1657;
  --ink-strong: #060b33;
  --paper: #f5f1e8;
  --surface: #ffffff;
  --slate: #55536b;

  --text: #f0ecdf;
  --text-muted: #a9a6c4;
  --bg: #0a0d24;
  --card: #12162e;
  --surface-sunken: #171b36;
  --line: rgba(255, 255, 255, 0.12);
  --violet: #9a8cff;
  --violet-soft: rgba(154, 140, 255, 0.14);
  --btn-primary-bg: #2b3aa0;
  --btn-primary-text: #ffffff;
  --focus-ring: #9a8cff;

  --font-display: "Baloo 2", ui-rounded, "Segoe UI", sans-serif;
  --font-body: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1160px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; text-wrap: balance; color: var(--text); }
p { margin: 0; }
ul, dl { margin: 0; padding: 0; }
dt, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.text-balance { text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75em 1.25em;
  border-radius: 0 0 var(--radius-s) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* ---------- eyebrow / mono labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 0.9em;
}
.eyebrow--center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.btn-primary:hover { box-shadow: 0 8px 20px -8px var(--btn-primary-bg); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--violet-soft); border-color: var(--violet); color: var(--violet); }
.btn-small { padding: 0.6em 1.15em; font-size: 0.88rem; }
.btn-large { padding: 1em 2em; font-size: 1.05rem; }
.btn-block { width: 100%; margin-block: 1.4em 1.6em; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.brand-chip img { width: 26px; height: 26px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.96rem;
  font-weight: 500;
}
.main-nav a { text-decoration: none; color: var(--text-muted); }
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero { padding: 5.5rem 0 6rem; }
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin-bottom: 0.55em;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 1.9em;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.6em; }
.hero-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---------- device frame ---------- */
.device-frame {
  position: relative;
  background: #0a0d24;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(10, 13, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.device-bar {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: #0a0d24;
}
.device-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.device-frame img { width: 100%; }

.hero-visual { position: relative; }
.device-frame--glow { position: relative; z-index: 1; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12% -16%;
  background: radial-gradient(closest-side, var(--violet) 0%, transparent 72%);
  opacity: 0.28;
  filter: blur(38px);
  z-index: 0;
}

/* ---------- showcase ---------- */
.showcase { padding: 5rem 0; }
.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}
.showcase--reverse .showcase-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.showcase--reverse .showcase-visual { order: -1; }
.showcase-copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 0.5em; }
.showcase-copy > p { color: var(--text-muted); font-size: 1.05rem; max-width: 50ch; margin-bottom: 1.8em; }

.field-list div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85em 0;
  border-top: 1px solid var(--line);
}
.field-list div:last-child { border-bottom: 1px solid var(--line); }
.field-list dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  flex: 0 0 auto;
  padding-top: 0.15em;
}
.field-list dd {
  text-align: right;
  color: var(--text);
  font-size: 0.96rem;
}

/* ---------- feature grid ---------- */
.grid-section { padding: 5rem 0; }
.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  text-align: center;
  max-width: 32ch;
  margin: 0 auto 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.feature-card {
  background: var(--card);
  padding: 1.9rem 1.8rem;
}
.feature-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--violet);
  margin-bottom: 0.7em;
}
.feature-card p:last-child { color: var(--text-muted); }

/* ---------- pricing ---------- */
.pricing { padding: 5rem 0 6rem; }
.section-lead {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 3.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 2.1rem 2rem 1.6rem;
  position: relative;
}
.price-card--featured {
  border-color: var(--violet);
  background: linear-gradient(180deg, var(--violet-soft), var(--card) 40%);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 2rem;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35em 0.9em;
  border-radius: 999px;
}
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.price-desc { color: var(--text-muted); margin-top: 0.3em; font-size: 0.95rem; }
.price-amount { margin-top: 1.1em; display: flex; align-items: baseline; gap: 0.3em; }
.price-num { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; }
.price-period { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.9rem; }
.field-list--price div { padding: 0.65em 0; }
.field-list--price dt { font-size: 0.72rem; }
.field-list--price dd { font-family: var(--font-mono); font-size: 0.88rem; }

/* ---------- faq ---------- */
.faq { padding: 5rem 0 6rem; }
.faq-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3.5rem; }
.faq-intro h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 1.3em 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--violet);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); margin-top: 0.9em; max-width: 60ch; }

/* ---------- cta band ---------- */
.cta-band {
  padding: 4.5rem 0;
  background: var(--ink-strong);
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 16ch; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin-top: 0.7em; max-width: 42ch; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.cta-actions { text-align: right; }
.cta-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.9em;
}
.cta-band .btn-primary { background: var(--violet); }
.cta-band .btn-primary:hover { box-shadow: 0 8px 20px -8px var(--violet); }

/* ---------- footer ---------- */
.site-footer { padding: 2.6rem 0; border-top: 1px solid var(--line); }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: 0.92rem; }
.footer-nav a { text-decoration: none; color: var(--text-muted); }
.footer-nav a:hover { color: var(--text); }
.footer-copy { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-row,
  .showcase-row,
  .faq-row { grid-template-columns: 1fr; }
  .showcase--reverse .showcase-visual { order: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .cta-row { justify-content: center; text-align: center; }
  .cta-actions { text-align: center; }
}

@media (max-width: 640px) {
  .header-row { height: 68px; }
  .hero { padding: 3.2rem 0 3.5rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .feature-grid { grid-template-columns: 1fr; }
  .btn-small { display: none; }
}

/* mobile nav panel */
@media (max-width: 960px) {
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 24px 2rem;
    gap: 1.2rem;
    font-size: 1.05rem;
  }
}
