:root {
  --color-bg: #f4f7fb;
  --color-surface: #ffffff;
  --color-surface-warm: #f8fbff;
  --color-text: #262424;
  --color-muted: #536174;
  --color-subdued: #6a7688;
  --color-soft: #eef4fa;
  --color-line: #dce6f1;
  --color-primary: #3182f6;
  --color-primary-dark: #1f63d2;
  --color-primary-soft: #eaf3ff;
  --color-brand-lavender: #78b7ff;
  --color-accent: #d7ff4f;
  --color-accent-soft: #f3ffd5;
  --color-ink: #0c1522;
  --color-blue: #3182f6;
  --shadow-soft: none;
  --shadow-subtle: none;
  --radius-sm: 0;
  --radius-md: 0;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family:
    sohne-var,
    "SF Pro Display",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.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;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.button:hover {
  transform: none;
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--color-primary-dark);
}

.button-dark {
  background: var(--color-text);
  color: #ffffff;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary);
  border-color: rgba(0, 111, 255, 0.28);
}

.button-ghost:hover {
  border-color: var(--color-primary);
}

.hero {
  position: relative;
  min-height: 620px;
  max-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-bg);
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f8fafd 0%, rgba(248, 250, 253, 0.96) 42%, rgba(248, 250, 253, 0.82) 70%, rgba(248, 250, 253, 0.96) 100%),
    url("assets/newming-weekly-og.png") right 44% center / 780px auto no-repeat;
  z-index: -1;
}

.hero-content {
  padding: 76px 0 88px;
  color: var(--color-text);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 500;
}

.hero .eyebrow {
  color: var(--color-primary);
}

.hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: 56px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 28px;
  color: var(--color-muted);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}

.subscribe-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.subscribe-form input {
  width: min(360px, 100%);
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--color-text);
  outline: none;
}

.subscribe-form input:focus {
  border-color: var(--color-primary);
  outline: 2px solid rgba(49, 130, 246, 0.24);
  outline-offset: 1px;
}

.hero-form input {
  border-color: #cfe2ff;
}

.hero-form {
  width: 100%;
  justify-content: center;
}

.hero-form .button {
  background: var(--color-primary);
  color: #ffffff;
}

.hero-form .button:hover {
  background: var(--color-primary-dark);
}

.form-message {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--color-primary-dark);
  font-size: 15px;
  font-weight: 400;
}

.hero .form-message,
.bottom-cta .form-message {
  color: var(--color-primary-dark);
}

.hero-note {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 0;
  background: var(--color-line);
}

.intro-strip article {
  padding: 24px;
  background: var(--color-surface);
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  color: var(--color-text);
  font-size: 24px;
  font-weight: 300;
}

.intro-strip span {
  margin-top: 4px;
  color: var(--color-muted);
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
  padding: 76px 0;
}

.newsletter-panel {
  background: var(--color-surface);
  border-radius: 0;
  padding: 32px;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 34px;
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--color-muted);
}

.centered {
  text-align: center;
}

.centered p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.row-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.list-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 400;
}

.sort-button {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--color-line);
  border-radius: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 500;
}


.newsletter-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 24px;
  padding: 28px 0;
}

.newsletter-item h3 {
  margin: 10px 0 0;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.34;
  letter-spacing: 0;
}

.newsletter-item time {
  display: block;
  margin-top: 36px;
  color: var(--color-muted);
  font-size: 15px;
}

.newsletter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.newsletter-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 0;
  background: var(--color-soft);
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.newsletter-meta span:first-child {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.newsletter-item img {
  width: 98px;
  height: 98px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--color-surface-warm);
}

.list-footer {
  display: flex;
  justify-content: center;
  padding: 34px 0 4px;
}

.side-rail {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 20px;
}

.rail-block {
  background: var(--color-surface);
  border-top: 3px solid var(--color-primary);
  border-radius: 0;
  padding: 18px;
}

.right-rail__block {
  border-radius: 16px;
}

.subscribe-card {
  border-top-color: var(--color-primary);
}

.subscribe-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0;
}

.stacked {
  flex-direction: column;
}

.stacked input {
  width: 100%;
}

.rail-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  font-weight: 500;
}

.featured-link {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.featured-link img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 0;
}

.featured-link strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.featured-link em {
  display: block;
  margin-top: 6px;
  color: var(--color-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.rss-list {
  display: grid;
  gap: 10px;
}

.rss-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.rss-tab {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-subdued);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.rss-tab[aria-selected="true"] {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.rss-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px 0;
  border-radius: 0;
}

.rss-thumb {
  width: 48px;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  background: var(--color-soft);
}

.rss-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.38;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rss-item span {
  display: block;
  color: var(--color-muted);
  font-size: 14px;
}

.rss-item > span > span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.rss-more-link {
  justify-self: center;
  margin-top: 4px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}

.ad-block {
  display: grid;
  justify-items: center;
  padding: 0 !important;
  background: none !important;
  margin-top: 20px;
}

.ad-block .rail-title {
  justify-self: stretch;
}

.ad-banner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 180px;
  height: 320px;
  padding: 18px;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(64, 28, 24, 0.38), rgba(64, 28, 24, 0.96)),
    url("assets/newming-weekly-icon.png") center 36px / 112px no-repeat,
    #351d1b;
  color: #ffffff;
}

.right-rail__ad .ad-banner {
  border-radius: 16px;
}

.ad-banner .ad-kicker {
  margin-bottom: auto;
  color: #ffdfd7;
  font-size: 12px;
  font-weight: 500;
}

