@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  color: #13293d;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  font-synthesis: none;
  font-weight: 500;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 191, 106, 0.32), transparent 24%),
    radial-gradient(circle at 80% 12%, rgba(67, 139, 173, 0.18), transparent 28%),
    linear-gradient(180deg, #f6efe5 0%, #edf3f7 42%, #eef4f7 100%);
  color: #13293d;
}

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

.site-body::before {
  content: '';
  inset: 0;
  position: fixed;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(19, 41, 61, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 41, 61, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 90%);
}

.site-page {
  margin: 0 auto;
  max-width: 1240px;
  padding: 1.25rem;
  position: relative;
  z-index: 1;
}

.site-header,
.hero-section,
.link-grid-section,
.calculator-section,
.faq-section,
.content-section,
.site-footer-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(14, 58, 92, 0.08);
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(18, 43, 72, 0.08);
}

.site-header {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
}

.site-header-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.site-brand,
.hero-section h1,
.section-intro h2,
.faq-item h3,
.content-section h2,
.site-footer-card h2 {
  color: #10263b;
  font-family: 'Space Grotesk', 'Avenir Next', 'Segoe UI', sans-serif;
}

.site-brand {
  font-size: 1rem;
  font-weight: 700;
}

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

.site-nav a,
.site-button {
  border-radius: 999px;
  font-weight: 700;
}

.site-nav a {
  background: rgba(14, 58, 92, 0.08);
  padding: 0.6rem 0.85rem;
}

.hero-section,
.link-grid-section,
.calculator-section,
.faq-section,
.content-section,
.site-footer {
  margin-top: 1rem;
}

.hero-section,
.link-grid-section,
.calculator-section,
.faq-section,
.content-section {
  padding: 1.35rem;
}

.site-eyebrow {
  color: #f59e0b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-section h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1;
  margin: 0.5rem 0 0.75rem;
}

.hero-copy,
.faq-item p,
.content-section p,
.site-footer-note {
  color: #516171;
}

.hero-copy {
  font-size: 1.05rem;
  max-width: 68ch;
}

.hero-copy.secondary {
  margin-top: 0.6rem;
}

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

.site-button {
  align-items: center;
  background: linear-gradient(180deg, #0c6582, #0a4c6f);
  color: #f8fafc;
  display: inline-flex;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
}

.site-button.secondary {
  background: rgba(14, 58, 92, 0.08);
  color: #17334b;
}

.section-intro {
  margin-bottom: 1rem;
}

.section-intro h2 {
  margin: 0.4rem 0 0;
}

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

.link-card,
.faq-item {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(14, 58, 92, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.link-card strong {
  color: #17334b;
  font-family: 'Space Grotesk', 'Avenir Next', 'Segoe UI', sans-serif;
}

.link-card span {
  color: #5f7181;
}

.calculator-mount {
  background: rgba(248, 250, 252, 0.72);
  border: 1px solid rgba(14, 58, 92, 0.08);
  border-radius: 28px;
  padding: 1rem;
}

.site-footer {
  padding-bottom: 1rem;
}

.site-footer-card {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.2rem;
}

.site-footer-card h2 {
  margin: 0.35rem 0 0.45rem;
}

.site-footer-note {
  margin: 0.75rem 0 0;
  text-align: center;
}

.site-footer-note span {
  margin: 0 0.45rem;
}

@media (max-width: 960px) {
  .site-header-inner,
  .site-footer-card {
    align-items: start;
    flex-direction: column;
  }

  .link-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-page {
    padding: 1rem;
  }

  .site-header,
  .hero-section,
  .link-grid-section,
  .faq-section,
  .content-section,
  .site-footer-card {
    border-radius: 24px;
    padding: 1rem;
  }
  
  .calculator-section {
    padding: 1rem 0;
  }
  
  .calculator-mount {
    border-radius: 24px;
    padding: 0.5rem;
  }

  .site-nav,
  .hero-actions {
    flex-direction: column;
  }

  .site-nav a,
  .site-button {
    width: 100%;
  }
}
