/* =============================================================================
   landing.css — landing page sections
   Linked only on /. Depends on: tokens.css, base.css, components.css, public.css.
   ============================================================================= */

/* --- Hero --------------------------------------------------------------- */
.hero {
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .hero { padding: 7rem 0 8rem; }
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood-text);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero__kicker::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--oxblood-text);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 10vw, 6.5rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 1;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.75rem;
  max-width: 15ch;
}

.hero__headline em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--oxblood-text);
}

.hero__subhead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .hero__subhead { font-size: 1.2rem; }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
}

.hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.hero__status-label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood-text);
}

.hero__status a {
  color: var(--oxblood-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Values ------------------------------------------------------------- */
.values {
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .values { padding: 6rem 0; }
}

.values__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .values__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}

.value__numeral {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
  color: var(--oxblood-text);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.value__title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}

.value__body {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* --- Split -------------------------------------------------------------- */
.split {
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .split { padding: 6rem 0; }
}

.split__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.split__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 1rem;
}

.split__intro {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 2.5rem;
}

.split__strip {
  display: flex;
  height: 76px;
  margin-bottom: 2.5rem;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.split__segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  font-variation-settings: 'opsz' 96;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.split__segment--platform  { width: 40%; background: var(--ink); }
.split__segment--publisher { width: 50%; background: var(--oxblood-text); }
.split__segment--pool      { width: 10%; background: var(--gold); color: var(--on-gold); }

.split__legend {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .split__legend {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.split__legend-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.split__swatch {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 0.4rem;
}

.split__swatch--platform  { background: var(--ink); }
.split__swatch--publisher { background: var(--oxblood-text); }
.split__swatch--pool      { background: var(--gold); }

.split__legend-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.split__legend-body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.split__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 60ch;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.split__note a {
  color: var(--oxblood-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- How it works ------------------------------------------------------- */
.how {
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .how { padding: 6rem 0; }
}

.how__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.how__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

.how__headline em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--oxblood-text);
}

.how__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.how__tabs {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}

.how__tab {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0 0 1rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.how__tab:hover { color: var(--ink); }

#how-writers:checked ~ .how__tabs label[for="how-writers"],
#how-readers:checked ~ .how__tabs label[for="how-readers"] {
  color: var(--ink);
  border-bottom-color: var(--oxblood-text);
}

.how__radio:focus-visible ~ .how__tabs label[for="how-writers"],
.how__radio:focus-visible ~ .how__tabs label[for="how-readers"] {
  outline: 2px solid var(--oxblood-text);
  outline-offset: 4px;
}

.how__panel { display: none; }

#how-writers:checked ~ .how__panel--writers,
#how-readers:checked ~ .how__panel--readers {
  display: block;
}

.how__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.how__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}

.how__step:last-child {
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .how__step {
    grid-template-columns: 4rem 1fr;
    gap: 3rem;
    padding: 2.5rem 0;
  }
}

.how__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: 'opsz' 96, 'SOFT' 50, 'WONK' 1;
  color: var(--oxblood-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .how__num { font-size: 2rem; }
}

.how__step-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.how__step-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
}

@media (min-width: 768px) {
  .how__step-text { font-size: 1.2rem; }
}

/* --- Featured posts ----------------------------------------------------- */
.featured {
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .featured { padding: 6rem 0; }
}

.featured__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.featured__header {
  margin-bottom: 2.5rem;
}

.featured__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.featured__kicker::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--oxblood-text);
}

.featured__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 20ch;
}

.featured__headline em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--oxblood-text);
}

.featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .featured__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* --- Featured card ------------------------------------------------------ */
.featured-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease;
}

.featured-card:hover {
  border-top-color: var(--oxblood-text);
}

.featured-card:hover .featured-card__title {
  color: var(--oxblood-text);
}

.featured-card__author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.featured-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.featured-card__avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--oxblood);
  color: var(--on-oxblood);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
}

.featured-card__author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.featured-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  font-variation-settings: 'opsz' 96, 'WONK' 1;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  transition: color .15s ease;
}

.featured-card__excerpt {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: auto;
}

/* --- Roles (Who it's for) ---------------------------------------------- */
.roles {
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 768px) {
  .roles { padding: 6rem 0; }
}

.roles__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.roles__header {
  margin-bottom: 3rem;
}

.roles__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.roles__kicker::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--oxblood-text);
}

.roles__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 22ch;
}

.roles__headline em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--oxblood-text);
}

.roles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .roles__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.role-card {
  padding: 2rem 0;
  border-top: 1px solid var(--ink);
}

.role-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood-text);
  margin-bottom: 1.25rem;
}

.role-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'WONK' 1;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.role-card__body {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 44ch;
}

.role-card__cta {
  align-self: flex-start;
}

/* --- Final CTA ---------------------------------------------------------- */
/* Fixed light-token island: stays an ink panel in both themes. */
.final-cta {
  padding: 5rem 0;
  background: var(--ink);
  color: var(--paper);
}

@media (min-width: 768px) {
  .final-cta { padding: 7rem 0; }
}

.final-cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.final-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'WONK' 1;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 1rem;
}

.final-cta__headline em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--oxblood-hi);
}

.final-cta__body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(var(--paper-rgb), 0.65);
  margin-bottom: 2.5rem;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
}

.final-cta .btn--primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.final-cta .btn--primary:hover {
  background: var(--oxblood-hi);
  border-color: var(--oxblood-hi);
  color: var(--on-oxblood);
}

.final-cta .link-arrow {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.final-cta .link-arrow:hover {
  color: var(--oxblood-hi);
  border-bottom-color: var(--oxblood-hi);
}
