/* resource-gate.css — shared styles for /resources/<slug>.html gate pages. */

.rg-gate, .rg-reveal {
  max-width: 720px;
  margin: 40px auto;
  padding: 32px;
  font-family: 'Inter', -apple-system, sans-serif;
  color: #0a0a0a;
}

.rg-reveal { max-width: 960px; }

.rg-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #cc0000;
  padding: 5px 10px;
  border: 2px solid #cc0000;
  margin-bottom: 16px;
}

.rg-badge-unlocked {
  color: #f5f1ea;
  background: #cc0000;
  border-color: #cc0000;
}

.rg-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.rg-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2a2a2a;
  margin: 0 0 22px;
}

.rg-pitch {
  font-size: 15px;
  color: #2a2a2a;
  margin: 0 0 28px;
  line-height: 1.6;
}

.rg-form { display: grid; gap: 16px; }

.rg-field { display: grid; gap: 6px; }

.rg-field span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0a0a0a;
}

.rg-field input,
.rg-field select {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 2px solid #0a0a0a;
  background: #f5f1ea;
  color: #0a0a0a;
}

.rg-field input:focus,
.rg-field select:focus {
  outline: 3px solid #ffb300;
  outline-offset: -1px;
}

.rg-submit {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 20px;
  background: #cc0000;
  color: #f5f1ea;
  border: 2px solid #0a0a0a;
  cursor: pointer;
  transition: background 100ms ease, transform 80ms ease;
  margin-top: 6px;
}

.rg-submit:hover:not(:disabled) { background: #8a0000; transform: translateY(-1px); }
.rg-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.rg-error {
  padding: 10px 12px;
  background: #fee;
  border: 2px solid #cc0000;
  color: #8a0000;
  font-size: 13px;
}

.rg-privacy {
  font-size: 11px;
  color: #8a8580;
  text-align: center;
  margin: 4px 0 0;
}

/* Reveal */
.rg-reveal-head { text-align: center; margin-bottom: 24px; }
.rg-welcome { font-size: 15px; color: #2a2a2a; margin-top: 12px; }

.rg-tabs {
  display: flex;
  border: 2px solid #0a0a0a;
  border-bottom: none;
}

.rg-tab {
  flex: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 14px;
  background: #f5f1ea;
  color: #0a0a0a;
  border: none;
  border-right: 2px solid #0a0a0a;
  cursor: pointer;
}

.rg-tab:last-child { border-right: none; }
.rg-tab.is-active { background: #0a0a0a; color: #ffb300; }

.rg-panels { border: 2px solid #0a0a0a; background: #f5f1ea; }

.rg-panel { display: none; padding: 16px; }
.rg-panel.is-active { display: block; }

.rg-panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.rg-download {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: #cc0000;
  color: #f5f1ea;
  text-decoration: none;
  border: 2px solid #0a0a0a;
}

.rg-download:hover { background: #8a0000; }

.rg-iframe {
  width: 100%;
  height: 1100px;
  border: 2px solid #0a0a0a;
  background: #fff;
  display: block;
}

.rg-image {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid #0a0a0a;
}

@media (max-width: 640px) {
  .rg-gate, .rg-reveal { margin: 20px auto; padding: 18px; }
  .rg-title { font-size: 38px; }
  .rg-tab { font-size: 11px; padding: 10px 8px; letter-spacing: 0.1em; }
  .rg-iframe { height: 780px; }
}
