/* BrewDay — главная: мелкие отличия от bry (поверх site.css) */
body.home em, body.home i { font-style: normal; }

/* фон первого экрана — лёгкая сетка, как миллиметровка пивовара */
body.home .hero { position: relative; }
body.home .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(31, 21, 16, .09) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }

/* выделение в заголовке — янтарная подчёркивающая полоса вместо просто цвета */
body.home .hero h1 em { color: var(--amber-d); }
body.home .hero h1 .free { color: var(--hop); }

/* кнопки на главной — прямее, без «таблеток» */
body.home main .btn { border-radius: 10px; }

/* полоса цвета пива по шкале EBC под первым экраном */
body.home .facts { position: relative; margin-top: 64px; padding: 0; width: calc(100% - 40px); max-width: 1160px; gap: 0; background: var(--stout); border-radius: 14px; overflow: hidden; }
body.home .facts::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, #f8e08e, #f3c048, #e39b2d, #c46a1c, #8e3c12, #5a2210, #2a110a); }
body.home .facts > div { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 26px 24px 22px; border-left: 1px solid rgba(247, 236, 214, .1); }
body.home .facts > div:first-child { border-left: 0; }
body.home .facts b { color: var(--amber); }
body.home .facts span { color: #cdbba0; }

/* карточки возможностей и калькуляторов — плоские, с цветной кромкой вместо тени */
body.home .feature, body.home .calc-list a, body.home .plan:not(.hot) { box-shadow: none; border-radius: 14px; }
body.home .feature:not(.big) { border-top: 3px solid var(--hop); }
body.home .feature:not(.big) .ic { background: var(--hop-l); color: var(--hop); border-radius: 10px; }
body.home .calc-list a:hover, body.home .feature:hover { box-shadow: 0 0 0 1.5px var(--amber); }
body.home .calc-list i { border-radius: 10px; background: var(--stout); color: var(--amber); }
body.home .plan.hot, body.home .hero-card { border-radius: 14px; }

@media (max-width: 800px) {
  body.home .facts { grid-template-columns: 1fr 1fr; }
  body.home .facts > div:nth-child(3) { border-left: 0; }
  body.home .facts > div:nth-child(n+3) { border-top: 1px solid rgba(247, 236, 214, .1); }
}

/* карточка «Карта варки» — как технологическая карта */
body.home .hero-card.tk { background: #fffdf8; border: 1.5px solid var(--stout); border-radius: 6px; box-shadow: 8px 8px 0 rgba(31, 21, 16, .08); padding: 28px; font-variant-numeric: tabular-nums; }
.tk-h span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-d); }
.tk-h h3 { font: 800 clamp(28px, 3.6vw, 36px)/1.08 var(--font); letter-spacing: -.03em; margin: 10px 0 6px; color: var(--stout); }
.tk-h small { font: 500 15px var(--font); color: var(--muted); }
.tk-sec { border-top: 2px dashed var(--line2); margin-top: 20px; padding-top: 16px; }
.tk-sec em { display: block; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tk-sec div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; font-weight: 500; }
.tk-sec b { font-weight: 800; white-space: nowrap; }
.tk-nums { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--stout); margin-top: 22px; }
.tk-nums div { text-align: center; padding: 12px 4px; border-left: 1.5px solid var(--stout); }
.tk-nums div:first-child { border-left: 0; }
.tk-nums span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.tk-nums b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.tk-btn { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; height: 52px; border: 1.5px solid var(--stout); border-radius: 6px; color: var(--stout); text-decoration: none; font-weight: 700; font-size: 15px; transition: background .15s, color .15s; }
.tk-btn:hover { background: var(--stout); color: #fff; }
.tk-btn i { width: 16px; height: 16px; border-radius: 3px; flex: none; }
@media (max-width: 420px) { body.home .hero-card.tk { padding: 20px; } .tk-sec div { font-size: 14px; } .tk-btn { font-size: 14px; } }
