:root {
  --bg-page: #EEE6DA;
  --bg-black: #050505;
  --bg-panel: #0a0a09;
  --bg-card: #11110f;
  --text-main: #f5f0e6;
  --text-muted: rgba(245, 240, 230, 0.72);
  --text-soft: rgba(245, 240, 230, 0.56);
  --gold: #c99b43;
  --gold-bright: #e0b865;
  --gold-dark: #6e4a16;
  --border-gold: rgba(201, 155, 67, 0.35);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, rgba(0, 0, 0, 0.04), transparent 34rem),
    var(--bg-page);
  font-family: var(--sans);
}

a {
  color: inherit;
}

.newsletter-shell {
  width: min(100%, 860px);
  margin: 0 auto;
  background: var(--bg-black);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.preheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 10px 34px;
  background: #030303;
  border-bottom: 1px solid rgba(201, 155, 67, 0.18);
  color: rgba(245, 240, 230, 0.72);
  font-size: 12px;
  line-height: 1.2;
}

.preheader p,
.preheader a {
  margin: 0;
}

.preheader p {
  color: rgba(245, 240, 230, 0.78);
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preheader a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preheader a:hover,
.preheader a:focus-visible {
  color: #ffd98a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.masthead {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 188px;
  padding: 28px 28px 26px;
  background:
    radial-gradient(circle at center 18%, rgba(201, 155, 67, 0.13), transparent 20rem),
    linear-gradient(180deg, #020202 0%, #070706 100%);
}

.masthead::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(78%, 620px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201, 155, 67, 0.28), transparent);
}

