/* Quatt Design Language v3.1.0 -- tokens copied from
   "03 - Resources/Claude Design Onboarding/brand.config.json". Values are exact on purpose:
   the QDL notes say do not invent colors, sizes or radii outside that file. */

:root {
  --ink: #131A20;
  --forest: #081412;
  --orange: #FF6933;      /* primary CTA only, never decorative */
  --copper: #CDA485;      /* hybrid accent, default banner for IC communications */
  --copper-deep: #5E3B30;
  --sage: #C1CA87;        /* All-Electric accent */
  --sage-deep: #5E6F5C;
  --teal: #1A7A6B;        /* checkmarks, success */
  --white: #FFFFFF;
  --soft-grey: #F7F7F7;
  --light-grey: #EDEDED;
  --bluish: #E8EEEE;
  --radius: 14px;
  --maxw: 660px;
}

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

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

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft-grey);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16.8px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  /* The page must never scroll sideways. Asserted at 390 and 1440 in form-shot. */
  overflow-x: hidden;
}

.page { max-width: var(--maxw); margin: 0 auto; padding: 24px 20px 72px; }

/* ---------- header ---------- */

.brand { padding: 20px 0 28px; }
.brand__mark {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
}

.hero {
  background: var(--copper);
  border-radius: var(--radius);
  padding: 34px 28px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -1.36px;   /* the ~-4% QDL signature */
  color: var(--forest);
  margin-bottom: 12px;
}
.hero p { color: var(--copper-deep); font-size: 18px; }

/* ---------- tariff block ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 20px;
}
.card h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.88px;
  margin-bottom: 14px;
}

.rates { list-style: none; }
.rates li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--light-grey);
}
.rates li:last-child { border-bottom: 0; }
.rates .amount { font-weight: 600; white-space: nowrap; }
.rates li.alle .amount { color: var(--sage-deep); }

.note { color: #5B6670; font-size: 15px; margin-top: 14px; }

.pdf-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- form ---------- */

.field { margin-bottom: 20px; }
.field > label, .field > legend {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
  margin-bottom: 7px;
}
.field .hint { color: #5B6670; font-size: 14px; font-weight: 400; margin-bottom: 8px; }

input[type=text], input[type=email], input[type=tel], select {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;             /* 16px or iOS zooms the page on focus */
  color: var(--ink);
  background: var(--white);
  border: 1px solid #C9D0D3;
  border-radius: 10px;
  appearance: none;
}
select { background-image: none; }
input:focus, select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

fieldset { border: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #C9D0D3;
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 15px;
  user-select: none;
}
.choices input:checked + label {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
  font-weight: 600;
}
.choices input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 2px; }

.btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.btn:hover { filter: brightness(0.95); }
.btn:disabled { opacity: 0.55; cursor: default; }

.error {
  color: #A8321B;
  font-size: 14.5px;
  margin-top: 6px;
}
.formerror {
  background: #FDECE7;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  color: #A8321B;
  font-size: 15px;
}

/* ---------- done state ---------- */

.done { background: var(--bluish); border-radius: var(--radius); padding: 34px 28px; }
.done h2 { font-size: 26px; letter-spacing: -1.04px; margin-bottom: 10px; }

.footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--light-grey);
  color: #5B6670;
  font-size: 14.5px;
}
.footer a { color: var(--teal); }

[hidden] { display: none !important; }

/* ---------- wider viewports ---------- */

@media (min-width: 560px) {
  .hero { padding: 44px 38px; }
  .hero h1 { font-size: 44px; letter-spacing: -1.76px; }
  .card { padding: 30px 30px; }
  .page { padding: 32px 24px 88px; }
}

/* Honeypot: uit beeld, maar niet display:none -- sommige bots slaan verborgen velden juist over. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
