:root {
  --bg: #f4f7fb;
  --bg-soft: #eef4ff;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #dbe3ef;

  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;

  --accent: #f59e0b;
  --accent-soft: #fff7ed;

  --ok: #15803d;
  --ok-bg: #f0fdf4;
  --ok-border: #86efac;

  --bad: #b91c1c;
  --bad-bg: #fef2f2;
  --bad-border: #fecaca;

  --shadow: 0 20px 50px rgba(15, 23, 42, .10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 34rem),
    radial-gradient(circle at top right, rgba(245, 158, 11, .16), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 227, 239, .8);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(37, 99, 235, .25);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: .18rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.top-nav a {
  color: #374151;
  font-weight: 700;
  font-size: .95rem;
  padding: .55rem .8rem;
  border-radius: 999px;
}

.top-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  text-decoration: none;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  padding: 1rem 0;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  letter-spacing: -.05em;
  max-width: 820px;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -.035em;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: .65rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: #374151;
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.privacy-note {
  max-width: 720px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  color: #374151;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.validator-card,
.info-card,
.text-card,
.promo-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(219, 227, 239, .95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.validator-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.validator-card h2 {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 800;
  margin: 1rem 0 .4rem;
}

select,
input {
  width: 100%;
  display: block;
  border: 1px solid #cfd8e6;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: .95rem 1rem;
  font: inherit;
  outline: none;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

select:focus,
input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

input::placeholder {
  color: #9ca3af;
}

button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

button {
  width: 100%;
  margin-top: 1.25rem;
}

button:hover,
.button-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(37, 99, 235, .30);
}

button:active,
.button-link:active {
  transform: translateY(0);
}

.result {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #f9fafb;
}

.result strong {
  display: block;
  margin-bottom: .35rem;
}

.result ul {
  margin: .65rem 0 0;
  padding-left: 1.25rem;
}

.result li + li {
  margin-top: .25rem;
}

.result p {
  margin-bottom: 0;
}

.result.ok {
  border-color: var(--ok-border);
  background: var(--ok-bg);
  color: #14532d;
}

.result.bad {
  border-color: var(--bad-border);
  background: var(--bad-bg);
  color: #7f1d1d;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 3rem 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(238, 244, 255, .8), rgba(255, 255, 255, .1));
  border-top: 1px solid rgba(219, 227, 239, .7);
  border-bottom: 1px solid rgba(219, 227, 239, .7);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading p:last-child {
  color: #4b5563;
  font-size: 1.05rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card {
  padding: 1.4rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}

.info-card p {
  color: #4b5563;
}

.info-card a {
  font-weight: 900;
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.text-card {
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.text-card p {
  color: #4b5563;
  margin-bottom: 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.promo-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
}

.promo-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .10);
}

.promo-accent::after {
  background: rgba(245, 158, 11, .18);
}

.promo-card p {
  color: #4b5563;
  max-width: 620px;
}

.promo-card .button-link {
  position: relative;
  z-index: 1;
  width: auto;
  margin-top: .4rem;
}

.site-footer {
  border-top: 1px solid rgba(219, 227, 239, .9);
  background: rgba(255, 255, 255, .72);
}

.footer-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 2.5rem;
  }

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

  .validator-card {
    max-width: 680px;
  }

  .info-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .header-inner {
    min-height: auto;
    padding: .9rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
  }

  .top-nav a {
    padding: .45rem .65rem;
    background: rgba(219, 234, 254, .55);
  }

  .container {
    width: min(100% - 1.2rem, 1120px);
  }

  .hero {
    padding: 2rem 0 2.4rem;
  }

  .validator-card,
  .info-card,
  .text-card,
  .promo-card {
    border-radius: 22px;
  }

  .footer-inner {
    padding: 1.25rem 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  select,
  input {
    border-radius: 14px;
  }
}
.brand-icon,
.footer-brand img {
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .22);
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art img {
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 45px rgba(37, 99, 235, .25));
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.hero-badge {
  min-width: 150px;
  padding: .85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(219, 227, 239, .9);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  color: #111827;
  line-height: 1.2;
}

.hero-badge span {
  margin-top: .2rem;
  color: #6b7280;
  font-size: .92rem;
}

.section-validator {
  padding-top: 0;
}

.validator-title-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.25rem;
}

.validator-title-row h2 {
  margin: 0;
}

.search-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  font-size: 1.65rem;
  font-weight: 900;
}

.validator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr .95fr;
  gap: 1.25rem;
  align-items: start;
}

.field-hint {
  margin: .4rem 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.security-strip {
  margin-top: 1.75rem;
  padding: 1.25rem 1.4rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(219, 234, 254, .9), rgba(255, 255, 255, .8));
  border: 1px solid rgba(191, 219, 254, .95);
  display: flex;
  gap: .8rem;
  align-items: center;
}

.security-strip strong {
  color: var(--primary-dark);
  white-space: nowrap;
}

.icon-circle.green {
  background: #dcfce7;
  color: #15803d;
}

.icon-circle.amber {
  background: #fef3c7;
  color: #b45309;
}

.icon-circle.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand strong,
.footer-brand small {
  display: block;
  line-height: 1.15;
}

.footer-brand small {
  color: #bfdbfe;
  font-size: .82rem;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .24), transparent 32rem),
    #0f172a;
  color: #e5e7eb;
}

.site-footer h2 {
  font-size: 1rem;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: .8rem;
}

.site-footer p {
  color: #cbd5e1;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: .45rem;
}

.site-footer a {
  color: #e5e7eb;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, .25);
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #cbd5e1;
  font-size: .92rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .validator-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }
}
.article-page {
  max-width: 860px;
}

.article-page h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.article-page h2 {
  margin-top: 2.2rem;
  margin-bottom: .7rem;
}

.article-page p {
  font-size: 1.05rem;
  color: #374151;
}

.article-page pre {
  overflow-x: auto;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: #0f172a;
  color: #e5e7eb;
}

.notice-box {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
}