@font-face {
  font-family: "Archivo Black";
  src: url("archivo-black.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #07111f;
  --snow: #e7eef3;
  --ink: #102033;
  --muted-snow: #3a4c5e;
  --muted-night: #d5dee6;
  --line-snow: rgba(16, 32, 51, 0.18);
  --line-night: rgba(231, 238, 243, 0.22);
  --signal: #ff3b14;
  --signal-hover: #ff5a38;
  --signal-active: #d82408;
  --error: #8f1a08;
  --display: "Archivo Black", "Arial Black", "Helvetica Neue", sans-serif;
  --plain: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font-family: var(--plain);
  font-size: 1rem;
  line-height: 1.45;
  overflow-x: hidden;
}

body.page-snow {
  background: var(--snow);
  color: var(--ink);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

::selection {
  background: var(--signal);
  color: #1a0906;
}

:focus-visible {
  outline: 2px solid #f4f7f8;
  outline-offset: 3px;
}

.band-snow :focus-visible,
.page-snow :focus-visible {
  outline-color: var(--night);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--signal);
  color: #1a0906;
  padding: 0.5rem 0.8rem;
  z-index: 20;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  transform: none;
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--night);
  color: var(--snow);
  border-bottom: 1px solid var(--line-night);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  width: min(1200px, calc(100% - 1.5rem));
  margin: 0 auto;
}

.wordmark {
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.nav-toggle {
  background: transparent;
  color: var(--snow);
  border: 1px solid var(--line-night);
  border-radius: 0;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  font: inherit;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--snow);
}

.nav-toggle:active {
  background: #102033;
}

