/* Sanokly product website (#165). Tokens and font from the UI design, like web/src/styles.css.
   Self-hosted font: the site makes no third-party requests (no tracking). */
@font-face { font-family: Onest; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Onest; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/onest-latin.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 {
  --ground: #f4f5f7;
  --card: #ffffff;
  --ink: #0e1525;
  --muted: #5b6475;
  --line: #e7e9ee;
  --accent: #2f49e8;
  --accent-soft: #eef1fe;
  --accent-ink: #1e31b8;
  --warn-bg: #fdf0e6;
  --warn-ink: #8a3a12;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 Onest, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(24px, 4vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header.top { background: var(--card); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }

.hero { padding: 48px 0 32px; display: grid; gap: 32px; grid-template-columns: 1.2fr 1fr; align-items: center; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero .note { font-size: 15px; color: var(--muted); margin-top: 12px; }
.chat {
  display: inline-block; background: var(--accent-soft); color: var(--accent-ink);
  border-radius: 14px 14px 14px 4px; padding: 6px 12px; font-weight: 600; white-space: nowrap;
}

.shots { display: flex; gap: 16px; justify-content: center; }
.shots figure { margin: 0; flex: 1; max-width: 240px; }
.shots img { border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(14,21,37,.10); background: var(--card); }
.shots figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }

section { padding: 32px 0; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.card p { color: var(--muted); margin: 0; }
.steps { counter-reset: step; }
.steps .card h3::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-right: 10px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 16px;
}

.article { max-width: 720px; }
.article .card { margin: 16px 0; }
.article ol, .article ul { padding-left: 22px; margin: 0 0 12px; }
.article li { margin-bottom: 6px; }

/* The spot the owner fills in (#100). Visible on purpose until then. */
.todo { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 10px 14px; font-size: 15px; }

footer { border-top: 1px solid var(--line); background: var(--card); margin-top: 32px; padding: 24px 0 32px; font-size: 15px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero .cta .btn { flex: 1; }
  .cards { grid-template-columns: 1fr; }
  .shots { gap: 12px; }
}
