:root {
  --panel: #1a1410;
  --copper: #e08e45;
  --hero-bg: #0b1622;
  --hero-yellow: #f2e852;
  --hero-yellow-hover: #f8ef7a;
  --hero-teal: #70c1b3;
  --hero-coral: #d66868;
  --hero-muted: #8fa3b8;
  --hero-badge-bg: #1a3a2e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f5efe8;
  background: #120e0a;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(224, 142, 69, 0.2), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(244, 162, 97, 0.1), transparent);
}

a {
  color: #f4a261;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body > nav,
body > main,
body > footer {
  max-width: 45rem;
  margin-inline: auto;
  padding-inline: clamp(1.4rem, 4vw, 2.4rem);
}

body > nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.9rem;
  padding-top: clamp(1.4rem, 4vw, 2.4rem);
  font-size: 0.95rem;
}

body > nav a {
  color: #b8a090;
}

body > nav a[aria-current="page"] {
  color: #f4a261;
  font-weight: 600;
}

body > nav .sep {
  color: rgba(224, 142, 69, 0.18);
  user-select: none;
}

body.home {
  background: var(--hero-bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(143, 163, 184, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
}

body.home > nav a {
  color: var(--hero-muted);
}

body.home > nav a[aria-current="page"] {
  color: var(--hero-yellow);
}

body.home > nav .sep {
  color: rgba(143, 163, 184, 0.25);
}

body.home a:not(.btn) {
  color: var(--hero-yellow);
}

body.home > main {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(143, 163, 184, 0.2);
  box-shadow: none;
}

body.home > main p {
  color: var(--hero-muted);
}

body.home > footer a {
  color: var(--hero-muted);
}

body.home > footer a:hover {
  color: var(--hero-yellow);
}

/* hero */

.hero {
  position: relative;
  width: 100%;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  padding: clamp(1rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.4rem) clamp(2rem, 6vw, 4rem);
  background-color: transparent;
  overflow: hidden;
}

.hero__corner {
  position: absolute;
  width: clamp(2.5rem, 6vw, 4rem);
  height: clamp(2.5rem, 6vw, 4rem);
  border-color: rgba(242, 232, 82, 0.35);
  border-style: solid;
  pointer-events: none;
}

.hero__corner--tl {
  top: clamp(1rem, 3vw, 1.75rem);
  left: clamp(1rem, 3vw, 1.75rem);
  border-width: 2px 0 0 2px;
}

.hero__corner--br {
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  border-width: 0 2px 2px 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  max-width: 72rem;
  margin-inline: auto;
}

.hero__tags {
  position: relative;
  min-height: clamp(16rem, 42vw, 22rem);
  margin-inline: auto;
  width: min(100%, 26rem);
}

.hero__divider {
  display: none;
}

.hero__content {
  max-width: 34rem;
  margin-inline: auto;
  text-align: left;
}

.hero__badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--hero-badge-bg);
  color: var(--hero-yellow);
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: #fff;
}

.hero__title span {
  display: block;
}

.hero__accent {
  color: var(--hero-yellow);
}

.hero__sub {
  margin: 0 0 1.75rem;
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 6px;
  border: 2px solid transparent;
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--hero-yellow);
  color: #0b1622;
}

.btn--primary:hover {
  background: var(--hero-yellow-hover);
  color: #0b1622;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--hero-yellow);
  color: var(--hero-yellow);
}

/* price tags */

.price-tag {
  position: absolute;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.price-tag__hole {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-right: -0.35rem;
  border-radius: 50%;
  background: var(--hero-bg);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.price-tag__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 6.5rem;
  padding: 0.65rem 0.85rem 0.55rem;
  border-radius: 8px;
  text-align: center;
}

.price-tag__price {
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  color: #111;
}

.price-tag__serial {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.72);
}

.price-tag__icon {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
  position: relative;
}

.price-tag__icon--bike::before,
.price-tag__icon--helmet::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border: 2px solid rgba(0, 0, 0, 0.35);
  border-radius: 3px;
}

.price-tag__qr {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 4px;
}

.price-tag--teal {
  top: 0;
  left: 8%;
  transform: rotate(-18deg);
  z-index: 1;
}

.price-tag--teal .price-tag__body {
  background: var(--hero-teal);
}

.price-tag--yellow {
  top: 28%;
  left: 18%;
  transform: rotate(2deg);
  z-index: 3;
}

.price-tag--yellow .price-tag__body {
  background: var(--hero-yellow);
  min-width: 9rem;
  padding: 0.75rem 1rem 0.65rem;
}

.price-tag--yellow .price-tag__price {
  font-size: 1.35rem;
}

.price-tag--yellow .price-tag__serial {
  font-size: 0.68rem;
}

.price-tag--coral {
  bottom: 2%;
  right: 4%;
  transform: rotate(14deg);
  z-index: 2;
  opacity: 0.92;
}

.price-tag--coral .price-tag__body {
  background: var(--hero-coral);
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) 1px minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .hero__tags {
    width: 100%;
    min-height: clamp(18rem, 28vw, 24rem);
    margin-inline: 0;
  }

  .hero__divider {
    display: block;
    align-self: stretch;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(143, 163, 184, 0.35) 15%,
      rgba(143, 163, 184, 0.35) 85%,
      transparent
    );
  }

  .hero__content {
    margin-inline: 0;
    padding-left: clamp(0.5rem, 2vw, 1.5rem);
  }
}

