:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1a2233;
  --muted: #5a6478;
  --accent: #0f62fe;
  --accent-dark: #0043ce;
  --border: #e2e6ee;
  --card: #ffffff;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10141c;
    --bg-alt: #171c26;
    --text: #e8ecf4;
    --muted: #9aa4b8;
    --accent: #4589ff;
    --accent-dark: #78a9ff;
    --border: #2a3140;
    --card: #1a202c;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; }
.skip-link:focus { left: 8px; background: var(--bg); color: var(--accent); padding: 8px 12px; border: 2px solid var(--accent); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; text-decoration: none; color: var(--text); }
.logo span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }
nav a.lang { border: 1px solid var(--border); border-radius: 6px; padding: 3px 10px; }

.hero { padding: 56px 0 64px; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; max-width: 20ch; }
.hero p.sub { margin: 20px 0 8px; font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.hero .proof { font-size: 0.95rem; color: var(--muted); margin-bottom: 28px; }
.hero .proof strong { color: var(--text); }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 1.02rem;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); margin-left: 10px; }

section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: 1.7rem; margin-bottom: 8px; }
p.lead { color: var(--muted); max-width: 62ch; margin-bottom: 32px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
}
.card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.card .price { font-size: 1.5rem; font-weight: 800; color: var(--accent); margin: 6px 0 2px; }
.card .price small { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card .note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; border-top: 1px dashed var(--border); padding-top: 10px; flex: 0; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; align-self: flex-start;
}

.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding-left: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 2px; width: 36px; height: 36px;
  border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

.about p { max-width: 66ch; color: var(--muted); }
.about p strong { color: var(--text); }

form { max-width: 560px; }
label { display: block; font-weight: 600; font-size: 0.92rem; margin: 16px 0 4px; }
input, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; background: var(--card); color: var(--text);
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
form .btn { margin-top: 22px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.msg { max-width: 560px; padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; }
.msg.ok { background: color-mix(in srgb, #24a148 14%, transparent); color: #24a148; }
.msg.err { background: color-mix(in srgb, #da1e28 14%, transparent); color: #da1e28; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); }
footer a { color: var(--muted); }

.article-index { padding-top: 48px; padding-bottom: 72px; }
.article-index h1, .article h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; max-width: 22ch; }
.article-list { display: grid; gap: 18px; margin-top: 30px; }
.article-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--card); }
.article-card h2 { font-size: 1.35rem; }
.article-card h2 a, .text-link, .eyebrow a { color: var(--accent); }
.article-card p { color: var(--muted); max-width: 68ch; }
.text-link { display: inline-block; margin-top: 12px; font-weight: 650; }
.article-shell { max-width: 820px; padding-top: 36px; padding-bottom: 72px; }
.article { max-width: 72ch; }
.article .eyebrow { font-weight: 700; margin-bottom: 12px; }
.article-lead { font-size: 1.2rem; color: var(--muted); margin: 20px 0 12px; }
.article-meta { color: var(--muted); font-size: 0.9rem; }
.article section { padding: 30px 0 0; }
.article section h2 { margin-bottom: 10px; }
.article section p + p { margin-top: 14px; }
.article ul { margin: 14px 0 0 1.3rem; }
.article li + li { margin-top: 8px; }
.article-cta { margin-top: 42px; padding: 26px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.article-cta p { margin: 8px 0 18px; }
.article-disclosure { margin-top: 24px; color: var(--muted); font-size: 0.86rem; }
.privacy { max-width: 72ch; padding-top: 40px; padding-bottom: 72px; }
.privacy h1 { font-size: clamp(2rem, 5vw, 3rem); }
.privacy h2 { margin-top: 30px; }
.privacy p, .privacy li { color: var(--muted); }
.privacy ul { margin: 10px 0 0 1.3rem; }

@media (max-width: 720px) {
  header { align-items: flex-start; gap: 16px; }
  nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
  nav a { margin-left: 0; }
}
