:root {
  --bg: #E5EBEA;
  --card: #FFFFFF;
  --text: #262626;
  --muted: #5A5A5A;
  --primary: #FB4D3D;
  --primary-dark: #E23E31;
  --ring: rgba(251, 77, 61, 0.25);
  --shadow: 0 20px 50px rgba(30, 30, 30, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top left, #FFFFFF 0%, var(--bg) 40%, #E9E1DE 100%);
  color: var(--text);
  line-height: 1.6;
  padding-top: 86px;
}

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

section {
  scroll-margin-top: 96px;
}

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

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

/* Header styles */
.site-header {
  position: fixed;
  top: 0;
  z-index: 10;
  background: rgba(229, 235, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(38, 38, 38, 0.08);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

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

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(251, 77, 61, 0.25);
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 12px 24px rgba(251, 77, 61, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-large {
  padding: 14px 26px;
  font-size: 1rem;
}

/* Hero styles */
.hero {
  padding: 90px 0 70px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.tagline {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.subtext {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.shot-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.shot-card:hover {
  transform: translateY(-6px);
}

.shot-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
}

/* Features */
.features {
  padding: 70px 0;
}

.features h2,
.screenshots h2,
.cta h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section-lede {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 680px;
}

.feature-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 20px) / 3);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(38, 38, 38, 0.06);
  scroll-snap-align: start;
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 10px;
}

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

/* Screenshots */
.screenshots {
  padding: 70px 0;
}

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

.shot {
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.shot img {
  border-radius: var(--radius-md);
}

/* CTA */
.cta {
  padding: 80px 0 90px;
}

.cta-inner {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-inner .subtext {
  margin-top: 12px;
}

/* Feedback */
.feedback {
  padding: 60px 0 80px;
}

.feedback-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}


/* Footer */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid rgba(38, 38, 38, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Policy pages */
.policy {
  padding: 40px 0 80px;
}

.policy-hero {
  padding: 40px 0 20px;
}

.policy-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 8px;
}

.policy-body {
  padding: 20px 0 60px;
}

.policy-body h2 {
  font-family: "Space Grotesk", sans-serif;
  margin: 28px 0 10px;
}

.policy-body p {
  color: var(--muted);
  margin-bottom: 16px;
}

.policy-body ul {
  color: var(--muted);
  margin: 0 0 16px 22px;
}

.policy-body li {
  margin-bottom: 6px;
}

/* Responsive nav */
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 5vw;
    top: 72px;
    background: var(--card);
    flex-direction: column;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    gap: 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .site-header .btn-primary {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 70px 0 60px;
  }

  .cta-inner {
    padding: 36px 24px;
  }
}

@media (max-width: 980px) {
  .feature-grid {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-auto-columns: 100%;
  }
}
