/* Landing page sections (templates/exam/index.html, on templates/site/base.html). No Figma frame:
   built from design system parts (fds- buttons, badges, tabs, icons) and the auth hero's navy look.
   The header, container, feature cards and footer come from static/site/site.css and footer.css;
   this file only lays out the landing sections. Prefix lp-. */

body.lp { background: var(--fds-white); }

.lp-section { padding: 80px 0; }
.lp-section-muted { background: var(--fds-page-bg); }

.lp-section-head {
  max-width: 768px;
  margin: 0 auto 40px;
  text-align: center;
}

.lp-section-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: var(--fds-text-heading);
}

.lp-section-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--fds-text-secondary);
}

.lp-section-lead + .lp-section-lead { margin-top: 16px; }

/* ---------- Hero ---------- */
.lp-hero {
  padding: 80px 0;
  background: var(--fds-navy-hero);
  color: var(--fds-white);
}

.lp-hero-grid {
  display: grid;
  /* The image takes the larger share and ends on the container's right edge. */
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: center;
  gap: 48px;
}

.lp-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.lp-hero-title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.lp-hero-accent { color: #7EE2E4; }

.lp-hero-lead {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.85);
}

.lp-hero-lead strong { color: var(--fds-white); font-weight: 600; }

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.lp-hero-note {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.lp-hero-note a { color: var(--fds-white); font-weight: 600; }

/* Hero image: no white frame, it sits straight on the navy. */
.lp-hero-image { justify-self: end; width: 100%; }

.lp-hero-image img {
  display: block;
  width: 100%;
  border-radius: var(--fds-radius-xl);
}

.lp-shot-frame {
  padding: 8px;
  border-radius: var(--fds-radius-2xl);
  background: var(--fds-white);
  box-shadow: var(--fds-shadow-xl);
}

.lp-shot-frame img {
  display: block;
  width: 100%;
  border-radius: var(--fds-radius-lg);
}

/* ---------- Partner strip ---------- */
.lp-partner {
  padding: 24px 0;
  border-bottom: 1px solid var(--fds-slate-200);
  text-align: center;
}

.lp-partner-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fds-text-muted);
}

.lp-partner img {
  display: block;
  width: 180px;
  margin: 8px auto 0;
}

/* ---------- Stats band ---------- */
.lp-stats {
  padding: 48px 0;
  background: var(--fds-blue-950);
  color: var(--fds-white);
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  text-align: center;
}

.lp-stat { display: flex; flex-direction: column; }

.lp-stats dt {
  order: 2;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--fds-gray-300);
}

.lp-stats dd {
  order: 1;
  margin: 0 0 4px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}

/* ---------- Trust ---------- */
.lp-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.lp-trust-item .fds-icon-tile { flex-shrink: 0; }

.lp-trust-item h3 {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--fds-text-heading);
}

.lp-trust-item p {
  font-size: 14px;
  line-height: 20px;
  color: var(--fds-text-secondary);
}

/* ---------- Video and screenshots ---------- */
.lp-video {
  max-width: 1024px;
  margin: 0 auto;
}

.lp-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--fds-radius-lg);
  background: var(--fds-navy-hero);
}

.lp-shots {
  max-width: 1024px;
  margin: 56px auto 0;
}

.lp-shots .fds-tabs-light { overflow-x: auto; scrollbar-width: none; }
.lp-shots .fds-tab {
  flex: 1 0 auto;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.lp-shots .fds-tab:focus-visible { outline: 2px solid var(--fds-primary); outline-offset: -2px; }

.lp-shot-panel { margin-top: 24px; }

/* ---------- Closing call to action ---------- */
.lp-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 56px 32px;
  border-radius: var(--fds-radius-2xl);
  background: var(--fds-navy-hero);
  box-shadow: var(--fds-shadow-soft);
  color: var(--fds-white);
  text-align: center;
}

.lp-cta .lp-section-title { color: var(--fds-white); }
.lp-cta .lp-section-lead { max-width: 640px; margin-top: 0; color: rgba(255, 255, 255, 0.8); }
.lp-cta .lp-actions { justify-content: center; }

/* The last section already ends the page; no gap above the shared footer. */
.lp .site-footer { margin-top: 0; }

/* ---------- Responsive (Figma breakpoints 1280 / 1024 / 768 / 640) ---------- */
@media (max-width: 1023.98px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-hero-title { font-size: 36px; }
  .lp-trust { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
  .lp-section { padding: 56px 0; }
  .lp-hero { padding: 48px 0; }
  .lp-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639.98px) {
  .lp-hero-title { font-size: 30px; }
  .lp-section-title { font-size: 24px; line-height: 32px; }
  .lp-actions, .lp-actions .fds-btn { width: 100%; }
  .lp-cta { padding: 40px 20px; }
}
