/* Newsletter page. Loads next to detail-common.css (nav, CTA, footer) and
   assets/pano-subscribe.css (the form itself). Only the page's own layout
   lives here; every colour and size comes from the existing tokens. */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--site-font-body, 'Inter', Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  color: var(--text-light-1, #1f1f1f);
  background: #fff;
}

.newsletter-container {
  width: min(var(--site-container, 1280px), 100%);
  margin: 0 auto;
  padding: 0 var(--pad-global, 40px);
}

/* ---------- hero ---------- */
/* Dark, like the newsletter itself, so a logo drawn for a black background
   sits on one here too. */
.newsletter-hero {
  background: var(--site-bg-dark, #070707);
  color: #fff;
  padding: 152px 0 88px;
  text-align: center;
}
.newsletter-hero__inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.newsletter-hero__eyebrow {
  font-family: var(--site-font-hand, 'Caveat', cursive);
  font-size: 22px;
  line-height: 1;
  color: var(--site-accent, #29b6f6);
  transform: rotate(-3deg);
  margin: 0 0 18px;
}
.newsletter-hero__logo {
  display: block;
  height: 144px;
  width: auto;
  max-width: 100%;
  margin: 0 0 28px;
  object-fit: contain;
}
.newsletter-hero__desc {
  margin: 0 0 32px;
  max-width: 880px;
  font-size: var(--text-l, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
}
.newsletter-hero__legal {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .45);
}
.newsletter-hero__legal a {
  color: rgba(255, 255, 255, .7);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .3);
}
.newsletter-hero__legal a:hover { color: #fff; text-decoration-color: currentColor; }

/* the dark-surface colours live in assets/pano-subscribe.css (--on-dark) */
.newsletter-hero .pano-form { margin: 0 auto; text-align: left; }

/* ---------- preview ---------- */
.newsletter-preview {
  padding: 72px 0 96px;
  background: #fff;
}
.newsletter-preview__inner { max-width: 960px; margin: 0 auto; text-align: center; }
.newsletter-preview__title {
  font-family: var(--site-font-display, 'Plus Jakarta Sans', Inter, sans-serif);
  font-size: var(--h4, 32px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 32px;
}
/* The whole issue, shown in full. */
.newsletter-preview__window {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: #f2f4f7 repeating-linear-gradient(45deg, transparent 0 10px, rgba(0, 0, 0, .025) 10px 20px);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 24px 60px -32px rgba(10, 10, 11, .45);
}
.newsletter-preview__figure { display: block; }
.newsletter-preview__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (max-width: 680px) {
  .newsletter-container { padding: 0 20px; }
  .newsletter-hero { padding: 116px 0 56px; }
  .newsletter-hero__logo { height: 104px; margin-bottom: 20px; }
  .newsletter-hero__desc { font-size: var(--text-m, 18px); margin-bottom: 26px; }
  .newsletter-preview { padding: 48px 0 64px; }
  .newsletter-preview__title { font-size: var(--h5, 24px); margin-bottom: 22px; }

}
