:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #f5f1e8;
  background: #000;
  font-synthesis: none;
  --cream: #f5f1e8;
  --gold: #e7aa25;
  --muted: #a7a39c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 22rem, rgba(231, 170, 37, 0.09), transparent 28rem),
    #000;
}

a {
  color: inherit;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1540px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(245, 241, 232, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  display: grid;
  width: 3.2rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: #000;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.brand strong,
.back {
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.back {
  color: var(--gold);
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

.intro,
.notice,
.ratings,
.symptoms,
.clearance {
  max-width: 1540px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.intro {
  display: grid;
  min-height: min(780px, calc(100svh - 97px));
  place-content: center;
  padding-block: clamp(5rem, 12vw, 10rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.app-lockup {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 0 auto 1.5rem;
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 950;
  letter-spacing: -0.09em;
  line-height: 0.66;
}

.app-lockup span {
  display: inline-block;
}

.app-lockup span:nth-of-type(2) {
  color: var(--gold);
}

.app-lockup i {
  margin-right: 0.06em;
  color: var(--gold);
  font-size: 0.36em;
  font-style: normal;
}

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

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.25rem, 2.4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-copy {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.protocol-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 45rem);
  margin: 3rem auto 0;
  border: 1px solid rgba(245, 241, 232, 0.18);
}

.protocol-meta div {
  padding: 1rem;
  border-right: 1px solid rgba(245, 241, 232, 0.18);
}

.protocol-meta div:last-child {
  border-right: 0;
}

.protocol-meta dt {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.protocol-meta dd {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notice {
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid rgba(245, 241, 232, 0.15);
  text-align: center;
}

.notice h2,
.symptoms h2,
.clearance h2 {
  max-width: 18ch;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.4rem, 5.4vw, 5.8rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.93;
  text-transform: uppercase;
}

.notice > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.notice h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
}

.ratings {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.rating-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 2.4vw, 2rem) clamp(1rem, 1.6vw, 1.5rem);
  border: 1px solid rgba(245, 241, 232, 0.16);
  text-align: center;
  transition: background 160ms ease;
}

.rating-card:hover {
  z-index: 1;
  background: rgba(245, 241, 232, 0.05);
}

.rating-card .cff-certificate {
  --certificate-size: clamp(7rem, 9vw, 9rem);
  margin-bottom: 1.65rem;
}

.rating-copy {
  display: grid;
  width: 100%;
  grid-template-rows: 1rem 3.15rem auto;
  gap: 0.55rem;
  align-content: start;
}

.rating-code {
  margin: 0;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rating-copy h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rating-copy > p:last-child {
  margin-bottom: 0;
  color: #c3bfb7;
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.symptoms {
  padding-top: clamp(5rem, 10vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 10rem);
  border-top: 1px solid rgba(245, 241, 232, 0.15);
  text-align: center;
}

.symptoms h2 {
  max-width: 16ch;
}

.symptoms ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 70rem;
  margin: 4rem auto 0;
  padding: 0;
  list-style: none;
}

.symptoms li {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  border-right: 1px solid rgba(245, 241, 232, 0.2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.symptoms li:last-child {
  border-right: 0;
}

.symptoms li span {
  color: var(--gold);
  font-size: 2rem;
}

.clearance {
  margin-bottom: clamp(1rem, 3vw, 3rem);
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  background: var(--cream);
  color: #000;
  text-align: center;
}

.clearance h2 {
  max-width: 16ch;
}

.clearance > p[lang] {
  margin: 1.5rem 0 3rem;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

.fine-print {
  max-width: 43rem;
  margin: 0 auto 2.5rem;
  color: #67635d;
  font-size: 0.76rem;
  line-height: 1.55;
}

.clearance a {
  color: #6b4c0e;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-underline-offset: 0.3rem;
}

@media (max-width: 1450px) and (min-width: 1051px) {
  .ratings {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .rating-card {
    grid-column: span 2;
  }

  .rating-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }
}

@media (max-width: 1050px) {
  .ratings {
    grid-template-columns: repeat(2, 1fr);
  }

  .protocol-meta {
    grid-template-columns: 1fr;
  }

  .protocol-meta div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(245, 241, 232, 0.18);
  }

  .protocol-meta div:last-child {
    border-bottom: 0;
  }

  .rating-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .brand strong {
    display: none;
  }

  .back {
    font-size: 0.6rem;
  }

  .app-lockup {
    font-size: clamp(5.2rem, 28vw, 9rem);
  }

  h1 {
    font-size: 1rem;
  }

  .ratings {
    display: block;
  }

  .rating-card {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
    text-align: left;
  }

  .rating-card .cff-certificate {
    --certificate-size: 6rem;
    margin: 0;
  }

  .rating-copy {
    grid-template-rows: auto;
    gap: 0.4rem;
  }

  .symptoms ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .symptoms li:nth-child(2) {
    border-right: 0;
  }

  .symptoms li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(245, 241, 232, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rating-card {
    transition: none;
  }
}