.ad-banner strong {
  font-size: 24px;
  line-height: 1.05;
}

.ad-banner span:not(.ad-kicker) {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.ad-banner em {
  align-self: flex-start;
  margin-top: 16px;
  padding: 8px 10px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.32);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.content-band {
  padding: 84px 0;
  background: var(--color-bg);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.value-card {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: 0;
  background: #ffffff;
}

.value-index {
  color: var(--color-primary);
  font-weight: 500;
}

.value-card h3 {
  margin: 24px 0 10px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0;
}

.value-card p {
  margin: 0;
  color: var(--color-muted);
}

.format-section {
  padding: 86px 0 42px;
}

.format-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.format-lead,
.format-stack article {
  border-radius: 0;
  background: var(--color-surface);
}

.format-lead {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(20, 23, 31, 0.14), rgba(20, 23, 31, 0.82)),
    url("assets/newming-weekly-og.png") center / cover no-repeat;
  color: #ffffff;
}

.format-lead span {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 0;
  background: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
}

.format-lead h3 {
  margin: 18px 0 10px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.format-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.format-stack {
  display: grid;
  gap: 14px;
}

.format-stack article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.format-stack strong {
  color: var(--color-primary);
  font-size: 14px;
}

.format-stack h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0;
}

.format-stack p {
  grid-column: 2;
  margin: 0;
  color: var(--color-muted);
}

.intelligence-section {
  padding: 86px 0;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
}

.insight-lead {
  min-height: 560px;
}

.insight-list {
  display: grid;
  gap: 12px;
}

.insight-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 22px;
  border-radius: 0;
  background: var(--color-surface);
}

.insight-list span {
  color: var(--color-primary);
  font-weight: 500;
}

.insight-list h3 {
  margin: 0 0 6px;
  font-size: 23px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0;
}

.insight-list p {
  margin: 0;
  color: var(--color-muted);
}

.sample-section {
  padding: 86px 0;
  background: var(--color-bg);
  color: var(--color-text);
}

.sample-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.sample-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--color-muted);
}

.sample-copy h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0;
}

.sample-card {
  padding: 30px;
  border: 1px solid var(--color-line);
  border-radius: 0;
  background: #ffffff;
}

.sample-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 0;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 500;
}

.sample-card h3 {
  margin: 18px 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0;
}

.sample-lines {
  display: grid;
  gap: 12px;
  margin: 0;
}

.sample-lines article {
  padding: 16px;
  border-left: 3px solid var(--color-primary);
  border-radius: 0;
  background: var(--color-soft);
}

.sample-lines strong {
  display: block;
  color: var(--color-text);
}

.sample-lines p {
  margin: 6px 0 0;
  color: var(--color-muted);
}

.steps-section {
  padding: 86px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.steps-grid article {
  padding: 28px;
  border-radius: 0;
  background: var(--color-surface);
}

.steps-grid span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 500;
}

.steps-grid h3 {
  margin: 20px 0 8px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0;
}

.steps-grid p {
  margin: 0;
  color: var(--color-muted);
}

.bottom-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-brand-lavender));
  color: #ffffff;
}

.bottom-cta .eyebrow {
  color: #dceaff;
}

.bottom-cta h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0;
}

.bottom-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
}

.bottom-form {
  justify-content: flex-end;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.modal-panel {
  position: relative;
  width: min(100%, 440px);
  padding: 30px;
  border-radius: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.modal-panel h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.24;
}

.modal-panel p:not(.eyebrow):not(.form-message) {
  color: var(--color-muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 19, 23, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text);
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.issue-modal[hidden] {
  display: none;
}

.issue-modal {
  position: fixed;
  inset: 0;
  z-index: 115;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  box-sizing: border-box;
  
}

.issue-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 29, 0.68);
  backdrop-filter: blur(8px);
}

