/* BiggyDeal — pixel-accurate styling based on the mockup */

/* Reset & base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #000;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;
  /* Zebra-like textured backdrop (no image required) */
 background: #d0d0d0 url("../img/bg.jpg") center / cover no-repeat fixed;
}

/* Layout */
.container {
  width: min(92vw, 520px);
  margin: 7vh auto 6vh;
}

/* Heading & subtitle */
.brand {
  margin: 0 0 6px;
  text-align: center;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .2px;
}
.subtitle {
  margin: 0 auto 22px;
  text-align: center;
  max-width: 48ch;
  font-size: 12.5px;
  color: #3a3a3a;
}

/* Form */
.field { margin-bottom: 14px; }
label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  color: #000;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  box-shadow:
    0 1px 0 rgba(0,0,0,.06),
    0 0 0 1px rgba(255,255,255,.7) inset;
}
input:focus {
  outline: 2px solid #222;
  outline-offset: 1px;
}

/* Submit */
.btn {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: #2f2f2f;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

/* Legal (checkboxes + links) */
.legal {
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: #000;
}
.checkbox input { margin-top: 2px; }
.checkbox a { color: inherit; text-decoration: underline; }

/* Messages & honeypot */
.msg { margin-top: 10px; text-align: center; font-size: 14px; }
.hp  { position: absolute; left: -9999px; opacity: 0; }

/* Responsive tweak */
/* Improved mobile typography */
@media (max-width: 480px) {
  .container {
    width: 94vw; /* a little more breathing room */
    margin: 5vh auto;
  }

  .brand {
    font-size: 34px;      /* smaller but still bold */
    line-height: 1.15;    /* add vertical breathing */
    letter-spacing: 0;    /* tighter on small screens */
  }

  .subtitle {
    font-size: 14px;      /* slightly bigger for readability */
    line-height: 1.5;
    padding: 0 6px;       /* add side padding */
  }

  label {
    font-size: 15px;
    font-weight: bold;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    height: 48px;         /* taller for touch */
    font-size: 16px;      /* system default tap-friendly size */
  }

  .btn {
    height: 50px;
    font-size: 16px;
  }

  .checkbox {
    font-size: 13px;
    line-height: 1.4;
  }

  .msg {
    font-size: 15px;
  }
}

