:root {
  --ink: #071f4a;
  --blue: #0a4b89;
  --bright: #1972bf;
  --ice: #c9e1ee;
  --paper: #f5f0e7;
  --white: #fffdf8;
  --line: rgba(7, 31, 74, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(25, 114, 191, 0.08), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
}

.wordmark span {
  color: var(--bright);
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navLinks a:not(.navPill) {
  position: relative;
}

.navLinks a:not(.navPill)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--bright);
  transition: right 180ms ease;
}

.navLinks a:not(.navPill):hover::after {
  right: 0;
}

.navPill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 18px;
  transition: 180ms ease;
}

.navPill:hover {
  color: var(--white);
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 56px;
  min-height: 730px;
  padding-block: 70px 86px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.manifesto blockquote,
.community h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.91;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(66px, 7.4vw, 112px);
}

.hero h1 span {
  display: block;
  color: var(--bright);
}

.lede {
  max-width: 550px;
  margin: 30px 0;
  color: #304466;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.55;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 198px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.buttonPrimary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--bright);
}

.buttonPrimary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--bright);
}

.statusPill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statusDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 0 5px rgba(25, 114, 191, 0.14);
  animation: pulse 1.8s ease-in-out infinite;
}

.microcopy {
  margin: 18px 0 0;
  color: #6d7d94;
  font-size: 11px;
  font-style: italic;
}

.contractPanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-width: 620px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--bright);
  background: rgba(255, 253, 248, 0.68);
}

.contractPanel > div {
  min-width: 0;
}

