/* ─── Fonts ─────────────────────────────────────────── */
/* Loaded via next/font in app/layout.tsx — CSS variables --font-montserrat,
   --font-roboto, --font-pt-mono are exposed there and consumed below. */

/* ─── Design Tokens (Paper Design) ──────────────────── */
:root {
  color-scheme: light;

  /* Colors */
  --clr-bg:            #FFFFFF;
  --clr-bg-tinted:     #F9FAFB;
  --clr-surface:       #FFFFFF;
  --clr-surface-2:     #F3F4F6;
  --clr-border:        #E5E7EB;
  --clr-border-bright: #D1D5DB;

  --clr-primary:       #111111;
  --clr-primary-hover: #333333;
  --clr-secondary:     #7C3AED;
  --clr-secondary-hover: #6D28D9;
  --clr-success:       #16A34A;
  --clr-warning:       #D97706;
  --clr-danger:        #DC2626;

  --clr-text:          #111827;
  --clr-text-muted:    #4B5563;
  --clr-text-dim:      #6B7280;

  /* Typography — Paper Design stack (bound to next/font CSS variables) */
  --ff-display:  var(--font-montserrat), system-ui, sans-serif;
  --ff-body:     var(--font-roboto), system-ui, sans-serif;
  --ff-mono:     var(--font-pt-mono), 'SF Mono', monospace;

  /* Type scale */
  --fs-sm:    14px;
  --fs-base:  16px;
  --fs-md:    18px;
  --fs-lg:    24px;
  --fs-xl:    32px;
  --fs-2xl:   40px;

  /* Spacing scale */
  --sp-1:  4px;  --sp-2:  8px;  --sp-3: 12px;
  --sp-4: 16px;  --sp-6: 24px;  --sp-8: 32px;
  --sp-10: 40px; --sp-12: 48px; --sp-16: 64px;
  --sp-20: 80px; --sp-24: 96px;

  /* Shadows */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 30px rgba(0,0,0,0.10);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.12);

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-pill: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   120ms;
  --t-mid:    200ms;
  --t-slow:   400ms;

  /* Layout */
  --max-w: 1120px;
  --nav-h: 64px;
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--sp-8));
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ─── Screen Reader Only ─────────────────────────────── */
.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;
}

/* ─── Skip Link ───────────────────────────────────────── */
.skip-link {
  position: fixed; top: -100%; left: var(--sp-4);
  background: var(--clr-primary); color: #fff;
  padding: var(--sp-3) var(--sp-4);
  min-height: 44px;
  display: inline-flex; align-items: center;
  border-radius: var(--radius-sm);
  z-index: 1100; font-weight: 500;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ─── Global Focus ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-secondary);
  outline-offset: 2px;
}

/* ─── Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (max-width: 768px) {
  .container { padding-inline: var(--sp-4); }
}

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: border-color var(--t-mid), background var(--t-mid);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--clr-border);
}
.nav__inner {
  width: 100%; max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex; align-items: center; gap: var(--sp-8);
}
.nav__logo {
  display: flex; align-items: center; gap: var(--sp-2);
  min-height: 44px;
  font-family: var(--ff-display);
  font-size: 1rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}
.nav__logo-mark {
  width: 32px; height: 32px;
  background: var(--clr-primary);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: #fff; flex-shrink: 0;
}
.nav__links {
  display: flex; align-items: center; gap: var(--sp-1);
  flex: 1;
}
.nav__link {
  padding: var(--sp-3) var(--sp-3);
  min-height: 44px;
  display: inline-flex; align-items: center;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover {
  color: var(--clr-text);
  background: var(--clr-surface-2);
}
.nav__right {
  display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0;
}
.nav__cta {
  padding: var(--sp-3) var(--sp-4);
  min-height: 44px;
  display: inline-flex; align-items: center;
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast);
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--clr-primary-hover);
}
.nav__mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: var(--sp-2); cursor: pointer;
}
.nav__mobile-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--clr-text); border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid);
}

/* ─── Mobile Menu ────────────────────────────────────── */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-4) var(--sp-6);
  flex-direction: column; gap: var(--sp-1);
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu .nav__link {
  display: block; padding: var(--sp-3) 0;
  font-size: var(--fs-base);
  border-bottom: 1px solid var(--clr-border);
}
.nav__mobile-menu .nav__link:last-of-type { border-bottom: none; }

