/* Хаб и лендинг «пошти»: свой нейтральный стиль craftgen (тёплая бумага + глубокий бирюзовый). */
:root { --bg: #f7f5ef; --surface: #ffffff; --ink: #14201f; --muted: #4f5a58; --line: #dcd8cc; --c1: #0e6e6a; --c1-text: #0b5c58; --c1-soft: #e3efec;
  --btn: #0e6e6a; --btn-ink: #fff; --c2: #14201f; --c2-ink: #eef2ef; --acc: #e8b13c; --radius: 12px; --radius-lg: 22px; }
.lh { max-width: var(--max); margin: 0 auto; padding: 12px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lh-brand { font: 800 1.05rem/1 var(--head-font); color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; min-width: 0; }
.lhero, .lsec, .pick { max-width: var(--max); margin: 0 auto; padding: 28px var(--gut) 8px; }
.lhero h1 { max-width: 22ch; }
.lhero-split { display: grid; gap: 24px; align-items: center; }
.lhero-split > div { min-width: 0; }
.lhero-img { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--c1-soft); }
.lhero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lsec > p { color: var(--muted); max-width: 70ch; }
.steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; counter-increment: s; }
ol.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c1); color: #fff; font-weight: 800; margin-bottom: 10px; }
.steps p { color: var(--muted); }
.segs { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.segs a { display: grid; gap: 4px; padding: 16px 18px; min-height: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; }
.segs a:hover { border-color: var(--c1); }
.segs b { font-family: var(--head-font); }
.segs span { color: var(--muted); font-size: .92rem; }
.ex { background: var(--c1-soft); border-radius: var(--radius-lg); margin-top: 32px; padding-bottom: 24px; }

/* подбор коробки */
.pick { display: grid; gap: 20px; }
.pick-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 14px; align-content: start; }
.pick-form h2 { font-size: 1.2rem; margin: 0; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dims label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.dims input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: 600 1.1rem/1 var(--body-font); color: var(--ink); background: var(--bg); }
.chk, .ops label { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: .95rem; }
.chk input, .ops input { width: 22px; height: 22px; accent-color: var(--c1); }
.ops { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pick-res { min-height: 420px; min-width: 0; }
.res-best { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.res-best .res-3d { aspect-ratio: 4 / 3; background: var(--c1-soft); position: relative; }
.res-best .res-3d img { width: 100%; height: 100%; object-fit: cover; }
.res-best .res-3d .live { position: absolute; inset: 0; }
.res-best .res-3d .live:empty { display: none; }
.res-info { padding: 16px 18px; }
.res-info h3 { font-size: 1.3rem; margin-bottom: .2em; }
.res-info .big { font: 800 1.6rem/1.1 var(--head-font); color: var(--c1-text); margin: .2em 0; }
.res-info p { color: var(--muted); margin: 0 0 .5em; }
.res-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.res-act .act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: 600 .9rem/1 var(--body-font); text-decoration: none; cursor: pointer; }
.res-act .act-3d { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.res-act img { width: 18px; height: 18px; }
.res-also { margin-top: 14px; }
.res-also h4 { margin: 0 0 8px; font-size: .95rem; }
.res-also ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.res-also button { min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .85rem/1.2 var(--body-font); cursor: pointer; }
.res-none { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 24px; }
.widget { text-align: center; }
.widget > * { margin-left: auto; margin-right: auto; }
.note { font-size: .82rem; color: var(--muted); max-width: 80ch; margin-top: 18px; }

@media (min-width: 761px) and (max-width: 1100px) and (min-height: 501px), (min-width: 761px) and (max-width: 1100px) and (pointer: fine) {
  .lhero-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .segs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1101px) and (min-height: 501px), (min-width: 1101px) and (pointer: fine) {
  .lhero { padding-top: 56px; }
  .lhero-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .segs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 760px), (pointer: coarse) and (max-height: 500px) {
  .dims { gap: 6px; }
  .dims input { font-size: 1rem; padding: 8px 6px; }
}