.issue-modal-panel {
  position: relative;
  width: min(940px, calc(100vw - 44px));
  /*height: min(88svh, calc(100svh - 44px));*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 24px 52px rgba(31, 38, 48, 0.08);
}

.issue-browser-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 1160;
  height: auto;
  max-height: 88svh;
  flex: 0 1 auto;
  overflow: hidden;
  box-shadow: none;
  --issue-browser-chrome-height: 6.8965517241%;
  --issue-browser-body-top: 6.8965517241%;
  --issue-browser-body-height: 93.1034482759%;
}

.issue-browser-shell,
.newming-outer-pad td {
  border-radius: 0 0 7px 7px;
}

.issue-browser-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  object-position: top left;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
}

.issue-frame {
  position: absolute;
  inset: var(--issue-browser-body-top) 0 0 0;
  width: 100%;
  height: var(--issue-browser-body-height);
  border: 0;
  background: #fff;
  border-radius: inherit;
  z-index: 0;
}

.issue-modal-close {
  position: absolute;
  top: -40px;
  right: -40px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(7, 17, 29, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.modal-close::before,
.modal-close::after,
.issue-modal-close::before,
.issue-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.modal-close::before,
.issue-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after,
.issue-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover,
.issue-modal-close:hover {
  border-color: rgba(17, 19, 23, 0.2);
  background: #ffffff;
}

.issue-loading {
  position: absolute;
  inset: var(--issue-browser-body-top) 0 0 0;
  display: grid;
  place-items: center;
  background: #f4f6f8;
  border-radius: inherit;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 800;
  z-index: 0;
}

.issue-loading[hidden] {
  display: none;
}

.toast {
  position: fixed;
  top: calc(var(--header-height) + 14px);
  left: 50%;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(6, 27, 49, 0.08);
  border-radius: 999px;
  background: rgba(17, 19, 23, 0.88);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-error {
  background: rgba(180, 35, 24, 0.9);
}

.toast.is-success::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.toast.is-success::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: translateY(-60%) rotate(-45deg);
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 48px;
  }

  .two-column-section,
  .insight-layout,
  .sample-inner,
  .bottom-cta-inner {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-block {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    min-height: calc(100svh - 120px);
  }

  .hero-background {
    background:
      linear-gradient(180deg, rgba(248, 250, 253, 0.96), rgba(248, 250, 253, 0.86)),
      url("assets/newming-weekly-og.png") center bottom / 620px auto no-repeat;
  }

  .hero-content {
    padding: 58px 0 64px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .subscribe-form,
  .bottom-form {
    flex-direction: column;
  }

  .subscribe-form input {
    width: 100%;
  }

  .intro-strip,
  .value-grid,
  .steps-grid,
  .side-rail {
    grid-template-columns: 1fr;
  }

  .ad-block {
    grid-column: auto;
  }

  .two-column-section,
  .content-band,
  .intelligence-section,
  .sample-section,
  .steps-section {
    padding: 58px 0;
  }

  .newsletter-panel {
    padding: 22px;
  }

  .row-heading {
    flex-direction: column;
  }

  .section-heading h2,
  .sample-copy h2,
  .bottom-cta h2 {
    font-size: 30px;
  }

  .newsletter-item {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 14px;
  }

  .newsletter-item h3 {
    font-size: 21px;
  }

  .newsletter-item time {
    margin-top: 24px;
  }

  .newsletter-thumb {
    width: 76px;
    height: 76px;
  }

}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 38px;
  }

  .newsletter-item {
    grid-template-columns: 1fr;
  }

  .newsletter-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .newsletter-list-placeholder-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Careet/Uppity-inspired newsletter landing refresh */
:root {
  --color-bg: #f4f6f8;
  --color-surface-warm: #f8fafc;
  --color-text: #17191c;
  --color-muted: #4c5561;
  --color-subdued: #6f7782;
  --color-soft: #eef3f8;
  --color-line: #e5e9ef;
  --color-primary: #3182f6;
  --color-primary-dark: #2663eb;
  --color-primary-soft: #eaf3ff;
  --color-accent: #ff7a1a;
  --shadow-soft: none;
  --shadow-subtle: none;
  --radius-sm: 8px;
  --radius-md: 8px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.55;
}

.container {
  width: min(100% - 44px, 1180px);
}

.button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.button-dark {
  background: var(--color-text);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 500;
}


.delivery-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.delivery-board,
.mail-preview,
.newsletter-panel,
.feed-section,
.rail-block {
  border-radius: 24px;
  background: #ffffff;
}

.delivery-board {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.delivery-status-card {
  display: inline-grid;
  width: fit-content;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: center;
  margin: 0 auto 26px;
  padding: 10px 14px;
  border: 1px solid rgba(49, 130, 246, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.delivery-status-card strong {
  color: var(--color-text);
}

.delivery-board h1 {
  max-width: 980px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(58px, 8.2vw, 112px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
  word-break: keep-all;
}

.delivery-board .hero-copy {
  max-width: 680px;
  margin: 28px auto 30px;
  color: var(--color-muted);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.72;
  word-break: keep-all;
}

.delivery-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.delivery-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(7, 17, 29, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-subdued);
  font-size: 13px;
  font-weight: 700;
}

.subscribe-form {
  gap: 8px;
}

.subscribe-form input {
  min-height: 44px;
  border-color: #dce4ee;
  font-size: 14px;
}

.hero-note,
.form-message {
  font-size: 13px;
}

.mockup-stage {
  position: relative;
  width: min(100%, 1120px);
  min-height: 620px;
  margin: 0 auto;
  perspective: 1200px;
}

.parallax-layer {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.mail-preview {
  position: relative;
  z-index: 1;
  width: min(78vw, 760px);
  min-height: 545px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 29, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 40px 110px rgba(7, 17, 29, 0.18);
  backdrop-filter: blur(18px);
}

.mail-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(7, 17, 29, 0.08);
  background: rgba(248, 251, 255, 0.84);
}

.mail-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6dde7;
}

.mail-window-bar span:first-child {
  background: var(--color-accent);
}

.mail-head {
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--color-line);
}

.mail-head span,
.mail-main-story span,
.mail-summary span {
  display: block;
  color: var(--color-subdued);
  font-size: 13px;
  font-weight: 800;
}

.mail-head h2 {
  margin: 8px 0 0;
  color: var(--color-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  word-break: keep-all;
}

.mail-head p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.58;
}

.mail-summary {
  margin: 22px 30px 0;
  padding: 22px;
  border-radius: 22px;
  background: var(--color-ink);
  color: #ffffff;
}

.mail-summary span {
  color: #b8c2cc;
}

.mail-summary strong {
  display: block;
  margin-top: 7px;
  font-size: 22px;
  line-height: 1.35;
}

.mail-summary p {
  margin: 12px 0 0;
  color: #d7dde4;
  font-size: 15px;
  line-height: 1.6;
}

.mail-main-story {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 30px 0;
}

.mail-main-story img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  border-radius: 18px;
  background: #e8edf3;
}

.mail-main-story h3 {
  margin: 6px 0 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.mail-main-story p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.58;
}

.mail-more {
  padding: 24px 28px 28px;
}

.mail-more strong {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
  font-size: 18px;
  font-weight: 800;
}

.mail-more ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mail-more li {
  padding: 10px 12px;
  background: #f8fafc;
  color: #26313f;
  font-size: 14px;
  font-weight: 700;
}

.phone-preview {
  position: absolute;
  right: 72px;
  bottom: 12px;
  z-index: 3;
  width: 218px;
  padding: 12px;
  border: 1px solid rgba(7, 17, 29, 0.13);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(7, 17, 29, 0.2);
}

.hero-mini-card {
  position: absolute;
  z-index: 4;
  width: 230px;
  padding: 18px;
  border: 1px solid rgba(7, 17, 29, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(7, 17, 29, 0.13);
  backdrop-filter: blur(16px);
}

.hero-mini-card span {
  display: block;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
}

.hero-mini-card strong {
  display: block;
  margin-top: 8px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.38;
  word-break: keep-all;
}

.hero-mini-card-left {
  left: 12px;
  top: 92px;
}

.hero-mini-card-right {
  right: 8px;
  top: 150px;
}

.phone-preview img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  border-radius: 22px;
  background: transparent;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 26px;
  padding-bottom: 80px;
  align-items: start;
}

.content-feed {
  display: grid;
  gap: 22px;
}

.feed-section,
.newsletter-panel {
  padding: 24px;
}

.section-heading h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}

