:root {
  --bg: #f5f4ef;
  --paper: #fbfaf6;
  --panel: #f0eee8;
  --ink: #101113;
  --muted: #5d6168;
  --accent: #c65a1e;
  --accent-soft: rgba(198, 90, 30, 0.1);
  --line: rgba(16, 17, 19, 0.14);
  --shadow: 0 20px 48px rgba(16, 17, 19, 0.08);
  --radius-xl: 18px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.015), transparent 20%),
    var(--bg);
  color: var(--ink);
}

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

.page-shell {
  min-height: 100vh;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: -0.45rem;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 0;
  pointer-events: none;
}

.topbar__logo,
.topbar__link {
  pointer-events: auto;
}

.topbar__logo {
  width: min(190px, 48vw);
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  background: #111111;
  box-shadow: 0 10px 28px rgba(16, 17, 19, 0.12);
}

.topbar__link,
.final-cta,
.signup-card button {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.92);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(16, 17, 19, 0.08);
}

.tile-stack {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.tile {
  min-height: 100vh;
  padding: 5.75rem 1rem 1rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.tile__content {
  min-height: calc(100vh - 6.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(251, 250, 246, 0.92);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.tile--hero .tile__content {
  display: grid;
  align-content: center;
  background: #111111;
  color: #f7f5ef;
}

.hero-copy {
  align-self: center;
}

.tile__content--hero,
.tile__content--final {
  position: relative;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.78;
}

.hero-acronym {
  display: grid;
  gap: 0.14rem;
}

.brand-lockup,
.brand-weekly {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

.brand-weekly {
  position: relative;
  margin-left: 0.015em;
  font-size: 0.52em;
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0.86;
}

.hero-acronym .hero-initial {
  display: inline-block;
  font-size: 1.14em;
  font-weight: 700;
  opacity: 1;
  color: #e0a57b;
}

.hero-acronym .hero-line {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.42rem;
  align-items: baseline;
}

.hero-acronym .hero-token {
  display: inline-flex;
  align-items: baseline;
  gap: 0.01em;
  white-space: nowrap;
}

.hero-acronym .hero-rest {
  color: rgba(247, 245, 239, 0.78);
  font-family: inherit;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: inherit;
}

.hero-acronym .hero-word,
.hero-acronym .hero-token {
  white-space: nowrap;
}

.tile__content--final h2 {
  white-space: nowrap;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  line-height: 0.96;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.65rem, 9vw, 7rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.05;
}

.lede,
.lede-small,
.tile p,
.signup-card input,
.signup-card button {
  font-size: clamp(1rem, 2.8vw, 1.14rem);
  line-height: 1.5;
}

.lede {
  max-width: 42rem;
  margin: 1rem 0 1.5rem;
  color: rgba(247, 245, 239, 0.84);
}

.signup-card {
  width: min(100%, 760px);
  display: grid;
  gap: 0.8rem;
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 245, 239, 0.12);
}

.signup-card__copy h2 {
  max-width: none;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.signup-card__copy p {
  margin: 0.45rem 0 0.85rem;
  color: rgba(247, 245, 239, 0.72);
}

.brevo-signup-embed {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(247, 245, 239, 0.16);
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.brevo-signup-embed iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  min-height: 352px;
  overflow: hidden;
  transform: translateY(-44px);
  margin-bottom: -88px;
}

.signup-form {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(247, 245, 239, 0.04);
}

.signup-form--submitted {
  opacity: 0.72;
}

.signup-form-success {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(247, 245, 239, 0.06);
  border: 1px solid rgba(247, 245, 239, 0.14);
}

.signup-form-success[hidden] {
  display: none !important;
}

.signup-form-success__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.58);
}

.signup-form-success h3 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
}

.signup-form-success p:last-child {
  margin: 0;
  color: rgba(247, 245, 239, 0.76);
}

.signup-form__field {
  display: grid;
  gap: 0.45rem;
}

.signup-form__label {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.74);
}

.signup-form__hint {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(247, 245, 239, 0.56);
}

.signup-form__honeypot,
.signup-form__target {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-check--native {
  margin-top: 0;
  font-size: 0.92rem;
}

.signup-card__row {
  display: grid;
  gap: 0.8rem;
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.9rem;
  color: rgba(247, 245, 239, 0.86);
  font-size: 0.92rem;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 0;
  accent-color: var(--accent);
}

.signup-card__legal {
  margin: 0;
  color: rgba(247, 245, 239, 0.7);
  font-size: 0.88rem;
}

.signup-card__legal a {
  color: #f7f5ef;
}

.signup-card input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(16, 17, 19, 0.16);
  border-radius: 10px;
  padding: 0 1rem;
  background: #f7f5ef;
  color: var(--ink);
}

.signup-card button,
.final-cta {
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #f7f5ef;
  cursor: pointer;
  font-weight: 700;
}

.signup-card button {
  min-height: 56px;
  padding: 0 1.2rem;
}

.signup-card__meta {
  margin: 0;
  color: rgba(247, 245, 239, 0.64);
  font-size: 0.94rem;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature-card,
.example-card,
.trust-strip p {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.feature-card {
  min-height: 0;
  padding: 0.9rem;
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.feature-card span,
.example-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 32px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.example-card__label {
  width: fit-content;
  justify-self: start;
  text-align: left;
}

.feature-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  margin-top: 0;
  max-width: none;
  font-size: 1.02rem;
  line-height: 1.02;
}

.feature-card p,
.example-card p,
.trust-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card p {
  max-width: none;
  font-size: 0.84rem;
  line-height: 1.35;
}

.tile--example .tile__content,
.tile--score .tile__content,
.tile--final .tile__content {
  display: grid;
  align-content: center;
}

.tile__content--split {
  gap: 1rem;
}

.tile--grid .tile__content {
  display: grid;
  align-content: center;
}

.tile--grid .section-heading {
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.tile--grid .section-heading h2 {
  max-width: 12ch;
  font-size: clamp(1.85rem, 5.7vw, 4rem);
}

.example-card {
  padding: 1rem;
  background: var(--panel);
}

.example-card--highlight {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.example-card--highlight h3 {
  font-size: clamp(1.1rem, 3.3vw, 1.55rem);
  line-height: 1.02;
}

.example-card--score {
  background: transparent;
}

.example-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
}

.example-source {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  font-style: italic;
}

.example-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid #111111;
  border-radius: 10px;
  background: #111111;
  color: #f7f5ef;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.example-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.example-link--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.example-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(251, 250, 246, 0.72);
}

.example-meta__item {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem 0.8rem;
  border-left: 1px solid var(--line);
}

.example-meta__item:first-child {
  border-left: 0;
}

.example-meta__item span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.example-meta__item strong {
  font-size: 0.84rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tile--example .section-heading {
  margin-bottom: 0;
}

.tile--example .section-heading h2 {
  max-width: 8ch;
  font-size: clamp(1.9rem, 5.8vw, 3.4rem);
}

.tile--example .lede-small {
  max-width: 28ch;
}

.tile--example .example-card > p:last-child {
  font-size: 0.92rem;
  line-height: 1.42;
}

.trust-strip {
  display: grid;
  gap: 1rem;
}

.trust-strip p {
  margin: 0;
  padding: 1.2rem;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: clamp(1.3rem, 5vw, 2rem);
  background: transparent;
}

.tile--final .tile__content {
  background: var(--paper);
  text-align: center;
  justify-items: center;
  gap: 1rem;
}

.final-logo {
  width: min(130px, 28vw);
}

.tile__content--final p {
  max-width: 34rem;
  color: var(--muted);
}

.final-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.5rem;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 1.2rem;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 600;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(251, 250, 246, 0.92);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.legal-intro {
  max-width: 42rem;
  color: var(--muted);
}

.legal-section + .legal-section {
  margin-top: 1.25rem;
}

.legal-section h2 {
  margin-bottom: 0.45rem;
  max-width: none;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
}

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

.flow-page {
  min-height: 100vh;
  padding: 1.5rem 1rem 2rem;
}

.flow-shell {
  width: min(100%, 860px);
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.flow-back {
  display: inline-flex;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.flow-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(251, 250, 246, 0.92);
  box-shadow: var(--shadow);
}

.flow-logo {
  width: min(132px, 36vw);
}

.flow-card h1 {
  max-width: none;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  color: var(--ink);
}

.flow-copy {
  max-width: 40rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  line-height: 1.55;
}

.flow-copy--muted {
  color: var(--muted);
}

.flow-cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.25rem;
  text-decoration: none;
}

.topbar__link:hover,
.topbar__link:focus-visible,
.final-cta:hover,
.final-cta:focus-visible,
.signup-card button:hover,
.signup-card button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 17, 19, 0.12);
}

@media (min-width: 768px) {
  .topbar {
    top: -0.5rem;
    padding: 0.8rem 1.1rem 0;
  }

  .tile {
    padding: 6rem 1.1rem 1.1rem;
  }

  .tile__content {
    min-height: calc(100vh - 7.1rem);
    padding: 2rem;
  }

  h1 {
    font-size: clamp(4.6rem, 9.2vw, 7rem);
  }

  .lede {
    margin: 1.2rem 0 1.85rem;
  }

  .signup-card__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tile__content--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
  }

  .hero-acronym {
    display: block;
    white-space: nowrap;
  }

  .hero-acronym .hero-line {
    display: inline-flex;
    gap: 0.36rem;
    margin-right: 0.36rem;
  }

  .tile--grid .tile__content {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 1.4rem;
  }

  .tile--grid .section-heading {
    margin-bottom: 0;
  }

  .tile--grid .section-heading h2 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .tile--example .tile__content--split {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .topbar {
    top: -0.55rem;
    padding: 0.9rem 1.25rem 0;
  }

  .tile {
    padding: 6.25rem 1.25rem 1.25rem;
  }

  .tile__content {
    min-height: calc(100vh - 7.5rem);
    padding: 2.5rem;
  }

  .tile__content--hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    align-items: center;
    gap: 3rem;
  }

  .tile--hero h1 {
    max-width: 8ch;
    font-size: clamp(4.15rem, 6.8vw, 5.85rem);
  }

  .tile--hero .lede {
    max-width: 34rem;
  }

  .signup-card {
    width: 100%;
    margin-left: auto;
  }

  .brevo-signup-embed {
    border-radius: 10px;
  }

  .brevo-signup-embed iframe {
    min-height: 316px;
    transform: translateY(-58px);
    margin-bottom: -116px;
  }
}

@media (max-width: 639px) {
  .hero-acronym {
    gap: 0.18rem;
  }

  .hero-acronym .hero-line {
    gap: 0.34rem;
  }

  .hero-acronym .hero-line:nth-child(2) {
    padding-left: 0;
  }

  .signup-card {
    gap: 0.7rem;
    padding: 0.72rem;
  }

  .brevo-signup-embed {
    border-radius: 12px;
  }

  .brevo-signup-embed iframe {
    min-height: 318px;
    transform: translateY(-50px);
    margin-bottom: -100px;
  }

  .signup-form {
    padding: 0.9rem;
  }

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

  .example-meta__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .example-meta__item:first-child {
    border-top: 0;
  }
}

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

  .topbar__link,
  .final-cta,
  .signup-card button {
    transition: none;
  }
}
