:root {
  --navy: #0a2540;
  --navy-light: #1a3a5c;
  --slate: #475569;
  --muted: #4b5563;
  --cream: #faf9f7;
  --warm-white: #f8f6f3;
  --border: rgba(10, 37, 64, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

/* Top Navigation */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topnav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topnav__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
}

.topnav__label {
  font-family: "Fjalla One", sans-serif;
  font-size: 22px;
  color: var(--navy);
}

.topnav__label strong {
  color: var(--navy);
}

.topnav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.topnav__cta:hover {
  background: var(--navy-light);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 24px 100px;
  background: radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(10, 37, 64, 0.03) 0%,
      transparent 50%
    ),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: 700px;
  text-align: center;
  animation: fadeUp 0.8s ease-out;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

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

/* Branding */
.branding {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.branding__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.2);
}

.branding__logo--inverted {
  background: var(--cream);
  box-shadow: none;
}

.branding__text {
  text-align: left;
}

.branding__label {
  font-family: "Fjalla One", sans-serif;
  font-size: 36px;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.branding__label strong {
  color: var(--navy);
}

.branding__label--light {
  color: var(--cream);
}

.branding__label--light strong {
  color: var(--cream);
}

.branding__tagline {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

.branding__tagline--light {
  color: rgba(250, 249, 247, 0.7);
}

/* Hero Typography */
h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__description {
  font-size: 1.25rem;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Buttons */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: var(--navy);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(10, 37, 64, 0.15);
}

.cta-button:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.2);
}

.cta-button--inverted {
  background: var(--cream);
  color: var(--navy);
  box-shadow: none;
}

.cta-button--inverted:hover {
  background: var(--warm-white);
}

.ghost-button {
  padding: 18px 32px;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.ghost-button:hover {
  background: var(--navy);
  color: var(--cream);
}

/* Sections */
.section {
  padding: 120px 24px;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

.section__subtitle {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section__intro {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto 60px;
}

/* Product Cards */
.section--product {
  background: white;
}

.section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: left;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08);
}

.card header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card__badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.5rem;
}

.card p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.8;
}

/* FAQ Section */
.section--faq {
  background: var(--cream);
}

.faq-list {
  max-width: 700px;
  margin: 60px auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  padding: 28px 0;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: left;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item button:hover {
  color: var(--navy-light);
}

.faq-item__icon {
  font-size: 1.5rem;
  font-weight: 300;
  font-family: "DM Sans", sans-serif;
  transition: transform 0.3s ease;
}

.faq-item button[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__content {
  padding-bottom: 28px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.8;
}

.faq-item__content p + p {
  margin-top: 16px;
}

.faq-item__content ul {
  padding-left: 24px;
  margin: 16px 0 0;
}

.faq-item__content li {
  margin-bottom: 8px;
}

.faq-item__content a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 24px 60px;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
}

.footer__branding {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__contact p {
  font-size: 14px;
  line-height: 2;
  color: rgba(250, 249, 247, 0.7);
}

.footer__heading {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(250, 249, 247, 0.6);
}

.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__links a {
  font-size: 15px;
  color: rgba(250, 249, 247, 0.85);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--cream);
}

.footer__bottom {
  max-width: 1100px;
  margin: 60px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 249, 247, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copyright {
  font-size: 13px;
  color: rgba(250, 249, 247, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__branding {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .topnav {
    padding: 12px 16px;
  }

  .topnav__label {
    font-size: 18px;
  }

  .topnav__cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .hero__content {
    animation: none;
  }

  .branding {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .branding__text {
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .cta-button,
  .ghost-button {
    width: 100%;
  }

  .section {
    padding: 80px 20px;
  }

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

  .card {
    padding: 32px 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

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