.nav-links {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--night);
  flex-direction: column;
  padding: 0.4rem 0.75rem 1rem;
  border-top: 1px solid var(--line-night);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  color: var(--snow);
  text-decoration: none;
  padding: 0.9rem 0.25rem;
  font-size: 1.05rem;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.nav-links a:active {
  color: var(--signal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  background: var(--signal);
  color: #1a0906;
  font-family: var(--plain);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.btn:hover {
  background: var(--signal-hover);
}

.btn:active {
  background: var(--signal-hover);
  transform: translateY(1px);
}

.btn:disabled,
.btn.is-loading {
  background: #8d94a0;
  color: #1a0906;
  cursor: not-allowed;
}

.btn.is-loading {
  cursor: wait;
}

.hero {
  position: relative;
  min-height: calc(100svh - 4rem);
  display: flex;
  align-items: flex-end;
  background: var(--night);
  overflow: hidden;
  color: var(--snow);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 42% 68%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 26vh 0.75rem 2rem;
  background: linear-gradient(
    to top,
    #07111f 0%,
    rgba(7, 17, 31, 0.96) 34%,
    rgba(7, 17, 31, 0.55) 62%,
    rgba(7, 17, 31, 0) 100%
  );
}

.hero-line {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  color: var(--snow);
  transform-origin: left bottom;
  animation: settle 0.8s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.hero-xl,
.hero-rest {
  display: block;
}

.hero-xl {
  font-size: clamp(3.15rem, 14vw, 10.5rem);
  line-height: 0.78;
  letter-spacing: -0.045em;
}

.hero-rest {
  max-width: 12ch;
  margin-top: 0.35em;
  font-size: clamp(1.65rem, 4vw, 3.15rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero-support {
  max-width: 28ch;
  margin: 1.1rem 0 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.hero .btn {
  margin-top: 1.4rem;
}

@keyframes settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.band {
  padding: 3.5rem 0;
}

.band-snow {
  background: var(--snow);
  color: var(--ink);
}

.band-night {
  background: var(--night);
  color: var(--snow);
}

.wrap {
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
}

h2 {
  margin: 0 0 0.9rem;
  font-family: var(--plain);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.band-night h2,
.fee-figure,
.thanks h1,
.prose h1 {
  font-family: var(--display);
  font-weight: 400;
}

.lede {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.45;
  max-width: 42ch;
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.band-snow .kicker {
  color: var(--muted-snow);
}

.band-night .kicker {
  color: var(--muted-night);
}

.sample-top,
.where-grid,
.swap-grid,
.fee-grid,
.pair-grid,
.form-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.frame img {
  width: 100%;
  object-fit: cover;
}

.frame-wide img {
  aspect-ratio: 4 / 3;
}

.frame-swap img {
  aspect-ratio: 3 / 4;
  object-position: center 42%;
}

figcaption {
  margin-top: 0.55rem;
  font-size: 0.95rem;
}

.band-snow figcaption {
  color: var(--muted-snow);
}

.band-night figcaption {
  color: var(--muted-night);
}

.pair-list {
  margin-top: 2.5rem;
}

.pair + .pair {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-snow);
}

.pair-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.pair-index {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.pair h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.pair-grid p:last-child {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  max-width: 28ch;
}

.pair-grid > div + div {
  border-top: 1px solid var(--line-snow);
  padding-top: 1rem;
}

.swap-copy-col {
  order: -1;
}

.swap-panel {
  min-height: 8.5rem;
  margin: 1.25rem 0;
}

.swap-empty {
  margin: 0;
  color: var(--muted-night);
  font-size: 1.35rem;
}

#swap-copy {
  margin: 0.25rem 0 0;
  max-width: 22ch;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.day-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.day-pick {
  background: transparent;
  color: inherit;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.35rem 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  cursor: pointer;
}

.day-pick:hover {
  border-bottom-color: var(--muted-night);
}

.day-pick:active,
.day-pick[aria-pressed="true"] {
  border-bottom-color: var(--signal);
}

.fee-figure {
  margin: 0;
  font-size: clamp(2.7rem, 12vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  max-width: 9ch;
}

.fee-aside p {
  margin: 0 0 0.9rem;
  max-width: 36ch;
  font-size: 1.125rem;
}

.fee-aside .btn {
  margin-top: 0.4rem;
}

.form-wrap {
  max-width: 46rem;
}

.form-alert {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #fff1ec;
  color: var(--error);
  border-left: 4px solid var(--signal);
}

.form-alert p {
  margin: 0;
}

.form-grid {
  margin-top: 1.5rem;
}

.field label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.req {
  font-weight: 500;
  color: var(--muted-snow);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.7rem 0;
  min-height: 2.75rem;
  background: transparent;
  color: inherit;
  border: 0;
  border-bottom: 1px solid rgba(16, 32, 51, 0.4);
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-bottom-color: var(--ink);
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-bottom-color: var(--signal);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--error);
  font-size: 0.92rem;
}

.btn-row {
  margin-top: 1.4rem;
}

.btn-row .btn {
  width: 100%;
}

.form-privacy {
  margin: 1rem 0 0;
}

.form-privacy a {
  color: inherit;
  font-weight: 700;
}

.prose-page {
  padding: 2.5rem 0 4.5rem;
}

.prose {
  max-width: 68ch;
}

.prose h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.prose h2 {
  margin-top: 2rem;
  font-family: var(--plain);
  font-size: 1.2rem;
}

.prose p,
.prose li {
  font-size: 1.05rem;
  line-height: 1.5;
}

.prose a {
  color: inherit;
}

.thanks {
  padding: 3.5rem 0 4.5rem;
  background: var(--night);
  color: var(--snow);
}

.thanks h1 {
  margin: 0 0 1.2rem;
  max-width: 11ch;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.thanks p {
  max-width: 38ch;
  font-size: 1.15rem;
}

.thanks-mark {
  width: 3rem;
  height: 4px;
  margin-bottom: 1.25rem;
  background: var(--signal);
}

.thanks-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

.thanks-links a {
  color: var(--snow);
  font-weight: 700;
}

.thanks-links a:hover {
  text-decoration-thickness: 2px;
}

.site-footer {
  background: var(--night);
  color: var(--snow);
  padding: 2.75rem 0 3.25rem;
  border-top: 1px solid var(--line-night);
}

.footer-name {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.contact-block p,
.footer-limit {
  margin: 0.25rem 0;
}

.site-footer a {
  color: var(--snow);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-limit {
  max-width: 46ch;
  color: var(--muted-night);
}

@media (min-width: 375px) {
  .hero-copy {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links,
  .nav-links.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-links a {
    padding: 0;
  }

  .wrap {
    width: min(1120px, calc(100% - 4rem));
  }

  .band {
    padding: 5rem 0;
  }

  .hero-copy {
    padding: 34vh 4vw 3.5rem;
  }

  .sample-top,
  .where-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 2rem;
  }

  .pair-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .pair-grid > div + div {
    border-top: 0;
    border-left: 1px solid var(--line-snow);
    padding-top: 0;
    padding-left: 1.5rem;
  }

  .swap-grid {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 2.5rem;
    align-items: start;
  }

  .swap-copy-col {
    order: 0;
  }

  .fee-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: end;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .btn-row .btn {
    width: auto;
    min-width: 16rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.5rem 2rem;
  }

  .footer-limit {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .band {
    padding: 6rem 0;
  }

  .hero-copy {
    padding-top: 32vh;
    padding-bottom: 4rem;
  }

  .sample-top,
  .where-grid,
  .swap-grid {
    gap: 3rem;
  }
}

@media (min-width: 1440px) {
  .wrap,
  .header-bar {
    width: min(1200px, calc(100% - 8rem));
  }

  .hero-copy {
    padding-left: max(4rem, calc((100% - 1200px) / 2));
    padding-right: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line {
    animation: none;
  }

  .btn:active {
    transform: none;
  }
}
