/* agenda — платформа справок. Та же семья, что у онбординга (Literata +
   IBM Plex Sans/Mono, знак Golos), но инструмент для сейлза перед звонком
   читается на бегу, а не разглядывается — поэтому среда тише: без больших
   размытых пятен и зерна, без существ. Плитка осталась, цвет — приглушён.

   Роли гарнитур те же, что в онбординге: Literata там, где мысль (вопросы,
   заголовки блоков), IBM Plex Sans — механика и текст, IBM Plex Mono —
   числа, подписи, состояния. Пути — только внутрь корня прототипа. */
@import url("assets/fonts/literata.css");
@import url("assets/fonts/plexsans.css");
@import url("assets/fonts/plexmono.css");
@import url("assets/fonts/golos.css");

:root {
  --serif: "Literata", Georgia, serif;
  --sans:  "IBM Plex Sans", system-ui, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --ink:      #1d1a17;
  --ink-2:    #6f6660;
  --ink-3:    #a3998f;
  --paper:    #faf7f4;
  --accent:   #c85a3f;

  /* Приглушённая версия терракоты онбординга: там же акцент, но вдвое тише
     в насыщенности — рабочий инструмент не должен выглядеть праздником. */
  --accent-soft: #f3e3dc;
  --card:     #f4efe9;
  --card-2:   #eef0ea;
  --ok:       #3a835a;
  --warn:     #b5742e;

  --pad: 72px;
}

* { box-sizing: border-box; }
i { font-style: normal; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  width: 100%; max-width: 1200px;
  font: 400 16px/1.56 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ——— среда: тихий свет в углах, не декорация ———
   Вдвое меньше пятен, чем в онбординге, и без зерна: инструмент открывают
   перед звонком, а не разглядывают несколько минут. */
.env { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.env i { position: absolute; display: block; border-radius: 50%; filter: blur(110px); opacity: .5; }

.page { position: relative; z-index: 2; padding: 36px var(--pad) 80px; }

/* ——— служебная строка сверху ——— */
.top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 36px;
}
.topleft { display: flex; align-items: baseline; gap: 22px; }
.brand {
  font-family: "Golos Text", sans-serif;
  font-weight: 600; letter-spacing: -.04em; font-size: 18px;
  color: var(--ink); text-decoration: none; line-height: 1;
}
.brand i { color: var(--accent); }
.crumb { font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: .01em; }
.crumb b { color: var(--ink-2); font-weight: 500; }

/* ——— типографика ——— */
.ask {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.1;
  margin: 0;
}
h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0 0 8px; }
h3 { font-size: 21px; letter-spacing: -.004em; line-height: 1.28; }
h4 { font-size: 17px; }
p  { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }
b  { font-weight: 600; }

.tag {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}

.note { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.note b { color: var(--ink); }

/* ——— плитка: ровный тёплый фон, ни одной рамки, тень вместо контура ——— */
.tile {
  position: relative;
  border-radius: 24px;
  padding: 26px 28px 28px;
  background: var(--card);
}
.tile.ins  { background: var(--accent-soft); }
.tile.mute { background: var(--card-2); }

/* ——— кнопки ——— */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--paper); background: var(--ink);
  border-radius: 100px; padding: 15px 26px;
  transition: transform .16s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(29,26,23,.18); }
.btn.ghost {
  color: var(--ink); background: rgba(255,255,255,.6);
}
.btn i { color: inherit; }

/* ——— форма старта ——— */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
               text-transform: uppercase; color: var(--ink-3); }
.field label span { text-transform: none; letter-spacing: 0; opacity: .75; }
.field input {
  font: 400 18px/1.4 var(--serif); color: var(--ink);
  background: rgba(255,255,255,.7); border: 0; border-radius: 14px;
  padding: 14px 18px; outline: none;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus { background: #fff; box-shadow: 0 0 0 2px rgba(200,90,63,.3); }

/* ——— состояния: прилично выглядящие пустоты и сбои ——— */
.state {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em;
  padding: 3px 10px 4px; border-radius: 100px;
}
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.state.empty { color: var(--ink-3); background: rgba(29,26,23,.05); }
.state.empty::before { background: var(--ink-3); }
.state.broken { color: var(--warn); background: rgba(181,116,46,.12); }
.state.broken::before { background: var(--warn); }

.foot {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 56px; font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .01em; color: var(--ink-3);
}

a { color: inherit; }
.hit { cursor: pointer; transition: transform .18s ease, box-shadow .22s ease; }
.hit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(80,58,42,.10); }

/* ═══════════════ узкий экран (390px) ═══════════════ */
@media (max-width: 900px) {
  :root { --pad: 18px; }
  .ask { font-size: 30px !important; }
  .page { padding-top: 24px; }
  .top { flex-wrap: wrap; gap: 8px 16px; }
  .tile { padding: 20px 18px 22px; }
  .foot { flex-direction: column; gap: 6px; }
}
