/* Skladni landing — tokens match the app */

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/golos-text-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/golos-text-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/golos-text-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/golos-text-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/golos-text-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/golos-text-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #fffaf8;
  --bg-soft: #fff7f6;
  --card: #ffffff;
  --text: #22181a;
  --muted: #5a4c4c;
  --accent: #d92d43;
  --accent-hover: #b8142a;
  --accent-text: #ffffff;
  --highlight: #fce9eb;
  --border: #eddcdc;
  --border-strong: #f2c6ca;
  --shadow: 0 1px 3px rgba(34, 24, 26, 0.06);
  --radius: 14px;
  --focus: #d92d43;
  --phone-bezel: #22181a;
  --chat-in: #f4ecec;
  --chat-out: #fce9eb;
  --danger: #d92d43;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  background-image: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 280px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 14px;
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(1080px, 100% - 32px);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap {
    width: min(1080px, 100% - 48px);
  }
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
}
@supports not (backdrop-filter: blur(8px)) {
  .site-header {
    background: var(--bg);
  }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1080px, 100% - 32px);
  margin-inline: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  flex-shrink: 0;
}
.logo img {
  height: 28px;
  width: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 640px) {
  .site-header {
    height: 64px;
  }
  .logo img {
    height: 32px;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-text);
}
.btn--secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}
.btn[aria-disabled='true'],
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero .btn-row .btn--primary {
  min-width: min(100%, 220px);
}

/* —— Hero —— */
.hero {
  padding: 40px 0 24px;
}
@media (min-width: 900px) {
  .hero {
    padding: 64px 0 48px;
  }
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.hero__lead {
  margin: 0 0 28px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}
.hero__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.hero__phone {
  margin-top: 36px;
}
@media (min-width: 900px) {
  .hero__phone {
    margin-top: 0;
  }
}
@media (max-width: 899px) {
  .hero__phone {
    max-height: 420px;
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 70%, transparent);
  }
}

/* —— Phone mock —— */
.phone {
  width: min(300px, 100%);
  margin-inline: auto;
  border-radius: 28px;
  border: 3px solid var(--phone-bezel);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.phone__notch {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone__notch span {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
}
.phone__screen {
  padding: 8px 12px 16px;
  font-size: 13px;
}
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.mock-head strong {
  font-size: 16px;
  font-weight: 600;
}
.mock-head span {
  color: var(--muted);
  font-size: 12px;
}
.mock-weather {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}
.mock-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  background: var(--card);
}
.mock-card__title {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--muted);
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 0;
  border-top: 1px solid var(--border);
}
.mock-row:first-of-type {
  border-top: none;
}
.mock-row--danger {
  color: var(--danger);
  font-weight: 500;
}
.mock-pill {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--highlight);
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  min-height: 28px;
}
.mock-compose {
  display: flex;
  gap: 6px;
}
.mock-compose input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 12px;
  background: var(--bg-soft);
  color: var(--text);
}
.mock-compose button {
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
}

/* Chat mock */
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  min-height: 220px;
}
.chat__bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
}
.chat__bubble--out {
  align-self: flex-end;
  background: var(--chat-out);
  border-bottom-right-radius: 4px;
}
.chat__bubble--in {
  align-self: flex-start;
  background: var(--chat-in);
  border-bottom-left-radius: 4px;
}
.chat__meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}

/* —— Sections —— */
.section {
  padding: 56px 0;
}
.section--tight {
  padding: 40px 0;
}
.section__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section__lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 40em;
  font-size: 17px;
}

.cards-3 {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.card li {
  position: relative;
  padding: 6px 0 6px 14px;
  font-size: 14px;
  color: var(--text);
}
.card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.facts {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fact {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.fact strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.fact p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Sections grid */
.group {
  margin-bottom: 28px;
}
.group h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.sec-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .sec-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .sec-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.sec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.sec-item__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--highlight);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.sec-item__icon svg {
  width: 18px;
  height: 18px;
}
.sec-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.sec-item span {
  font-size: 13px;
  color: var(--muted);
}
.sec-note {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.privacy-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 15px;
}
.privacy-list strong {
  display: block;
  margin-bottom: 4px;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  margin-bottom: 10px;
  padding: 0 16px;
}
.faq summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  margin-left: auto;
  color: var(--muted);
  font-weight: 400;
  font-size: 20px;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

/* CTA */
.cta {
  text-align: center;
  padding: 64px 0;
}
.cta h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
}
.cta .btn-row {
  justify-content: center;
}
.cta__mark {
  margin: 28px auto 0;
  width: 48px;
  height: 48px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--accent);
}
.legal-line {
  margin-top: 24px;
  font-size: 13px;
}

/* Inner pages */
.page-main {
  padding: 40px 0 64px;
  max-width: 720px;
}
.page-main h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px;
}
.page-main h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
}
.page-main p,
.page-main li {
  color: var(--muted);
  font-size: 15px;
}
.page-main .draft-banner {
  background: var(--highlight);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 24px;
}
.mark-clarify {
  background: #fff3cd;
  color: #5a4a00;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 0.92em;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}
.error-page h1 {
  font-size: 48px;
  margin: 0 0 8px;
  color: var(--accent);
}
