/* Chebugram · прототип, круг 4 (по-русски) — «красивая схема»: без цветов бренда и без движения.
   Шрифты с полки студии: Source Serif 4 (заголовки, лёгкое начертание), Inter (текст). */
@font-face { font-family: "Source Serif 4"; src: url(fonts/SourceSerif4-Variable.ttf) format("truetype"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-Variable.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #fbfaf7;
  --ink: #1f1d1a;
  --mute: rgba(31, 29, 26, .55);
  --hair: rgba(31, 29, 26, .14);
  --accent: #2f6b86;           /* только линия и строка «Предложение студии» */
  --col: 62ch;
  --gap: 44px;                 /* половина отступа между секциями на 390 */
}
@media (min-width: 900px) { :root { --gap: 60px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 "Inter", system-ui, "Helvetica Neue", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 340; letter-spacing: -.01em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; font-weight: 400; margin-bottom: .3em; }
@media (min-width: 900px) { h1 { font-size: 56px; } h2 { font-size: 40px; } }
p { margin: 0 0 1em; max-width: var(--col); }
b, strong { font-weight: 600; }
b.pr { font-weight: 600; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 48px; } }

/* ——— шапка: тонкая — имя и одна контурная кнопка ——— */
.top { border-bottom: 1px solid var(--hair); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { font: 500 18px/1 "Inter", system-ui, sans-serif; text-decoration: none; letter-spacing: -.01em; }

/* ——— кнопки: залитая — одна на страницу; остальные — контур или ссылка со стрелкой ——— */
.btn { display: inline-block; background: var(--ink); color: var(--bg); text-decoration: none; padding: 14px 26px; border-radius: 999px; font-size: 16px; font-weight: 500; border: 0; }
.btn-line { display: inline-block; border: 1px solid var(--ink); color: var(--ink); background: none; text-decoration: none; padding: 7px 16px; border-radius: 999px; font: 500 14px/1.4 "Inter", system-ui, sans-serif; cursor: pointer; }
.btn-line[aria-pressed="true"] { border-width: 2px; padding: 6px 15px; }
.more { text-decoration: none; border-bottom: 1px solid var(--hair); font-weight: 500; }
.more:hover { border-color: var(--ink); }

/* ——— секции: одна мысль, много воздуха ——— */
main > section { padding: var(--gap) 0; }
main > section:first-child { padding-top: 0; }
.ch { font-size: 11px; font-variant: small-caps; letter-spacing: .08em; color: var(--mute); margin: 0 0 14px; text-transform: lowercase; }
.lead { font-size: 19px; }
.mk { font-size: 12px; color: var(--mute); margin: 4px 0 0; line-height: 1.4; }
.mk-in { font-size: 12px; color: var(--mute); font-weight: 400; }
figure { margin: 0; }
figcaption { font-size: 12px; color: var(--mute); margin-top: 8px; }
.quiet { color: var(--mute); }
.gapt { margin-top: 36px; }

/* место под фото — пунктирная рамка с планом кадра */
.frame { border: 1px dashed rgba(31, 29, 26, .35); border-radius: 6px; padding: 18px; color: var(--mute); font-size: 13px; line-height: 1.45; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 140px; }
.frame.slot { min-height: 168px; max-width: 420px; }

/* ——— предложение студии: тонкая линия слева + строка 12 px ——— */
.prop { border-left: 2px solid var(--accent); padding-left: 18px; }
@media (min-width: 900px) { .prop { padding-left: 28px; } }
.prop-line { font-size: 12px; color: var(--accent); margin: 0 0 14px; letter-spacing: .01em; }
.prop + .prop { margin-top: 64px; }
details.why { margin-top: 22px; font-size: 14px; color: var(--mute); max-width: var(--col); }
details.why summary { cursor: pointer; font-size: 12px; }
details:not([open]) > :not(summary) { display: none; }
details.why p, details.why li { font-size: 14px; }
details.why ul { padding-left: 18px; margin: 8px 0; }
details.why img { margin-top: 10px; max-width: 480px; width: 100%; }

/* огромное слово */
.huge { font-family: "Source Serif 4", Georgia, serif; font-weight: 250; font-size: 76px; line-height: .95; letter-spacing: -.03em; margin: 0 0 18px; }
@media (min-width: 900px) { .huge { font-size: 150px; } }

/* ——— экран 1: герой по центру, фото первым ——— */
.hero { padding-top: 0 !important; }
.hero-photo { position: relative; margin: 0 -20px 22px; }
.hero-photo img { width: 100%; height: 340px; object-fit: cover; object-position: 50% 38%; }
.hero-photo figcaption { position: absolute; left: 16px; top: 10px; margin: 0; }
.hero-photo .huge { position: absolute; left: 16px; bottom: 6px; margin: 0; font-size: 64px; color: var(--ink); }
.hero h1 { margin-bottom: .35em; }
.sub { font-size: 18px; color: var(--mute); margin-bottom: 18px; }
.free { font-family: "Source Serif 4", Georgia, serif; font-weight: 340; font-size: 22px; line-height: 1.2; margin: 0 0 18px; }
@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 40px; }
  .hero-photo { margin: 0; }
  .hero-photo img { height: 640px; border-radius: 4px; }
  .hero-photo .huge { font-size: 120px; left: 24px; bottom: 18px; }
}

