@font-face {
  font-family: Obviously;
  src: url("assets/fonts/ObviouslyNarrow-Black.otf") format("opentype");
  font-weight: 480;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fff4dc;
  --cream-field: #fff7e7;
  --shelf: #fce4ac;
  --ink: #171717;
  --ink-2: #1b1b1b;
  --gold: #ebac22;
  --red: #ce262a;
  --white: #ffffff;
  --offwhite: #fbfbfb;
  --black: #000000;
  --page-pad: 1.375rem;
  --header-h: 4.5rem;
}

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

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

body {
  margin: 0;
  background: var(--cream) !important;
  color: var(--ink);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-weight: 400;
}

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

/* ----- Header: white bar, official wordmark ----- */

.site-header {
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.brand {
  display: flex;
  justify-content: center;
  line-height: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
}

/* ----- Hero: snapshot cream, butter shelf, official tin ----- */

.hero {
  position: relative;
  background-color: var(--cream);
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
}

.shelf {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: var(--shelf);
  pointer-events: none;
  z-index: 0;
}

.tin-mob {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 86%;
  max-width: 340px;
  height: 220px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

.page-width {
  width: min(100% - 2 * var(--page-pad), 72rem);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.42rem;
  width: 100%;
  padding: 0.75rem 0 12.25rem;
}

.kicker {
  margin: 0;
  color: var(--ink-2);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: -0.04em;
}

.hero-panel h1 {
  margin: 0;
  color: var(--ink);
  font-family: Obviously, "Arial Narrow", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 480;
  line-height: 95%;
  letter-spacing: -0.4px;
  text-transform: lowercase;
  max-width: 14ch;
}

.desc {
  margin: 0 0 0.2rem;
  color: var(--ink-2);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.8px;
  max-width: 36em;
}

/* ----- Form ----- */

.signup {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.5rem;
  width: 100%;
  max-width: 26rem;
  margin-top: 0.15rem;
  text-align: left;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.field-label,
.interests legend {
  color: var(--ink);
  font-family: Obviously, "Arial Narrow", sans-serif;
  font-size: 0.88rem;
  font-weight: 480;
  line-height: 110%;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.field-label em {
  font-family: "Fira Mono", ui-monospace, monospace;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: var(--ink-2);
  margin-left: 0.35em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  appearance: none;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding: 10px 12px;
  min-height: 2.4rem;
}

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

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 10 6'><path fill='%23171717' d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--ink-2);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.04em;
}

.check input {
  margin: 0.12rem 0 0;
  accent-color: var(--red);
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
}

.consent {
  display: none;
  margin: -0.1rem 0 0;
  padding-left: 1.4rem;
  color: var(--ink-2);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.03em;
}

.sms-check:has(input:checked) + .consent {
  display: block;
}

.interests {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
}

.interests legend {
  flex: 0 0 100%;
  padding: 0;
  margin: 0 0 0.15rem;
}

.common-btn {
  border: 0;
  cursor: pointer;
  border-radius: 5px;
  background: var(--gold);
  box-shadow: 4px 4px 0 0 var(--black);
  color: var(--ink);
  font-family: Obviously, "Arial Narrow", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 480;
  line-height: 95%;
  letter-spacing: -0.24px;
  text-transform: lowercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 16px;
  text-decoration: none;
  margin-top: 0.15rem;
}

.common-btn:hover,
.common-btn:focus-visible {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 0 var(--black);
}

.common-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 0 var(--black);
}

.arrow-image {
  width: 36px;
  height: auto;
  max-width: 36px;
}

.form-error {
  margin: 0;
  color: var(--red);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  line-height: 130%;
  letter-spacing: -0.04em;
}

.form-error a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 0.12em;
}


.promise {
  margin: 0.05rem 0 0;
  text-align: center;
  color: var(--ink-2);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.4px;
  background: var(--cream);
  box-shadow: 0 0 14px 10px var(--cream);
  padding: 0.35rem 0.5rem 0.2rem;
  width: 100%;
}

.success {
  width: 100%;
  max-width: 26rem;
  margin-top: 0.5rem;
  padding: 1.1rem 1rem 0.9rem;
  background: var(--white);
  border: 2px solid var(--ink);
  text-align: center;
}

.success:focus {
  outline: none;
}

.success-title {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-family: Obviously, "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 480;
  line-height: 95%;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.success-body {
  margin: 0;
  color: var(--ink-2);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.05em;
}

.success-body a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 0.12em;
}


.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.3rem 0.5rem;
  margin-top: 0;
  color: var(--ink);
  font-family: Obviously, "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  font-weight: 480;
  line-height: 95%;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  background: var(--cream);
  padding: 0.2rem 0.35rem 0.35rem;
  width: 100%;
}