.section-heading p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 15px;
}

.newsletter-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.newsletter-item {
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  transition: background 0.18s ease;
}

.newsletter-item:hover {
  transform: none;
}

.newsletter-thumb {
  display: block;
  width: 196px;
  border-radius: 12px;
  max-height: 120px;
  overflow: hidden;

}

.newsletter-item img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.newsletter-item:hover img {
  transform: scale(1.06);
}

.newsletter-item h3 {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.34;
}

.newsletter-item p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.58;
}

.newsletter-item time {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.newsletter-meta span {
  min-height: 22px;
  background: #f1f4f8;
  color: var(--color-subdued);
  font-size: 12px;
  font-weight: 800;
}

.newsletter-meta span:first-child {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.newsletter-card-section {
  display: block;
}

.newsletter-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.newsletter-card-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.newsletter-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
}

.newsletter-card-thumb {
  display: block;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #dfe6ee;
}

.newsletter-card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.newsletter-card-body {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 20px 16px;
}

.newsletter-card:hover .newsletter-card-thumb img {
  transform: scale(1.06);
}

.newsletter-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.newsletter-card time {
  margin-top: 12px;
  color: var(--color-subdued);
  font-size: 14px;
  font-weight: 500;
}

.newsletter-card p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.46;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.newsletter-card-placeholder,
.newsletter-item-placeholder {
  pointer-events: none;
}

.newsletter-card-placeholder-image,
.newsletter-list-placeholder-image,
.newsletter-card-placeholder-line {
  display: block;
  background: linear-gradient(90deg, #e0e4ea 0%, #edf0f4 48%, #e0e4ea 100%);
  background-size: 220% 100%;
  animation: placeholderShimmer 1.8s ease-in-out infinite;
}

.newsletter-card-placeholder-image {
  width: 100%;
  height: 180px;
}

.newsletter-list-placeholder-image {
  width: 196px;
  height: 120px;
}

.newsletter-list-placeholder-body {
  display: block;
  padding-top: 6px;
}

.newsletter-card-placeholder-line {
  width: 100%;
  height: 14px;
  margin-top: 14px;
}

.newsletter-card-placeholder-line.is-title {
  width: 82%;
  height: 24px;
  margin-top: 0;
}

.newsletter-card-placeholder-line.is-short {
  width: 58%;
}

@keyframes placeholderShimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

.briefing-flow {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: start;
  padding: 32px 0;
  border: 0;
  background: transparent;
}

.briefing-flow-copy h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.28;
  word-break: keep-all;
}

.briefing-flow-copy p:not(.eyebrow) {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

.briefing-flow-list {
  border-top: 2px solid var(--color-text);
}

.briefing-flow-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}

.briefing-flow-item span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #252525;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.briefing-flow-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.briefing-flow-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.58;
  word-break: keep-all;
}

.side-rail {
  position: relative;
  display: block;
}

.side-rail-scroll {
  display: grid;
  gap: 16px;
  overflow: visible;
}

.rail-block {
  border-top: 0;
  padding: 18px;
}

.rail-title span {
  font-weight: 800;
}

.subscribe-card {
  background: #111317;
  color: #ffffff;
}

.subscribe-card .eyebrow {
  color: #a9cfff;
}

.subscribe-card h2 {
  font-size: 21px;
  font-weight: 800;
}

.featured-link {
  grid-template-columns: 78px minmax(0, 1fr);
}

.featured-link img {
  width: 78px;
  height: 58px;
  border-radius: 0;
}

.rss-item {
  grid-template-columns: 48px minmax(0, 1fr);
}

.ad-block .ad-banner {
  border-radius: 16px;
}

.right-rail .rail-block {
  border-radius: 16px;
}


.bottom-cta {
  padding: 54px 0;
  background: #ffffff;
  color: var(--color-text);
  border-top: 1px solid var(--color-line);
}

.bottom-cta .eyebrow {
  color: var(--color-primary-dark);
}

.bottom-cta h2 {
  font-size: 30px;
  font-weight: 800;
}

.bottom-cta .form-message {
  color: var(--color-primary-dark);
}

