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

:root {
  --bg-cream: #f8f2e2;
  --bg-dark: #0d1c2b;
  --navy: #0a2b48;
  --navy-light: #1c3f5d;
  --orange: #f17b2b;
  --orange-light: #f59c57;
  --sky: #5c7ea6;
  --slate: #4d5668;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(6, 20, 39, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-cream);
  color: var(--navy);
  line-height: 1.6;
}

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

.hero {
  background: radial-gradient(circle at 20% 20%, rgba(241, 123, 43, 0.15), transparent 60%),
    linear-gradient(180deg, #fdf9ed 0%, #f8f2e2 60%, #f5ecdb 100%);
  padding-bottom: 4rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-weight: 500;
  color: var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}

.brand__logo {
  width: clamp(32px, 2.75vw, 52px);
  height: auto;
  max-width: 64px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
}

.brand__accent {
  color: var(--orange);
}

.brand__name {
  color: var(--navy);
}

.hero__content {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.hero__content h1 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--navy);
}

.hero__lead {
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--slate);
}

.hero__free-trial {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.hero__auth-note {
  max-width: 70ch;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.stat__label {
  font-size: 0.95rem;
  color: var(--slate);
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: #ffd6b2;
}

.section {
  padding: 4rem clamp(1rem, 4vw, 4rem);
}

.section--dark {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
}

.section--pricing {
  background: #fffdf9;
}

.section--cta {
  background: var(--navy);
  color: var(--white);
}

.section--policy {
  background: #ffffff;
}

.section--policy-light {
  background: #f5f8fb;
}

.section__header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section__cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid--pricing {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 43, 72, 0.05);
}

.card h3 {
  margin-top: 0;
  color: var(--navy);
}

.card p {
  color: var(--slate);
}

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

.ops-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ops-card ul {
  padding-left: 1.1rem;
}

.ops-card li {
  margin-bottom: 0.85rem;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 43, 72, 0.04);
  text-align: center;
}

.testimonial span {
  display: block;
  margin-top: 1rem;
  color: var(--slate);
  font-weight: 600;
}

.price-card {
  background: var(--white);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(10, 43, 72, 0.08);
}

.price-card--accent {
  background: linear-gradient(180deg, #0a2440, #0f2f4f);
  color: var(--white);
  border: none;
}

.price-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
}

.price-card--accent .price-card__price {
  color: var(--white);
}

.price-card__price span {
  font-size: 3rem;
}

.price-card ul {
  padding-left: 1.1rem;
}

.price-card a {
  margin-top: auto;
  text-align: center;
}

.pricing__note {
  margin-top: 2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--slate);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.button--primary {
  background: var(--orange);
  color: #1a1a1a;
  box-shadow: 0 8px 20px rgba(241, 123, 43, 0.35);
}

.button--primary:hover {
  transform: translateY(-2px);
}

.button--secondary {
  background: rgba(10, 43, 72, 0.1);
  color: var(--navy);
}

.button--ghost {
  border-color: rgba(10, 43, 72, 0.35);
  color: var(--navy);
}

.section--cta .button--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.section--cta .button--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.cta-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  font-weight: 500;
}

.policy-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(10, 43, 72, 0.08);
  box-shadow: var(--shadow);
  text-align: left;
}

.policy-card h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.policy-card h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--slate);
}

.policy-card p {
  color: var(--slate);
  margin-bottom: 0.75rem;
}

.policy-card__meta {
  font-size: 0.9rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.policy-card--summary {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.privacy-page {
  background: var(--bg-cream);
}

.privacy-page main {
  background: var(--bg-cream);
}

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

.faq-item {
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(180deg, #fff9f1, #fff3e4);
  border: 1px solid rgba(10, 43, 72, 0.06);
  box-shadow: 0 15px 30px rgba(10, 43, 72, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.75rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::before {
  content: '–';
  transform: rotate(90deg);
}

.faq-item[open] {
  box-shadow: 0 20px 35px rgba(10, 43, 72, 0.14);
  transform: translateY(-2px);
}

.faq-item p {
  margin: 0;
  color: var(--slate);
  line-height: 1.5;
}

.footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #05101f;
  color: rgba(255, 255, 255, 0.75);
}

.footer__note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__auth-note {
    margin-bottom: 1rem;
  }

  .policy-card {
    padding: 1.75rem;
  }

  .hero__actions,
  .cta-card__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
