:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --primary: #0D3960;
  --primary-dark: #0A2F4F;
  --accent: #edf4fa;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

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

.brand img {
  height: 58px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link-with-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-link-contact {
  display: none;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.cta-link:hover {
  background: var(--primary-dark);
}

.page-main {
  padding-block: 3rem 4rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: #94a3b8;
}

.hero {
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.12), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.lede {
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
}

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

.button.secondary,
.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.section-block {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.section-block h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.section-block h3 {
  margin-bottom: 0.5rem;
}

.section-block p:last-child,
.section-block ul:last-child,
.section-block ol:last-child {
  margin-bottom: 0;
}

.stack > * + * {
  margin-top: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.card h3 a {
  text-decoration: none;
}

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

.bullet-list,
.step-list {
  padding-left: 1.2rem;
}

.warning li::marker {
  color: #e11d48;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tag-list span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-shell {
  padding-block: 3rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  max-width: 32rem;
}

.footer-brand h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-email {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-email:hover {
  color: #4338ca;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
  max-width: 36rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: #94a3b8;
  font-size: 0.95rem;
  text-align: center;
}

.footer-meta p {
  margin: 0;
}

@media (max-width: 820px) {
  .container {
    width: min(1280px, calc(100% - 2rem));
  }

  .header-inner,
  .footer-top {
    display: grid;
    gap: 1rem;
  }

  .header-inner {
    padding-block: 1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-link-contact {
    display: inline-flex;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 1rem 1.25rem;
  }

  .footer-meta {
    text-align: left;
  }

  .hero {
    padding: 1.5rem;
  }

  .section-block {
    padding: 1.25rem;
  }
}

@media (min-width: 768px) {
  .nav-link-contact {
    display: inline-flex;
  }
}
