/* Taobox — лендинг. Цвета из логотипа: navy #173158, orange #E0702F. */
:root {
  --navy: #173158;
  --navy-2: #22437a;
  --orange: #e0702f;
  --orange-2: #c95f22;
  --orange-soft: #fdf0e7;
  --ink: #16213a;
  --muted: #5b6579;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-alt: #f6f7fa;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(23, 49, 88, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; color: var(--navy); }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.header .logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--orange); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ── Hero ── */
.hero { padding: 72px 0 88px; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 10%, var(--orange-soft), transparent 70%),
    linear-gradient(180deg, #fff, #fff);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); }
.hero h1 .accent { color: var(--orange); }
.hero .lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 560px; }
.hero .cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px; border-radius: 12px;
  background: var(--navy); color: #fff; text-decoration: none;
  position: relative;
}
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; opacity: .75; }
.store b { font-size: 16px; }
.store .soon {
  position: absolute; top: -9px; right: -8px;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
}

/* Hero visual — phone with product cards */
.phone {
  justify-self: center;
  width: min(330px, 100%);
  aspect-ratio: 9 / 18.5;
  background: var(--navy);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(23, 49, 88, 0.25);
  position: relative;
}
.phone::after { content: ""; position: absolute; top: 22px; left: 50%; width: 90px; height: 22px; margin-left: -45px; background: var(--navy); border-radius: 999px; }
.screen { background: var(--bg-alt); border-radius: 34px; height: 100%; overflow: hidden; padding: 52px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.search { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.search i { width: 12px; height: 12px; border: 2px solid var(--muted); border-radius: 50%; display: inline-block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card { background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 2px 8px rgba(23,49,88,.06); }
.card .ph { aspect-ratio: 1; border-radius: 10px; margin-bottom: 8px; }
.card .t { height: 7px; border-radius: 4px; background: var(--line); margin-bottom: 5px; }
.card .t.s { width: 60%; }
.card .p { font-size: 13px; font-weight: 800; color: var(--navy); }
.ph.a { background: linear-gradient(135deg, #ffd9c2, #f3a978); }
.ph.b { background: linear-gradient(135deg, #cfdcf3, #8aa6d6); }
.ph.c { background: linear-gradient(135deg, #d8eedf, #8ec9a1); }
.ph.d { background: linear-gradient(135deg, #f1e3c8, #d9b36c); }
.cartbar { margin-top: auto; background: var(--orange); color: #fff; border-radius: 12px; padding: 12px; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--orange-soft); color: var(--orange); font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ── Features ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; margin-bottom: 18px; }
.feature .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature:nth-child(even) .ic { background: var(--orange); }
.feature h3 { font-size: 19px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ── Business band ── */
.band { background: var(--navy); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.band p { margin-top: 14px; color: rgba(255,255,255,.78); }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.band li { display: flex; gap: 12px; align-items: flex-start; }
.band li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 3px; background: var(--orange); }
.band .mark { position: absolute; right: -40px; bottom: -50px; width: 260px; opacity: .08; }

/* ── FAQ ── */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* ── CTA + footer ── */
.final { text-align: center; }
.final h2 { font-size: clamp(28px, 4vw, 42px); }
.final p { margin: 14px auto 0; max-width: 560px; color: var(--muted); }
.final .stores { justify-content: center; margin-top: 28px; }

.footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer img { height: 26px; width: auto; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--navy); }

/* ── Legal page ── */
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal .updated { color: var(--muted); margin-top: 8px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: #34405a; }
.legal p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-top: 6px; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: min(280px, 80%); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .steps, .features { grid-template-columns: 1fr; }
  .header .logo img { height: 28px; }
}
