:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f7f4;
  color: #101421;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f7f4;
  color: #101421;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.seo-nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(16, 20, 33, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 60px rgba(16, 20, 33, 0.13);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.seo-brand,
.seo-nav nav,
.seo-actions,
.seo-store-links,
.badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-brand {
  text-decoration: none;
  font-weight: 800;
}

.seo-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.seo-nav nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.88rem;
  font-weight: 700;
}

.seo-nav a {
  text-decoration: none;
}

.seo-nav__cta,
.primary,
.secondary,
.seo-store-links a,
.amanda-consent button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 20, 33, 0.1);
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.seo-nav__cta,
.primary,
.seo-store-links a:first-child,
.amanda-consent button:first-child {
  background: #35b6ff;
  color: #07111f;
  box-shadow: 0 14px 28px rgba(53, 182, 255, 0.25);
}

.secondary,
.seo-store-links a:last-child,
.amanda-consent button:last-child {
  background: #ffffff;
  color: #101421;
}

main {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  overflow: hidden;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 70vh;
  padding: clamp(56px, 9vw, 112px) 0 48px;
}

.seo-hero > *,
.seo-grid > *,
.seo-card-grid > * {
  min-width: 0;
}

.seo-hero--home {
  min-height: 60vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: #4d5c70;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  color: #5e687a;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.seo-hero figure {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(16, 20, 33, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(16, 20, 33, 0.1);
}

.seo-hero img {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.badges {
  flex-wrap: wrap;
  margin-top: 18px;
}

.badges span {
  border: 1px solid rgba(16, 20, 33, 0.1);
  border-radius: 999px;
  background: #ffffff;
  padding: 7px 12px;
  color: #4d5c70;
  font-size: 0.82rem;
  font-weight: 800;
}

.seo-grid,
.seo-faq,
.seo-source,
.seo-download,
.seo-related,
.seo-card-grid {
  margin: 0 0 28px;
}

.seo-faq,
.seo-source,
.seo-download {
  border: 1px solid rgba(16, 20, 33, 0.08);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(22px, 4vw, 38px);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.seo-grid article,
.seo-card {
  border: 1px solid rgba(16, 20, 33, 0.08);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(20px, 3vw, 32px);
}

li,
.seo-grid p,
.seo-faq p,
.seo-source p,
.seo-download p {
  color: #5e687a;
  line-height: 1.62;
}

li + li {
  margin-top: 10px;
}

.seo-faq details {
  border-top: 1px solid #e8edf4;
  padding: 16px 0;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 900;
}

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

.seo-card-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-source--official {
  border-color: rgba(53, 182, 255, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.seo-source--official a {
  color: #0b69a3;
  font-weight: 900;
}

.seo-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.seo-card span,
.seo-card small {
  color: #5e687a;
}

.seo-card strong {
  font-size: 1.08rem;
}

.seo-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 38px auto;
  color: #5e687a;
  font-weight: 700;
}

.amanda-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(620px, calc(100vw - 36px));
  border: 1px solid rgba(16, 20, 33, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 18px 60px rgba(16, 20, 33, 0.18);
}

.amanda-consent p {
  margin: 0;
  color: #4d5c70;
  font-size: 0.9rem;
  line-height: 1.35;
}

.amanda-consent div {
  display: flex;
  gap: 8px;
}

@media (max-width: 820px) {
  .seo-nav {
    position: static;
    align-items: flex-start;
    border-radius: 8px;
  }

  .seo-nav,
  .seo-nav nav,
  .seo-hero,
  .seo-grid,
  .seo-card-grid,
  .amanda-consent {
    grid-template-columns: 1fr;
  }

  .seo-nav {
    display: grid;
    gap: 12px;
  }

  .seo-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    font-size: 0.84rem;
    line-height: 1.2;
    max-width: 100%;
  }

  .seo-nav nav a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .seo-nav__cta {
    grid-column: 1 / -1;
  }

  .seo-hero {
    min-height: auto;
  }

  .seo-actions,
  .seo-store-links {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
    line-height: 1.02;
  }

  .amanda-consent div {
    flex-wrap: wrap;
  }
}
