:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --ink: #18222e;
  --ink-soft: #4b5a6b;
  --muted: #7a8a9a;
  --brand: #1f7a8c;
  --brand-2: #2dd4bf;
  --accent: #6366f1;
  --line: #e4e9f0;
  --card: #ffffff;
  --shadow: 0 6px 24px rgba(24,34,46,.08);
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-name { font-size: 1.15rem; letter-spacing: .2px; }
.nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 7px 12px; font: inherit; font-weight: 600; color: var(--muted); line-height: 1;
}
.lang-btn[aria-pressed="true"] { background: var(--brand); color: #fff; }

/* Buttons */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(31,122,140,.32); }
.btn-primary:hover { background: #186575; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.ico { width: 16px; height: 16px; }

/* Hero */
.hero { background: linear-gradient(180deg, #eef5f7 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px 20px 56px; }
.kicker { color: var(--brand); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: .78rem; margin: 0 0 10px; }
.hero-title { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; margin: 0 0 12px; letter-spacing: -.5px; }
.hero-subtitle { font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 600; color: var(--ink); margin: 0 0 16px; }
.hero-lead { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art img { width: 100%; filter: drop-shadow(0 18px 40px rgba(24,34,46,.12)); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 0 0 18px; letter-spacing: -.3px; }
.section h2.center { margin-bottom: 28px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card-ico { font-size: 2rem; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; counter-reset: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* Features */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.features li { position: relative; padding-left: 32px; color: var(--ink-soft); font-size: 1.05rem; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* CTA */
.cta { padding: 72px 0; background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%); color: #fff; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0 0 10px; }
.cta .lead { color: rgba(255,255,255,.92); margin: 0 0 26px; }
.cta .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.cta .btn-primary:hover { background: #eef5f7; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-soft); }
.muted { color: var(--muted); }
.site-footer a { color: var(--brand); }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 44px 20px 40px; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .section { padding: 48px 0; }
}
@media (max-width: 520px) {
  .header-inner { min-height: 56px; }
  .brand-name { font-size: 1.05rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