@media (max-width: 768px) {
  .nav__links, .nav__right { display: none; }
  .nav__mobile-toggle { display: flex; }
  .nav__inner { padding-inline: var(--sp-4); }
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  min-height: 100dvh;
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-16);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.hero__content {
  display: flex; flex-direction: column;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: 12px; font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-secondary);
  margin-bottom: var(--sp-6);
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--clr-secondary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero__headline {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--clr-text);
  margin-bottom: var(--sp-6);
}
.hero__headline-accent {
  background: linear-gradient(135deg, var(--clr-secondary), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}
.hero__cta-row {
  display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}
.hero__proof {
  display: flex; align-items: center; gap: var(--sp-3);
}
.hero__avatars {
  display: flex;
}
.hero__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-body);
  font-size: 11px; font-weight: 600; color: #fff;
  border: 2px solid var(--clr-bg);
  margin-left: -8px;
}
.hero__avatar:first-child { margin-left: 0; }
.hero__proof-text {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}
.hero__proof-text strong {
  color: var(--clr-text);
}

/* ─── Hero Mockup ────────────────────────────────────── */
.hero__visual {
  display: flex; justify-content: center;
}
.hero__mockup {
  width: 100%; max-width: 400px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.mockup__header {
  display: flex; gap: 6px; padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg-tinted);
}
.mockup__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--clr-border-bright);
}
.mockup__body {
  padding: var(--sp-6);
}
.mockup__greeting {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-1);
}
.mockup__subtitle {
  font-size: var(--fs-sm);
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-4);
}
.mockup__topics {
  display: flex; gap: var(--sp-2); flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.mockup__topic {
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--clr-text-dim);
}
.mockup__topic--active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}
.mockup__cards {
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.mockup__card {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  transition: box-shadow var(--t-mid);
}
.mockup__card:first-child {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-border-bright);
}
.mockup__card-badge {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-1);
}
.mockup__card-title {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--clr-text);
  margin-bottom: var(--sp-1);
}
.mockup__card-meta {
  font-size: 11px;
  color: var(--clr-text-dim);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-h) + var(--sp-12));
    gap: var(--sp-10);
  }
  .hero__visual { order: -1; }
  .hero__mockup { max-width: 340px; }
}
@media (max-width: 768px) {
  .hero { padding-inline: var(--sp-4); }
}

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 600; font-size: var(--fs-base);
  border-radius: var(--radius-pill);
  transition: background var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--clr-primary-hover);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-md);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid var(--clr-border-bright);
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-weight: 600; font-size: var(--fs-base);
  border-radius: var(--radius-pill);
  transition: border-color var(--t-fast), background var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--clr-text-dim);
  background: var(--clr-surface-2);
}

/* ─── Logos Bar ───────────────────────────────────────── */
.logos-bar {
  padding-block: var(--sp-10);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.logos-bar__label {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-6);
}
.logos-bar__row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
}
.logos-bar__logo {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--clr-text-dim);
  opacity: 0.5;
  letter-spacing: -0.02em;
}

/* ─── Section Utilities ───────────────────────────────── */
.section {
  padding-block: var(--sp-20);
}
.section--tinted {
  background: var(--clr-bg-tinted);
}
.section__header {
  margin-bottom: var(--sp-12);
}
.section__header--center {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}
.section__label {
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--clr-secondary);
  margin-bottom: var(--sp-3);
}
.section__title {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--clr-text);
}
.section__sub {
  color: var(--clr-text-muted);
  margin-top: var(--sp-4);
  font-size: var(--fs-md);
  line-height: 1.7;
}

/* ─── Steps (How It Works) ───────────────────────────── */
.steps {
  display: flex; align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 var(--sp-6);
  position: relative;
}
.step__num {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--clr-text-dim);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}
.step__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--clr-surface-2);
  display: grid; place-items: center;
  margin: 0 auto var(--sp-6);
  color: var(--clr-secondary);
}
.step__title {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--clr-text);
}
.step__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-inline: auto;
}
.step__connector {
  width: 40px; flex-shrink: 0;
  height: 1px;
  background: var(--clr-border-bright);
  margin-top: 52px;
}

@media (max-width: 768px) {
  .steps { flex-direction: column; gap: var(--sp-10); align-items: center; }
  .step { padding: 0; max-width: 320px; }
  .step__connector { width: 1px; height: 40px; margin-top: 0; }
}

