/* Сайт Dastarhan: собран tools/site/build.py — правьте там. Одна вёрстка на два бренда. */
@font-face { font-family: "Onest"; src: url("/fonts/Onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --paper: #f4efe5; --card: #fffdf9; --ink: #1b211e; --muted: #5c665f; --line: #ddd5c6; --brand: #0e6b58; --on-brand: #ffffff; --accent: #e0a21a; --on-accent: #2a1f00; --soft: #dff1ea; --good: #166b47; --wide: 72rem; --radius: 18px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 "Onest", system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.01em; }
.mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-size: 1.1rem; }
.top nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { text-decoration: none; font-weight: 500; }
.top nav a:hover { text-decoration: underline; }
.lang { color: var(--muted); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 10px; }
h3 { margin: 0 0 6px; font-size: 1.2rem; }
section { padding-top: 56px; padding-bottom: 8px; }
.intro { color: var(--muted); margin: 0 0 26px; max-width: 42rem; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 28px; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; max-width: 36rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; background: var(--brand); color: var(--on-brand); border: 2px solid var(--brand); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(1.12); }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.button.quiet:hover { border-color: var(--ink); filter: none; }
.small { color: var(--muted); font-size: 0.92rem; margin: 14px 0 0; }
.seats { margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--soft); display: flex; flex-direction: column; gap: 2px; max-width: 36rem; }
.seats [data-left] { font-weight: 700; color: var(--good); }
.no-seats .seats { display: none; }
.devices { position: relative; min-height: 420px; }
.devices img { display: block; border-radius: 14px; box-shadow: 0 24px 60px rgba(20, 20, 15, 0.18); background: var(--card); }
.devices .wide { width: 100%; border: 1px solid var(--line); }
.devices .phone { position: absolute; width: 34%; right: -10px; bottom: -36px; border-radius: 26px; border: 6px solid var(--ink); }
.pains { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pains li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; }
.pains .q { margin: 0 0 10px; font-weight: 700; }
.pains .a { margin: 0; color: var(--muted); }
.pains .a::before { content: "✓ "; color: var(--good); font-weight: 800; }
.does { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 0; }
.does div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.does dt { font-weight: 700; margin: 0 0 6px; }
.does dd { margin: 0; color: var(--muted); }
.shots { display: grid; grid-template-columns: 3fr 1fr; gap: 16px; align-items: start; }
.wides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wides .shot:first-child, .wides-2 .shot { grid-column: span 2; }
.phones { display: grid; gap: 16px; }
.shot { margin: 0; }
.shot img { width: 100%; display: block; border-radius: 14px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 12px 30px rgba(20, 20, 15, 0.10); }
.shot.phone img { border-radius: 22px; border: 5px solid var(--ink); }
.shot figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; margin-bottom: 6px; }
.steps span { color: var(--muted); }
.note { margin: 16px 0 0; font-weight: 600; }
.plans { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.plans-4 { grid-template-columns: repeat(4, 1fr); }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.plan .badge { position: absolute; top: -12px; left: 20px; background: var(--accent); color: var(--on-accent); font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-top: 6px; display: flex; align-items: baseline; gap: 10px; }
.price .usual { font-size: 1.1rem; font-weight: 500; color: var(--muted); }
.per { color: var(--muted); font-size: 0.92rem; }
.per .usual-label, .no-seats .per .founder, .no-seats .price .founder, .no-seats .plan .badge { display: none; }
.no-seats .per .usual-label { display: inline; }
.no-seats .price .usual { font-size: inherit; font-weight: inherit; color: var(--ink); }
.no-seats .price s { text-decoration: none; }
.plan ul { padding-left: 18px; margin: 14px 0 0; color: var(--muted); }
.terms { color: var(--muted); margin: 14px 0 0; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
.formbox { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
form { display: grid; gap: 14px; max-width: 46rem; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
input, select, textarea { font: inherit; font-weight: 400; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.form-msg.ok { background: var(--soft); color: var(--good); }
.form-msg.bad { background: #fde3df; color: #9b2c1f; }
.closing { text-align: center; padding-top: 64px; padding-bottom: 40px; }
.closing .actions { justify-content: center; margin-top: 18px; }
footer { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 36px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.95rem; }
footer .links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .devices { min-height: 0; margin: 10px 0 40px; }
  .steps, .plans, .plans-4 { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .phones-1 { grid-template-columns: 1fr; max-width: 260px; }
}
@media (max-width: 620px) {
  .hide-sm { display: none; }
  .steps, .plans, .plans-4, .row2, .row3 { grid-template-columns: 1fr; }
  .devices { margin-bottom: 84px; }
  .devices .phone { width: 34%; right: 0; bottom: -64px; border-width: 4px; border-radius: 18px; }
  .formbox { padding: 20px; }
  section { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
