:root {
  --primary: #009966;
  --surface: #ffffff;
  --soft: #e9f8f0;
  --neutral: #f1f4f8;
  --text: #142238;
  --muted: #637086;
  --border: #d9e0e7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--surface); font-family: Roboto, Arial, sans-serif; line-height: 1.25; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header { height: 104px; background: #fff; }
.nav-shell, .hero-shell, .content-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.nav-shell { height: 104px; display: flex; align-items: flex-start; justify-content: space-between; padding-top: 32px; }
.brand { color: var(--primary); font-size: 30px; font-weight: 700; }
.nav-links { display: flex; gap: 30px; padding-top: 11px; font-size: 16px; }
.nav-links a:hover, .site-footer a:hover { color: var(--primary); }

.hero { height: 770px; background: var(--soft); overflow: hidden; }
.hero-shell { position: relative; height: 100%; }
.hero-copy { position: absolute; left: 0; top: 110px; width: 590px; }
.eyebrow { margin: 0 0 24px; color: var(--primary); font-size: 15px; font-weight: 700; }
h1 { margin: 0 0 24px; font-size: 72px; line-height: 1.25; letter-spacing: 0; }
.hero-description { width: 555px; margin: 0 0 24px; color: var(--muted); font-size: 22px; }
.play-badge { display: block; width: 239px; height: 71px; object-fit: contain; border-radius: 10px; }
.offline-note { margin: 24px 0 0; color: var(--muted); font-size: 16px; }

.phone-preview { position: absolute; top: 42px; left: 770px; width: 312px; height: 675px; overflow: hidden; background: #fff; border-radius: 13px; box-shadow: 0 18px 45px rgba(20, 34, 56, .08); }
.status-bar { height: 39px; padding: 13px; display: flex; justify-content: space-between; font-size: 10px; }
.app-bar { height: 48px; padding: 13px; display: flex; justify-content: space-between; align-items: center; color: #fff; background: var(--primary); font-size: 16px; }
.app-content { padding: 19px; }
.app-hint { margin: 0 0 13px; color: var(--muted); font-size: 10px; }
.type-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 13px; padding: 3px; background: var(--neutral); border-radius: 8px; }
.type-button { height: 32px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.type-button.active { color: #fff; background: var(--primary); }
.product-card { margin-bottom: 13px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; }
.product-card > strong { display: block; margin-bottom: 10px; font-size: 13px; }
.input-row { display: grid; grid-template-columns: 93px 98px 48px; gap: 8px; }
.input-row label { color: var(--muted); font-size: 10px; }
.input-row input, .input-row select { width: 100%; height: 39px; margin-top: 6px; padding: 0 9px; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; outline: none; }
.input-row input:focus, .input-row select:focus { border-color: var(--primary); }
.input-row select { padding: 0 4px; }
.compare-button { width: 100%; height: 39px; margin-bottom: 13px; color: #fff; background: var(--primary); border: 0; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.compare-button:active { transform: translateY(1px); }
.result-card { padding: 13px; background: var(--soft); border-radius: 8px; font-size: 13px; }
.result-card > strong { display: block; margin-bottom: 10px; font-size: 14px; }
.result-row { display: flex; justify-content: space-between; margin-top: 7px; }
.result-card p { margin: 10px 0 0; color: var(--primary); font-size: 10px; }

.steps-section { padding-top: 58px; }
.steps-section h2, .faq-section > h2 { margin: 0 0 30px; font-size: 42px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card { min-height: 196px; padding: 28px; background: var(--neutral); border-radius: 16px; }
.step-card span { color: var(--primary); font-size: 22px; font-weight: 700; }
.step-card h3 { margin: 16px 0; font-size: 25px; }
.step-card p { margin: 0; color: var(--muted); font-size: 18px; }

.offline-section { margin-top: 168px; padding: 40px; background: var(--soft); border-radius: 20px; }
.offline-section h2 { margin: 0 0 20px; font-size: 38px; }
.offline-section p { margin: 0; color: var(--muted); font-size: 22px; }
.faq-section { margin-top: 150px; }
.faq-section > h2 { margin-bottom: 20px; font-size: 40px; }
.faq-section article { margin-bottom: 20px; }
.faq-section h3 { margin: 0 0 10px; font-size: 24px; }
.faq-section p { margin: 0; color: var(--muted); font-size: 19px; }

.site-footer { margin-top: 176px; padding-bottom: 76px; }
.site-footer > strong { display: block; margin-bottom: 14px; font-size: 22px; }
.site-footer div { display: flex; gap: 28px; margin-bottom: 14px; color: var(--primary); font-size: 18px; }
.site-footer p, .footer-email { display: block; margin: 0 0 14px; color: var(--muted); font-size: 16px; }

@media (max-width: 900px) {
  .site-header, .nav-shell { height: 80px; }
  .nav-shell { align-items: center; padding-top: 0; }
  .nav-links { gap: 18px; padding-top: 0; font-size: 14px; }
  .hero { height: auto; overflow: visible; }
  .hero-shell { height: auto; padding: 64px 0; display: grid; grid-template-columns: 1fr 312px; gap: 46px; align-items: center; }
  .hero-copy, .phone-preview { position: static; width: auto; }
  .hero-copy { max-width: 520px; }
  h1 { font-size: 54px; }
  .hero-description { width: auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .offline-section, .faq-section, .site-footer { margin-top: 90px; }
}

@media (max-width: 680px) {
  .nav-shell, .hero-shell, .content-shell { width: min(100% - 32px, 1240px); }
  .brand { font-size: 26px; }
  .nav-links a:first-child { display: none; }
  .nav-links { gap: 14px; font-size: 13px; }
  .hero-shell { display: flex; flex-direction: column; padding: 48px 0 56px; }
  .hero-copy { width: 100%; }
  h1 { font-size: 44px; }
  .hero-description { font-size: 19px; }
  .phone-preview { width: 312px; max-width: 100%; }
  .steps-section { padding-top: 52px; }
  .steps-section h2, .faq-section > h2 { font-size: 32px; }
  .steps-grid { gap: 16px; }
  .offline-section { padding: 28px; }
  .offline-section h2 { font-size: 30px; }
  .offline-section p { font-size: 18px; }
  .faq-section h3 { font-size: 21px; }
  .faq-section p { font-size: 17px; }
  .site-footer { padding-bottom: 48px; }
}
