/* Визитка dela-now.ru — в цветах приложения «Сделай сейчас» (www/css/tokens.css) */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f3;
  --text: #14171c;
  --muted: #5d6675;
  --border: #e1e5ea;
  --accent: #0f7b6c;
  --accent-2: #13a58f;
  --accent-soft: #e2f3ee;
  --on-accent: #ffffff;
  --glow: rgb(19 165 143 / 18%);
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 12px 32px rgb(16 24 40 / 10%);
  --radius: 18px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f13;
    --surface: #161a20;
    --surface-2: #1d222a;
    --text: #eceef2;
    --muted: #9aa3b2;
    --border: #272c35;
    --accent: #3cc3a5;
    --accent-2: #5fd9bd;
    --accent-soft: #14302a;
    --on-accent: #062a23;
    --glow: rgb(60 195 165 / 16%);
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 16px 40px rgb(0 0 0 / 40%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; transition: transform 0.12s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.btn:hover { box-shadow: 0 8px 24px var(--glow); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn-big { min-height: 52px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand-small { font-size: 15px; font-weight: 700; }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.top-nav a:hover { color: var(--text); }

/* Первый экран */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto 30%; height: 620px; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.eyebrow { margin-bottom: 14px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; }
.lead { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.badges li { padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); font-size: 14px; font-weight: 500; }
.badges li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* Рамки для снимков экрана */
.hero-shots { position: relative; padding-bottom: 40px; }
.frame { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px var(--border); }
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.frame-bar i:first-child { background: #f06b6b; }
.frame-bar i:nth-child(2) { background: #f2c14e; }
.frame-bar i:nth-child(3) { background: #4fc27d; }
.frame-phone { position: absolute; right: -8px; bottom: 0; width: 30%; min-width: 150px; border-radius: 28px; border: 6px solid var(--surface-2); }
.hero .frame-desktop { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }

/* Секции */
.section { padding: 96px 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--border); }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; max-width: 22em; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 19px; max-width: 40em; }

/* Возможности */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--border); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, var(--border)), var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.feature-icon svg, .platform svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; font-weight: 700; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Метод */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--bg); box-shadow: 0 0 0 1px var(--border); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.steps h3 { font-size: 21px; }
.steps p { margin-top: 10px; color: var(--muted); }

/* Экраны */
.showcase { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 96px; }
.showcase-flip .showcase-text { order: 2; }
.showcase-text p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* Платформы */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.platform { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--bg); box-shadow: 0 0 0 1px var(--border); }
.platform svg { width: 34px; height: 34px; color: var(--accent); }
.platform h3 { font-size: 22px; }
.platform p { flex: 1; color: var(--muted); }
.platform .btn { align-self: flex-start; }

/* Вопросы */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Финал */
.final { padding-top: 24px; }
.final-box { padding: 64px 32px; border-radius: 28px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); text-align: center; }
.final-box h2 { margin-inline: auto; }
.final-box p { margin: 14px auto 28px; max-width: 32em; opacity: 0.9; font-size: 19px; }
.final-box .btn { background: var(--on-accent); color: var(--accent); }

/* Подвал */
.foot { padding: 32px 0 48px; border-top: 1px solid var(--border); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot-row a { margin-left: auto; font-weight: 600; text-decoration: none; }

/* Узкие экраны */
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid, .showcase { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .showcase-flip .showcase-text { order: 0; }
  .features, .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero .frame-desktop { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-nav { display: none; }
  .top-row .btn { margin-left: auto; }
  .section { padding: 64px 0; }
  .features, .platforms { grid-template-columns: minmax(0, 1fr); }
  .frame-phone { width: 36%; right: 0; }
  .lead, .section-lead { font-size: 17px; }
  .final-box { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature, .faq summary::after { transition: none; }
}
