@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
}

:root,
[data-theme="navy"] {
  color-scheme: light;
  --bg: #f6f7f8;
  --paper: #ffffff;
  --ink: #09090b;
  --muted: #5c6470;
  --accent: #3b82f6;
  --accent-ink: #ffffff;
  --line: #e4e4e7;
  --nav: #23272e;
}

[data-theme="night"] {
  color-scheme: dark;
  --bg: #0f1419;
  --paper: #171c22;
  --ink: #f3f5f7;
  --muted: #a8b0b8;
  --accent: #3b82f6;
  --accent-ink: #ffffff;
  --line: #2a3138;
  --nav: #0f1419;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.65rem 0.85rem;
  min-height: 2.75rem;
  border-radius: 0.375rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
}

.brand svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ghost,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.65rem 0.95rem;
  min-height: 2.75rem;
}

.ghost {
  color: var(--muted);
}

button.ghost {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.ghost:hover,
.ghost:focus-visible {
  color: var(--ink);
}

.cta {
  background: var(--accent);
  color: var(--accent-ink);
}

.cta:hover,
.cta:focus-visible {
  filter: brightness(1.06);
}

.cta:focus-visible,
.ghost:focus-visible,
.skip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  min-width: 0;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    padding-top: 3rem;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.lede {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}

.risk {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.frame {
  min-width: 0;
  max-width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  overflow: hidden;
}

.frame img {
  width: 100%;
}

.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reasons {
  display: grid;
  gap: 1rem;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 1rem 1.1rem;
}

.step strong {
  display: block;
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.facts,
.not-list {
  margin: 0;
  padding-left: 1.15rem;
}

.facts li,
.not-list li {
  margin: 0.45rem 0;
}

.film {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

@media (min-width: 800px) {
  .film {
    grid-template-columns: 1fr 1fr;
  }
}

.film figure {
  margin: 0;
  min-width: 0;
}

.film figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.swipe-note {
  display: none;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.close {
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding-inline: 0.35rem;
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.legal-page {
  padding-top: 2rem;
  padding-bottom: 4rem;
  max-width: 40rem;
}

.legal-page h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

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

.legal-page a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    row-gap: 0.65rem;
  }

  .brand {
    align-self: flex-start;
    min-height: 2.75rem;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .ghost,
  .nav-actions .cta,
  .hero .cta,
  .close .cta {
    flex: 1;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .wrap,
  .hero,
  .film,
  .film figure {
    min-width: 0;
  }

  .frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .frame img {
    width: 36rem;
    max-width: none;
  }

  .swipe-note {
    display: block;
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    filter: none !important;
  }
}