/* swap flow modal */

.swap-flow-modal {
  width: min(96vw, 72rem);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(224, 142, 69, 0.25);
  border-radius: 14px;
  background: var(--panel);
  color: #f5efe8;
  overflow: hidden;
}

.swap-flow-modal::backdrop {
  background: rgba(11, 22, 34, 0.78);
  backdrop-filter: blur(4px);
}

.swap-flow-modal__header {
  display: flex;
  justify-content: flex-end;
  padding: 0.65rem 0.85rem 0;
}

.swap-flow-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(224, 142, 69, 0.25);
  border-radius: 8px;
  background: transparent;
  color: #f5efe8;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.swap-flow-modal__close:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.swap-flow {
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(1.6rem, 4vw, 2.4rem);
  background: var(--panel);
  overflow-y: auto;
  max-height: calc(92vh - 3rem);
}

.swap-flow > header {
  max-width: none;
  text-align: center;
  padding: 0 clamp(1.2rem, 4vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.swap-flow > header h2 {
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.swap-flow > header p {
  color: #b8a090;
  font-size: 1rem;
  max-width: 48ch;
  margin: 0 auto;
}

.swap-flow > ol {
  list-style: none;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(0.7rem, 2vw, 1.4rem);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(224, 142, 69, 0.18), inset 0 -1px 0 rgba(224, 142, 69, 0.18);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.swap-flow > ol > li {
  position: relative;
  text-align: center;
}

.swap-flow > ol > li:not(:last-child)::after {
  content: "";
  display: block;
  margin: 0.7rem auto;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--copper);
}

.swap-flow figure {
  margin: 0;
}

.swap-flow img {
  display: block;
  width: min(100%, 17.5rem);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.swap-flow figcaption {
  margin-top: 0.6rem;
}

.swap-flow figcaption h3 {
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.28rem;
  color: #1a1008;
}

.swap-flow figcaption p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5c4a3a;
}

.swap-flow > aside {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  max-width: 45rem;
  margin: 1.4rem auto 0;
  padding: 1.2rem clamp(1.2rem, 4vw, 2.4rem) 0;
  border-top: 1px solid rgba(224, 142, 69, 0.18);
}

.swap-flow > aside img {
  flex-shrink: 0;
  width: 4.4rem;
  height: 4.4rem;
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
  padding: 0.32rem;
  box-shadow: inset 0 0 0 1px rgba(224, 142, 69, 0.18);
}

.swap-flow > aside p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b8a090;
}

.swap-flow > aside strong {
  color: #f5efe8;
  font-weight: 600;
}

@media (min-width: 900px) {
  .swap-flow > ol {
    flex-direction: row;
    align-items: flex-start;
  }

  .swap-flow > ol > li:not(:last-child) {
    padding-right: 0.55rem;
  }

  .swap-flow > ol > li:not(:last-child)::after {
    position: absolute;
    top: 38%;
    right: -0.05rem;
    margin: 0;
    border-left: 10px solid var(--copper);
    border-right: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
  }

  .swap-flow > ol img {
    width: 100%;
    min-height: clamp(11rem, 16vw, 17.5rem);
  }

  .swap-flow > aside img {
    width: clamp(4.4rem, 6vw, 6.25rem);
    height: clamp(4.4rem, 6vw, 6.25rem);
    padding: 0.4rem;
  }

  .swap-flow figcaption h3 {
    font-size: 1.05rem;
  }

  .swap-flow figcaption p {
    font-size: 0.88rem;
  }
}

body > main {
  background: var(--panel);
  border: 1px solid rgba(224, 142, 69, 0.18);
  border-radius: 13px;
  padding: clamp(1.4rem, 4vw, 1.9rem);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.45);
}

body > main p {
  margin: 0;
  color: #b8a090;
}

body > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  justify-content: center;
  padding: 2.3rem 0 2.8rem;
  font-size: 0.9rem;
}

body > footer a {
  color: #b8a090;
}

body > footer a:hover {
  color: #f4a261;
}

/* legal pages */

body.legal > header {
  text-align: center;
  padding-bottom: 1.9rem;
}

body.legal > header h1 {
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.9rem;
}

body.legal > header .intro {
  font-size: 1.15rem;
  color: #b8a090;
  margin: 0;
}

body.legal > main {
  background: var(--panel);
  border: 1px solid rgba(224, 142, 69, 0.18);
  border-radius: 13px;
  padding: clamp(1.4rem, 4vw, 1.9rem);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.45);
}

body.legal > main h2 {
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.9rem 0 0.9rem;
  color: #f5efe8;
}

body.legal > main h2:first-of-type {
  margin-top: 0;
}

body.legal > main h3 {
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 1.2rem 0 0.45rem;
  color: #f5efe8;
}

body.legal > main p,
body.legal > main li {
  color: #b8a090;
  margin: 0 0 0.8rem;
}

body.legal > main ul {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
}

body.legal > main li strong {
  color: #f5efe8;
}

body.legal > main .effective-date {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

body.legal > main .disclaimer {
  font-size: 0.85rem;
  border-left: 3px solid var(--copper);
  padding-left: 0.9rem;
  margin-top: 1.9rem;
}

body.legal > footer {
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

body.legal > footer .byline {
  margin: 0;
  font-size: 0.9rem;
  color: #b8a090;
  opacity: 0.85;
}
