/* Лендинг, «Мой год», QR — поверх style.css */
.site { max-width: 1040px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 20px) 16px 48px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.site-nav .btn { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin: 10px 0 18px; }
.hero h1 em { font-style: italic; color: var(--primary); }
.lead { font-size: 18px; color: var(--muted); max-width: 30em; margin: 0 0 26px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn { width: auto; padding: 0 24px; }
.trust { font-size: 13px; color: var(--muted); margin-top: 16px; display: flex; align-items: center; gap: 8px; }

.hero-visual { background: var(--card); border-radius: 28px; padding: 22px; box-shadow: var(--shadow); }
.hero-visual .cap { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.hero-visual .cap b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.hero-visual .year-grid i { transform: scale(.2); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.hero-visual .year-grid i.in { transform: none; opacity: 1; }
.counter { display: flex; gap: 22px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.counter div { font-size: 12px; color: var(--muted); }
.counter b { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--text); line-height: 1.1; }

.band { margin-top: 88px; }
.band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4.5vw, 42px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.01em; }
.band > p { color: var(--muted); font-size: 17px; max-width: 36em; margin: 0; }

.equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1.3fr; gap: 14px; align-items: stretch; margin-top: 28px; }
.equation .op { display: grid; place-items: center; font-family: var(--serif); font-size: 36px; color: var(--faint); }
.eq-tile { border-radius: 20px; padding: 20px; color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.eq-tile b { font-weight: 800; font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: -.02em; }
.eq-tile span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .95; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.step { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step .mini { margin-top: 16px; }
.mini-scale { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mini-scale span { height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

.quote { margin-top: 88px; background: var(--primary); color: var(--primary-ink); border-radius: 28px; padding: clamp(28px, 6vw, 56px); }
.quote p { font-family: var(--serif); font-size: clamp(24px, 3.6vw, 36px); line-height: 1.25; margin: 0 0 24px; }
.quote .btn { background: var(--primary-ink); color: var(--primary); width: auto; display: inline-flex; padding: 0 26px; }

.foot { margin-top: 56px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot a { color: var(--muted); }

/* «Мой год» */
.share-wrap { max-width: 640px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 20px) 16px 48px; }
.share-wrap h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 7vw, 52px); line-height: 1.05; margin: 8px 0 8px; }

/* QR для слайда */
.qr-page { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; text-align: center; }
.qr-page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 64px); margin: 0 0 6px; line-height: 1.05; }
.qr-box { background: #fff; border-radius: 28px; padding: 24px; display: inline-block; box-shadow: var(--shadow); margin: 26px 0 18px; }
.qr-box svg { width: min(62vh, 78vw); height: auto; display: block; }
.qr-url { font-size: clamp(20px, 3vw, 30px); font-weight: 700; color: var(--primary); letter-spacing: .01em; word-break: break-all; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .band { margin-top: 64px; }
  .equation { grid-template-columns: 1fr auto 1fr; }
  .equation .op.eq { display: none; }
  .equation .eq-tile.total { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 auto; }
}
