@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #171614;
  --section: #1d1b19;
  --field: #211f1d;
  --line: #403b36;
  --text: #f8f4ed;
  --muted: #c3bdb5;
  --quieter: #a9a19a;
  --orange: #ff6a2a;
  --orange-hover: #ff844f;
  --headline: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--base); color: var(--text); font-family: var(--body); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--headline); font-weight: 800; text-transform: uppercase; }
button, input { font: inherit; }
::selection { color: #17100b; background: var(--orange); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

.shell { width: min(100% - 36px, 1200px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .shell { min-height: 56px; display: flex; align-items: center; }
.wordmark {
  display: inline-block;
  font-family: var(--headline);
  font-size: 1.68rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-areas: "title" "photo" "details";
  padding-block: 22px 40px;
}
.hero-title { grid-area: title; }
.development {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  color: var(--orange);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.development::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  background: currentColor;
  flex: 0 0 7px;
}
h1 {
  font-size: clamp(2.85rem, 12vw, 4.5rem);
  line-height: .88;
  letter-spacing: -.012em;
}
.hero-photo { grid-area: photo; margin-block: 18px 16px; min-width: 0; }
.photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #211a15;
  border: 1px solid #4b3327;
}
.photo-pending {
  display: grid;
  place-items: center;
  border: 1px dashed #6c4d3d;
  color: var(--muted);
  font-size: .75rem;
  text-align: center;
}
.hero-details { grid-area: details; min-width: 0; }
.hero-summary {
  max-width: 34ch;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.52;
  margin-bottom: 18px;
}
.signup { container-type: inline-size; min-width: 0; }
.signup label {
  display: block;
  margin-bottom: 7px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}
.signup-fields { display: grid; gap: 8px; }
.signup input, .signup button {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  border: 1px solid transparent;
  border-radius: 2px;
}
.signup input {
  padding: 10px 13px;
  color: var(--text);
  background: var(--field);
  border-color: #70675e;
  font-size: 1rem;
}
.signup input::placeholder { color: var(--quieter); opacity: 1; }
.signup input[aria-invalid="true"] { border-color: #ffa88b; }
.signup button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  color: #201108;
  background: var(--orange);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
@media (hover: hover) {
  .signup button:hover:enabled { background: var(--orange-hover); }
}
.signup button:disabled { cursor: wait; opacity: .68; }
.button-arrow { font-size: 1.125rem; line-height: 1; }
.form-note, .form-message {
  margin-top: 8px;
  color: var(--quieter);
  font-size: .75rem;
  line-height: 1.5;
}
.form-message:empty { margin: 0; }
.form-message[data-state="error"] { color: #ffb398; }
.form-message[data-state="success"] {
  padding: 14px 16px;
  border-left: 2px solid var(--orange);
  background: #29211b;
  color: var(--text);
  font-size: .9375rem;
}

.contents {
  padding-block: 34px 44px;
  background: var(--section);
  border-block: 1px solid var(--line);
}
.section-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 21px; }
.section-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
h2 {
  font-size: clamp(2.35rem, 8.9vw, 4.25rem);
  line-height: .94;
  letter-spacing: -.01em;
}
.tool-grid { display: grid; gap: 29px; }
.tool { min-width: 0; }
.tool-copy {
  padding-block: 13px 16px;
  border-bottom: 1px solid var(--line);
}
h3 { margin-bottom: 4px; font-size: clamp(1.8rem, 6vw, 2.5rem); line-height: 1; }
.tool-copy p { color: var(--muted); font-size: .9375rem; line-height: 1.58; max-width: 36ch; }

.launch { border-top: 2px solid var(--orange); }
.launch-inner { display: grid; gap: 23px; padding-block: 37px 43px; }
.launch-break { display: none; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .shell { min-height: 64px; display: flex; align-items: center; }
.site-footer .wordmark { font-size: 1.12rem; color: var(--quieter); }

@container (min-width: 366px) {
  .signup-fields { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (min-width: 700px) {
  .shell { width: min(100% - 72px, 1200px); }
  .site-header .shell { min-height: 67px; }
  .hero {
    grid-template-areas: "title photo" "details photo";
    grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
    grid-template-rows: 1fr 1fr;
    column-gap: clamp(20px, 4vw, 65px);
    padding-block: 44px 56px;
  }
  .hero-title { align-self: end; }
  .hero-photo { align-self: center; margin: 0; }
  .hero-details { margin-top: 17px; }
  h1 { font-size: clamp(3rem, 7.25vw, 7rem); }
  .development { margin-bottom: 11px; }
  .hero-summary { margin-bottom: 20px; }
  .contents { padding-block: 47px 55px; }
  .section-heading { margin-bottom: 24px; gap: 24px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(15px, 2vw, 28px); }
  .tool { display: grid; grid-template-rows: auto 1fr; }
  .tool-copy { padding-block: 16px 21px; }
  h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
  .launch-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(28px, 6vw, 95px);
    padding-block: 53px 58px;
  }
  .launch-break { display: initial; }
  .launch h2 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); }
}

@media (min-width: 1040px) {
  .hero { padding-block: 50px 64px; }
  .hero-details { margin-top: 21px; }
  .hero-summary { font-size: 1.0625rem; margin-bottom: 23px; }
  .hero .signup { max-width: 480px; }
  .signup input, .signup button { min-height: 51px; padding-inline: 15px; }
  .launch .signup { max-width: 480px; }
}