/* ─── Features Grid ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.feature-card {
  padding: var(--sp-8);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--clr-bg-tinted);
  border: 1px solid var(--clr-border);
  display: grid; place-items: center;
  color: var(--clr-secondary);
  margin-bottom: var(--sp-6);
}
.feature-card__title {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--clr-text);
}
.feature-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: var(--sp-6); }
}

/* ─── Topics Cloud ───────────────────────────────────── */
.topics-cloud {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  justify-content: center;
}
.topic-pill {
  display: inline-flex; align-items: center;
  padding: var(--sp-3) var(--sp-4);
  min-height: 44px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: all var(--t-fast);
  user-select: none;
}
.topic-pill:hover {
  border-color: var(--clr-secondary);
  color: var(--clr-secondary);
}
.topic-pill--active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}
.topic-pill--active:hover {
  background: var(--clr-primary-hover);
  border-color: var(--clr-primary-hover);
  color: #fff;
}
.topics-note {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--clr-text-dim);
  margin-top: var(--sp-6);
  font-style: italic;
}

/* ─── Testimonials ───────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.testimonial {
  padding: var(--sp-8);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
}
.testimonial__text {
  font-size: var(--fs-base);
  color: var(--clr-text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--sp-6);
}
.testimonial__footer {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
}
.testimonial__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-body);
  font-size: 12px; font-weight: 600; color: #fff;
  flex-shrink: 0;
}
.testimonial__name {
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-text);
}
.testimonial__role {
  font-size: 12px;
  color: var(--clr-text-dim);
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ─── Stats Bar ──────────────────────────────────────── */
.stats-bar {
  padding-block: var(--sp-16);
  background: var(--clr-primary);
  color: #fff;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  text-align: center;
}
.stat__val {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-1);
}
.stat__label {
  font-size: var(--fs-sm);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-10); }
}
@media (max-width: 480px) {
  .stats-bar__grid { grid-template-columns: 1fr; }
}

/* ─── CTA Section ────────────────────────────────────── */
.cta-section {
  padding-block: var(--sp-24);
}
.cta-card {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}
.cta-card__title {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
  color: var(--clr-text);
}
.cta-card__sub {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-8);
}
.cta-card__form {
  display: flex; gap: var(--sp-3);
  max-width: 460px; margin-inline: auto;
  flex-wrap: wrap; justify-content: center;
}
.cta-card__input {
  flex: 1; min-width: 220px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border-bright);
  border-radius: var(--radius-pill);
  color: var(--clr-text);
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  outline: 2px solid transparent; outline-offset: 2px;
  transition: border-color var(--t-fast), outline-color var(--t-fast);
}
.cta-card__input::placeholder { color: var(--clr-text-dim); }
.cta-card__input:focus-visible {
  border-color: var(--clr-secondary);
  outline-color: var(--clr-secondary);
}
.cta-card__note {
  font-size: 13px;
  color: var(--clr-text-dim);
  margin-top: var(--sp-4);
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--clr-bg-tinted);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-16); padding-bottom: var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}
.footer__brand-name {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--clr-text);
  letter-spacing: -0.02em;
}
.footer__brand-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--sp-6);
}
.footer__socials { display: flex; gap: var(--sp-3); }
.footer__social-link {
  width: 44px; height: 44px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--clr-text-dim);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.footer__social-link:hover {
  border-color: var(--clr-text-muted);
  color: var(--clr-text);
}
.footer__col-title {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
}
.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__link {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--clr-text); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap; gap: var(--sp-4);
}
.footer__legal { display: flex; gap: var(--sp-6); }
.footer__legal-link {
  font-size: 13px;
  color: var(--clr-text-dim);
  transition: color var(--t-fast);
}
.footer__legal-link:hover { color: var(--clr-text-muted); }
.footer__copy {
  font-size: 13px;
  color: var(--clr-text-dim);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Inner Pages (Legal / Contact) ──────────────────── */
.page-header {
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--clr-border);
}
.page-header__eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--clr-secondary);
  margin-bottom: var(--sp-3);
}
.page-header__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-text);
}
.page-header__date {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--clr-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--sp-3);
}

.prose { max-width: 700px; margin-inline: auto; }
.prose h2 {
  font-family: var(--ff-display); font-size: 1.375rem; font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: var(--sp-10); margin-bottom: var(--sp-4);
  padding-top: var(--sp-8); border-top: 1px solid var(--clr-border);
  color: var(--clr-text);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose p { font-size: 1.0625rem; color: var(--clr-text-muted); line-height: 1.8; margin-bottom: var(--sp-4); }
.prose a { color: var(--clr-secondary); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--clr-secondary-hover); }
.prose ul { margin: var(--sp-4) 0; padding-left: var(--sp-6); }
.prose li { font-size: 1.0625rem; color: var(--clr-text-muted); line-height: 1.8; margin-bottom: var(--sp-2); list-style: disc; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--sp-10); align-items: start; }
.form-group { margin-bottom: var(--sp-6); }
.form-label {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border-bright);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  outline: 2px solid transparent; outline-offset: 2px;
  transition: border-color var(--t-fast), outline-color var(--t-fast);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--clr-text-dim); }
