:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d7dde7;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --gold: #f0b90b;
  --green: #167a4a;
  --red: #b3392f;
  --blue: #1d5f99;
  --navy: #101928;
  --soft: #eef3f8;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 420px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--gold);
  box-shadow: inset 0 0 0 5px #111827;
}

.navlinks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.navlinks a {
  text-decoration: none;
}

.hero,
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding-top: 44px;
  padding-bottom: 44px;
}

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 76px);
  max-width: 820px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

p {
  color: var(--muted);
  margin: 12px 0 0;
}

.lead {
  font-size: 19px;
  max-width: 680px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.tool {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.diagnosis-card {
  display: grid;
  gap: 16px;
}

.diagnosis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.pill {
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.check-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(22, 122, 74, 0.12);
  color: var(--green);
  font-weight: 900;
}

.check-row strong {
  display: block;
}

.check-row span {
  color: var(--muted);
  font-size: 14px;
}

.status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  margin-top: 24px;
}

.trust-strip div {
  background: #fff;
  padding: 18px;
}

.trust-strip strong {
  display: block;
  color: var(--ink);
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.status div,
.notice,
.country-card,
.result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.status div {
  padding: 14px;
}

.status strong {
  display: block;
  font-size: 24px;
}

.status span {
  color: var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.method-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.method-card .number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  margin-top: 22px;
}

.content-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.faq-item h3 {
  font-size: 18px;
}

.country-card {
  padding: 20px;
  text-decoration: none;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.country-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.notice {
  padding: 24px;
  border-left: 5px solid var(--gold);
}

.checker {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  font: inherit;
  background: #fff;
}

input:focus,
select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(29, 95, 153, 0.16);
}

.result {
  padding: 18px;
  margin-top: 18px;
  display: none;
}

.result.show {
  display: block;
}

.result.ok {
  border-left: 5px solid var(--green);
}

.result.warn {
  border-left: 5px solid var(--red);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--gold);
  font-weight: 900;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .hero,
  .grid,
  .method-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .status {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}