@media (max-width: 980px) {
  .delivery-hero-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .delivery-board {
    min-height: auto;
  }

  .mockup-stage {
    min-height: 620px;
  }

  .mail-preview {
    margin: 0 auto;
  }

  .side-rail {
    position: static;
  }

  .side-rail-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .newsletter-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  /*main {
    padding-top: var(--header-height);
  }*/

  .container {
    width: min(100% - 28px, 1180px);
  }

  .delivery-hero {
    min-height: auto;
    padding: 34px 0 28px;
  }

  .delivery-board,
  .mail-head,
  .feed-section,
  .newsletter-panel {
    padding: 22px;
  }

  .delivery-board h1 {
    font-size: 44px;
  }

  .delivery-board .hero-copy {
    font-size: 16px;
  }

  .mockup-stage {
    display: grid;
    min-height: auto;
    gap: 0;
    margin-top: 14px;
  }

  .hero-mini-card {
    display: none;
  }

  .mail-preview {
    width: 100%;
    min-height: auto;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(7, 17, 29, 0.12);
  }

  .mail-window-bar {
    height: 34px;
    padding: 0 18px;
  }

  .subscribe-form,
  .bottom-form {
    flex-direction: column;
  }

  .subscribe-form input {
    width: 100%;
  }

  .newsletter-card-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    min-height: auto;
  }

  .mail-summary {
    margin: 18px 22px 0;
    padding: 18px;
    border-radius: 18px;
  }

  .mail-main-story {
    grid-template-columns: 1fr;
    padding: 22px 22px 0;
  }

  .mail-main-story img {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .phone-preview {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: auto;
    width: min(210px, 68vw);
    margin-top: -64px;
    margin-right: 14px;
  }

  .mail-more {
    padding: 22px;
  }

  .content-layout {
    padding: 22px 0 46px;
  }

  .row-heading {
    gap: 12px;
  }

  .section-heading h2,
  .bottom-cta h2 {
    font-size: 25px;
  }

  .newsletter-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .newsletter-item img {
    width: 92px;
    height: 70px;
  }

  .newsletter-item h3 {
    font-size: 17px;
  }

  .newsletter-item p {
    display: none;
  }

  .briefing-flow {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .side-rail {
    grid-template-columns: 1fr;
  }

  .bottom-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .delivery-board h1 {
    font-size: 38px;
  }

  .delivery-status-card {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .newsletter-item {
    grid-template-columns: 1fr;
  }

  .newsletter-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Bottom subscription banner */
.bottom-cta {
  padding: 72px 0;
  border-top: 1px solid #ece8e0;
  color: var(--color-text);
}

.bottom-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.5fr);
  gap: 64px;
  align-items: center;
}

.bottom-copy {
  position: relative;
  display: flex;
  align-items: center;
  gap: 34px;
}

.bottom-copy h2 {
  margin: 0;
  max-width: 680px;
  color: var(--color-text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.26;
}

.bottom-copy h2 span {
  display: block;
}

.bottom-form-panel {
  color: var(--color-text);
}

.bottom-signup-form {
  display: grid;
  gap: 14px;
}

.bottom-signup-form > label {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
}

.bottom-signup-form input[type="email"] {
  width: 100%;
  height: 40px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid var(--color-text);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  outline: none;
}

.bottom-signup-form input[type="email"]:focus {
  border-bottom-color: var(--color-primary-dark);
  outline: none;
}

.consent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.consent-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--color-text);
}

.bottom-submit {
  justify-self: start;
  min-height: 44px;
  margin-top: 10px;
  padding: 12px 0;
  width: stretch;
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
}

.bottom-submit:hover {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  color: #ffffff;
}

.bottom-form-panel .form-message {
  color: var(--color-primary-dark);
}

@media (max-width: 980px) {
  .bottom-cta-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bottom-copy {
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .bottom-cta {
    padding: 46px .875rem;
  }

  .bottom-copy {
    align-items: flex-start;
    gap: 18px;
  }

  .bottom-copy h2 {
    font-size: 25px;
  }

  .consent-row {
    display: grid;
    gap: 10px;
  }

  .consent-row label {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .bottom-copy {
    display: grid;
  }

  .bottom-copy h2 {
    font-size: 23px;
  }

}

/* Nearo-style full visual hero */
.visual-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 44px);
  margin: 22px;
  padding: 118px 0 0;
  border-radius: 28px;
  background: linear-gradient(180deg, #0a0e14 0%, #434b59 48%, #171f2d 100%);
  color: #ffffff;
  overflow: clip;
}

.visual-hero-surface {
  background-color: var(--color-ink, rgb(25, 25, 25)) ;
  border-radius: 24px;
  transform: none;
  transform-origin: 50% 50% 0px;
}

.visual-hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 1;
  pointer-events: none;
}

.visual-hero-glow-top {
  background-color: var(--color-ink, rgb(25, 25, 25));
  filter: blur(100px);
  border-radius: 100%;
  transform: none;
  transform-origin: 50% 50% 0px;
  z-index: 0;
  flex: none;
  width: 125%;
  height: 1009px;
  position: absolute;
  top: -333px;
  left: -12.5%;
}

.visual-hero-glow-bottom {
  right: 5%;
  bottom: -16%;
  width: 56%;
  height: 44%;
  background: rgba(255, 255, 255, 0.08);
}

.visual-hero .delivery-hero-grid {
  position: relative;
  z-index: 1;
  gap: 10px;
}

.visual-hero .delivery-board {
  max-width: 920px;
  margin: 0 auto;
  color: #ffffff;
}

.visual-hero [data-hero-title] {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  animation: heroTitleRise 0.58s cubic-bezier(0.12, 0.23, 0.5, 1) forwards;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.12s;
}