.form-input:focus-visible, .form-textarea:focus-visible, .form-select:focus-visible {
  border-color: var(--clr-secondary);
  outline-color: var(--clr-secondary);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }

.contact-info-box {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  background: var(--clr-bg-tinted);
}
.contact-info-item {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  display: grid; place-items: center;
  color: var(--clr-secondary);
}
.contact-info-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-dim);
  margin-bottom: var(--sp-1);
}
.contact-info-val { font-size: var(--fs-base); color: var(--clr-text); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ─── Compatibility (inner pages) ────────────────────── */
.font-heading { font-family: var(--ff-display); }
.btn-subscribe {
  padding: var(--sp-2) var(--sp-4);
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast);
  white-space: nowrap;
}
.btn-subscribe:hover { background: var(--clr-primary-hover); }
.btn-accent {
  padding: var(--sp-3) var(--sp-6);
  background: var(--clr-primary); color: #fff;
  font-family: var(--ff-body);
  font-weight: 600; font-size: var(--fs-base);
  border-radius: var(--radius-pill);
  cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast);
}
.btn-accent:hover { background: var(--clr-primary-hover); }

/* ─── Scroll Reveal Animation ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Reduced Motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── Reading progress (kept for inner pages) ────────── */
.reading-progress {
  position: fixed; top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--clr-secondary);
  z-index: 200;
  transition: width 80ms;
}

/* ─── Pull Quote (inner pages) ───────────────────────── */
.pull-quote {
  padding-block: var(--sp-12);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.pull-quote__text {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--clr-text);
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  position: relative;
}
.pull-quote__mark {
  font-size: 3em;
  color: var(--clr-secondary);
  line-height: 0;
  position: absolute;
  left: -0.5em; top: 0.3em;
}
.pull-quote__cite {
  display: block;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--clr-text-dim);
  font-style: normal;
  margin-top: var(--sp-4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   /daily — Display-campaign landing page
   Banner Concept A palette: deep navy + electric cyan ("signal in the noise")
   All classes scoped under .daily so this can't leak into the homepage.
   Display LPs deliberately diverge from site visual language to maintain
   message-match with the banner creative the visitor just clicked.
   ═══════════════════════════════════════════════════════════════════════════ */

.daily {
  --d-bg:        #0A1628;
  --d-bg-2:      #0F1E36;
  --d-bg-3:      #142847;
  --d-border:    #1F3458;
  --d-border-2:  #2A4470;
  --d-text:      #F1F5FB;
  --d-text-2:    #9DB1CF;
  /* --d-text-3 was #6B82A8 — failed WCAG AA on --d-bg-2 (4.28:1).
     Bumped to #7E94B7 for AA pass on both --d-bg (5.71:1) and --d-bg-2 (5.34:1). */
  --d-text-3:    #7E94B7;
  --d-cyan:      #00D4FF;
  --d-cyan-glow: rgba(0, 212, 255, 0.32);
  --d-cyan-soft: rgba(0, 212, 255, 0.12);
  --d-violet:    #7C9CFF;

  /* Editorial italic accent — Instrument Serif. Used in H1, H2 accents,
     final CTA. Loaded by (lp)/layout.tsx. */
  --ff-serif-italic: var(--font-instrument-serif), Georgia, serif;

  /* SCOPED FONT OVERRIDE: replace Roboto (AI-slop) with Bricolage Grotesque
     for body + H2 within the LP. Homepage stays on Roboto since this only
     applies inside .daily. */
  --ff-body: var(--font-bricolage), system-ui, sans-serif;

  background: var(--d-bg);
  color: var(--d-text);
  font-family: var(--ff-body);
  min-height: 100vh;
  position: relative;
}
/* Atmospheric grain over the entire LP body — much subtler than the hero
   grain (opacity 0.18 vs hero's 0.6). Creates filmic continuity between
   sections so the editorial-cinematic feel doesn't stop at the hero. */
.daily::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: overlay;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.daily a { color: inherit; }
.daily ::selection { background: var(--d-cyan); color: var(--d-bg); }
/* Override the global purple focus ring — purple-on-navy is 1.99:1 (POOR).
   Cyan on navy is 10.24:1 (AAA). Critical for keyboard-only users. */
.daily :focus-visible {
  outline: 2px solid var(--d-cyan);
  outline-offset: 3px;
}

.daily__container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.daily__container--narrow { max-width: 760px; }

.daily__h1 {
  font-family: var(--ff-display);
  /* Bigger and more confident — Prisma-scale display type.
     Min 4rem so it's still readable on small phones, max ~9rem so it fits
     within the 8-column hero grid on huge screens. */
  font-size: clamp(4rem, 11vw, 8.75rem);
  font-weight: 800;
  line-height: 0.95;
  /* Tighter negative tracking for editorial feel (Prisma uses -0.07em). */
  letter-spacing: -0.06em;
  color: var(--d-text);
  margin-bottom: var(--sp-6);
}
/* Italic-serif accent on a single word in the H1 — the entire design moment.
   Drops the previous cyan→violet gradient (which was over-applied per audit:
   "cyan everywhere = nowhere"). One serif-italic word in a sans-serif heading
   is the most reliable trick for editorial personality. */
.daily__h1-italic {
  font-family: var(--ff-serif-italic);
  font-style: italic;
  font-weight: 400;
  /* Slightly looser tracking on the italic offsets visually heavier serif. */
  letter-spacing: -0.02em;
  /* Trailing space — needs to be generous because the parent's tight
     negative tracking (-0.05 to -0.06em) eats the natural word space.
     0.18em ≈ 17px at the final-CTA scale, restores readable separation. */
  padding-right: 0.18em;
}
.daily__h2 {
  /* Bricolage Grotesque — variable, contemporary, editorial. */
  font-family: var(--ff-body);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-6);
}
/* Italic-serif accent applied to one word per H2 — same editorial language
   as the hero H1 italic. The skill calls this "one well-orchestrated
   moment beats scattered micro-interactions." */
