/* Baysera website — design tokens and shared styles */
:root {
  --green: #1f5a44;
  --green-hover: #174a38;
  --green-soft: #eef4f0;
  --ink: #0b0f0d;
  --ink-2: #4b524e;
  --muted: #6b716e;
  --line: #e6eae8;
  --field: #dde2df;
  --pill: #f1f3f2;
  --panel: #f5f7f6;
  --bg: #ffffff;
  --max: 1240px;
  --gutter: clamp(16px, 3vw, 40px);
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-block: 18px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--green);
  font-size: 22px; font-weight: 400; letter-spacing: -0.04em;
}
.logo:hover { color: var(--green); }
.nav { display: flex; gap: 6px 28px; flex-wrap: wrap; font-size: 13px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
@media (max-width: 760px) { .nav { order: 3; width: 100%; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 15px; text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .15s ease;
}
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); color: #fff; }
.btn-secondary { background: var(--pill); color: var(--ink); }
.btn-secondary:hover { background: #e6e9e7; color: var(--ink); }
.btn-arrow { padding-right: 8px; }
.btn-arrow .arrow {
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex; align-items: center; justify-content: center;
}

/* Hero */
.hero { padding-top: clamp(72px, 10vw, 140px); display: flex; flex-direction: column; gap: 22px; }
.hero h1 {
  margin: 0; max-width: 760px;
  font-weight: 300; font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.04; letter-spacing: -0.05em;
}
.hero p { margin: 0; max-width: 470px; font-size: 15px; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.eyebrow { font-size: 12px; color: var(--green); margin: 0; }

/* Voice waveform */
.wave {
  max-width: 1440px; margin: clamp(48px, 7vw, 88px) auto 0; padding-inline: var(--gutter);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.wave-bars { display: flex; align-items: center; gap: 3px; height: clamp(160px, 22vw, 300px); }
.wave-bars span {
  flex: 1 1 0; border-radius: 2px;
  background: repeating-linear-gradient(to bottom, var(--green) 0 2px, transparent 2px 4px);
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .wave-bars.is-live span { animation: breathe 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
  @keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.82); } }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); }
.section-title {
  margin: 0 0 32px; font-weight: 300;
  font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.045em; line-height: 1.1;
}
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.point { display: flex; flex-direction: column; gap: 8px; }
.point p, .lead-light {
  margin: 0; font-size: 20px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.3;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; list-style: none; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { color: var(--green); font-size: 20px; font-weight: 300; transition: transform .2s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { margin: 10px 0 0; max-width: 560px; color: var(--ink-2); }

/* Early access */
.panel {
  background: var(--panel); border-radius: 24px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px; align-items: start;
}
.panel h2 { margin: 0; font-weight: 300; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.045em; line-height: 1.1; }
.panel .sub { margin: 6px 0 0; color: var(--ink-2); }
.form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; color: var(--muted); }
.field input {
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--field); background: #fff; border-radius: 999px;
  padding: 0 18px; min-height: 46px; width: 100%;
}
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.form .btn { align-self: flex-start; }
.form-note { margin: 0; font-size: 12px; color: var(--muted); }
.form-status { margin: 0; font-size: 14px; min-height: 1.6em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #a03939; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Service page */
.notices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--line); }
.notice { padding: 24px 24px 32px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.notice h3 { margin: 0; font-size: 15px; font-weight: 500; }
.notice p { margin: 0; color: var(--ink-2); max-width: 340px; }
.example {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--line);
}
.example h3 { margin: 0; font-weight: 300; font-size: 24px; letter-spacing: -0.03em; }
.example .label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.example .does .label, .example .does p { color: var(--green); }
.example p { margin: 0; }
.tag { font-size: 12px; color: var(--muted); }

/* Footer */
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding-block: 20px 36px; font-size: 12px; color: var(--muted);
  border-top: 1px solid #f0f2f1;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--green); }

.section + .section { padding-top: 0; }
