:root {
  color-scheme: light;
  --ink: #0c1730;
  --muted: #5d6678;
  --line: #d9e0ea;
  --panel: #ffffff;
  --band: #f4f7fb;
  --blue: #0b2a66;
  --blue-2: #126bdc;
  --red: #e84035;
  --shadow: 0 24px 70px rgba(12, 23, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #ffffff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(217, 224, 234, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

nav a:hover {
  color: var(--blue-2);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 76px) 80px;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.22) 100%),
    url("assets/citizenprep-logo.png");
  background-repeat: no-repeat;
  background-size: min(1060px, 92vw) auto;
  background-position: right 8vw center;
  opacity: 0.96;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-icon {
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 22px 0 10px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
  font-size: 1.18rem;
}

.hero-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid var(--blue);
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: #ffffff;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  min-height: 92px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 20px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 850;
  text-align: center;
}

.section {
  padding: 88px clamp(20px, 6vw, 76px);
}

.section.alt {
  background: var(--band);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.feature-grid article {
  min-height: 196px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid article h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--red);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.mode-list {
  display: grid;
  gap: 12px;
}

.mode-list div {
  display: grid;
  gap: 5px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.mode-list span {
  color: var(--muted);
}

.download {
  padding: 88px clamp(20px, 6vw, 76px);
  background: var(--blue);
  color: #ffffff;
}

.download-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.download img {
  display: block;
  width: min(520px, 100%);
  margin: 0 auto 28px;
  border-radius: 8px;
  background: #ffffff;
}

.download h2 {
  color: #ffffff;
}

.download p {
  color: rgba(255, 255, 255, 0.82);
}

.download .store-buttons {
  justify-content: center;
}

.download .button.secondary {
  border-color: #ffffff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

summary {
  cursor: pointer;
  padding: 20px;
  font-weight: 850;
}

details p {
  padding: 0 20px 20px;
}

.site-footer {
  padding: 36px clamp(20px, 6vw, 76px);
  border-top: 1px solid var(--line);
  background: #10141d;
}

.site-footer p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-bg {
    background-size: 780px auto;
    background-position: 34vw 20px;
    opacity: 0.26;
  }

  .trust-strip,
  .feature-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .trust-strip p {
    min-height: 72px;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .store-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
