:root {
  --ink: #14213d;
  --muted: #5b6b82;
  --bg: #f6f8fb;
  --card: #ffffff;
  --line: #dfe6ef;
  --accent: #f5a623;
  --accent-dark: #d98a06;
  --navy: #14213d;
  --ok: #1a9850;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a { color: #0b5cad; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 12px 20px;
  background: var(--navy); color: #fff;
}
.brand { font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; }
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-header nav a { color: #cfdaeb; text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: #fff; }
.locale { margin-left: auto; font-size: 13px; color: #9fb2cc; }

/* hero */
.hero {
  padding: 44px 20px 10px;
  max-width: 880px; margin: 0 auto; text-align: center;
}
.hero h1 { font-size: clamp(26px, 4.5vw, 40px); line-height: 1.2; margin: 0 0 14px; }
.hero p { color: var(--muted); font-size: 17px; margin: 0 auto 10px; max-width: 700px; }
.hero-note { font-size: 14px !important; }

/* how it works */
.how { max-width: 1020px; margin: 26px auto 0; padding: 0 20px; }
.how h2, .deals h2, .faq h2 { font-size: 24px; margin: 18px 0 14px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.step .num {
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #231a00; font-weight: 800;
  align-items: center; justify-content: center;
}
.step h3 { margin: 10px 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* deals */
.deals { max-width: 1020px; margin: 10px auto 0; padding: 0 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: pointer;
}
.chip-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
}
.card-head { display: flex; justify-content: space-between; align-items: center; }
.chip {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: #eef3fa; color: #33507c; border-radius: 999px; padding: 4px 10px;
}
.tag { font-size: 12px; font-weight: 700; color: #8a5a00; background: #fff2d5; border-radius: 999px; padding: 4px 10px; }
.card h3 { margin: 0; font-size: 19px; }
.blurb { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }

/* scratch */
.scratch {
  position: relative; height: 86px; border-radius: 10px; overflow: hidden;
  border: 1px dashed #b9c6d8; background: #fdf6e0;
  user-select: none; -webkit-user-select: none;
}
.under {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; padding: 6px;
}
.code-text { font-size: 22px; font-weight: 800; letter-spacing: 0.08em; color: var(--ink); cursor: pointer; }
.under small { color: var(--muted); font-size: 12px; }
.scratch-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: none; cursor: pointer; transition: opacity 0.4s ease;
}
.scratch-canvas.gone { opacity: 0; pointer-events: none; }
.scratch-hint {
  position: absolute; right: 10px; bottom: 6px; z-index: 2;
  font-size: 12px; color: #41546f; background: rgba(255,255,255,0.75);
  padding: 2px 8px; border-radius: 999px; pointer-events: none;
}
.scratch-hint.done { color: var(--ok); font-weight: 700; }

.cta {
  border: 0; border-radius: 10px; padding: 13px 16px; cursor: pointer;
  background: var(--accent); color: #231a00; font-size: 16px; font-weight: 800;
}
.cta:hover { background: var(--accent-dark); color: #fff; }
.fine { margin: 0; font-size: 12.5px; color: var(--muted); }
.offers-note { color: var(--muted); font-size: 13.5px; margin: 18px 0 4px; }

/* faq */
.faq { max-width: 1020px; margin: 8px auto 0; padding: 0 20px 10px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; margin-bottom: 10px;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--muted); margin: 8px 0 2px; }

/* footer */
.site-footer {
  margin-top: 40px; padding: 26px 20px 34px;
  background: var(--navy); color: #c7d3e6; font-size: 14px;
}
.site-footer p { max-width: 1020px; margin: 0 auto 10px; }
.site-footer a { color: #ffd97a; }
.footer-nav { max-width: 1020px; margin: 12px auto; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #cfdaeb; text-decoration: none; }

/* legal pages */
.page { max-width: 820px; margin: 0 auto; padding: 28px 20px 10px; }
.page h1 { font-size: 30px; margin: 0 0 8px; }
.page h2 { font-size: 20px; margin: 24px 0 8px; }
.page p, .page li { color: #33465e; }
.page .updated { color: var(--muted); font-size: 13.5px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-size: 14.5px; opacity: 0; pointer-events: none; transition: all 0.25s ease;
  max-width: 92vw; text-align: center; z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