.contractLabel {
  display: block;
  margin-bottom: 7px;
  color: var(--bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contractPanel code {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copyButton {
  min-width: 82px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  color: var(--white);
  background: var(--bright);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.copyButton:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.cardStage {
  position: relative;
  width: min(100%, 580px);
  margin-left: auto;
  padding: 28px;
  perspective: 1000px;
}

.cardGlow {
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: rgba(25, 114, 191, 0.28);
  filter: blur(60px);
}

.heroCard {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border: 9px solid var(--white);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(7, 31, 74, 0.27), 14px 14px 0 var(--ink);
  transform: rotate(2.6deg);
  transition: transform 260ms ease;
}

.cardStage:hover .heroCard {
  transform: rotate(0.4deg) translateY(-5px);
}

.floatTag {
  position: absolute;
  z-index: 2;
  min-width: 130px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.floatTag strong {
  display: block;
  margin-top: 3px;
  color: var(--bright);
  font-size: 13px;
}

.floatTagTop {
  top: 4%;
  right: -6%;
  transform: rotate(4deg);
}

.floatTagBottom {
  bottom: 4%;
  left: -5%;
  transform: rotate(-5deg);
}

.cardStamp {
  position: absolute;
  z-index: 2;
  right: -1%;
  bottom: 19%;
  display: grid;
  place-content: center;
  width: 94px;
  height: 94px;
  border: 2px dashed var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(-10deg);
}

.cardStamp span {
  display: block;
  font-size: 16px;
}

.ticker {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  transform: rotate(-1.2deg) scale(1.02);
}

.tickerTrack {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 100%;
  height: 58px;
  gap: 28px;
  padding-inline: 28px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  white-space: nowrap;
  animation: crawl 22s linear infinite;
}

.ticker i {
  color: var(--ice);
  font-style: normal;
}

.section {
  padding-block: 150px;
}

.sectionIntro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 56px;
}

.sectionIntro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -38px;
}

.section h2,
.community h2 {
  font-size: clamp(48px, 6vw, 86px);
}

.sectionIntro > p:last-child {
  margin: 0 0 5px;
  color: #5a6d88;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
}

.perkGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.perkCard {
  position: relative;
  min-height: 315px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  transition: transform 180ms ease, background 180ms ease;
}

.perkCard:hover {
  background: var(--white);
  transform: translateY(-7px);
}

.perkNumber {
  display: block;
  color: var(--bright);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 80px;
  line-height: 1;
}

.perkCard h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.perkCard p {
  max-width: 260px;
  margin: 0;
  color: #5a6d88;
  line-height: 1.55;
}

.pawMark {
  position: absolute;
  right: -18px;
  bottom: -35px;
  color: var(--ice);
  font-size: 120px;
  opacity: 0.5;
}

.manifesto {
  color: var(--white);
  background:
    linear-gradient(rgba(7, 31, 74, 0.97), rgba(7, 31, 74, 0.97)),
    url("/amexcat.jpg") center 47% / cover;
}

.manifestoInner {
  padding-block: 138px;
  text-align: center;
}

.eyebrowLight {
  color: var(--ice);
}

.manifesto blockquote {
  margin: 0;
  font-size: clamp(50px, 7.2vw, 105px);
}

.manifesto blockquote span {
  color: var(--ice);
}

.manifestoCopy {
  max-width: 620px;
  margin: 38px auto 0;
  color: #c4d2e3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.6;
}

.how {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.howHeader {
  position: sticky;
  top: 40px;
  align-self: start;
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 26px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.step > span {
  color: var(--bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step h3 {
  margin: -6px 0 10px;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.step p {
  max-width: 500px;
  margin: 0;
  color: #5a6d88;
  line-height: 1.65;
}

.community {
  padding-bottom: 80px;
}

.communityCard {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 60px;
  padding: 72px;
  color: var(--white);
  background: var(--bright);
  box-shadow: 14px 14px 0 var(--ink);
}

.communityCard p:not(.eyebrow) {
  max-width: 590px;
  margin: 25px 0 0;
  color: #dbeaf5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
}

.comingSoon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.comingSoon span,
.comingSoon strong,
.comingSoon a {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.comingSoon strong,
.comingSoon a {
  color: var(--ink);
  background: var(--ice);
}

.comingSoon a {
  font-weight: 900;
  transition: color 160ms ease, background 160ms ease;
}

.comingSoon a:hover {
  color: var(--white);
  background: var(--ink);
}

.comingSoon :nth-last-child(-n + 2) {
  border-bottom: 0;
}

.footer {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 40px;
  min-height: 132px;
  border-top: 1px solid var(--line);
  color: #63738a;
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1.55;
  text-transform: uppercase;
}

.footer p {
  max-width: 670px;
  margin: 0;
}

.footerMark {
  color: var(--ink);
}

.footerLinks {
  display: flex;
  gap: 16px;
  color: var(--bright);
  font-weight: 900;
  white-space: nowrap;
}

a:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 5px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.7; }
}

@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 80px;
  }

  .cardStage {
    width: min(88vw, 610px);
    margin-inline: auto;
  }

  .sectionIntro,
  .how,
  .communityCard {
    grid-template-columns: 1fr;
  }

  .sectionIntro .eyebrow {
    margin-bottom: -35px;
  }

  .how {
    gap: 50px;
  }

  .howHeader {
    position: static;
  }

  .communityCard {
    gap: 42px;
  }

  .footer {
    grid-template-columns: 140px 1fr;
  }

  .footerLinks {
    display: none;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 76px;
  }

  .navLinks a:not(.navPill) {
    display: none;
  }

  .navPill {
    padding: 10px 14px;
    font-size: 10px;
  }

  .hero {
    min-height: 0;
    padding-block: 60px 76px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 84px);
  }

  .lede {
    font-size: 18px;
  }

  .heroActions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .statusPill {
    width: 100%;
  }

  .contractPanel {
    grid-template-columns: 1fr;
  }

  .contractPanel code {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .copyButton {
    width: 100%;
  }

  .cardStage {
    width: 100%;
    padding: 12px;
  }

  .heroCard {
    border-width: 6px;
    border-radius: 18px;
    box-shadow: 9px 9px 0 var(--ink), 0 20px 55px rgba(7, 31, 74, 0.22);
  }

  .floatTagTop {
    right: -1%;
    top: -5%;
  }

  .floatTagBottom {
    left: -1%;
    bottom: -5%;
  }

  .cardStamp {
    right: -2%;
    width: 76px;
    height: 76px;
  }

  .tickerTrack {
    height: 52px;
  }

  .section {
    padding-block: 105px;
  }

  .sectionIntro {
    display: block;
  }

  .sectionIntro .eyebrow {
    margin-bottom: 18px;
  }

  .sectionIntro > p:last-child {
    margin-top: 24px;
  }

  .perkGrid {
    grid-template-columns: 1fr;
  }

  .perkCard {
    min-height: 270px;
  }

  .manifestoInner {
    padding-block: 105px;
  }

  .manifesto blockquote {
    font-size: clamp(43px, 13vw, 70px);
  }

  .communityCard {
    padding: 48px 24px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .comingSoon {
    grid-template-columns: 1fr;
  }

  .comingSoon span,
  .comingSoon strong,
  .comingSoon a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .comingSoon :nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .footer {
    display: flex;
    min-height: 0;
    padding-block: 48px;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