.daily__h2-italic {
  font-family: var(--ff-serif-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  /* Trailing space — see daily__h1-italic comment. H2 tracking is less
     aggressive (-0.04em) so the gap can be smaller, but still needs more
     than the natural space allowance. */
  padding-right: 0.12em;
}
.daily__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--d-text-2);
  line-height: 1.55;
  margin-bottom: var(--sp-8);
  max-width: 540px;
}
.daily__section-sub {
  font-size: 1.0625rem;
  color: var(--d-text-2);
  margin-bottom: var(--sp-10);
  max-width: 580px;
}
.daily__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--d-border-2);
  background: var(--d-cyan-soft);
  border-radius: var(--radius-pill);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--d-text-2);
  margin-bottom: var(--sp-6);
}
.daily__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--d-cyan);
  box-shadow: 0 0 12px var(--d-cyan);
  animation: daily-pulse 2.4s ease-in-out infinite;
}
@keyframes daily-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.3); }
}

/* ─── CTA button — compound (cyan pill + inner navy circle holding arrow) ─
   Prisma-style nested affordance: outer pill carries the label, inner circle
   carries the icon. On hover the outer gap widens AND the inner circle scales
   — two synchronized motions create a more premium interactive feel than a
   single transform. */
.daily__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  /* Asymmetric padding: tall on the label side, tight on the circle side
     (the circle has its own visual mass). */
  padding: 8px 8px 8px 28px;
  background: var(--d-cyan);
  color: var(--d-bg) !important;
  font-family: var(--ff-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 0 var(--d-cyan-glow), 0 8px 30px rgba(0, 212, 255, 0.25);
  transition: gap var(--t-mid) var(--ease-out),
              transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              background var(--t-fast);
  white-space: nowrap;
  min-height: 60px;
}
.daily__cta:hover {
  transform: translateY(-2px);
  background: #2DDDFF;
  box-shadow: 0 0 0 6px var(--d-cyan-glow), 0 14px 40px rgba(0, 212, 255, 0.35);
  gap: 18px;
}
.daily__cta:active { transform: translateY(0); }
.daily__cta-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--d-bg);
  display: grid;
  place-items: center;
  transition: transform var(--t-mid) var(--ease-out);
}
.daily__cta:hover .daily__cta-circle { transform: scale(1.08); }
.daily__cta-arrow {
  color: var(--d-cyan);
  transition: transform var(--t-mid) var(--ease-out);
}
.daily__cta:hover .daily__cta-arrow { transform: translateX(2px); }

/* ─── Hero — inset framed treatment ───────────────────────────────────── */
/* Outer wrapper is just padding around the frame — creates the "framed art
   piece" effect (Prisma p-4 md:p-6 inset). The hero is no longer flush to
   the page edges. */
