@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --background: #faf8f5;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --primary: #0a4d3c;
  --primary-foreground: #faf8f5;
  --secondary: #e86a50;
  --muted: #e8e5df;
  --muted-foreground: #6b6b6b;
  --border: rgba(26, 26, 26, 0.1);
  --radius: 16px;
  --display: "Urbanist", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--body);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.container {
  margin: 0 auto;
  max-width: 1460px;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
  width: 100%;
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(250, 248, 245, 0.88);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand,
.footer-logo {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

nav {
  align-items: center;
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted-foreground);
  font-size: 15px;
  font-weight: 700;
}

.nav-cta,
.button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nav-cta,
.button.primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.button.secondary {
  background: var(--card);
  border: 2px solid var(--border);
  color: var(--foreground);
}

.button:hover,
.nav-cta:hover,
.list a:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: calc(100vh - 80px);
  overflow: hidden;
  padding: 84px 0 64px;
  position: relative;
}

.hero::before {
  background: linear-gradient(135deg, rgba(10, 77, 60, 0.08), transparent 36%), linear-gradient(315deg, rgba(232, 106, 80, 0.08), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 84px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  position: relative;
  z-index: 1;
}

.hero-copy {
  animation: fadeSlideLeft 0.75s ease-out both;
  max-width: 860px;
}

.eyebrow,
.section-kicker {
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  padding: 9px 16px;
}

.eyebrow {
  background: rgba(10, 77, 60, 0.1);
  color: var(--primary);
}

.section-kicker {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero p {
  color: rgba(26, 26, 26, 0.7);
  font-family: var(--body);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.7;
  margin: 28px 0 0;
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  animation: fadeSlideRight 0.75s ease-out 0.15s both;
  position: relative;
}

.hero-panel img {
  display: none;
}

.hero-panel::before {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(26, 26, 26, 0.14);
  content: "";
  display: block;
  min-height: 420px;
}

.hero-panel::after {
  background:
    linear-gradient(var(--primary), var(--primary)) 44px 58px / 48px 48px no-repeat,
    linear-gradient(var(--muted), var(--muted)) 116px 72px / 62% 14px no-repeat,
    linear-gradient(var(--muted), var(--muted)) 116px 102px / 45% 12px no-repeat,
    linear-gradient(rgba(10, 77, 60, 0.1), rgba(10, 77, 60, 0.1)) 44px 168px / calc(100% - 88px) 86px no-repeat,
    linear-gradient(rgba(232, 106, 80, 0.1), rgba(232, 106, 80, 0.1)) 44px 276px / calc(100% - 88px) 86px no-repeat;
  border-radius: 18px;
  content: "";
  inset: 26px;
  position: absolute;
}

.signal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  bottom: -28px;
  box-shadow: 0 18px 50px rgba(26, 26, 26, 0.14);
  max-width: 360px;
  padding: 24px;
  position: absolute;
  right: 24px;
  z-index: 1;
}

.signal-card span {
  color: var(--secondary);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.signal-card p {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.55;
  margin: 12px 0 0;
}

.hero-metrics {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 88px;
  position: relative;
  z-index: 1;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.hero-metrics strong {
  color: var(--primary);
  display: block;
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted-foreground);
  display: block;
  font-weight: 700;
  margin-top: 8px;
}

.section {
  padding-bottom: 104px;
  padding-top: 104px;
}

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

.section-heading {
  margin-bottom: 44px;
  max-width: 900px;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.section-heading p,
.split p,
.card p,
.panel p,
.faq-list p {
  color: var(--muted-foreground);
  font-size: 17px;
  line-height: 1.7;
}

.grid,
.comparison-grid,
.faq-list,
.list {
  display: grid;
}

.guide-grid {
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.panel,
.faq-list details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
}

.card,
.panel {
  overflow: hidden;
  padding: 30px;
}

.card::before,
.panel::before {
  background: linear-gradient(135deg, rgba(10, 77, 60, 0.08), transparent);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.25s ease;
}

.card:hover::before,
.panel:hover::before {
  opacity: 1;
}

.card h3,
.panel h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  position: relative;
}

.card p,
.panel p,
.text-link {
  position: relative;
}

.text-link {
  color: var(--primary);
  display: inline-flex;
  font-weight: 900;
  margin-top: 12px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.scanner-band {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 82px 0;
}

.scanner-band .eyebrow {
  background: rgba(250, 248, 245, 0.14);
  color: var(--primary-foreground);
}

.scanner-band p {
  color: rgba(250, 248, 245, 0.78);
}

.scanner-band-inner {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.scanner-band h2 {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  margin: 0;
  max-width: 860px;
}

.scanner-band .button.primary {
  background: var(--primary-foreground);
  color: var(--primary);
}

.comparison-grid {
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison-links {
  gap: 12px;
  margin-top: 30px;
}

.list a {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 800;
  padding: 18px 20px;
}

.split {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.faq-list {
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  background: var(--foreground);
  color: var(--background);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding-bottom: 48px;
}

.footer-brand p,
.footer-bottom,
.site-footer a {
  color: rgba(250, 248, 245, 0.72);
}

.site-footer h2 {
  color: var(--background);
  font-family: var(--display);
  font-size: 18px;
  margin: 0 0 16px;
}

.site-footer a {
  display: block;
  margin: 10px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  color: var(--background);
  transform: translateX(3px);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(250, 248, 245, 0.12);
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .guide-grid,
  .comparison-grid,
  .scanner-band-inner,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 680px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 72px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .header-inner,
  nav,
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 70px);
  }

  .hero-panel::before {
    min-height: 360px;
  }

  .signal-card {
    bottom: auto;
    margin-top: 14px;
    max-width: none;
    position: relative;
    right: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
