:root {
  --navy: #0b1f3a;
  --navy-2: #17304f;
  --green: #0ea35a;
  --green-dark: #087941;
  --sand: #e8dcc8;
  --background: #f6f7f9;
  --surface: #ffffff;
  --text: #142132;
  --muted: #5d6875;
  --line: #dce3e8;
  --focus: #f3b61f;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green-dark);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 227, 232, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner,
.container {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 8% 0%, rgba(14, 163, 90, 0.14), transparent 36%),
    radial-gradient(circle at 95% 80%, rgba(232, 220, 200, 0.55), transparent 32%),
    linear-gradient(180deg, #fff, #f6f7f9);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #e6f6ed;
  color: var(--green-dark);
  font-size: 0.83rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.35;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(1.7rem, 4vw, 2.65rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-dark);
  color: #fff;
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}

.trust-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-card {
  position: relative;
  min-height: 520px;
  padding: 34px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 36px;
  background: var(--navy);
  box-shadow: 0 26px 70px rgba(11, 31, 58, 0.18);
  color: #fff;
}

.phone-card::after {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  content: "";
}

.phone-card-content {
  position: relative;
  z-index: 1;
}

.phone-card .label {
  color: #a9e4c4;
  font-size: 0.85rem;
  font-weight: 800;
}

.search-box {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  color: #738091;
}

.result-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  background: #edf8f2;
  color: var(--navy);
}

.result-card strong {
  display: block;
  margin-bottom: 6px;
}

.result-card small {
  color: var(--muted);
}

.section {
  padding: 78px 0;
}

.section-white {
  background: #fff;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(11, 31, 58, 0.06);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: #e6f6ed;
  color: var(--green-dark);
  font-weight: 900;
}

.notice {
  padding: 24px 26px;
  border-right: 5px solid var(--green);
  border-radius: 16px;
  background: #edf8f2;
}

.warning {
  border-right-color: #bc7b18;
  background: #fff7e8;
}

.article {
  width: min(820px, calc(100% - 36px));
  margin-inline: auto;
  padding: 70px 0;
}

.article h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.article h2 {
  margin-top: 52px;
}

.article h3 {
  margin-top: 34px;
}

.article-meta {
  margin: 16px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article li {
  margin-bottom: 8px;
}

.example-figure {
  margin: 34px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.example-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.example-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.toc {
  margin: 34px 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.cta-band {
  padding: 42px;
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #d7e0ea;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 12px 18px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .phone-card {
    min-height: 430px;
  }
}

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