:root {
  --ink: #092033;
  --muted: #586879;
  --line: #dce5ec;
  --soft: #f4f8fb;
  --card: #ffffff;
  --brand: #0b3b5b;
  --accent: #0f766e;
  --accent-2: #2dd4bf;
  --warn: #f59e0b;
  --shadow: 0 14px 34px rgba(9, 32, 51, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo img { display: block; width: 220px; max-width: 62vw; height: auto; }
.nav-links { display: flex; align-items: center; gap: 18px; font-weight: 650; font-size: 14px; }
.nav-links a { text-decoration: none; color: #23394d; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; background: #0a334f; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.btn.secondary { background: #fff; color: var(--brand); }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.hero {
  padding: 58px 0 30px;
  background:
    linear-gradient(180deg, #eef8f7 0%, #fff 84%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 34px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 0; font-size: 13px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 14px; letter-spacing: 0; }
h1 { font-size: clamp(36px, 5vw, 60px); max-width: 780px; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 19px; max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.trust-item {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
}
.tool-panel, .card, .notice, .widget-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.note-box {
  border: 1px solid #bee3db;
  background: #f0fdfa;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}
.note-box p:last-child { margin-bottom: 0; }
.summary-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}
.summary-list li {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: #244157;
}
.tool-panel { padding: 22px; }
.quick-form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 750; font-size: 14px; color: #22384a; }
select, input {
  width: 100%;
  border: 1px solid #cbd8e2;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.result {
  border-left: 4px solid var(--accent);
  background: #eefbf8;
  padding: 12px;
  border-radius: 6px;
  color: #12352f;
  font-weight: 650;
}
.section { padding: 58px 0; }
.section.soft { background: var(--soft); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { padding: 20px; box-shadow: none; }
.card a { color: var(--brand); font-weight: 800; text-decoration: none; }
.card a:hover { color: var(--accent); }
.tag { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e7f7f4; color: var(--accent); font-size: 12px; font-weight: 800; }
.widget-box {
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f6fbfa);
}
.widget-placeholder {
  border: 1px solid #cfe0e8;
  border-radius: 8px;
  padding: 26px;
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}
.atlas-widget-preview {
  width: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
}
.atlas-widget-preview .small {
  max-width: 420px;
  margin: 0 auto;
  color: #486274;
}
.widget-fallback {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.compare-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 8px; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--line); padding: 13px; text-align: left; vertical-align: top; }
.compare-table th { background: #edf6f5; color: #103143; }
.content { max-width: 780px; }
.content ul { padding-left: 20px; color: var(--muted); }
.content h2 { margin-top: 34px; }
.content h2:first-child { margin-top: 0; }
.content a { color: var(--accent); font-weight: 750; }
.content .grid-2 { margin: 18px 0 8px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: #fff;
}
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 800; }
.footer { padding: 34px 0; background: #082f49; color: #d8edf2; }
.footer p, .footer a { color: #d8edf2; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(150px, 1fr)); gap: 22px; align-items: start; }
.footer h2, .footer h3 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.footer-links { display: grid; gap: 7px; font-size: 14px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #7dd3fc; }
.perk-code {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  margin: 4px 0 8px;
  border-radius: 8px;
  background: #e7f7f4;
  color: #0f766e;
  font-weight: 850;
  cursor: pointer;
}
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(9, 32, 51, 0.18);
}
.cookie-copy p { margin: 4px 0 0; font-size: 14px; }
.cookie-actions { display: flex; gap: 10px; align-items: center; }
.small { font-size: 13px; color: #6b7d8c; }
.footer .small { color: #a8c5cf; }

@media (max-width: 860px) {
  .nav { align-items: flex-start; padding: 12px 0; flex-direction: column; }
  .nav-links { width: 100%; flex-wrap: wrap; gap: 10px 14px; overflow: visible; padding-bottom: 4px; }
  .nav-links a.btn { min-height: 40px; padding: 0 14px; }
  .hero-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
  .section { padding: 42px 0; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}
