/* Sotnia site styles. One file for all pages. */

:root {
  --ink: #0d1320;
  --ink-2: #161e2e;
  --ink-3: #222c40;
  --paper: #f6f5f1;
  --white: #ffffff;
  --text: #1b2230;
  --muted: #5b6474;
  --muted-on-ink: #a9b2c3;
  --line: #e3e1da;
  --line-on-ink: #2c3750;
  --amber: #f2a51a;
  --amber-dark: #c98408;
  --teal: #2bb3a3;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(13, 19, 32, 0.08);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--ink { background: var(--ink); color: var(--white); }
.section--white { background: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 14px;
}
.section--ink .eyebrow { color: var(--amber); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section--ink .lead { color: var(--muted-on-ink); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #ffb937; }
.btn--ghost { border-color: var(--line-on-ink); color: var(--white); }
.btn--ghost:hover { border-color: var(--amber); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--small { padding: 9px 16px; font-size: 0.92rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 19, 32, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-on-ink);
}
.header__row { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo__word { font-weight: 800; letter-spacing: 0.18em; font-size: 1.05rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted-on-ink); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.nav a:hover { color: var(--white); }
.nav a.btn--amber, .nav a.btn--amber:hover { color: var(--ink); }
section[id] { scroll-margin-top: 72px; }
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-on-ink);
  color: var(--white);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 1rem;
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #26324d 0%, var(--ink) 60%); color: var(--white); padding: 76px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.hero h1 span { color: var(--amber); }
.hero__sub { font-size: 1.2rem; color: var(--muted-on-ink); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted-on-ink); font-size: 0.93rem; }
.trust li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 8px; }

/* Chat mockups */
.chats { display: grid; gap: 16px; }
.chat {
  background: var(--ink-2);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.chat:nth-child(2) { margin-left: 34px; }
.chat__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 700; font-size: 0.92rem; }
.chat__dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem; }
.chat__dot--a { background: rgba(242, 165, 26, 0.18); color: var(--amber); }
.chat__dot--b { background: rgba(43, 179, 163, 0.18); color: var(--teal); }
.chat__dot--c { background: rgba(164, 140, 255, 0.18); color: #b6a6ff; }
.chat__tag { margin-left: auto; font-weight: 600; font-size: 0.75rem; color: var(--muted-on-ink); }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: 0.93rem; line-height: 1.45; margin-bottom: 8px; }
.msg--in { background: var(--ink-3); color: #dfe5f0; border-bottom-left-radius: 4px; }
.msg--out { background: #2a3a5c; color: var(--white); margin-left: auto; border-bottom-right-radius: 4px; }
.msg--voice { display: flex; align-items: center; gap: 8px; }
.wave { display: inline-flex; gap: 2px; align-items: center; }
.wave i { display: block; width: 3px; border-radius: 2px; background: #8fa0c0; }
.chats__note { font-size: 0.78rem; color: #7f8aa0; text-align: right; margin-top: 2px; }

/* Pains */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.pain { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pain__icon { font-size: 1.5rem; margin-bottom: 10px; }
.pain p { margin: 0; color: var(--muted); }
.pain strong { color: var(--text); }

/* Agents */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.agent {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.agent__num { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; color: var(--muted); }
.agent__role { color: var(--muted); margin-bottom: 14px; }
.agent ul { padding: 0; margin: 0 0 18px; list-style: none; }
.agent li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 0.97rem; }
.agent li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.agent__foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.agent__price { font-weight: 800; }
.agent__bar { height: 4px; border-radius: 4px; margin-bottom: 18px; }
.agent__bar--a { background: var(--amber); }
.agent__bar--b { background: var(--teal); }
.agent__bar--c { background: #8d74ff; }
.team-note { margin-top: 26px; padding: 18px 22px; border-radius: var(--radius); background: #fff8ea; border: 1px solid #f6dfae; }

/* Ad test */
.adtest { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.steps { counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--amber);
  color: var(--ink);
}
.steps strong { display: block; }
.section--ink .steps span { color: var(--muted-on-ink); }
.report {
  background: var(--ink-2);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius);
  padding: 24px;
}
.report__title { font-weight: 800; margin-bottom: 14px; }
.report__row { display: grid; grid-template-columns: 110px 1fr 46px; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 0.9rem; color: var(--muted-on-ink); }
.report__track { height: 10px; border-radius: 6px; background: var(--ink-3); overflow: hidden; }
.report__fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--amber)); }
.report__quote { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--amber); background: var(--ink-3); border-radius: 0 8px 8px 0; font-size: 0.92rem; color: #dfe5f0; }
.report__note { margin-top: 12px; font-size: 0.78rem; color: #7f8aa0; }
.disclaimer { font-size: 0.92rem; color: var(--muted-on-ink); border: 1px solid var(--line-on-ink); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 8px; }

/* Reliability */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-size: 1.25rem; margin-bottom: 14px; }
.feature p { margin: 0; color: var(--muted); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.stage { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stage__n { font-size: 2rem; font-weight: 800; color: var(--amber); line-height: 1; margin-bottom: 10px; }
.stage p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.stage__time { display: inline-block; margin-top: 12px; font-size: 0.8rem; font-weight: 700; color: var(--teal); }

/* Built */
.built { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.build { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-on-ink); }
.build__icon { flex: 0 0 auto; font-size: 1.4rem; }
.build p { margin: 0; color: var(--muted-on-ink); font-size: 0.97rem; }
.build h3 { color: var(--white); font-size: 1.08rem; }

/* About */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.about__badge {
  width: 220px;
  height: 220px;
  border-radius: 28px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--amber);
  font-size: 4.2rem;
  font-weight: 800;
}

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.price { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price--hl { border: 2px solid var(--amber); box-shadow: var(--shadow); }
.price__name { font-weight: 800; margin-bottom: 8px; }
.price__sum { font-size: 1.55rem; font-weight: 800; line-height: 1.2; margin-bottom: 4px; }
.price__per { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.price ul { padding: 0 0 0 18px; margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; }
.price li { margin-bottom: 6px; }
.price .btn { margin-top: auto; }
.price-note { margin-top: 22px; color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { max-width: 820px; margin: 34px auto 0; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--amber-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.form { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #cfd3db;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
.field textarea { min-height: 96px; resize: vertical; }
.field small { color: var(--muted); font-size: 0.82rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); margin: 4px 0 18px; }
.check input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__status { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.form__status--ok { color: #11806f; }
.form__status--err { color: #b3261e; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-list li { margin-bottom: 10px; color: var(--muted-on-ink); }
.contact-list a { color: var(--white); }

/* Footer */
.footer { background: #090e18; color: #7f8aa0; padding: 30px 0; font-size: 0.9rem; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: #a9b2c3; }

/* Legal page */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 22px 80px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }

[hidden] { display: none !important; }

/* Responsive */
@media (max-width: 1000px) {
  .hero__grid, .adtest, .form-grid { grid-template-columns: 1fr; }
  .pains, .process, .prices { grid-template-columns: repeat(2, 1fr); }
  .agents, .grid-3 { grid-template-columns: 1fr; }
  .chat:nth-child(2) { margin-left: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-on-ink); padding: 8px 22px 18px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav__toggle { display: block; }
  .pains, .process, .prices, .built, .form__row { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__badge { width: 120px; height: 120px; font-size: 2.4rem; border-radius: 22px; }
  .report__row { grid-template-columns: 90px 1fr 40px; }
}
