:root {
  color-scheme: dark;
  --bg: #071321;
  --bg-2: #0b1d31;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --card: #ffffff;
  --ink: #06182e;
  --text: #f5fbff;
  --muted: #9fb1c7;
  --muted-2: #667a91;
  --line: rgba(255, 255, 255, 0.14);
  --line-light: #d9e5ef;
  --teal: #12d8d2;
  --teal-2: #5ff7f2;
  --amber: #ffb23e;
  --lime: #9cff7a;
  --danger: #ff6b6b;
  --radius: 28px;
  --radius-sm: 14px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(18, 216, 210, 0.2), transparent 34%),
    radial-gradient(circle at 95% 10%, rgba(255, 178, 62, 0.12), transparent 32%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  z-index: -2;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 19, 33, 0.78);
  backdrop-filter: blur(18px) saturate(1.35);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 23px;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  translate: -120% 0;
  transition: translate 0.55s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
}

.button:hover::after {
  translate: 120% 0;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), #20f0b5);
  color: #02131f;
  box-shadow: 0 18px 46px rgba(18, 216, 210, 0.32);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  margin-left: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: 86px 0 80px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 33, 0.98) 0%, rgba(7, 19, 33, 0.76) 46%, rgba(7, 19, 33, 0.38) 100%),
    image-set(url("/assets/hero-city-orders.webp") type("image/webp"), url("/assets/hero-city-orders.png") type("image/png"));
  background-size: cover;
  background-position: center;
  z-index: -3;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: -1;
}

.hero-glow {
  position: absolute;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.34;
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite;
  z-index: -2;
}

.hero-glow-one {
  left: -12vw;
  top: 8vh;
  background: var(--teal);
}

.hero-glow-two {
  right: -14vw;
  bottom: 8vh;
  background: var(--amber);
  animation-delay: -3s;
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -18px, 0) scale(1.08); }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.hero-copy,
.hero-product,
.split > *,
.value-layout > *,
.launch-layout > *,
.faq-layout > * {
  min-width: 0;
}

.signal-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.signal-pill {
  margin-bottom: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(95, 247, 242, 0.28);
  border-radius: 999px;
  background: rgba(18, 216, 210, 0.08);
  box-shadow: inset 0 0 24px rgba(18, 216, 210, 0.09);
}

.signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--amber);
  box-shadow: 0 0 18px var(--amber);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 7vw, 94px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h3 {
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 690px;
  margin-top: 26px;
  color: #d8e6f2;
  font-size: clamp(18px, 1.55vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.proof-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.proof-card strong {
  display: block;
  color: var(--teal-2);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.proof-card span {
  display: block;
  margin-top: 10px;
  color: #d1dfec;
  font-size: 14px;
  font-weight: 750;
}

.hero-product {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.city-card,
.phone-frame,
.order-strip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 23, 39, 0.72);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: var(--shadow);
}

.city-card {
  position: relative;
  z-index: 2;
  width: min(440px, 92%);
  margin-left: auto;
  margin-bottom: -38px;
  padding: 18px;
  border-radius: 22px;
  animation: floatCard 5.6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.city-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.city-card-head span,
.order-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.city-card-head strong,
.order-strip strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 17px;
}

.city-card-head b {
  flex: 0 0 auto;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(18, 216, 210, 0.14);
  color: var(--teal-2);
  font-size: 13px;
}

.city-feed {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.feed-line {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.feed-line.short {
  width: 62%;
}

.feed-line.active::before {
  content: "";
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  animation: loadingLine 3.8s ease-in-out infinite;
}

@keyframes loadingLine {
  0%, 100% { translate: -30% 0; }
  50% { translate: 110% 0; }
}

.phone-frame {
  width: min(520px, 100%);
  margin-left: auto;
  padding: 22px;
  border-radius: 34px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.phone-top img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}

.phone-top strong,
.phone-top span {
  display: block;
}

.phone-top span {
  color: var(--muted);
  font-size: 13px;
}

.chat-stream {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bubble {
  width: fit-content;
  max-width: 86%;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.bubble.user {
  justify-self: end;
  background: linear-gradient(135deg, var(--teal), #29f0bd);
  color: #031722;
  font-weight: 900;
}

.bubble.success {
  max-width: 100%;
  border: 1px solid rgba(18, 216, 210, 0.34);
  background: rgba(18, 216, 210, 0.12);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.choice-grid button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #eef4f7;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
}

.food-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
}

.food-card img {
  width: 118px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
}

.food-card strong,
.food-card span,
.food-card b {
  display: block;
}

.food-card strong {
  line-height: 1.16;
}

.food-card span {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 12px;
}

.food-card b {
  margin-top: 9px;
  color: #009d98;
}

.order-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(500px, 96%);
  margin: -18px 0 0 auto;
  padding: 12px;
  border-radius: 20px;
}

.order-strip div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  position: relative;
  padding: 108px 0;
  background: #f6f9fb;
  color: var(--ink);
}

.section.dark-band {
  background:
    radial-gradient(circle at 20% 0%, rgba(18, 216, 210, 0.18), transparent 34%),
    linear-gradient(180deg, #071321, #0b1d31);
  color: #fff;
}

.section.feature-section {
  background: #eef6f7;
}

.section.launch {
  background:
    linear-gradient(135deg, rgba(6, 24, 46, 0.96), rgba(9, 47, 67, 0.94)),
    radial-gradient(circle at 90% 20%, rgba(18, 216, 210, 0.2), transparent 30%);
  color: #fff;
}

.split,
.value-layout,
.launch-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
}

.section-copy p,
.section-head p {
  max-width: 720px;
  margin-top: 18px;
  color: #53677d;
  font-size: 19px;
}

.dark-band .section-head p,
.launch .section-copy p,
.launch-card p,
.final-cta p {
  color: #bdd0df;
}

.section-head.centered {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.audience-panel,
.compare-board,
.launch-card,
.cta-panel {
  border: 1px solid rgba(6, 24, 46, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(6, 24, 46, 0.1);
}

.audience-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.audience-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: #f2f7f8;
}

.audience-row span {
  color: var(--muted-2);
  font-weight: 900;
}

.audience-row strong {
  font-size: 20px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-card,
.feature-card,
.timeline-item,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}

.flow-card {
  min-height: 320px;
  padding: 24px;
}

.flow-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--teal);
  color: #031722;
  font-weight: 950;
}

.flow-card p,
.feature-card p {
  margin-top: 14px;
  color: #bdd0df;
}

.value-layout {
  grid-template-columns: 0.86fr 1.14fr;
}

.compare-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.compare-title,
.compare-cell {
  padding: 20px;
  border-bottom: 1px solid #dce6ee;
}

.compare-title {
  background: #eef4f7;
  color: #617286;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}

.compare-title.accent {
  background: #dffcf9;
  color: #008b87;
}

.compare-cell {
  color: #22364b;
  font-weight: 800;
}

.compare-cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.compare-cell.muted {
  color: #7a8ca0;
}

.compare-cell.accent {
  color: #007f7b;
  background: #f4fffe;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 26px;
  border-color: #dbe8ef;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(6, 24, 46, 0.08);
}

.feature-card p {
  color: #53677d;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 42px;
  margin-bottom: 20px;
  padding: 0 12px;
  border-radius: 14px;
  background: #e4fffd;
  color: #008b87;
  font-size: 13px;
  font-weight: 950;
}

.launch-layout {
  grid-template-columns: 0.85fr 1.15fr;
}

.launch-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.launch-card .button {
  margin-top: 26px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px;
}

.timeline-item > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--teal);
  color: #031722;
  font-weight: 950;
}

.timeline-item p {
  margin-top: 8px;
  color: #bdd0df;
}

.faq-section {
  background: #f6f9fb;
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-color: #dbe8ef;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(6, 24, 46, 0.07);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 950;
}

.faq-list details p {
  padding: 0 22px 22px;
  color: #53677d;
}

.final-cta {
  padding: 92px 0;
  background: var(--bg);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 58px);
  border-color: var(--line);
  background:
    radial-gradient(circle at 80% 10%, rgba(18, 216, 210, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  color: #fff;
}

.cta-panel p {
  max-width: 680px;
  margin-top: 14px;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #05101d;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer p {
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.footer-links a {
  text-decoration: none;
}

.doc {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto;
  padding: 64px 0 90px;
  color: #fff;
}

.doc h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.doc h2 {
  margin-top: 38px;
  font-size: 28px;
}

.doc p,
.doc li {
  color: #d7e4ef;
}

.doc p {
  margin-top: 16px;
}

.doc ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--teal-2);
  text-decoration: none;
  font-weight: 900;
}

.doc-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.doc-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .topbar-inner {
    justify-content: space-between;
  }

  .hero-layout,
  .split,
  .value-layout,
  .launch-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-product {
    max-width: 640px;
    margin: 0 auto;
  }

  .flow-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container,
  .doc {
    width: min(100% - 28px, var(--max));
  }

  .topbar-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 58px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 19, 33, 0.98) 0%, rgba(7, 19, 33, 0.82) 48%, rgba(7, 19, 33, 0.96) 100%),
      image-set(url("/assets/hero-city-orders.webp") type("image/webp"), url("/assets/hero-city-orders.png") type("image/png"));
    background-position: 62% center;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .lead,
  .section-copy p,
  .section-head p {
    font-size: 17px;
  }

  .hero-actions,
  .cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-grid,
  .flow-grid,
  .feature-grid,
  .order-strip,
  .compare-board {
    grid-template-columns: 1fr;
  }

  .proof-card {
    min-height: auto;
  }

  .city-card {
    width: 100%;
    margin-bottom: 14px;
  }

  .phone-frame {
    padding: 14px;
    border-radius: 24px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .food-card {
    grid-template-columns: 92px 1fr;
  }

  .food-card img {
    width: 92px;
    height: 76px;
  }

  .order-strip {
    width: 100%;
    margin-top: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .audience-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .compare-title:nth-child(2) {
    display: none;
  }

  .compare-title {
    display: none;
  }

  .compare-cell {
    border-bottom: 1px solid #dce6ee;
  }

  .compare-cell.muted::before {
    content: "Сейчас";
    display: block;
    margin-bottom: 6px;
    color: #8a9bad;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .compare-cell.accent::before {
    content: "С Едак.ру";
    display: block;
    margin-bottom: 6px;
    color: #008b87;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .footer-grid {
    flex-direction: column;
  }
}
