/* Оат Милк — landing */

:root {
  --bg: #0c1220;
  --bg-elevated: #131c2e;
  --surface: #1a2540;
  --text: #e8edf7;
  --muted: #98a4bd;
  --accent: #6ee7c5;
  --accent-dim: rgba(110, 231, 197, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --max: 1100px;
  --narrow: 680px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(110, 231, 197, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(99, 102, 241, 0.08), transparent 45%);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  max-width: var(--narrow);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 18, 32, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.logo-img {
  display: block;
  height: clamp(40px, 6vw, 48px);
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    right: 1.25rem;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
  }

  .nav {
    position: relative;
  }
}

/* Hero */

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 1.75rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 380px;
  padding: 1.5rem 1.5rem 1.65rem;
  background: linear-gradient(145deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.hero-card-text {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.55;
}

.hero-card-text strong {
  color: var(--accent);
  font-weight: 600;
}

/* Sections */

.section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 60ch;
}

.section.narrow p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.section.narrow p:first-of-type {
  color: var(--text);
}

.pill-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pill-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.pill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

/* Cards */

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  position: relative;
  padding: 1.65rem 1.5rem 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-featured {
  border-color: rgba(110, 231, 197, 0.25);
  box-shadow: 0 0 0 1px rgba(110, 231, 197, 0.06) inset;
}

.card-soon {
  opacity: 0.95;
}

.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 1rem;
}

.card-badge-soon {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-meta {
  font-size: 0.82rem !important;
  color: #7c8aa3 !important;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  margin-top: 0.5rem !important;
}

/* Timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(5rem, 7rem) 1fr;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1rem 1.15rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

@media (max-width: 520px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.timeline-step {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.timeline-body {
  color: var(--muted);
  font-size: 0.98rem;
}

.timeline-body strong {
  color: var(--text);
  font-weight: 700;
}

/* Contact */

.section-contact .contact-email {
  font-size: 1.25rem;
  margin: 1rem 0;
}

.section-contact .contact-email a {
  font-weight: 600;
}

.hint {
  font-size: 0.85rem !important;
  color: #6b7a95 !important;
  margin-top: 1.25rem !important;
}

/* Footer */

.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-domain {
  opacity: 0.8;
}