.social a {
  text-decoration: none;
}

.social a:hover,
.social a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.social-sep {
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.social-email {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
}

.social-email-icon {
  width: 0.85em;
  height: 0.85em;
  flex: none;
  display: block;
}


.contact-line {
  margin: 0;
  width: 100%;
  padding: 0 0.35rem 0.3rem;
  background: var(--cream);
  color: var(--ink-2);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.04em;
}

.contact-line a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 0.12em;
}

.site-footer {
  background: var(--white);
  padding: 0.9rem 1.5rem;
}

.copyright {
  margin: 0;
  color: var(--ink);
  text-align: center;
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 95%;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

@media (max-width: 400px) {
  .hero-panel h1 {
    font-size: 35px;
  }

  .desc {
    font-size: 13px;
  }
}

/* ----- Desktop: official left copy / right tin ----- */

@media (min-width: 551px) {
  :root {
    --page-pad: 2.5rem;
    --header-h: 5.25rem;
  }

  .site-header {
    padding: 14px 2rem 16px;
  }

  .brand-logo {
    height: 56px;
    width: auto;
  }

  .hero {
    background-image: url("assets/hero-desktop.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: calc(100svh - var(--header-h));
    overflow: hidden;
    padding: 0;
  }

  .shelf,
  .tin-mob {
    display: none;
  }

  .hero-panel {
    align-items: flex-start;
    text-align: left;
    width: 54%;
    max-width: 36rem;
    padding: 2.4rem 0 2rem 50px;
    gap: 0.55rem;
  }

  .kicker {
    font-size: 16px;
    letter-spacing: -0.8px;
  }

  .hero-panel h1 {
    font-size: 65px;
    letter-spacing: -0.65px;
    max-width: none;
  }

  .desc {
    font-size: 16px;
    letter-spacing: -0.8px;
    max-width: 520px;
  }

  .signup {
    max-width: 26.5rem;
    column-gap: 0.7rem;
    row-gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
  }

  .signup .field-name,
  .signup .field-email {
    grid-column: auto;
  }

  .signup .field-phone,
  .signup .sms-check,
  .signup .consent,
  .signup .field-source,
  .signup .field-message,
  .signup .form-error,
  .signup .interests,
  .signup .common-btn,
  .signup .promise {
    grid-column: 1 / -1;
  }

  .interests {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 0.5rem;
    row-gap: 0.25rem;
  }

  .interests legend {
    grid-column: 1 / -1;
  }

  .success {
    max-width: 26.5rem;
  }

  .common-btn {
    width: auto;
    min-width: 17rem;
    max-width: 100%;
    justify-self: start;
    padding: 15px 20px;
    font-size: 24px;
  }

  .promise {
    text-align: left;
    font-size: 12px;
  }

  .social {
    justify-content: flex-start;
    font-size: 1.35rem;
    margin-bottom: 0;
  }
}

@media (max-width: 900px) and (min-width: 551px) {
  .hero-panel {
    padding-left: 20px;
    width: 58%;
  }

  .hero-panel h1 {
    font-size: 45px;
  }

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

  .common-btn {
    font-size: 19px;
    min-width: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .common-btn:hover,
  .common-btn:focus-visible,
  .common-btn:active {
    transform: none;
  }
}

/* ----- Thanks page (/thanks) ----- */

.thanks-body a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 0.12em;
}

.thanks-back {
  margin: 0.15rem 0 0;
  width: 100%;
  padding: 0 0.35rem 0.2rem;
  background: var(--cream);
  font-family: "Fira Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.04em;
}

.thanks-back a {
  color: var(--ink-2);
  text-underline-offset: 0.12em;
}

.thanks-page .thanks-hero {
  min-height: calc(100svh - var(--header-h));
}

.thanks-page .thanks-panel {
  padding-bottom: 13.5rem;
}

@media (min-width: 551px) {
  .thanks-page .thanks-panel {
    padding-bottom: 2rem;
  }

  .thanks-page .thanks-back {
    text-align: left;
  }
}