.daily__hero {
  padding: 12px;
}
.daily__hero-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
  /* 1px cyan-tinted border + subtle inner shadow gives the "card on canvas"
     feel without needing a different background color from the page. */
  border: 1px solid rgba(0, 212, 255, 0.10);
  box-shadow:
    inset 0 0 120px rgba(0, 212, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.35);
}
.daily__hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--d-cyan-soft) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(124, 156, 255, 0.10) 0%, transparent 60%),
    var(--d-bg);
  z-index: 0;
}
/* Filmic grain overlay — inline SVG fractal noise, mix-blend-overlay.
   Costs nothing (no asset request) and pushes the photographic hero from
   "stock photo" toward "shot on film." opacity tuned low to add texture
   without making the hero look distressed. */
.daily__hero-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.6;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* 8+4 asymmetric grid — H1 gets 2× the headline real estate so it can
   actually breathe at 11vw, body+CTA fit the right column. */
.daily__hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.daily__hero-content { max-width: 100%; }
.daily__hero-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--d-text-3);
  letter-spacing: 0.04em;
}
.daily__hero-trustline li { padding: 0; }

/* Hero visual: photographic LP hero (generated by Higgsfield).
   Square aspect to match source image; uses next/image with `fill`. */
.daily__hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--d-border);
  overflow: hidden;
  /* Subtle cyan rim-glow tying the image into the page palette. */
  box-shadow:
    0 0 60px rgba(0, 212, 255, 0.12),
    var(--shadow-xl);
}
.daily__hero-visual-img {
  object-fit: cover;
}

/* ─── Sources strip — infinite marquee ────────────────────────────────── */
.daily__sources {
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--d-border);
  border-bottom: 1px solid var(--d-border);
  background: var(--d-bg-2);
}
.daily__sources-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--d-text-3);
  text-align: center;
  margin-bottom: var(--sp-6);
}
.daily__sources-marquee {
  overflow: hidden;
  /* Edge-fade mask — sources fade in/out at the viewport edges instead of
     hard-cutting. Magazine-classifieds-strip aesthetic. */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.daily__sources-list {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--sp-12);
  width: max-content;
  /* Loop translates -50% so the duplicated tail scrolls into the head's
     starting position seamlessly. */
  animation: daily-marquee 45s linear infinite;
}
.daily__sources-item {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--d-text-2);
  white-space: nowrap;
  opacity: 0.85;
}
@keyframes daily-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .daily__sources-list {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

/* ─── Generic section ─────────────────────────────────────────────────── */
.daily__section {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
}
.daily__section--tinted { background: var(--d-bg-2); }

/* ─── Benefits — magazine "feature columns" treatment ──────────────────
   No card chrome — three columns separated by hairline rules, each with
   the kicker → italic-serif headline → dek hierarchy you'd see in a
   magazine feature spread. Removes the SaaS 3-card pattern entirely. */
.daily__benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--sp-12);
  border-top: 1px solid var(--d-border);
  border-bottom: 1px solid var(--d-border);
}
.daily__benefit {
  padding: var(--sp-10) var(--sp-6) var(--sp-10) var(--sp-6);
  /* Hairline column rules between benefits — magazine column convention. */
  border-left: 1px solid var(--d-border);
}
.daily__benefit:first-child { border-left: none; }
.daily__benefit-eyebrow {
  /* Mono small-caps kicker — the same vocabulary used in the masthead. */
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--d-cyan);
  margin-bottom: var(--sp-4);
}
.daily__benefit-title {
  /* Italic-serif magazine headline — replaces the bold sans-serif title.
     Smaller weight visual presence than a SaaS card title, but more
     editorial gravitas. */
  font-family: var(--ff-serif-italic);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--sp-4);
  color: var(--d-text);
}
.daily__benefit-body {
  /* The "dek" — magazine deck text below the headline. */
  font-size: 0.9375rem;
  color: var(--d-text-2);
  line-height: 1.65;
}

/* ─── Masthead — publication header at the top of the page ─────────────
   Three-zone grid: meta-left | wordmark-center | meta-right.
   Mono small-caps for the meta zones, body type for the wordmark with
   one italic-serif accent ("The") for editorial flavor. */
.daily__masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-6);
  padding: 14px 24px;
  border-bottom: 1px solid var(--d-border);
  background: var(--d-bg);
  /* Sits above the page-wide grain overlay so the rule reads cleanly. */
  position: relative;
  z-index: 60;
}
.daily__masthead-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--d-text-3);
}
.daily__masthead-zone--right { justify-content: flex-end; }
.daily__masthead-wordmark {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--d-text);
}
.daily__masthead-wordmark em {
  font-family: var(--ff-serif-italic);
  font-style: italic;
  font-weight: 400;
  padding-right: 0.12em;
}
@media (max-width: 700px) {
  .daily__masthead {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 8px;
    padding: 12px 16px;
  }
  .daily__masthead-zone--left,
  .daily__masthead-zone--right { justify-content: center; }
  .daily__masthead-zone--right { display: none; }
}

