/* Tea‑Quila microsite — original colours + stable checkbox layout + black border inputs */

/* Brand tokens */
:root{
  --brand:#00A9E0;   /* PMS 2985 C */
  --accent:#FFC600;  /* PMS 1235 C */
  --bg:#00A9E0;      /* page background matches brand blue */
  --ink:#0A0A0A;
  --card:#ffffff;
  --border:rgba(0,0,0,.08);
}

/* Base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

/* Layout */
.wrap{min-height:100%;display:flex;align-items:flex-start;justify-content:center;padding:24px}
.card{
  width:min(720px,100%);
  background:var(--card);
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 20px 60px rgba(0,0,0,.18);
  overflow:hidden;
}
.header{padding:16px 16px 0}
.content{padding:16px}
h1{margin:0 0 8px}

/* Hero keeps original square visual (1080×1080) */
.hero{width:100%;aspect-ratio:1/1;background:#eef;display:flex;align-items:center;justify-content:center}
.hero img{display:block;width:100%;height:auto}

/* Form controls */
label{display:block;margin:12px 0 6px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:640px){.grid{grid-template-columns:1fr}}
input,select,button{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #000; /* black thin border */
  background:#fff;
  color:var(--ink);
  font-size:16px
}
input:focus,select:focus{outline:3px solid rgba(0,169,224,.25)}
button{
  background:var(--brand);
  color:#fff;
  border:1px solid #000; /* button also outlined */
  font-weight:600;
  cursor:pointer;
  transition:transform .02s ease,filter .15s ease;
  margin-top:8px;
}
button:hover{filter:brightness(.96)}
button:active{transform:translateY(1px)}
.small{font-size:12px;color:#555}
a{color:#005B7F;text-decoration:none}
a:hover{text-decoration:underline}

/* Age gate */
.gate{position:fixed;inset:0;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.gate-inner{width:min(420px,100%);background:#fff;border-radius:16px;padding:20px;box-shadow:0 24px 80px rgba(0,0,0,.35);text-align:center}
.gate-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.btn-accent{background:var(--accent);color:#0A0A0A}

/* Bulletproof checkbox layout: no flex, no grid */
.checkbox-group {
  display: block;
  width: 100%;
  margin: 12px 0;
  max-width: 640px; /* readability */
  clear: both;
}

.checkbox-group input[type="checkbox"] {
  float: left;
  width: 18px;
  height: 18px;
  margin: 3px 10px 0 0; /* top right bottom left */
}

.checkbox-group label {
  display: block;
  margin-left: 28px;          /* space for the box */
  text-align: left;
  line-height: 1.4;
  font-size: 14px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
