/* ===== Layout primitives ===== */
.container {
  width: 100%;
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--color-brand-red); color: #fff;
  padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  font-weight: 800; letter-spacing: -0.02em; font-size: 22px;
  color: var(--color-text-inverse);
}
.logo span { color: var(--color-text-inverse); }
.logo::after { content: ""; }

.hamburger {
  width: 36px; height: 36px; position: relative;
  display: flex; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(11, 11, 11, 0.96);
  display: flex; flex-direction: column;
  padding: 80px 28px 28px;
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
  z-index: 60;
  color: #fff;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__close {
  position: absolute; top: 16px; right: 20px;
  font-size: 32px; color: #fff;
  width: 40px; height: 40px; line-height: 1;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 18px; }
.mobile-menu a {
  font-size: 22px; font-weight: 700;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700; letter-spacing: -0.01em;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-pill {
  background: #fff; color: var(--color-brand-red);
  padding: 18px 24px; font-size: 17px;
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(237, 28, 36, 0.25);
  width: 100%;
}
.btn-pill:hover { background: #FFF1F1; }
.btn-pill .yt-dot { color: var(--color-brand-red); font-size: 14px; }
.btn-ghost-light {
  color: #fff; border: 1.5px solid rgba(255,255,255,0.6);
  padding: 14px 34px; background: transparent;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn-white-red {
  background: #fff; color: var(--color-brand-red);
  border: 1px solid #fff;
}
.btn-white-red:hover { background: #FFF1F1; }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 18px 24px; font-size: 16px; }

/* ===== Badges ===== */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
}
.badge--youtube {
  background: var(--color-brand-red); color: #fff;
}
.badge--youtube .yt-badge {
  background: #fff; color: var(--color-brand-red);
  font-weight: 800; padding: 2px 6px; border-radius: 4px;
  font-size: 12px;
}
.badge--pill {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
}
.badge--pill-dark {
  background: rgba(0,0,0,0.06); color: #111;
  border: 1px solid rgba(0,0,0,0.08);
}
.badge--pill-red {
  background: var(--color-brand-red); color: #fff;
}
.badge--pill-red .yt-badge { color: #fff; font-weight: 800; }
.yt-dot { color: var(--color-brand-red); font-size: 11px; }

/* ===== Section head ===== */
.section-head { padding: 24px 0 20px; }
.section-head--center { text-align: center; }
.section-head h2 {
  font-size: 28px; line-height: 1.25; letter-spacing: -0.02em;
  font-weight: 800; margin-top: 14px;
  color: #fff;
}
.section-head__sub {
  margin-top: 16px; color: var(--color-text-mute-dark);
  font-size: 15px; line-height: 1.7;
}
.section-head__sub--dark { color: var(--color-text-muted); }
.section-head--center .badge { margin-bottom: 2px; }

/* Dark section helpers */
.red { color: var(--color-brand-red); }
.nowrap { white-space: nowrap; }
.circle-mark {
  display: inline-block; position: relative;
  padding: 0 2px;
}
.circle-mark::after {
  content: ""; position: absolute;
  left: -4px; right: -4px; bottom: -4px;
  height: 8px; border-radius: 999px;
  background: var(--color-brand-red);
  opacity: 0.7; z-index: -1;
}

/* ===== Form common ===== */
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; font-size: 14px; font-weight: 700;
  margin-bottom: 8px; color: #fff;
}
.form-row label em { color: var(--color-brand-red); font-style: normal; }
.form-row input {
  width: 100%; background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; padding: 14px 16px;
  border-radius: 10px; font-size: 15px;
}
.form-row input::placeholder { color: rgba(255,255,255,0.4); }
.form-row input:focus {
  outline: none; border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.form-agree {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 14px 16px;
  margin: 16px 0;
}
.chk {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; color: #fff; font-size: 14px;
  cursor: pointer;
}
.chk + .chk { border-top: 1px solid rgba(255,255,255,0.08); }
.chk-all { font-size: 15px; }
.chk-all span { display: flex; flex-direction: column; gap: 2px; }
.chk-all small { color: var(--color-text-mute-dark); font-size: 12px; font-weight: 400; }
.chk input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.35);
  flex-shrink: 0; position: relative; cursor: pointer;
  transition: all var(--dur-fast);
}
.chk input[type="checkbox"]:checked {
  background: var(--color-brand-red); border-color: var(--color-brand-red);
}
.chk input[type="checkbox"]:checked::after {
  content: "✓"; position: absolute; inset: 0;
  color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.chk em {
  margin-left: auto; color: rgba(255,255,255,0.5);
  font-style: normal; font-size: 18px;
}
.chk span { flex: 1; }

/* Stamp title (dark text) */
.stamp-title {
  text-align: center; font-size: 30px; line-height: 1.2;
  font-weight: 900; letter-spacing: -0.03em;
  color: #111;
}

/* Desktop scale-up (fluid beyond 600px) */
@media (min-width: 600px) {
  :root { --max-container: 560px; --fs-body: 16px; }
  .section-head h2 { font-size: 32px; }
  .stamp-title { font-size: 36px; }
}
@media (min-width: 900px) {
  :root { --max-container: 760px; }
}
@media (min-width: 1200px) {
  :root { --max-container: 920px; }
}