.brand-logo {
  display: block;
  width: min(360px, 72vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.issue-meta {
  width: min(100%, 640px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.issue-meta > span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 184, 101, 0.72));
}

.issue-meta > span:last-child {
  background: linear-gradient(90deg, rgba(224, 184, 101, 0.72), transparent);
}

.issue-meta p {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: rgba(245, 240, 230, 0.78);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.issue-meta strong,
.issue-meta time {
  font: inherit;
}

.issue-meta i {
  width: 6px;
  height: 6px;
  display: inline-block;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  box-shadow: 0 0 18px rgba(224, 184, 101, 0.34);
}

.hero-section {
  background: #000;
}

.hero-section img {
  display: block;
  width: 100%;
  height: auto;
}

.thought-section {
  position: relative;
  padding: 34px 28px 40px;
  text-align: center;
  background:
    radial-gradient(circle at center top, rgba(255, 255, 255, 0.035), transparent 24rem),
    linear-gradient(180deg, #0e0e0d 0%, #070707 100%);
}

.section-inner {
  width: min(100%, 760px);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(100%, 560px);
}

.eyebrow,
.pick-kicker,
.section-title-row h2,
.join-button {
  margin: 0;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-quote {
  margin: 16px 0 14px;
  font-family: var(--serif);
  font-size: clamp(31px, 5.2vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 18px auto 19px;
}

.gold-divider::before,
.gold-divider::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider span {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
}

.thought-copy {
  margin: 0;
  color: rgba(255, 250, 240, 0.84);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}

.signature {
  margin: 19px 0 0;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.picks-section {
  padding: 8px 30px 44px;
  background:
    radial-gradient(circle at 50% 6%, rgba(201, 155, 67, 0.07), transparent 28rem),
    linear-gradient(180deg, #070707 0%, #090907 100%);
}

.section-title-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
}

.section-title-row span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 155, 67, 0.78));
}

.section-title-row span:last-child {
  background: linear-gradient(90deg, rgba(201, 155, 67, 0.78), transparent);
}

.section-title-row h2 {
  text-align: center;
  font-size: 12px;
  white-space: nowrap;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pick-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 16px 34px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.pick-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(201, 155, 67, 0.14);
}

.pick-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 19px 20px;
}

.pick-kicker {
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.17em;
}

.pick-card h3 {
  margin: 0 0 9px;
  color: var(--text-main);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.pick-card p:not(.pick-kicker) {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.pick-card a {
  margin-top: auto;
  padding-top: 27px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.pick-card a:hover,
.pick-card a:focus-visible {
  color: #ffd98a;
}

.join-section {
  position: relative;
  isolation: isolate;
  padding: 54px 28px 52px;
  text-align: center;
  border-top: 1px solid rgba(201, 155, 67, 0.18);
  border-bottom: 1px solid rgba(201, 155, 67, 0.18);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.38)),
    radial-gradient(circle at center, rgba(201, 155, 67, 0.16), transparent 19rem),
    url("/images/sample-newsletter/real-g-section-background.webp") center / cover no-repeat,
    #090908;
}


.join-section .section-inner {
  position: relative;
  z-index: 1;
}

.join-crest {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  margin: 0 auto 22px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.58));
}

.join-section h2 {
  margin: 0 auto 26px;
  color: var(--text-main);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.join-button {
  display: inline-flex;
  backdrop-filter: blur(2px);
  min-width: 260px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 1px solid rgba(224, 184, 101, 0.75);
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.join-button:hover,
.join-button:focus-visible {
  border-color: #f0c979;
  background: rgba(201, 155, 67, 0.08);
  transform: translateY(-1px);
}

.newsletter-footer {
  padding: 25px 24px 20px;
  text-align: center;
  background:
    radial-gradient(circle at center top, rgba(201, 155, 67, 0.05), transparent 18rem),
    #060606;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  transition: transform 160ms ease, opacity 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
  opacity: 0.86;
}

.social-links img {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.unsubscribe-line,
.copyright {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.unsubscribe-line a {
  color: rgba(245, 240, 230, 0.82);
  text-underline-offset: 3px;
}

.copyright {
  margin-top: 4px;
  color: rgba(245, 240, 230, 0.5);
}

@media (max-width: 760px) {
  .newsletter-shell {
    width: 100%;
  }

  .preheader {
    padding-inline: 20px;
  }

  .masthead {
    min-height: 166px;
    gap: 18px;
  }

  .brand-logo {
    width: min(330px, 74vw);
  }

  .issue-meta {
    width: min(100%, 560px);
    gap: 12px;
  }

  .issue-meta p {
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .thought-section {
    padding: 30px 20px 34px;
  }

  .picks-section {
    padding: 8px 18px 36px;
  }

  .section-title-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-title-row span {
    width: 100%;
  }

  .section-title-row h2 {
    white-space: normal;
  }

  .pick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .preheader {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 10px;
  }

  .masthead {
    min-height: 148px;
    padding: 20px 18px 18px;
    gap: 16px;
  }

  .brand-logo {
    width: min(295px, 80vw);
  }

  .issue-meta {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .issue-meta > span {
    width: 100%;
  }

  .issue-meta p {
    justify-content: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.14em;
    white-space: normal;
  }

  .hero-quote {
    font-size: clamp(30px, 9vw, 39px);
  }

  .thought-copy {
    font-size: 16px;
  }

  .pick-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pick-card img {
    aspect-ratio: 1.55 / 1;
  }

  .pick-card-body {
    padding: 20px 20px 21px;
  }

  .join-button {
    min-width: min(100%, 260px);
  }
}

/* Interactive sample helpers */
.tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  vertical-align: middle;
}

.tooltip-link {
  color: var(--gold-bright);
  text-decoration: none;
}

.tooltip-help {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(224, 184, 101, 0.58);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.18);
  font: 800 12px/1 var(--sans);
  cursor: help;
}

.tooltip-bubble {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(300px, 72vw);
  padding: 12px 14px;
  border: 1px solid rgba(224, 184, 101, 0.44);
  color: rgba(245, 240, 230, 0.9);
  background:
    radial-gradient(circle at top, rgba(201, 155, 67, 0.12), transparent 9rem),
    rgba(6, 6, 5, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.tooltip-wrap:hover .tooltip-bubble,
.tooltip-wrap:focus-within .tooltip-bubble {
  opacity: 1;
  transform: translateY(0);
}

.footer-tooltip .tooltip-bubble {
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  text-align: center;
}

.footer-tooltip:hover .tooltip-bubble,
.footer-tooltip:focus-within .tooltip-bubble {
  transform: translate(-50%, 0);
}

.ftrg-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ftrg-modal.is-open {
  display: flex;
}

.ftrg-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(201, 155, 67, 0.10), transparent 34rem),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.ftrg-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  padding: 48px 44px 42px;
  border: 1px solid rgba(201, 155, 67, 0.5);
  color: var(--text-main);
  text-align: center;
  background:
    radial-gradient(circle at center top, rgba(201, 155, 67, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(17, 16, 13, 0.98), rgba(3, 3, 3, 0.98));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.ftrg-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(201, 155, 67, 0.48);
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.22);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.ftrg-modal-close:hover,
.ftrg-modal-close:focus-visible {
  border-color: rgba(224, 184, 101, 0.86);
  background: rgba(201, 155, 67, 0.08);
}

.ftrg-modal-crest {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.58));
}

.modal-eyebrow {
  margin: 0 0 17px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ftrg-modal-dialog h2 {
  margin: 0 auto 14px;
  color: var(--text-main);
  font-family: var(--serif);
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.pick-modal-teaser {
  margin: 0 auto 22px;
  max-width: 475px;
  color: var(--gold-bright);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.ftrg-modal-dialog > p:not(.modal-eyebrow):not(.pick-modal-teaser),
.modal-fine-print {
  margin: 0 auto;
  max-width: 500px;
  color: rgba(245, 240, 230, 0.78);
  font-size: 17px;
  line-height: 1.62;
}

.modal-secondary-button,
.join-modal-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 14px 28px;
  border: 1px solid rgba(224, 184, 101, 0.78);
  color: #fff9ef;
  background: linear-gradient(135deg, #b6813d, #d9b16a);
  font: 900 12px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-secondary-button:hover,
.modal-secondary-button:focus-visible,
.join-modal-form button:hover,
.join-modal-form button:focus-visible {
  filter: brightness(1.06);
}

.join-modal-form {
  display: grid;
  gap: 14px;
  margin: 30px auto 0;
  max-width: 520px;
}

.join-modal-form input {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 155, 67, 0.48);
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.38);
  font: 500 18px/1.2 var(--sans);
  outline: none;
}

.join-modal-form input::placeholder {
  color: rgba(245, 240, 230, 0.5);
}

.join-modal-form input:focus {
  border-color: rgba(224, 184, 101, 0.9);
  box-shadow: 0 0 0 3px rgba(201, 155, 67, 0.14);
}

.join-modal-form button {
  width: 100%;
  margin-top: 0;
}

.modal-fine-print {
  margin-top: 22px;
  color: rgba(245, 240, 230, 0.72);
  font-size: 15px;
}

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

body.modal-open {
  overflow: hidden;
}

@media (max-width: 540px) {
  .ftrg-modal {
    padding: 16px;
  }

  .ftrg-modal-dialog {
    padding: 42px 22px 30px;
  }

  .ftrg-modal-dialog h2 {
    font-size: clamp(33px, 13vw, 46px);
  }

  .ftrg-modal-dialog > p:not(.modal-eyebrow):not(.pick-modal-teaser),
  .modal-fine-print {
    font-size: 16px;
  }

  .tooltip-bubble {
    right: -10px;
  }
}

.sample-alert {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 1200;
  width: min(92vw, 560px);
  transform: translateX(-50%);
  padding: 14px 18px;
  border: 1px solid rgba(224, 184, 101, 0.55);
  color: var(--text-main);
  background:
    radial-gradient(circle at top, rgba(201, 155, 67, 0.16), transparent 12rem),
    rgba(6, 6, 5, 0.96);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
  font-size: 14px;
  line-height: 1.45;
}

.sample-alert-success {
  border-color: rgba(224, 184, 101, 0.72);
}

.sample-alert-error {
  border-color: rgba(212, 93, 72, 0.7);
}

.sample-alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
