/* Get Updates page. Tokens, nav, buttons and footer come from styles.css. */
.sub {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(104px, 14vh, 136px) var(--gutter) clamp(48px, 8vh, 88px);
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.sub__back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background-color .3s, color .3s; }
.sub__back::before { content: "\2190"; margin-right: 8px; }
.sub h1 { margin-top: clamp(20px, 3vh, 32px); font-size: clamp(52px, 7.4vw, 112px); line-height: 1; text-wrap: balance; }
.sub__lede { margin-top: 20px; max-width: 460px; color: var(--ink-2); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; }
.sub__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sub__topics li { padding: 8px 14px; border-radius: 999px; background: var(--sage); color: var(--forest); font-size: 15px; font-weight: 500; }

/* The arch from the hero, with the form resting on it */
.sub__stage { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 196px; }
.sub__arch {
  position: absolute; left: 50%; top: 0; height: 260px; width: min(76%, 420px); transform: translateX(-50%);
  border-radius: 9999px 9999px 0 0;
  background: #0f4733 url(assets/horizon.jpg) center 42% / auto 170% no-repeat;
}
.sub__card {
  position: relative; width: min(100%, 480px); padding: 22px 24px 18px; border-radius: var(--r-md); background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 21, 18, .05), 0 28px 60px -32px rgba(10, 61, 43, .55);
}
.sub__card h2 { font-size: clamp(30px, 2.8vw, 38px); }
.sub__card > p { color: var(--ink-2); font-size: 17px; margin-top: 4px; }
.sub__form { margin-top: 0; margin-bottom: -30px; min-height: 240px; }
.sub__form iframe { display: block; width: 100% !important; max-width: 100%; border: 0; }
/* Beehiiv sizes its frame by talking to the page, which fails on file:// URLs. This covers that case only. */
.sub__form iframe:not([data-bhv-sized]) { height: 410px !important; }
.sub__card > .sub__note { position: relative; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px; }

@media (hover: hover) {
  .sub__back:hover { background: var(--sage); color: var(--ink); }
}
@media (max-width: 900px), (max-height: 520px) {
  .sub { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 36px; }
  .sub h1 { font-size: clamp(46px, 13vw, 88px); }
  .sub__stage { padding-top: 150px; }
  .sub__arch { width: min(80%, 340px); height: 210px; }
}