/* ─── Drop cap — first sample-issue story ──────────────────────────────
   Magazine spread convention: oversized italic-serif initial letter on
   the first story's body paragraph. Lands on "W" of "What changed:". */
.daily__sample-story:first-of-type p::first-letter {
  font-family: var(--ff-serif-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 3.5em;
  float: left;
  line-height: 0.85;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--d-cyan);
}

/* ─── Page-load choreographed stagger ──────────────────────────────────
   "One well-orchestrated page load with staggered reveals creates more
   delight than scattered micro-interactions" — frontend-design skill.
   Hero elements rise into place sequentially: kicker → H1 → sub → CTA →
   trustline, with the photographic visual coming in slightly later and
   slower. Pure CSS, no JS, respects reduced-motion. */
@keyframes daily-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.daily__hero-content > .daily__eyebrow,
.daily__hero-content > .daily__h1,
.daily__hero-content > .daily__sub,
.daily__hero-content > .daily__cta,
.daily__hero-content > .daily__hero-trustline {
  animation: daily-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.daily__hero-content > .daily__eyebrow         { animation-delay: 0.05s; }
.daily__hero-content > .daily__h1              { animation-delay: 0.15s; }
.daily__hero-content > .daily__sub             { animation-delay: 0.5s;  }
.daily__hero-content > .daily__cta             { animation-delay: 0.7s;  }
.daily__hero-content > .daily__hero-trustline  { animation-delay: 0.9s;  }
.daily__hero-visual {
  animation: daily-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.35s;
}
@media (prefers-reduced-motion: reduce) {
  .daily__hero-content > *,
  .daily__hero-visual { animation: none; }
}

/* ─── Sample issue mockup ─────────────────────────────────────────────── */
.daily__sample {
  margin-top: var(--sp-10);
  padding: var(--sp-10);
  background: linear-gradient(180deg, #14264A 0%, #0E1B33 100%);
  border: 1px solid var(--d-border-2);
  border-radius: var(--radius-2xl);
  max-width: 800px;
  margin-inline: auto;
  box-shadow: var(--shadow-xl);
}
.daily__sample-header { margin-bottom: var(--sp-8); }
.daily__sample-meta {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--d-cyan);
  margin-bottom: var(--sp-3);
}
.daily__sample-title {
  font-family: var(--ff-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--d-text);
}
.daily__sample-stories {
  display: grid;
  gap: var(--sp-6);
  list-style: none;
  padding: 0;
}
.daily__sample-story {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  border-top: 1px solid var(--d-border);
}
.daily__sample-story:first-child { border-top: none; padding-top: 0; }
.daily__sample-story-num {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--d-cyan);
  padding-top: 3px;
}
.daily__sample-story h4 {
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--d-text);
}
.daily__sample-story p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--d-text-2);
}
.daily__sample-story strong {
  color: var(--d-text);
  font-weight: 600;
}
.daily__sample-footer {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--d-border);
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--d-text-3);
  letter-spacing: 0.02em;
  text-align: center;
}

/* ─── Steps — editorial timeline (NOT a 3-card grid like Benefits) ─────
   Breaking the visual symmetry called out in the audit: Benefits + How-it
   were both 3-card grids, which read as monotonous repetition. This is
   now a vertical editorial list with massive italic-serif numerals and
   hairline rules between steps. Different rhythm = different memory.   */
.daily__steps {
  display: flex;
  flex-direction: column;
  margin-top: var(--sp-12);
  list-style: none;
  padding: 0;
  max-width: 820px;
  /* Slight off-center positioning for editorial asymmetry — pulls the
     step list left of true center. */
  margin-left: 8%;
}
.daily__step {
  display: grid;
  grid-template-columns: clamp(96px, 14vw, 200px) 1fr;
  gap: clamp(var(--sp-6), 4vw, var(--sp-16));
  align-items: baseline;
  padding-block: var(--sp-10);
  border-top: 1px solid var(--d-border);
}
.daily__step:last-child { border-bottom: 1px solid var(--d-border); }
.daily__step-n {
  /* Massive italic-serif numerals — the design moment of this section. */
  font-family: var(--ff-serif-italic);
  font-style: italic;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--d-text);
  background: none;
  border: none;
  padding: 0;
  width: auto;
  height: auto;
  display: inline;
  margin: 0;
}
.daily__step-content {
  padding-top: var(--sp-3);
}
.daily__step-title {
  font-family: var(--ff-body);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
  color: var(--d-text);
}
.daily__step-body {
  font-size: 1rem;
  color: var(--d-text-2);
  line-height: 1.55;
  max-width: 56ch;
}