/* ——— экран 2: как работает ——— */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 34px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; }
.steps .n { font-family: "Source Serif 4", Georgia, serif; font-weight: 300; font-size: 34px; line-height: 1; }
.steps .frame { min-height: 80px; margin-top: 10px; }
.steps p { margin-bottom: .4em; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.links { display: grid; gap: 14px; justify-items: start; margin-top: 34px; }

/* ——— экран 3: пакеты ——— */
.cards { display: grid; gap: 48px; margin-top: 34px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card .big { font-family: "Source Serif 4", Georgia, serif; font-weight: 250; font-size: 64px; line-height: 1; letter-spacing: -.03em; margin: 0 0 6px; }
.card .price { font-size: 24px; font-weight: 600; margin: 8px 0 2px; max-width: none; }
.card .chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.tag { font-size: 12px; color: var(--mute); }
.addons { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: var(--col); }
.card .price { margin: 4px 0 0; }
.formats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 15px; }
.formats li::before { content: "◇ "; color: var(--mute); }

/* живая штука: накорми героя пакетом */
.hint { font-size: 14px; color: var(--mute); margin: 0 0 10px; }
.picks { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.mouth { font-size: 14px; color: var(--mute); margin: 0 0 12px; }
.mouth:empty { display: none; }
.fan { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 420px; margin: 0 0 18px; }
.fan:empty { display: none; }
.post { aspect-ratio: 1; border: 1px dashed rgba(31, 29, 26, .35); border-radius: 4px; display: flex; align-items: flex-end; padding: 5px; font-size: 10px; color: var(--mute); line-height: 1.2; }
.order[hidden] { display: none; }

/* ——— экран 4: телефон с «Да» / «Нет» ——— */
.phone { width: 230px; border: 1px solid rgba(31, 29, 26, .35); border-radius: 26px; padding: 22px 18px 18px; margin: 4px 0 18px; }
.phone .post { aspect-ratio: 1; font-size: 11px; padding: 8px; }
.phone .yn { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.phone .yn .btn-line { min-width: 72px; text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-width: 230px; margin: 0 0 14px; }
.grid3 i { aspect-ratio: 1; border: 1px solid var(--hair); display: grid; place-items: center; font: normal 10px/1.2 "Inter", sans-serif; color: var(--mute); text-align: center; }
.grid3 i.on { border-color: var(--ink); color: var(--ink); }

/* ——— подвал по стандарту ——— */
footer.foot { border-top: 1px solid var(--hair); padding: 56px 0 40px; font-size: 15px; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot h4 { font: 500 12px/1 "Inter", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot a { text-decoration: none; }
.foot .copy { margin: 34px 0 0; font-size: 13px; color: var(--mute); }
.legal { margin-top: 26px; font-size: 14px; color: var(--mute); max-width: var(--col); }
.legal summary { cursor: pointer; display: inline-block; margin-right: 22px; }