.visual-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.visual-hero .delivery-status-card {
  order: -1;
  margin-bottom: 18px;
  border: 0;
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: none;
  backdrop-filter: none;
}

.visual-hero .delivery-status-card strong {
  color: var(--color-text);
}

.visual-hero .delivery-board h1 {
  max-width: 920px;
  color: #ffffff;
  font-size: clamp(62px, 8.5vw, 86px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.visual-hero .delivery-board .hero-copy {
  max-width: 520px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  line-height: 1.55;
}

.visual-hero .hero-form {
  width: min(100%, 474px);
  min-height: 64px;
  margin: 14px auto 0;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

.visual-hero .hero-form input {
  flex: 1 1 auto;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
}

.visual-hero .hero-form input::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.visual-hero .hero-form input:focus {
  outline: none;
}

.visual-hero .hero-form .button {
  min-height: 48px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 14px;
  padding: 0 30px;
}

.visual-hero .hero-form .button:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.visual-hero .form-message {
  color: rgba(255, 255, 255, 0.86);
}

.visual-hero .hero-note {
  display: none;
}

.visual-hero .delivery-meta {
  display: none;
}

.visual-hero .mockup-stage {
  min-height: 440px;
  margin-top: 12px;
  overflow: visible;
}

.visual-hero .mail-preview {
  display: none;
}

.visual-hero .hero-mini-card {
  position: absolute;
  z-index: 4;
  padding: 18px 20px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(255 255 255 / 94%) 0%, rgb(255 255 255 / 64%) 100%);
  color: var(--color-text);
  box-shadow: 0 22px 52px rgba(4, 6, 25, 0.30);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.visual-hero .hero-mini-card span {
  display: block;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.visual-hero .hero-mini-card strong {
  display: block;
  margin-top: 8px;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  word-break: keep-all;
}

.visual-hero .hero-mini-card em {
  display: block;
  margin-top: 8px;
  color: #66707d;
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}

.visual-hero .phone-preview {
  left: 50%;
  right: auto;
  bottom: -500px;
  width: clamp(360px, 31vw, 450px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  translate: -50% 0;
}

.visual-hero .hero-mini-card-left {
  left: 15%;
  top: 284px;
  width: 290px;
  z-index: 5;
}

.visual-hero .hero-mini-card-right {
  right: 17%;
  top: 96px;
  z-index: 5;
}


.visual-hero .hero-mini-card-right strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.visual-hero .hero-mini-card-right em {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.visual-hero .phone-mockup-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 36px 80px rgba(19, 86, 128, 0.28));
}

.visual-hero .phone-live-content {
  position: absolute;
  top: calc(10.1% + 28px);
  right: calc(8.8% + 20px);
  left: calc(8.8% + 20px);
  z-index: 2;
  max-height: 54%;
  overflow: hidden;
  color: var(--color-text);
  pointer-events: none;
}

.visual-hero .phone-live-content > span {
  display: block;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.visual-hero .phone-live-content > strong {
  display: -webkit-box;
  margin-top: 12px;
  overflow: hidden;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.visual-hero .phone-live-content > p {
  display: -webkit-box;
  margin: 12px 0 0;
  overflow: hidden;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.48;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.visual-hero .phone-live-content > img {
  display: block;
  width: 100%;
  height: 140px;
  margin-top: 18px;
  object-fit: cover;
  border-radius: 0;
}

.visual-hero .phone-live-content > img[src=""] {
  display: none;
}

.visual-hero .phone-content-skeleton {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.visual-hero .phone-content-skeleton span {
  position: relative;
  display: block;
  height: 42px;
  border-radius: 16px;
  background: #f3f6f9;
  overflow: hidden;
}

.visual-hero .phone-content-skeleton span::before,
.visual-hero .phone-content-skeleton span::after {
  content: "";
  position: absolute;
  left: 18px;
  height: 7px;
  border-radius: 999px;
  background: #d9dee5;
}

.visual-hero .phone-content-skeleton span::before {
  top: 12px;
  width: 42%;
}

.visual-hero .phone-content-skeleton span::after {
  top: 25px;
  width: 68%;
  opacity: 0.72;
}

.visual-hero .phone-content-skeleton span:nth-child(2)::before {
  width: 52%;
}

.visual-hero .phone-content-skeleton span:nth-child(2)::after {
  width: 78%;
}

.visual-hero .phone-content-skeleton span:nth-child(3)::before {
  width: 38%;
}

.visual-hero .phone-content-skeleton span:nth-child(3)::after {
  width: 58%;
}

/* Translucent line treatment */
:root {
  --color-line: rgba(177, 194, 213, 0.46);
}

.bottom-cta .eyebrow,
.subscribe-card .eyebrow {
  color: #fff;
}



.subscribe-form input:focus {
  border-color: rgba(49, 130, 246, 0.68);
}

.visual-hero .hero-form {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
}

.visual-hero .hero-form .button {
  background: var(--color-primary);
  box-shadow: none;
  color: #ffffff;
}

.visual-hero .hero-form .button:hover {
  background: var(--color-primary-dark);
}

.section-title {
  max-width: 820px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  word-break: keep-all;
}

.section-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.65;
  word-break: keep-all;
}

.section-reveal {
  --reveal-y: 50px;
  --section-y: 0px;
  opacity: 0;
  transform: translate3d(0, calc(var(--reveal-y) + var(--section-y)), 0);
  transition:
    opacity 0.5s ease,
    transform 0.62s cubic-bezier(0.12, 0.23, 0.5, 1);
  will-change: opacity, transform;
}

.section-reveal.is-visible {
  --reveal-y: 0px;
  opacity: 1;
}

.content-reveal {
  --reveal-y: 34px;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  transition:
    opacity 0.48s ease,
    transform 0.62s cubic-bezier(0.12, 0.23, 0.5, 1);
  will-change: opacity, transform;
}

.content-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.side-rail-reveal {
  --reveal-y: 46px;
  transition-delay: 0.16s;
}

[data-stagger-item] {
  --stagger-y: 24px;
  opacity: 0;
  transform: translate3d(0, var(--stagger-y), 0);
  transition:
    opacity 0.48s ease,
    transform 0.62s cubic-bezier(0.12, 0.23, 0.5, 1);
  will-change: opacity, transform;
}

[data-stagger-item].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.content-band,
.format-section,
.intelligence-section,
.sample-section,
.steps-section {
  padding: 108px 0;
  background: var(--color-bg);
}

.value-grid,
.steps-grid {
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.value-card,
.steps-grid article {
  min-height: 260px;
  padding: 32px;
  border: 0;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.72);
}

.value-index,
.steps-grid span,
.format-stack strong,
.insight-list span {
  color: var(--color-primary);
  font-weight: 900;
}

.value-card h3,
.steps-grid h3,
.format-stack h3,
.insight-list h3 {
  font-weight: 900;
  word-break: keep-all;
}

.value-card p,
.steps-grid p,
.format-stack p,
.insight-list p,
.sample-lines p {
  color: var(--color-muted);
  font-weight: 600;
  line-height: 1.62;
  word-break: keep-all;
}

.format-board {
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 0;
  margin-top: 44px;
  border: 1px solid var(--color-line);
  background: #ffffff;
}

.format-lead {
  min-height: 520px;
  border-right: 1px solid var(--color-line);
  background:
    linear-gradient(180deg, rgba(17, 19, 23, 0.04), rgba(17, 19, 23, 0.74)),
    url("assets/newming-weekly-og.png") center / cover no-repeat;
}

.format-lead span {
  border-radius: 999px;
}

.format-lead h3 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
}

.format-stack {
  gap: 0;
}

.format-stack article {
  min-height: 172px;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.72);
}

.format-stack article:last-child {
  border-bottom: 0;
}

.insight-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 0;
  margin-top: 44px;
  border: 1px solid var(--color-line);
  background: #ffffff;
}

.insight-lead {
  min-height: 560px;
  overflow: hidden;
  border-right: 1px solid var(--color-line);
  background: #111317;
}

.insight-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.insight-list {
  gap: 0;
}

.insight-list article {
  min-height: 186px;
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.72);
}

.insight-list article:last-child {
  border-bottom: 0;
}

.sample-section {
  background: #ffffff;
}

.sample-inner {
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
}

.sample-copy,
.sample-card {
  padding: 44px;
}

.sample-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--color-line);
}

.sample-card {
  border: 0;
  background: #ffffff;
}

.sample-copy h2,
.sample-card h3 {
  font-weight: 900;
  word-break: keep-all;
}

.sample-lines article {
  border-left: 2px solid var(--color-primary);
  background: #f8fafc;
}

.steps-grid span {
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* Feature cards inspired by the Nearo reference */
.features-section {
  padding: 80px 0;
}

.features-section.section-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.features-section .container {
  max-width: 1280px;
}

.features-section .eyebrow,
.features-section .section-title,
.features-section .section-copy {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.features-section .eyebrow {
  color: var(--color-primary);
}

.features-section .section-title {
  max-width: 760px;
  font-size: clamp(42px, 5.2vw, 48px);
  line-height: 1.08;
  font-weight: 700;
}

.animated-title-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
}

.features-section.is-visible .animated-title-line {
  animation: heroTitleRise 0.58s cubic-bezier(0.12, 0.23, 0.5, 1) forwards;
}

.features-section.is-visible .animated-title-line:nth-child(2) {
  animation-delay: 0.12s;
}

@keyframes heroTitleRise {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features-section .section-copy {
  max-width: 440px;
  color: #5f6672;
}

.features-section .features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  align-items: stretch;
  gap: 24px;
  margin-top: 64px;
  border: 0;
}

.features-section .feature-card {
  position: relative;
  display: grid;
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(260px, 1fr) auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #eef1f4;
  box-shadow: none;
}

.feature-visual {
  position: relative;
  display: grid;
  max-height: 240px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.feature-visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 42%;
  background: linear-gradient(180deg, rgba(238, 241, 244, 0), #eef1f4 76%);
  pointer-events: none;
}

.feature-card-copy {
  position: relative;
  z-index: 5;
  padding: 0 38px 34px;
  text-align: center;
}

.feature-card-copy .value-index {
  display: block;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.features-section .feature-card h3 {
  margin: 0;
  color: #25272c;
  font-size: clamp(24px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.2;
}

.features-section .feature-card p {
  max-width: 430px;
  margin: 16px auto 0;
  color: #5f6672;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.feature-news-stack {
  position: relative;
  width: min(68%, 370px);
  height: 120px;
}

.feature-news-stack span {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  height: 112px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 52px rgba(31, 38, 48, 0.08);
}

.feature-news-stack span::before,
.feature-news-stack span::after {
  content: "";
  position: absolute;
  left: 28px;
  border-radius: 999px;
  background: #d9dee5;
}

.feature-news-stack span::before {
  top: 30px;
  width: 54%;
  height: 14px;
}

.feature-news-stack span::after {
  top: 58px;
  width: 34%;
  height: 10px;
}

.feature-news-stack span:nth-child(1) {
  top: -40px;
  opacity: 0.54;
  transform: scale(0.84);
}

.feature-news-stack span:nth-child(2) {
  top: 2px;
  opacity: 0.74;
  transform: scale(0.94);
}

.feature-news-stack span:nth-child(3) {
  top: 48px;
}

.feature-news-stack span:nth-child(3)::before {
  background: #22262d;
}

.feature-card-mobile .feature-visual img {
  width: min(48%, 240px);
  min-width: 190px;
  margin-top: 52px;
  filter: drop-shadow(0 26px 42px rgba(23, 31, 42, 0.18));
}

.feature-floating-chip,
.feature-inbox-card {
  position: absolute;
  z-index: 3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 54px rgba(31, 38, 48, 0.1);
}

.feature-floating-chip {
  top: 118px;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  color: #25272c;
}

.feature-floating-chip b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(49, 130, 246, 0.12);
  color: var(--color-primary);
}

.feature-floating-chip span {
  font-size: 14px;
  font-weight: 700;
}

.feature-flow-map {
  position: relative;
  width: min(70%, 410px);
  height: 190px;
}

.feature-flow-map::before,
.feature-flow-map i {
  content: "";
  position: absolute;
  inset: 55px 60px auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(49, 130, 246, 0), rgba(49, 130, 246, 0.55), rgba(49, 130, 246, 0));
}

.feature-flow-map i {
  inset: 94px 96px auto;
}

.feature-flow-map span {
  position: absolute;
  display: grid;
  width: 116px;
  height: 74px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(31, 38, 48, 0.08);
}

.feature-flow-map span::before {
  content: "";
  width: 48px;
  height: 10px;
  border-radius: 999px;
  background: #b9c3d0;
}

.feature-flow-map span:nth-child(1) {
  top: 0;
  left: 0;
}

.feature-flow-map span:nth-child(2) {
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
}

.feature-flow-map span:nth-child(3) {
  right: 0;
  bottom: 0;
}

.feature-inbox-card {
  width: min(72%, 430px);
  padding: 28px;
  color: #25272c;
}

.feature-inbox-card span {
  display: block;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.feature-inbox-card strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-inbox-card em {
  display: block;
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  background: #e2e7ee;
}

.feature-inbox-card em:last-child {
  width: 72%;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .features-section {
    padding: 92px 0;
  }

  .features-section .features-grid {
    margin-top: 42px;
  }

  .features-section .feature-card {
    min-height: 0;
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .features-section .features-grid {
    grid-template-columns: 1fr;
    width: min(100%, 760px);
  }

  .features-section .section-title {
    font-size: 38px;
  }

  .feature-card-copy {
    padding: 0 24px 28px;
  }

  .features-section .feature-card p {
    font-size: 15px;
  }
}

/* Keep the newsletter side rail pinned with native sticky behavior */
@media (min-width: 981px) {
  .content-layout {
    position: relative;
    align-items: start;
    overflow: visible;
  }

  .content-feed {
    min-width: 0;
  }

  .content-layout .side-rail {
    position: sticky;
    top: 20px;
    align-self: start;
    height: fit-content;
    z-index: 3;
  }

  .content-layout .side-rail-scroll {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .side-rail-reveal {
    transition-delay: 0.04s;
  }
}

@media (max-width: 760px) {
  .visual-hero {
    margin: 0;
    border-radius: 0;
    min-height: 0;
  }

  .visual-hero-surface {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%),
      radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 24%, rgba(255, 255, 255, 0) 56%),
      linear-gradient(180deg, #090d13 0%, #121a26 50%, #181f2c 100%);
  }

  .visual-hero-glow-top {
    top: -2%;
    left: 8%;
    width: 68%;
    height: 44%;
    background: rgba(255, 255, 255, 0.22);
  }

  .visual-hero .delivery-hero-grid {
    gap: 0;
  }

  .visual-hero .delivery-board {
    max-width: none;
  }

  .visual-hero .delivery-board h1 {
    font-size: clamp(34px, 10.8vw, 48px);
  }

  .visual-hero .delivery-board .hero-copy {
    max-width: 320px;
    margin-top: 18px;
    font-size: 14px;
  }

  .visual-hero .hero-form {
    width: min(100%, 360px);
    min-height: 54px;
    border-radius: 24px;
    margin-top: 18px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
  }

  .visual-hero .hero-form input,
  .visual-hero .hero-form .button {
    min-height: 40px;
  }

  .visual-hero .hero-form .button {
    padding: 0 24px;
    font-size: 12px;
  }

  .visual-hero .mockup-stage {
    position: relative;
    width: min(100%, 420px);
    min-height: 300px;
    margin: 18px auto 0;
  }

  .visual-hero .phone-preview {
    left: 50%;
    bottom: -96px;
    width: min(260px, 68vw);
    translate: -50% 0;
  }

  .visual-hero .hero-mini-card {
    display: block;
    max-width: 178px;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(4, 6, 25, 0.22);
    backdrop-filter: blur(16px) saturate(1.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
  }

  .visual-hero .hero-mini-card-left {
    left: 0;
    top: 214px;
  }

  .visual-hero .hero-mini-card-right {
    right: 0;
    top: 154px;
  }

  .visual-hero .hero-mini-card span {
    font-size: 10px;
  }

  .visual-hero .hero-mini-card strong {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.22;
  }

  .visual-hero .hero-mini-card em {
    margin-top: 6px;
    font-size: 10px;
  }
}