/* ─── Editor block ────────────────────────────────────────────────────── */
.daily__editor {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-6);
  background: var(--d-bg-3);
  border: 1px solid var(--d-border);
  border-radius: var(--radius-xl);
  max-width: 720px;
  margin-top: var(--sp-8);
}
.daily__editor-photo {
  flex-shrink: 0;
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--d-cyan) 0%, var(--d-violet) 100%);
}
.daily__editor-photo img { width: 100%; height: 100%; object-fit: cover; }
.daily__editor-initial {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--d-bg);
}
.daily__editor-name {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--d-text);
  margin-bottom: var(--sp-1);
}
.daily__editor-cred {
  font-size: 0.9375rem;
  color: var(--d-text-2);
  line-height: 1.55;
}

/* ─── FAQ ─────────────────────────────────────────────────────────────── */
.daily__faq {
  display: grid;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
}
.daily__faq-item {
  padding: var(--sp-6);
  background: var(--d-bg-2);
  border: 1px solid var(--d-border);
  border-radius: var(--radius-lg);
}
.daily__faq-q {
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--d-text);
  margin-bottom: var(--sp-3);
}
.daily__faq-a {
  font-size: 0.9375rem;
  color: var(--d-text-2);
  line-height: 1.65;
  margin: 0;
}

/* ─── Final CTA ───────────────────────────────────────────────────────── */
.daily__final {
  position: relative;
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, var(--d-cyan-soft) 0%, transparent 70%),
    var(--d-bg);
  border-top: 1px solid var(--d-border);
}
.daily__final-title {
  font-family: var(--ff-display);
  /* Dramatic scale — final CTA must feel like the page's last MOMENT,
     not just a footer-prelude. Approaching hero H1 scale. */
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: var(--sp-6);
}
.daily__final-sub {
  font-size: 1.0625rem;
  color: var(--d-text-2);
  margin-bottom: var(--sp-8);
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
.daily__footer {
  padding: var(--sp-12) 0 var(--sp-8);
  background: var(--d-bg-2);
  border-top: 1px solid var(--d-border);
}
.daily__footer .daily__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  text-align: center;
}
.daily__footer-logo {
  height: auto;
  width: 140px;
  margin-bottom: var(--sp-2);
}
.daily__footer-business {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--d-text-3);
  letter-spacing: 0.02em;
}
.daily__footer-links {
  display: flex;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.daily__footer-links a {
  display: inline-flex;
  align-items: center;
  /* 44pt minimum touch target (Apple HIG / WCAG 2.5.5 target size).
     12px block + 16px inline padding on a 13px line = ~44px tall hit area. */
  padding: 12px 16px;
  font-size: 13px;
  color: var(--d-text-2);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.daily__footer-links a:hover {
  color: var(--d-cyan);
  background: rgba(0, 212, 255, 0.06);
}

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Mobile inset: tighter outer padding, smaller frame radius. */
  .daily__hero { padding: 8px; }
  .daily__hero-frame {
    padding-top: var(--sp-12);
    padding-bottom: var(--sp-16);
    border-radius: 24px;
  }
  /* Mobile stacks single-column — H1 is so big it needs the full width. */
  .daily__hero-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .daily__hero-content { max-width: 100%; }
  .daily__hero-visual { aspect-ratio: 1 / 1; }
  /* Mobile benefits: single-column stack with horizontal hairline rules
     instead of the desktop column rules (vertical lines wouldn't make
     sense on a vertical stack). */
  .daily__benefits { grid-template-columns: 1fr; }
  .daily__benefit { border-left: none; border-top: 1px solid var(--d-border); padding: var(--sp-8) var(--sp-2); }
  .daily__benefit:first-child { border-top: none; }
  .daily__steps { grid-template-columns: 1fr; gap: var(--sp-2); }
  /* Steps off-center pull is too aggressive on mobile — center them. */
  .daily__steps { margin-left: 0; }
  .daily__sample { padding: var(--sp-6); }
  .daily__editor { flex-direction: column; text-align: center; align-items: center; }
  .daily__section { padding-top: var(--sp-12); padding-bottom: var(--sp-12); }
  .daily__final { padding-top: var(--sp-16); padding-bottom: var(--sp-16); }
}

@media (max-width: 480px) {
  .daily__cta { padding: 18px 24px; font-size: 1rem; min-height: 56px; }
  .daily__sample { padding: var(--sp-4); }
  .daily__sample-story { grid-template-columns: 1fr; gap: var(--sp-2); }
  .daily__footer-logo { width: 120px; }
}
