/* Evitrus landing — self-contained, no external fonts or trackers (GDPR-clean). */

:root {
  --bg: #f5f5f7;
  --bg-grad-1: #fbfbfd;
  --bg-grad-2: #eef0f4;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --border: #e4e5ea;
  --text: #1d1d1f;
  --text-muted: #55565b;
  --text-dim: #8a8b90;
  --accent: #0071e3;
  --accent-2: #5b6cff;
  --accent-soft: rgba(0, 113, 227, 0.1);
  --ok: #1a9d43;
  --warn: #c77700;
  --bad: #d70015;
  --info: #0088a8;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(20, 24, 40, 0.08);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Inter", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -8%, #e9efff, transparent 60%),
    radial-gradient(900px 600px at 0% 0%, #eef0f4, transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
.btn-lg {
  padding: 13px 26px;
  font-size: 16px;
}
.btn-primary {
  background: linear-gradient(150deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 6px 18px var(--accent-soft);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 113, 227, 0.28);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: block;
  border-radius: 8px;
}
.site-nav {
  display: flex;
  gap: 26px;
  margin-left: 12px;
}
.site-nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.header-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

/* Hero */
.hero {
  padding: 84px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow.center {
  text-align: center;
}
h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 700;
}
.lede {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 34ch;
}
.lede em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-actions.center {
  justify-content: center;
}
.hero-note {
  margin-top: 22px;
  color: var(--text-dim);
  font-size: 14px;
}

/* Hero preview card */
.hero-preview {
  perspective: 1400px;
}
.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotateY(-9deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.preview-card:hover {
  transform: rotateY(0) rotateX(0);
}
.preview-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.preview-title {
  margin-left: 10px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.preview-body {
  padding: 20px;
}
.metric-line {
  height: 64px;
  border-radius: 10px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, var(--accent-soft), transparent),
    repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 44px);
  position: relative;
}
.metric-line::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 20%;
  height: 40%;
  border-top: 2px solid var(--accent);
  border-radius: 60%;
  clip-path: polygon(0 60%, 20% 55%, 40% 58%, 60% 40%, 78% 62%, 100% 20%, 100% 100%, 0 100%);
  opacity: 0.55;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.timeline li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.tl-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}
.tl-dot.ok { background: var(--ok); }
.tl-dot.info { background: var(--info); }
.tl-dot.warn { background: var(--warn); }
.tl-text {
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
}
.tl-time {
  margin-left: auto;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

/* Bands & sections */
.band {
  padding: 40px 0;
}
.section {
  padding: 76px 0;
}
.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 700;
}
.section-title.center {
  text-align: center;
  margin-bottom: 44px;
}
.muted {
  color: var(--text-muted);
  font-size: 16.5px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cards.three {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.section.alt .card {
  background: var(--surface-2);
}
.card h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.card-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 980px;
  margin-bottom: 14px;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

/* Ticks */
.ticks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 10px;
  border-left: 2.5px solid var(--ok);
  border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}

/* CTA */
.cta {
  padding: 84px 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.cta-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 32px;
  box-shadow: var(--shadow);
}
.cta-inner .muted {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* Beta sign-up form */
.beta-form {
  max-width: 560px;
  margin: 32px auto 0;
  text-align: left;
}
.field {
  margin-bottom: 16px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.beta-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.beta-form .opt {
  font-weight: 400;
  color: var(--text-dim);
}
.beta-form input,
.beta-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.beta-form input:focus,
.beta-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.beta-form textarea {
  resize: vertical;
  min-height: 96px;
}
/* Honeypot — visually hidden but present in the DOM for bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.beta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.beta-privacy {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  flex: 1;
  min-width: 220px;
}
.beta-status {
  margin: 16px 0 0;
  font-size: 14.5px;
  min-height: 1.2em;
  color: var(--text-muted);
}
.beta-status.ok {
  color: var(--ok);
  font-weight: 600;
}
.beta-status.err {
  color: var(--bad);
  font-weight: 600;
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}
.footer-nav {
  display: flex;
  gap: 22px;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: 15px;
}
.footer-legal {
  margin: 0 0 0 auto;
  color: var(--text-dim);
  font-size: 14px;
}

/* Legal pages */
.legal {
  padding: 56px 0 84px;
}
.legal .container {
  max-width: 760px;
}
.legal h1 {
  font-size: 34px;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 21px;
  margin: 34px 0 10px;
  letter-spacing: -0.01em;
}
.legal h3 {
  font-size: 17px;
  margin: 22px 0 6px;
}
.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 16px;
}
.legal address {
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
}
.legal .placeholder {
  background: #fff6d6;
  border: 1px dashed #d9b23a;
  color: #7a5c00;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}
.legal .updated {
  color: var(--text-dim);
  font-size: 14px;
}
.back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-preview {
    order: -1;
  }
  .preview-card {
    transform: none;
  }
  .cards,
  .cards.three,
  .steps {
    grid-template-columns: 1fr;
  }
  .site-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-cta .btn-ghost {
    display: none;
  }
  .hero {
    padding: 56px 0 40px;
  }
  .footer-legal {
    margin: 8px 0 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .preview-card {
    transition: none;
  }
}
