@font-face {
  font-family: "IBM Plex Sans";
  src: url("./IBMPlexSans-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./IBMPlexSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Oswald;
  src: url("./Oswald-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("./SpaceMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f5f2e9;
  --ink: #201d16;
  --muted: #3a362a;
  --line: #d9d3c0;
  --dark: #131313;
  --panel: #1c1c1c;
  --cash: #3ecf6e;
  --deep-green: #126635;
  --gold: #e0c580;
  --trash: #ff5a36;
  --display: Oswald, "Arial Narrow", sans-serif;
  --mono: "Space Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 "IBM Plex Sans", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #b8790a; outline-offset: 5px; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-150%); background: var(--paper); padding: .65rem; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.dark { background: var(--dark); color: #f4f1ea; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { min-height: 5.4rem; padding-block: .45rem; border-bottom: 1px solid #383838; }
.brand { flex-shrink: 0; width: clamp(8.75rem, 42vw, 15rem); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); font-weight: 600; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-signup { border: 1px solid #686459; border-radius: .35rem; padding: .54rem .75rem; white-space: nowrap; }
.hero { display: grid; align-items: center; padding-block: 2.8rem 1rem; }
.hero-copy { position: relative; z-index: 1; }
.label { font: 700 .875rem/1.45 var(--mono); color: var(--deep-green); margin: 0 0 .9rem; }
.accent { color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.015; letter-spacing: -.025em; }
.hero-copy em { font-style: normal; font-synthesis: none; display: inline-block; transform: skewX(-6deg); }
h1 em { color: var(--gold); margin-inline-end: .04em; }
h2 { font-size: clamp(2.25rem, 5.7vw, 4rem); line-height: 1.1; letter-spacing: -.018em; }
h3 { font-size: clamp(1.45rem, 3vw, 1.85rem); line-height: 1.2; }
.lead { max-width: 29rem; font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: #ded8c9; margin: 1.25rem 0 1.7rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .7rem 1.25rem; background: var(--cash); color: #102317; font-weight: 600; text-decoration: none; border-radius: .35rem; }
.button:hover { background: #7de79d; }
.hero-note { color: #d5cbb1; font-size: .875rem; margin: .8rem 0 0; }
.hero-art { position: relative; overflow: clip; justify-self: center; width: min(100%, 17rem); transform: scaleX(-1); background: radial-gradient(ellipse 42% 43% at 52% 54%, #261f16 0%, #1a1713 51%, #131313 100%); }
/* Align the vertical bar behind the edge of the side-peeking pose. */
.hero-art::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 2%;
  left: 30%;
  width: 4%;
  border-radius: 100vw;
  background: linear-gradient(100deg, #ffdd77, #d4a24a 45%, #8a611f);
  box-shadow: 0 2px 6px #0008;
}
.hero-art img { position: relative; transform: translate(22%, -5%); filter: brightness(.85); }
.section-pad { padding-block: clamp(3rem, 7vw, 5.6rem); }
.section-intro { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.18rem); max-width: 39rem; margin: 1rem 0 0; }
.dark .section-intro { color: #ded8c9; }
.commitments { display: grid; gap: .85rem; margin-top: 1.7rem; }
.commitments article { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--deep-green); padding: clamp(1.1rem, 3vw, 2rem); border-radius: .45rem; }
.commitments article + article { border-top-color: #b18a3b; }
.commitments article p:last-child { margin: .5rem 0 0; color: var(--muted); }
.count { font: 400 3.6rem/1 var(--display); color: var(--deep-green); margin: 0 0 .75rem; }
.commitments article + article .count { color: #775614; }
.showcase { background: #ece7d8; border-block: 1px solid var(--line); }
.showcase-grid, .signup-grid { display: grid; gap: 1.8rem; }
.signup-grid { align-items: center; }
.phones { display: grid; gap: 1.5rem; width: 100%; max-width: 49rem; }
figure { margin: 0; }
.phone { overflow: hidden; border: 4px solid #1c1c1c; border-radius: 1.15rem; background: #131313; }
.phone img { width: 100%; margin-block: -13% -10.4%; }
.phones figure:first-child img { clip-path: inset(0 1.6% 7.5% 0); }
figcaption { font-weight: 600; margin-top: .55rem; }
figcaption span { display: block; font-weight: 400; }
.signup-card { background: var(--panel); border: 1px solid #686459; border-radius: .45rem; padding: 1.15rem; }
.signup-card p { margin: .4rem 0 1rem; color: #ded8c9; }
.signup-form .application-fields { display: grid; gap: .45rem; margin: 1rem 0; }
.signup-form label, .signup-form legend { font-weight: 600; }
.signup-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 2.75rem;
  margin-bottom: .35rem;
  padding: .55rem .7rem;
  border: 1px solid #8e8576;
  border-radius: .35rem;
  background: var(--dark);
  color: inherit;
  font: inherit;
}
.signup-form .field-note { margin: 0 0 .5rem; font-size: .875rem; }
.signup-form fieldset { min-width: 0; border: 0; padding: 0; margin: .3rem 0; }
.platform-options { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .35rem; }
.platform-options label, .commitment-check { display: flex; align-items: baseline; gap: .45rem; }
.signup-form input[type="checkbox"] { accent-color: var(--cash); flex: none; }
.signup-form .button { border: 0; font: inherit; font-weight: 600; }
.signup-form .button:disabled { background: #383838; color: #ded8c9; }
.signup-form .button + .field-note { margin-top: .7rem; }
.footer { border-top: 1px solid #383838; padding-block: 1.15rem; color: #ded8c9; font-size: .875rem; }
@media (width < 36rem) {
  .top { flex-direction: column; justify-content: center; gap: .45rem; padding-block: .65rem .85rem; }
  nav { justify-content: center; gap: 1rem; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
}
@media (min-width: 36rem) {
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 52rem) {
  .wrap { width: min(100% - 5rem, 70rem); }
  .hero { grid-template-columns: 1.08fr 1fr; min-height: 34rem; padding-block: 2.1rem; }
  .hero-art { width: min(100%, 27rem); }
  .signup-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .signup-card { padding: 1.65rem; }
}

.hero-copy .lead em { color: var(--gold); }

@media (min-width: 56rem) and (min-height: 37.5rem) {
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding-block: 1.5rem;
  }

  .showcase h2 { font-size: clamp(2.25rem, 3.7vw, 3.5rem); }

  .showcase .phones {
    width: min(50vw, 40rem, calc(100svh - 9.5rem));
    gap: 1rem;
  }

  .showcase figcaption { font-size: .9rem; line-height: 1.3; }
}

@media (min-width: 56rem) and (min-height: 37.5rem) {
  /* Include the wordmark, header padding, and border in the opening panel. */
  .hero { min-height: calc(100svh - (15rem * 441 / 902 + .9rem + 1px)); }
  .hero-art { width: min(100%, 27rem, calc(100svh - 13rem)); }

  .showcase > .showcase-grid { min-height: calc(100svh - 2px); }

  /* The footer is part of the last panel. */
  .showcase + #signup {
    display: grid;
    align-items: center;
    min-height: calc(100svh - (.875rem * 1.55 + 2.3rem + 1px));
  }
}
