
:root {
  --bg: #efe9dc;
  --panel: #f8f4eb;
  --panel-strong: #e6dece;
  --ink: #292927;
  --muted: #6e6a63;
  --line: #c6baa5;
  --accent: #c8664b;
  --accent-dark: #a44f39;
  --olive-dark: #4e5844;
  --error: #9d3f45;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
}

body {
  color: var(--ink);
  background:
    linear-gradient(rgba(41, 41, 39, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 41, 39, .028) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  font-family: "Space Mono", monospace;
  line-height: 1.45;
}

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

a { color: inherit; }

.page-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(41, 41, 39, .12);
}

.brand,
.top-link,
h1,
.primary-button,
.secondary-button {
  font-family: "Press Start 2P", monospace;
}

.brand {
  font-size: 14px;
  letter-spacing: -1px;
  text-decoration: none;
}

.top-link {
  color: var(--muted);
  font-size: 7px;
  text-decoration: none;
}

.top-link:hover,
.top-link:focus-visible {
  color: var(--accent-dark);
}

/* About block: deliberately restrained to the left half of the page. */
.about-strip {
  width: min(610px, 52%);
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 24px 0 26px;
}

.avatar {
  width: 94px;
  height: 100%;
  min-height: 94px;
  max-height: 112px;
  object-fit: cover;
  object-position: center 33%;
  image-rendering: pixelated;
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(41, 41, 39, .10);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-strip h2,
.included h2,
.more-packs h2 {
  margin: 0;
  font-family: "Space Mono", monospace;
  font-weight: 700;
}

.about-strip h2 {
  color: var(--accent-dark);
  font-size: 15px;
}

.about-strip p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.52;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: start;
  padding: 0 0 28px;
}

.left-col,
.right-col {
  min-width: 0;
}

.intro {
  margin: 0 0 18px;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(29px, 3.6vw, 43px);
  line-height: 1.18;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

h1 span {
  color: var(--accent);
}

.product-summary {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.product-summary strong {
  color: var(--olive-dark);
}

.signup-card {
  max-width: 650px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(248, 244, 235, .95);
  box-shadow: 4px 4px 0 rgba(41, 41, 39, .07);
}

#sib-container,
.sib-form {
  all: unset;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.entry__field {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

input.input {
  width: 100% !important;
  height: auto !important;
  padding: 11px 12px !important;
  border: 1px solid #aaa08e !important;
  border-radius: 2px !important;
  outline: none !important;
  background: #fffdf8 !important;
  color: var(--ink) !important;
  font-family: "Space Mono", monospace !important;
  font-size: 13px !important;
}

input.input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(200, 102, 75, .12) !important;
}

input.input::placeholder {
  color: #9a9488 !important;
  font-family: "Space Mono", monospace !important;
}

.entry__error {
  display: block !important;
  padding: 5px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--error) !important;
  font-family: "Space Mono", monospace !important;
  font-size: 10px !important;
}

.consent-wrap {
  margin-top: 10px;
}

.consent-label {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.42;
  cursor: pointer;
}

.consent-label .input_replaced {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-label .checkbox {
  width: 15px !important;
  height: 15px !important;
  margin: 1px 0 0 !important;
  border: 1px solid #9d9484 !important;
  border-radius: 2px !important;
  background: #fffdf8 !important;
}

.input_replaced:checked + .checkbox {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
}

.input_replaced:checked + .checkbox::after {
  border-color: #fff !important;
}

.captcha-wrap {
  height: 64px;
  margin: 9px 0 11px;
  overflow: hidden;
}

.g-recaptcha {
  transform: scale(.78);
  transform-origin: left top;
}

.primary-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 50px !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  cursor: pointer;
  overflow: hidden !important;
}

/* Brevo reveals this SVG while submitting. Give it a fixed size so it never expands into the button. */
.primary-button .progress-indicator__icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  flex: 0 0 16px !important;
  fill: currentColor !important;
}

.primary-button .sib-hide-loader-icon {
  display: none !important;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--accent-dark) !important;
}

.pix-message {
  max-width: none !important;
  margin: 0 0 9px !important;
  border-width: 1px !important;
  border-radius: 2px !important;
  font-family: "Space Mono", monospace !important;
  font-size: 10px !important;
  text-align: left !important;
}

.pix-message svg {
  display: none !important;
}

.pix-message-error {
  color: #6f2f34 !important;
  background: #f3dddd !important;
  border-color: #d59b9f !important;
}

.pix-message-success {
  color: #33452f !important;
  background: #dfe9dc !important;
  border-color: #9db095 !important;
}

.included {
  max-width: 650px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.included h2 {
  margin-bottom: 9px;
  font-size: 13px;
}

.included ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.included li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.included li::before {
  content: "■";
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--accent);
  font-size: 8px;
}

.included strong,
.included span {
  display: block;
}

.included strong {
  color: var(--ink);
  font-size: 10px;
}

.included span {
  margin-top: 1px;
}

.more-packs {
  max-width: 650px;
  margin-top: 16px;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #b7ad98;
  background: var(--panel-strong);
}

.more-packs h2 {
  font-size: 13px;
}

.more-packs p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.secondary-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid var(--olive-dark);
  border-radius: 2px;
  background: transparent;
  color: var(--olive-dark);
  font-size: 7px;
  text-decoration: none;
  white-space: nowrap;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: var(--olive-dark);
  color: var(--panel);
}

.right-col {
  align-self: start;
  padding: 0 !important;
  margin: 0 !important;
}

.showcase {
  margin: 0 !important;
  padding: 8px;
  border: 1px solid #aaa08e;
  background: var(--panel);
  box-shadow: 6px 6px 0 rgba(41, 41, 39, .08);
}

.showcase img {
  width: 100%;
  height: auto;
  max-height: 470px;
  object-fit: contain;
  image-rendering: pixelated;
  background: #cfc7b8;
}

@media (max-width: 900px) {
  .about-strip {
    width: min(610px, 100%);
  }

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

  .right-col {
    width: min(560px, 100%);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1160px);
  }

  .topbar {
    height: 54px;
  }

  .about-strip {
    width: 100%;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .avatar {
    width: 78px;
    min-height: 78px;
    max-height: 98px;
  }

  h1 {
    font-size: clamp(27px, 9.5vw, 38px);
  }

  .signup-card {
    padding: 13px;
  }

  .included ul {
    grid-template-columns: 1fr;
  }

  .more-packs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .secondary-button {
    width: 100%;
    justify-self: stretch;
  }

  .g-recaptcha {
    transform: scale(.72);
  }
}

@media (max-width: 390px) {
  .g-recaptcha {
    transform: scale(.66);
  }
}
