:root {
  --petrol: #1F6F6B;
  --petrol-deep: #154f4c;
  --petrol-soft: #e6f0ef;
  --ink: #17201f;
  --muted: #55625f;
  --line: #d8e2e0;
  --bg: #ffffff;
  --bg-alt: #f5f8f7;
  --card: #ffffff;
  --radius: 14px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --petrol: #4fb3ab;
    --petrol-deep: #7fcbc4;
    --petrol-soft: #16302e;
    --ink: #e8efee;
    --muted: #a3b2af;
    --line: #2a3836;
    --bg: #0f1514;
    --bg-alt: #131b1a;
    --card: #17201f;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--petrol); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
nav.main { display: flex; gap: 22px; margin-left: auto; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.main a:hover { color: var(--ink); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; font-size: 13px; font-weight: 600; }
.lang a, .lang span { padding: 3px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang span { background: var(--petrol); color: #fff; }
@media (max-width: 760px) { nav.main { display: none; } .lang { margin-left: auto; } }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 16px; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-deep); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0f1514; } }

/* Hero */
.hero { padding: 96px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, var(--petrol-soft), transparent 70%); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 22px; max-width: 20ch; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 60ch; margin: 0 0 34px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.pill { font-size: 14px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 13px; color: var(--muted); }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 0 0 44px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--petrol); margin-bottom: 10px; }
.module .icon { width: 42px; height: 42px; border-radius: 11px; background: var(--petrol-soft); color: var(--petrol); display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 16px; }

.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.problem-list li { padding-left: 30px; position: relative; color: var(--muted); }
.problem-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--petrol); }
.problem-list strong { color: var(--ink); }

/* Record diagram */
.record { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.record .side { display: grid; gap: 10px; }
.record .chip { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.record .chip b { color: var(--petrol); }
.record .core { width: 170px; height: 170px; border-radius: 50%; background: var(--petrol); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 700; padding: 20px; line-height: 1.3; box-shadow: 0 0 0 12px var(--petrol-soft); }
@media (prefers-color-scheme: dark) { .record .core { color: #0f1514; } }
@media (max-width: 760px) { .record { grid-template-columns: 1fr; justify-items: center; } .record .side { width: 100%; } }

/* CTA */
.cta-band { background: var(--petrol); color: #fff; border-radius: 20px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 28px; font-size: 18px; }
.cta-band .btn { background: #fff; color: var(--petrol); }
@media (prefers-color-scheme: dark) { .cta-band { background: var(--petrol-soft); border: 1px solid var(--line); } .cta-band h2 { color: var(--ink); } .cta-band p { color: var(--muted); } .cta-band .btn { background: var(--petrol); color: #0f1514; } }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); }
