/* Editorial redesign: content hierarchy before decoration. */
:root {
  --ink: #17231e;
  --muted: #5d6a64;
  --line: #d9e0db;
  --paper: #f5f7f4;
  --white: #fff;
  --green: #14765b;
  --green-dark: #0d513f;
  --green-soft: #e7f2ec;
  --sand: #f1eee6;
  --shell: min(1200px, calc(100% - 56px));
}

html { scroll-padding-top: 88px; }
body { background: var(--paper); font-size: 16px; }
body, button, input, select, textarea { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #76bca6;
  outline-offset: 3px;
}
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 14px; color: white; background: var(--green-dark); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow, .section-overline { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .14em; }

/* Shared masthead */
.site-header { background: rgba(255,255,255,.96); border-color: var(--line); backdrop-filter: blur(12px); }
.header-inner { height: 70px; gap: 44px; }
.brand img { width: 30px; height: 30px; }
.brand span { font-size: 18px; }
.brand em { color: #68756f; }
.main-nav { gap: 28px; }
.main-nav a { min-height: 44px; padding: 25px 0 22px; font-size: 13px; }
.solid-button, .outline-button, .light-button { min-height: 44px; border-radius: 6px; box-shadow: none; }
.solid-button.compact { min-height: 44px; border-radius: 5px; }
.solid-button:hover, .light-button:hover { transform: none; background: var(--green-dark); }
.text-button { min-width: 44px; min-height: 44px; }

/* Membership guide */
.membership-guide-panel { width: min(560px, 100%); padding: 42px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 28px 80px rgba(10,35,26,.18); }
.membership-guide-panel h2 { max-width: 420px; margin: 12px 0 22px; font-size: 30px; }
.membership-guide-plan { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; padding: 18px 20px; border: 1px solid #cfe0d7; background: #f3f8f5; }
.membership-guide-plan span { color: var(--muted); font-size: 12px; }
.membership-guide-plan strong { font-size: 17px; }
.membership-guide-plan small { grid-column: 2; color: var(--muted); font-size: 12px; }
.membership-guide-steps { display: grid; gap: 0; margin: 24px 0; padding: 0; list-style: none; }
.membership-guide-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.membership-guide-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: white; background: var(--green); font-size: 12px; font-weight: 800; }
.membership-guide-steps strong { font-size: 14px; }
.membership-guide-steps p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* Publication front page */
.publication-intro { padding: 36px 0 28px; background: white; border-bottom: 1px solid var(--line); }
.publication-intro-inner { display: block; }
.edition-label { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.publication-intro h1 { margin: 5px 0 0; font-size: clamp(38px, 4vw, 58px); font-weight: 840; line-height: 1; letter-spacing: -.06em; }
.front-page { padding: 42px 0 46px; background: white; }
.front-page-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr); gap: 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.headline-story { display: flex; min-height: 460px; flex-direction: column; padding: 34px 48px 32px 0; border-right: 1px solid var(--line); }
.headline-kicker { display: flex; align-items: center; gap: 14px; color: var(--green); font-size: 12px; font-weight: 800; }
.headline-kicker span + span { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 650; }
.headline-story h2 { max-width: 780px; margin: 34px 0 20px; font-size: clamp(40px, 4.7vw, 64px); font-weight: 820; line-height: 1.16; letter-spacing: -.055em; }
.headline-story > p { max-width: 720px; margin: 0; color: #4f5e57; font-size: 17px; line-height: 1.85; }
.headline-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.headline-footer strong { color: var(--green); }
.headline-footer span { color: var(--muted); }
.headline-footer i { color: var(--green-dark); font-style: normal; font-weight: 800; }
.editors-picks { padding: 0 0 0 32px; }
.column-heading { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid var(--ink); }
.column-heading h2 { margin: 0; font-size: 15px; font-weight: 800; }
.column-heading a { color: var(--green); font-size: 12px; font-weight: 700; }
.editors-picks > a { display: block; padding: 23px 0; border-bottom: 1px solid var(--line); }
.editors-picks > a:last-child { border-bottom: 0; }
.editors-picks > a > span { color: var(--green); font-size: 11px; font-weight: 800; }
.editors-picks h3 { margin: 7px 0 7px; font-size: 18px; line-height: 1.45; letter-spacing: -.015em; }
.editors-picks p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.headline-story:hover h2, .editors-picks a:hover h3, .story-card a:hover h3 { color: var(--green-dark); }

/* Topic rail and archive */
.topic-strip { position: sticky; top: 70px; z-index: 12; background: rgba(245,247,244,.97); border-top: 0; }
.topic-strip .shell { min-height: 66px; }
.strip-label { color: var(--ink); }
.topic-links { gap: 4px; }
.topic-links button { min-height: 44px; padding: 0 13px; border-radius: 4px; color: #4c5953; }
.topic-links button:hover, .topic-links button.active { color: white; background: var(--green-dark); }
.latest-section { padding: 62px 0 90px; background: var(--paper); }
.archive-layout { display: block; }
.section-heading { align-items: end; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 3px solid var(--ink); }
.section-heading h2 { margin: 6px 0 5px; font-size: 34px; font-weight: 820; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.search-box { width: min(290px, 100%); }
.search-box input { height: 44px; border-radius: 4px; background: white; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.story-card { overflow: visible; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; transition: none; }
.story-card:nth-child(-n+3) { border-top: 0; }
.story-card:hover { transform: none; box-shadow: none; }
.story-card > a { min-height: 272px; }
.card-body { min-height: 272px; padding: 25px 0 23px; }
.card-topline { justify-content: flex-start; gap: 10px; }
.story-section { color: var(--green); font-size: 11px; font-weight: 800; }
.member-label { min-height: 22px; padding: 0 8px; border-radius: 3px; color: #755a32; background: #f3eadb; font-size: 10px; }
.card-body h3 { margin: 16px 0 10px; font-size: 21px; font-weight: 790; line-height: 1.45; letter-spacing: -.025em; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; -webkit-line-clamp: 2; }
.card-footer { margin-top: auto; padding-top: 15px; border-top: 0; color: #7a857f; }
.read-link { color: var(--green-dark); }
.section-end { margin-top: 18px; }
.archive-sidebar { position: sticky; top: 156px; display: grid; gap: 28px; }
.archive-sidebar section { padding-top: 17px; border-top: 3px solid var(--ink); }
.archive-sidebar h2 { margin: 10px 0; font-size: 20px; line-height: 1.4; }
.archive-sidebar p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.archive-sidebar a { color: var(--green); font-size: 13px; font-weight: 750; }
.archive-sidebar .sidebar-membership { padding: 22px; border-top-color: var(--green-dark); color: white; background: var(--green-dark); }
.sidebar-membership > span { color: #c3ded3; font-size: 11px; font-weight: 800; }
.sidebar-membership p { color: #c3d5ce; }
.sidebar-membership a { display: inline-flex; min-height: 40px; align-items: center; margin-top: 5px; padding: 0 15px; color: var(--green-dark); background: white; }

/* Article reading surface */
.article-page { background: white; }
.article-layout { grid-template-columns: minmax(0, 68ch) 280px; justify-content: center; gap: 72px; padding-top: 44px; }
.back-link { min-height: 32px; margin-bottom: 26px; color: var(--green); font-weight: 700; }
.article-header { padding-bottom: 30px; border-bottom: 3px solid var(--ink); }
.article-header h1 { max-width: 16em; margin: 18px 0; font-size: clamp(38px, 4.6vw, 56px); font-weight: 820; line-height: 1.2; }
.article-header > p { max-width: 62ch; color: #4f5e57; font-size: 18px; line-height: 1.75; }
.article-meta { gap: 0; }
.article-meta span { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--line); }
.article-meta span:last-child { border-right: 0; }
.article-content { max-width: 68ch; padding-top: 34px; color: #26332d; font-size: 18px; line-height: 1.9; }
.article-content h2 { margin: 2.5em 0 .75em; padding-top: .75em; border-top: 1px solid var(--line); font-size: 27px; line-height: 1.35; }
.article-content h3 { margin: 1.9em 0 .65em; font-size: 21px; line-height: 1.4; }
.article-content p { margin-bottom: 1.35em; }
.article-content li { margin-bottom: .55em; }
.article-content a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-paywall { border-radius: 6px; box-shadow: none; }
.lock-mark { border-radius: 4px; }
.article-notice { border-left: 4px solid #8cb4a4; border-radius: 0; }
.sidebar-card { padding: 20px 0; border: 0; border-top: 3px solid var(--ink); border-radius: 0; background: transparent; }
.sidebar-card > a:not(.outline-button) { padding: 15px 0; }
.member-sidebar { padding: 22px; border-top-color: var(--green-dark); background: var(--green-dark); }

/* Membership, legal and service pages follow the same editorial language. */
.member-hero, .legal-hero { background: white; border-bottom: 1px solid var(--line); }
.member-hero { padding: 62px 0 54px; text-align: left; }
.member-hero-inner { max-width: 900px; }
.member-hero h1 { max-width: 12em; margin: 14px 0; font-size: clamp(40px, 5vw, 58px); }
.member-hero p { max-width: 64ch; margin: 0; }
.plans-section { padding: 56px 0 66px; background: var(--paper); }
.membership-core { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); gap: 64px; align-items: start; }
.benefits-panel { padding-top: 18px; border-top: 3px solid var(--ink); }
.benefits-panel h2 { margin: 9px 0 8px; font-size: 32px; letter-spacing: -.035em; }
.benefits-panel > p { margin: 0; color: var(--muted); font-size: 14px; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 32px 0 0; padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.benefit-list li { display: grid; gap: 5px; padding: 17px 0; border-top: 1px solid var(--line); }
.benefit-list strong { font-size: 14px; }
.benefit-list span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.plan-options .plans-heading { margin: 0 0 16px; text-align: left; }
.plan-options .plans-heading h2 { margin-bottom: 0; font-size: 30px; }
.plan-options .reader-plans { grid-template-columns: 1fr; gap: 12px; }
.plan-options .reader-plan { padding: 24px; background: white; }
.plan-options .reader-plan.featured { background: #f1f8f4; }
.plan-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.plan-heading h3 { margin: 11px 0 5px; font-size: 21px; }
.plan-heading .plan-price { flex: 0 0 auto; margin: 0; }
.plan-heading .plan-price strong { font-size: 40px; }
.plan-pill { min-height: 24px; padding: 0 9px; border-radius: 3px; }
.plans-heading { text-align: left; margin-left: 0; }
.reader-plan, .member-account, .member-value-grid article, .topic-coverage-grid a, .faq-grid article,
.legal-index, .legal-content, .contact-panel, .complaint-form-news {
  border-radius: 6px;
  box-shadow: none;
}
.reader-plan.featured { box-shadow: none; }
.member-value-heading { text-align: left; margin-left: 0; }
.member-value-grid { margin-left: 0; }
.member-value-grid article > span { border-radius: 4px; }
.topic-coverage .plans-heading, .member-faq .plans-heading { margin-left: auto; margin-right: auto; text-align: center; }
.topic-coverage-grid a:hover { transform: none; }
.legal-hero h1 { font-size: clamp(38px, 5vw, 52px); }
.legal-content, .complaint-form-news { background: white; }

.site-footer { border-top: 1px solid var(--line); background: #edf0ec; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .front-page-grid { grid-template-columns: 1fr; }
  .headline-story { min-height: 410px; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .editors-picks { padding-left: 0; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-card:nth-child(3) { border-top: 1px solid var(--line); }
  .story-card:last-child { grid-column: auto; }
  .article-layout { grid-template-columns: minmax(0, 68ch); }
  .membership-core { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 28px); }
  .membership-guide-panel { padding: 34px 24px 26px; }
  .membership-guide-panel h2 { padding-right: 28px; font-size: 25px; }
  .header-inner { height: 64px; gap: 16px; }
  .brand em, .text-button { display: none; }
  .publication-intro { padding: 28px 0 22px; }
  .publication-intro h1 { font-size: 40px; }
  .front-page { padding: 24px 0 34px; }
  .headline-story { min-height: 390px; padding: 26px 0 24px; }
  .headline-story h2 { margin-top: 26px; font-size: 38px; }
  .headline-story > p { font-size: 15px; }
  .headline-footer { grid-template-columns: 1fr auto; }
  .headline-footer strong { display: none; }
  .editors-picks > a { padding: 20px 0; }
  .topic-strip { top: 64px; }
  .topic-strip .shell { padding: 12px 0; }
  .latest-section { padding-top: 42px; }
  .section-heading { align-items: stretch; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card:nth-child(2) { border-top: 1px solid var(--line); }
  .story-card:last-child { grid-column: auto; }
  .story-card > a, .card-body { min-height: 0; }
  .card-body { padding: 22px 0; }
  .article-layout { padding-top: 28px; }
  .article-header h1 { font-size: 36px; }
  .article-header > p, .article-content { font-size: 17px; }
  .article-meta { gap: 8px 0; }
  .article-meta span { width: 100%; border-right: 0; }
  .benefit-list { grid-template-columns: 1fr; }
  .plan-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
