@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=PT+Serif:wght@400;700&display=swap");

:root {
  --primary: #1f4e79;
  --primary-deep: #163a5b;
  --accent: #c9a961;
  --ink: #102033;
  --muted: #556679;
  --line: rgba(16, 32, 51, 0.1);
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --bg-soft: #edf2f7;
  --shadow: 0 26px 64px rgba(16, 32, 51, 0.1);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 169, 97, 0.16), transparent 32%),
    linear-gradient(180deg, #f7f8fb 0%, #ecf2f7 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "PT Serif", Georgia, serif;
  color: var(--primary);
}

p {
  margin: 0;
}

.shell {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.check-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 251, 0.84);
  border-bottom: 1px solid rgba(16, 32, 51, 0.06);
}

.check-header__inner,
.check-footer__inner,
.hero__grid,
.pricing-placeholder {
  display: grid;
  gap: 20px;
}

.check-header__inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
}

.check-brand {
  display: grid;
  gap: 4px;
}

.check-brand__title {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.check-brand__subtitle {
  font-size: 0.82rem;
  color: var(--muted);
}

.check-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.check-nav a:hover,
.check-nav a:focus-visible,
.check-footer__links a:hover,
.check-footer__links a:focus-visible,
.info-card a:hover,
.info-card a:focus-visible {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--primary-deep);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(201, 169, 97, 0.78);
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  padding: 56px 0 28px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.hero__content,
.hero-panel,
.info-card,
.result-card,
.pricing-placeholder,
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 42px;
  background:
    radial-gradient(circle at top right, rgba(201, 169, 97, 0.18), transparent 26%),
    linear-gradient(135deg, #143150 0%, #1f4e79 50%, #2d628f 100%);
  color: #ffffff;
}

.eyebrow {
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero__content .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero__content h1 {
  font-size: clamp(2.9rem, 5.8vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: #ffffff;
  max-width: 11ch;
}

.hero__lead {
  margin-top: 22px;
  max-width: 60ch;
  font-size: 1.06rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
}

.metric-card {
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.metric-card dt {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
}

.metric-card dd {
  margin: 10px 0 0;
  color: var(--muted);
}

.hero-panel {
  padding: 32px;
  align-content: start;
}

.hero-panel__title {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 12px;
}

.hero-panel__note {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf7 0%, #fbf7ec 100%);
  color: var(--ink);
}

.section {
  padding: 30px 0;
}

.section--accent {
  padding-top: 18px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.card-grid,
.faq-grid,
.result-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

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

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

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

.info-card,
.result-card {
  padding: 22px;
}

.info-card p,
.result-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.result-card img {
  border-radius: 14px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  background: #f8fafc;
}

.result-card h3 {
  margin-top: 18px;
  font-size: 1.4rem;
}

.pricing-placeholder {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
  margin-top: 26px;
}

.pricing-placeholder div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(31, 78, 121, 0.04);
}

.check-footer {
  padding: 24px 0 34px;
}

.check-footer__inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  color: var(--muted);
}

.check-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

@media (max-width: 1120px) {
  .hero__grid,
  .check-header__inner,
  .check-footer__inner,
  .pricing-placeholder,
  .card-grid,
  .result-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .check-header__inner {
    padding: 18px 0;
  }

  .check-nav,
  .check-footer__links {
    justify-content: flex-start;
  }

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

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    padding-top: 28px;
  }

  .hero__content,
  .hero-panel,
  .info-card,
  .result-card,
  .pricing-placeholder {
    padding: 20px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }
}
