:root {
  --bg: #070707;
  --panel: #11100e;
  --text: #f4f0e7;
  --muted: #b0a99d;
  --gold: #b79353;
  --gold-light: #e0c286;
  --line: rgba(224, 194, 134, .24);
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 0, rgba(183, 147, 83, .18), transparent 34rem),
    linear-gradient(180deg, #0d0c0a 0, #050505 58%, #080706 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 36px 36px;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
}

.brand {
  display: block;
  width: 190px;
  margin: 0 auto 30px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(31, 26, 19, .98), rgba(12, 12, 12, .98) 62%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
}

.art-wrap {
  width: 100%;
  aspect-ratio: 1;
  align-self: center;
  background: #050505;
}

.art-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.guide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: #e8e1d5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.details {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.72;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brevo-form-wrap {
  width: 100%;
  margin-top: 24px;
  padding: 0 !important;
  background: transparent !important;
  text-align: left;
}

.brevo-form-wrap .sib-form-container,
.brevo-form-wrap .brevo-sib-container,
.brevo-form-wrap .sib-container--large {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.brevo-signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.brevo-email-block,
.brevo-submit-block,
.brevo-captcha-block {
  padding: 0 !important;
  background: transparent !important;
}

.brevo-email-block .entry__field {
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.brevo-email-block input[type="text"] {
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  border: 1px solid rgba(224, 194, 134, .36) !important;
  border-radius: 999px !important;
  padding: 0 20px !important;
  color: var(--text) !important;
  background: rgba(255, 255, 255, .035) !important;
  font: inherit !important;
  outline: none !important;
}

.brevo-email-block input[type="text"]::placeholder {
  color: rgba(244, 240, 231, .48) !important;
}

.brevo-email-block input[type="text"]:focus {
  border-color: var(--gold-light) !important;
  box-shadow: 0 0 0 3px rgba(183, 147, 83, .12) !important;
}

.brevo-submit-block button[type="submit"] {
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 12px 21px !important;
  color: #090806 !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
  font-size: .74rem !important;
  font-weight: 900 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  cursor: pointer;
}

.brevo-submit-block .progress-indicator__icon {
  width: 15px;
  height: 15px;
  margin-right: 7px;
}

.brevo-captcha-block {
  grid-column: 1 / -1;
}

.brevo-field-error {
  display: block;
  margin-top: 7px;
  color: #e6a69b !important;
  font-size: .78rem !important;
}

.brevo-form-wrap .sib-form-message-panel {
  display: none;
  width: 100%;
  max-width: none;
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid rgba(224, 194, 134, .35);
  border-radius: 12px;
  color: var(--text);
  background: rgba(183, 147, 83, .1);
}

.brevo-form-wrap .sib-form-message-panel--active {
  display: block;
}

.brevo-form-wrap .sib-form-message-panel__text,
.brevo-form-wrap .sib-form-message-panel__inner-text {
  color: inherit !important;
  font: inherit !important;
}

.brevo-error {
  border-color: rgba(210, 101, 88, .45) !important;
  color: #f0b0a7 !important;
  background: rgba(130, 36, 28, .16) !important;
}

.brevo-form-wrap .input--hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.signup-note {
  margin: 12px 0 0;
  color: #817b72;
  font-size: .78rem;
  line-height: 1.5;
}

.download-unlock {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(224, 194, 134, .34);
  border-radius: 16px;
  background: rgba(183, 147, 83, .08);
}

.download-unlock[hidden] { display: none !important; }

.download-unlock > p:first-child {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.actions-secondary { margin-top: 16px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 21px;
  text-decoration: none;
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.button-primary {
  color: #090806;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 26px rgba(183, 147, 83, .18);
}

.button-secondary {
  color: var(--gold-light);
  border: 1px solid rgba(224, 194, 134, .48);
  background: rgba(255, 255, 255, .025);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3), 0 0 22px rgba(183, 147, 83, .14);
}

.file-note {
  margin: 13px 0 0;
  color: #817b72;
  font-size: .74rem;
  letter-spacing: .04em;
}

blockquote {
  margin: 28px auto 0;
  padding: 32px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

blockquote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.4;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: .75rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer {
  padding-top: 28px;
  color: #777168;
  font-size: .7rem;
  letter-spacing: .05em;
  text-align: center;
}

footer strong {
  display: block;
  margin-bottom: 7px;
  color: #bdb6ab;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: .02em;
}

@media (max-width: 800px) {
  .page-shell { padding-top: 22px; }
  .brand { width: 160px; margin-bottom: 20px; }
  .guide-card { grid-template-columns: 1fr; border-radius: 20px; }
  .art-wrap img { aspect-ratio: 1; height: auto; }
  .guide-copy { padding: 29px 22px 32px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .actions { flex-direction: column; }
  .button { width: 100%; min-height: 52px; }
  .brevo-signup-form { grid-template-columns: 1fr; }
  .brevo-submit-block button[type="submit"] { width: 100%; }
  .brevo-captcha-block { grid-column: 1; }
  .g-recaptcha { max-width: 100%; transform: scale(.9); transform-origin: left top; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
