
/* ==========================================================================
   RESTOPTIMA — PUBLIC SITE
   Replacement stylesheet
   ========================================================================== */

/* 1. Design tokens -------------------------------------------------------- */
:root {
  --ink-950: #152128;
  --ink-900: #1d2b33;
  --ink-800: #2b3b44;
  --ink-700: #44545d;
  --ink-600: #617079;
  --ink-500: #7b8990;

  --brand-950: #18272e;
  --brand-900: #22343d;
  --brand-800: #2f4650;
  --brand-700: #425d68;

  --accent-700: #a7462e;
  --accent-600: #c8563a;
  --accent-500: #e16d4d;
  --accent-300: #f2ad97;
  --accent-100: #fff0ea;

  --surface: #ffffff;
  --surface-muted: #f3f5f5;
  --surface-soft: #f8f9f9;
  --surface-dark: #22343d;
  --surface-darker: #18272e;

  --line: #dce2e4;
  --line-strong: #c8d0d3;

  --success: #2f7659;
  --danger: #a33d2a;

  --shadow-xs: 0 1px 2px rgba(20, 33, 40, .05);
  --shadow-sm: 0 8px 24px rgba(20, 33, 40, .07);
  --shadow-md: 0 18px 48px rgba(20, 33, 40, .10);
  --shadow-lg: 0 32px 80px rgba(20, 33, 40, .16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1180px;
  --reading: 760px;
  --header-height: 78px;

  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

/* 2. Reset and base ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  max-width: 100%;
  margin: 0;
  color: var(--ink-900);
  background: var(--surface-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
input,
textarea,
select,
button {
  font-family: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: var(--brand-800);
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

a:hover {
  color: var(--accent-700);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(225, 109, 77, .36);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--accent-600);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  max-width: 900px;
  margin-inline: auto;
}

.narrow-wide {
  max-width: 1040px;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  border-radius: var(--radius-sm);
  color: var(--ink-950);
  background: #fff;
  box-shadow: var(--shadow-md);
}

/* 3. Typography ---------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  max-width: 100%;
  margin: 0;
  color: var(--brand-950);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1rem;
}

.lead,
.section-lead {
  max-width: 760px;
  color: var(--ink-600);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-700);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.small {
  color: var(--ink-600);
  font-size: .8rem;
}

.text-link {
  font-weight: 800;
}

.section {
  padding: clamp(64px, 7.5vw, 104px) 0;
}

.section-anchor,
.problem-section {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 42px;
}

.section-copy {
  display: grid;
  gap: 18px;
}

.muted-band {
  background: var(--surface-muted);
}

/* 4. Header and navigation ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(34, 52, 61, .09);
  background: rgba(248, 249, 249, .93);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-inner > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-950);
  font-weight: 900;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-xs);
}

.brand-name {
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--brand-800);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.main-nav a:hover {
  color: var(--brand-950);
  background: #e9eeee;
}

.main-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 18px;
  color: #fff;
  background: var(--brand-900);
}

.main-nav .nav-cta:hover {
  color: #fff;
  background: var(--accent-600);
  transform: translateY(-1px);
}

/* 5. Buttons and common actions ----------------------------------------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.button,
.dossier-more summary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease;
}

.button:hover,
.dossier-more summary:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--accent-600);
  box-shadow: 0 10px 22px rgba(200, 86, 58, .22);
}

.button.primary:hover {
  color: #fff;
  background: var(--accent-700);
  box-shadow: 0 14px 30px rgba(167, 70, 46, .28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: transparent;
}

.button.secondary:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.page-hero .button.secondary,
.dossier-home .button.secondary,
.status-page .button.secondary {
  border-color: var(--line-strong);
  color: var(--brand-900);
  background: #fff;
}

.page-hero .button.secondary:hover,
.dossier-home .button.secondary:hover,
.status-page .button.secondary:hover {
  border-color: var(--brand-800);
  color: #fff;
  background: var(--brand-800);
}

.button.disabled {
  color: var(--ink-500);
  border-color: var(--line);
  background: var(--surface-muted);
  cursor: not-allowed;
  box-shadow: none;
}

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 124px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 8%, rgba(225, 109, 77, .18), transparent 31%),
    linear-gradient(135deg, #23353e 0%, #2c424c 55%, #20313a 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.42), transparent 84%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero h1 {
  max-width: 820px;
  color: #fff;
}

.hero .lead {
  color: rgba(255,255,255,.76);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: rgba(255,255,255,.68);
  font-size: .91rem;
}

.hero-proof strong {
  color: #fff;
}

.dashboard-preview {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}

.dashboard-heading,
.dashboard-priority {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.13);
  font-weight: 850;
}

.status-dot {
  color: #c4eadb;
  font-size: .78rem;
}

.status-dot::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #6fd0a5;
  content: "";
}

.dashboard-metric {
  display: grid;
  gap: 4px;
  padding: 25px 0 18px;
}

.dashboard-metric span,
.dashboard-metric small,
.dashboard-priority span {
  color: rgba(255,255,255,.6);
}

.dashboard-metric strong {
  font-size: 1.38rem;
  line-height: 1.25;
}

.dashboard-bars {
  height: 128px;
  display: flex;
  gap: 12px;
  align-items: end;
  padding: 16px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.dashboard-bars span {
  width: 25%;
  height: var(--bar);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #f3a086, var(--accent-600));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.dashboard-priority {
  align-items: flex-start;
  padding-top: 20px;
}

.dashboard-priority strong {
  max-width: 230px;
  text-align: right;
}

/* 7. Commercial site sections ------------------------------------------- */
.steps,
.cards,
.benefit-grid {
  display: grid;
  gap: 22px;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps article,
.cards article,
.example-box,
.scope-note {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.steps article,
.cards article {
  box-shadow: var(--shadow-sm);
}

.steps span,
.card-kicker {
  width: 40px;
  height: 40px;
  display: inline-grid;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-900);
  font-weight: 850;
}

.steps p,
.cards p {
  color: var(--ink-600);
}

.two-cols,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(42px, 7vw, 84px);
  align-items: start;
}

.two-cols > *,
.contact-layout > * {
  min-width: 0;
}

.notice-light,
.notice {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--brand-900);
  background: var(--accent-100);
}

.benefits {
  color: #fff;
  background:
    radial-gradient(circle at 14% 8%, rgba(225,109,77,.12), transparent 28%),
    var(--surface-darker);
}

.benefits .container {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(46px, 8vw, 104px);
  align-items: start;
}

.benefits h2,
.benefits h3 {
  color: #fff;
}

.benefits .eyebrow {
  color: var(--accent-300);
}

.benefits-intro > p:not(.eyebrow) {
  color: rgba(255,255,255,.7);
}

.price-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent-500);
  background: rgba(255,255,255,.06);
}

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

.benefit-grid article {
  padding: 10px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.benefit-grid span {
  color: var(--accent-300);
  font-size: .8rem;
  font-weight: 850;
}

.benefit-grid p {
  color: rgba(255,255,255,.65);
}

.deliverable-list,
.contact-prompts,
.contact-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.deliverable-list li {
  display: grid;
  gap: 5px;
  padding: 19px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.deliverable-list span {
  color: var(--ink-600);
}

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

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.founder-card,
.rhythm-cards article {
  border-top: 4px solid var(--accent-500);
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.price-display {
  min-width: 200px;
  display: grid;
  color: var(--accent-700);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.05;
  text-align: right;
}

.price-display span {
  margin-top: 8px;
  color: var(--ink-600);
  font-size: .86rem;
  font-weight: 700;
}

/* Monthly rhythm */
.monthly-cycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.monthly-cycle::before {
  position: absolute;
  top: 49px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--line);
  content: "";
}

.monthly-cycle article {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.cycle-marker {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 9px;
}

.cycle-marker span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-600);
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 900;
}

.cycle-marker strong {
  color: var(--brand-900);
  font-size: .78rem;
  line-height: 1.25;
}

.cycle-phase {
  margin-bottom: 8px;
  color: var(--accent-700) !important;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.monthly-cycle h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.cycle-outcome {
  display: block;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--brand-900);
  font-size: .86rem;
}

/* Contact */
.contact-section {
  color: #fff;
  background:
    radial-gradient(circle at 85% 5%, rgba(225,109,77,.12), transparent 30%),
    var(--brand-900);
}

.contact-section h2 {
  color: #fff;
}

.contact-section .eyebrow {
  color: var(--accent-300);
}

.contact-section .section-lead {
  color: rgba(255,255,255,.72);
}

.contact-points {
  margin-top: 30px;
}

.contact-points li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
  color: rgba(255,255,255,.78);
}

.contact-points li::before {
  position: absolute;
  left: 0;
  color: var(--accent-300);
  font-weight: 900;
  content: "✓";
}

.contact-form {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  color: var(--ink-900);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: .9rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkbox {
  grid-template-columns: auto 1fr !important;
  gap: 10px !important;
  align-items: start;
  font-weight: 500 !important;
}

.checkbox input {
  width: auto;
  min-height: auto;
  margin-top: 5px;
}

.errorlist {
  margin: 0;
  padding-left: 18px;
  color: var(--danger);
}

.success-message,
.form-errors {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
}

.success-message {
  color: var(--success);
  background: #e8f5ef;
  font-weight: 750;
}

.form-errors {
  color: var(--danger);
  background: #fff0ec;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 8. Weekly dossier on home --------------------------------------------- */
.dossier-home {
  position: relative;
  padding-block: clamp(60px, 7.5vw, 96px);
  background: linear-gradient(180deg, #eef2f2 0%, #f7f9f9 100%);
}

.dossier-home-intro {
  max-width: 780px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.dossier-home-intro h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.dossier-home-intro .section-lead {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

.dossier-home-empty,
.editorial-empty {
  max-width: 820px;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.home-commercial-transition {
  padding-block: clamp(36px, 4.5vw, 54px);
  border-block: 1px solid var(--line);
  background: #fff;
}

.home-commercial-transition .container {
  max-width: 980px;
}

.home-commercial-transition h2 {
  max-width: 900px;
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 2.7vw, 2.45rem);
  line-height: 1.16;
}

.home-commercial-transition p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--ink-600);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

/* 9. Generic page hero and breadcrumbs ---------------------------------- */
.page-hero {
  padding: clamp(56px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero h1 {
  max-width: 900px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--ink-500);
  font-size: .82rem;
}

.breadcrumbs a {
  color: var(--ink-600);
}

/* 10. Preview banner ----------------------------------------------------- */
.preview-banner {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  padding: .72rem 1rem;
  color: #fff;
  background: #8b402c;
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

/* 11. Dossier archive ---------------------------------------------------- */
.archive-list-section {
  padding-block: clamp(44px, 6vw, 78px);
  background: var(--surface-muted);
}

.weekly-dossier-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 0;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  color: inherit;
  background: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.weekly-dossier-card:hover {
  color: inherit;
  border-color: rgba(225,109,77,.6);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.weekly-dossier-card--featured:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  transform: none;
}

.weekly-dossier-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.weekly-dossier-cover {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(225,109,77,.28), transparent 28%),
    linear-gradient(135deg, #243942 0%, #314b56 100%);
}

.weekly-dossier-cover::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  content: "";
}

.weekly-dossier-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  opacity: .46;
}

.weekly-dossier-cover > *:not(img) {
  position: relative;
  z-index: 1;
}

.weekly-dossier-cover .eyebrow {
  color: var(--accent-300);
}

.weekly-dossier-cover h2 {
  max-width: 760px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.25vw, 2.85rem);
  line-height: 1.05;
}

.weekly-dossier-cover time {
  margin-top: 18px;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  font-weight: 750;
}

.weekly-dossier-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(28px, 4vw, 46px);
  background: #fff;
}

.weekly-dossier-intro {
  display: -webkit-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ink-800);
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-style: italic;
  font-weight: 550;
  line-height: 1.68;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
}

.weekly-dossier-primary-cta {
  width: auto;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 12px;
}

.weekly-dossier-secondary-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.weekly-dossier-secondary-action .button {
  width: auto;
}

.weekly-dossier-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(32px, 4vw, 46px);
  color: #fff;
  background: var(--surface-dark);
}

.weekly-dossier-summary .eyebrow {
  color: var(--accent-300);
}

.weekly-dossier-summary ol,
.subject-satellites ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.weekly-dossier-summary ol {
  margin-bottom: 28px;
}

.weekly-dossier-summary li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.weekly-dossier-summary li:last-child {
  border-bottom: 0;
}

.weekly-dossier-summary li small,
.weekly-dossier-summary li strong {
  min-width: 0;
}

.weekly-dossier-summary li small {
  color: rgba(255,255,255,.55);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.weekly-dossier-summary li strong {
  color: #fff;
  font-size: .98rem;
  line-height: 1.35;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
  color: var(--ink-600);
}

.pagination a {
  font-weight: 800;
  text-decoration: none;
}

/* 12. Dossier page ------------------------------------------------------- */
.dossier-hero {
  padding-block: clamp(42px, 5vw, 68px);
  background:
    radial-gradient(circle at 88% 14%, rgba(225,109,77,.09), transparent 28%),
    #fff;
}

.dossier-hero h1 {
  max-width: 920px;
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
  line-height: 1.04;
}

.dossier-period {
  margin-top: 20px;
  color: var(--accent-700);
  font-size: .9rem;
  font-weight: 850;
}

.dossier-subject-list {
  display: grid;
  gap: 30px;
}

.dossier-subject-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.dossier-subject-main {
  display: grid;
  grid-template-rows: auto auto auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: #fff;
}

.dossier-subject-main:hover {
  color: inherit;
}

.subject-cover {
  position: relative;
  min-height: 290px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 24px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(225,109,77,.24), transparent 28%),
    linear-gradient(135deg, #263b45 0%, #354f5a 100%);
}

.subject-cover::after {
  position: absolute;
  right: -90px;
  top: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  content: "";
}

.subject-cover > * {
  position: relative;
  z-index: 1;
}

.subject-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.subject-kicker span,
.subject-cover small {
  margin: 0;
  color: var(--accent-300);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.subject-kicker .subject-number {
  width: 48px;
  height: 48px;
  display: inline-grid;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-600);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

.subject-cover h1,
.subject-cover h2 {
  align-self: center;
  max-width: 760px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.06;
}

.dossier-subject-main > p {
  margin: 0;
  padding: 28px clamp(30px, 4vw, 48px) 16px;
  color: var(--ink-700);
  font-size: 1.02rem;
  line-height: 1.68;
}

.subject-standfirst {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 550;
}

.subject-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0 clamp(30px, 4vw, 48px) 28px;
  color: var(--ink-500);
  font-size: .78rem;
  font-weight: 700;
}

.subject-cover .subject-meta {
  align-self: end;
  gap: 8px 20px;
  padding: 0;
  color: rgba(255,255,255,.72);
  font-size: .76rem;
}

.subject-satellites {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(30px, 4vw, 44px);
  background: var(--surface-muted);
}

.subject-satellites li {
  border-top: 1px solid var(--line);
}

.subject-satellites li:last-child {
  border-bottom: 1px solid var(--line);
}

.subject-satellites a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 58px;
  padding: 17px 0;
  color: var(--brand-900);
  line-height: 1.32;
  text-decoration: none;
}

.subject-satellites a:hover {
  color: var(--accent-700);
}

.subject-satellites .satellite-number {
  color: var(--accent-700);
  font-size: .78rem;
  font-weight: 900;
}

.subject-satellites .satellite-title {
  color: inherit;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 750;
}

.subject-satellites .subject-open-link {
  display: inline-flex;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 20px 0 0;
  border-bottom: 2px solid var(--accent-600);
  color: var(--brand-900);
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 850;
}

/* 13. Article page ------------------------------------------------------- */
.article-header {
  padding: clamp(52px, 7vw, 88px) 0 48px;
  background:
    radial-gradient(circle at 88% 4%, rgba(225,109,77,.08), transparent 24%),
    #fff;
}

.article-container {
  max-width: var(--reading);
}

.article-header .article-container {
  max-width: 960px;
}

.article-cover {
  min-height: 360px;
  margin-top: 18px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.article-cover h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 4.6vw, 4.15rem);
}

.article-standfirst {
  max-width: 780px;
  margin: 30px 0 0;
  color: var(--ink-600);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.68;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: var(--ink-500);
  font-size: .83rem;
}

.article-layout {
  padding-top: 52px;
  padding-bottom: 92px;
}

.editorial-block {
  scroll-margin-top: calc(var(--header-height) + 28px);
  margin: 0 0 54px;
}

.block-panorama {
  padding-bottom: 46px;
  border-bottom: 2px solid var(--accent-500);
}

.block-panorama > .eyebrow {
  margin-bottom: 18px;
}

.block-satellite {
  padding-top: 10px;
}

.block-satellite > .eyebrow {
  margin-bottom: 10px;
}

.block-satellite h2 {
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.08;
}

.article-prose {
  max-width: 72ch;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.84;
}

.article-prose p {
  margin-bottom: 1.4em;
}

.article-prose h2,
.article-prose h3 {
  margin: 2.2em 0 .7em;
  font-family: var(--font-sans);
}

.article-prose h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.article-prose h3 {
  font-size: 1.4rem;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.6em;
  padding-left: 1.35em;
}

.article-prose li {
  margin: .45em 0;
}

.article-prose a {
  overflow-wrap: anywhere;
}

.block-quote,
.block-aside,
.block-business-point {
  display: block;
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--radius-md);
}

.block-quote {
  border-left: 5px solid var(--accent-500);
  color: var(--brand-900);
  background: var(--accent-100);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.75;
}

.block-quote strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

.block-aside {
  border: 1px solid var(--line);
  background: var(--surface-muted);
  box-shadow: var(--shadow-xs);
}

.block-aside h2,
.block-business-point h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.block-business-point {
  border: 1px solid #efb6a4;
  background: #fff4ef;
}

.block-business-point ul {
  margin-bottom: 0;
}

.article-sources {
  margin-top: 64px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
}

.article-sources h2 {
  margin-bottom: 18px;
  font-size: 1.65rem;
}

.article-sources details > summary {
  cursor: pointer;
  color: var(--accent-700);
  font-weight: 850;
}

.article-sources ol {
  margin: 22px 0 0;
  padding-left: 22px;
}

.article-sources li {
  margin: 13px 0;
  overflow-wrap: anywhere;
}

.article-sources a[target="_blank"]::after {
  font-size: .78em;
  content: " ↗";
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.article-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--brand-800);
  background: #e8eeee;
  font-size: .78rem;
  font-weight: 750;
}

.dossier-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 64px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.dossier-navigation > div:last-child {
  text-align: right;
}

.dossier-navigation a {
  display: grid;
  gap: 3px;
  color: var(--brand-900);
  line-height: 1.35;
  text-decoration: none;
}

.dossier-navigation a:hover {
  color: var(--accent-700);
}

/* 14. Legacy/general editorial components ------------------------------- */
.article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.article-card-cover {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 42px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(225,109,77,.22), transparent 30%),
    var(--brand-900);
}

.article-card-label {
  display: flex;
  gap: 11px;
  color: var(--accent-300);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-card-number {
  width: 34px;
  height: 34px;
  display: inline-grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-600);
}

.article-card-cover h3 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.article-card-cover h3 a {
  color: inherit;
  text-decoration: none;
}

.article-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.article-card-summary {
  padding: 24px clamp(24px, 4vw, 38px) 18px;
}

.article-card-standfirst {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-600);
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.article-card-compact .article-card-standfirst { -webkit-line-clamp: 5; line-clamp: 5; }

.article-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-top: auto;
  padding: 15px clamp(24px, 4vw, 38px) 18px;
  border-top: 1px solid var(--line);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  color: var(--ink-500);
  font-size: .74rem;
}

.article-card-action {
  color: var(--accent-700);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}

.article-tag {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-700);
  background: var(--accent-100);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* 15. Footer ------------------------------------------------------------- */
.site-footer {
  padding: 64px 0 28px;
  color: #fff;
  background: #17242a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .8fr));
  gap: 42px;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  color: rgba(255,255,255,.6);
}

.site-footer a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0;
  color: rgba(255,255,255,.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.42);
  font-size: .8rem;
}

/* 16. Other utility components ------------------------------------------ */
.simple-status {
  display: grid;
  gap: 10px;
}

.simple-status p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #fff;
}

.scope-note,
.example-box {
  box-shadow: var(--shadow-md);
}

.tip-form {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.status-page {
  min-height: 65vh;
  display: grid;
  align-items: center;
}

.status-page .status-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-weight: 900;
}

/* 17. Responsive --------------------------------------------------------- */
@media (max-width: 1040px) {
  .hero-grid,
  .two-cols,
  .contact-layout,
  .benefits .container {
    grid-template-columns: 1fr;
  }

  .dashboard-preview {
    max-width: 640px;
  }

  .weekly-dossier-card,
  .dossier-subject-card {
    grid-template-columns: 1fr;
  }

  .weekly-dossier-summary,
  .subject-satellites {
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / -1;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  html {
    scroll-padding-top: 110px;
  }

  .container {
    width: calc(100% - 30px);
  }

  .header-inner {
    min-height: var(--header-height);
    gap: 10px;
  }

  .brand-name {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    gap: 1px;
  }

  .main-nav a {
    min-height: 40px;
    padding: 8px 10px;
    font-size: .76rem;
  }

  .main-nav .nav-cta {
    padding-inline: 14px;
  }

  .hero {
    padding-top: 62px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    flex-direction: column;
    gap: 6px;
  }

  .steps,
  .cards.two,
  .cards.three,
  .cards.four,
  .benefit-grid,
  .form-row.two,
  .monthly-cycle {
    grid-template-columns: 1fr;
  }

  .monthly-cycle::before {
    top: 40px;
    bottom: 40px;
    left: 52px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .monthly-cycle article {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .pricing-panel {
    grid-template-columns: 1fr;
  }

  .price-display {
    min-width: 0;
    text-align: left;
  }

  .weekly-dossier-card,
  .dossier-subject-card {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: visible;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .weekly-dossier-main,
  .dossier-subject-main {
    display: grid;
    grid-template-rows: auto auto;
  }

  .weekly-dossier-cover,
  .subject-cover {
    min-height: 250px;
    padding: 28px 24px;
  }

  .weekly-dossier-cover h2,
  .subject-cover h1,
  .subject-cover h2 {
    font-size: clamp(1.65rem, 7.8vw, 2.25rem);
  }

  .weekly-dossier-copy {
    padding: 26px 24px 28px;
  }

  .weekly-dossier-intro {
    -webkit-line-clamp: 7;
    line-clamp: 7;
  }

  .weekly-dossier-summary,
  .subject-satellites {
    padding: 26px 24px;
  }

  .dossier-subject-main > p {
    padding: 24px 24px 14px;
  }

  .subject-meta {
    padding: 0;
  }

  .weekly-dossier-primary-cta {
    width: 100%;
    margin-top: 24px;
  }

  .weekly-dossier-secondary-action {
    justify-content: stretch;
    margin-top: 22px;
  }

  .weekly-dossier-secondary-action .button {
    width: 100%;
  }

  .dossier-hero {
    padding-block: 34px 38px;
  }

  .dossier-hero .breadcrumbs {
    margin-bottom: 20px;
  }

  .dossier-subject-list {
    gap: 0;
  }

  .dossier-subject-card {
    background: transparent;
  }

  .dossier-subject-card + .dossier-subject-card {
    margin-top: 0;
    border-top: 1px solid var(--line);
  }

  .subject-cover {
    grid-template-rows: auto minmax(96px, 1fr) auto;
    gap: 20px;
  }

  .subject-kicker .subject-number {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: .92rem;
  }

  .subject-satellites {
    padding: 0;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .subject-satellites li,
  .subject-satellites li:last-child {
    border-color: var(--line);
  }

  .subject-satellites li {
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .subject-satellites li:last-child {
    border-bottom: 0;
  }

  .subject-satellites a {
    min-height: 60px;
    padding: 18px 24px;
  }

  .subject-satellites .satellite-title {
    font-size: 1.16rem;
  }

  .subject-satellites .subject-open-link {
    display: none;
  }

  .article-header {
    padding-top: 42px;
  }

  .article-cover {
    min-height: 300px;
    border-radius: var(--radius-lg);
  }

  .article-cover h1 {
    font-size: clamp(2rem, 8.4vw, 2.85rem);
  }

  .article-layout {
    padding-top: 38px;
    padding-bottom: 72px;
  }

  .editorial-block {
    margin-bottom: 44px;
  }

  .article-prose {
    font-size: 1.06rem;
    line-height: 1.78;
  }

  .dossier-navigation {
    grid-template-columns: 1fr;
  }

  .dossier-navigation > div:last-child {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-banner {
    top: var(--header-height);
    font-size: .78rem;
  }
}

@media (max-width: 430px) {
  .main-nav .nav-solution {
    display: none;
  }

  .main-nav a {
    font-size: .78rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.25rem);
  }

  .monthly-cycle article {
    grid-template-columns: 62px 1fr;
  }

}

@media (max-width: 340px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .main-nav a {
    padding-inline: 8px;
    font-size: .73rem;
  }

  .main-nav .nav-cta {
    padding-inline: 12px;
  }

  .button {
    padding-inline: 16px;
    font-size: .88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* UI-01E: editorial and commercial titles wrap only at natural word spaces. */
h1,
h2,
h3,
.hero h1,
.article-card-cover h3,
.dossier-home-heading h2,
.dossier-list-content h3,
.dossier-hero h1,
.article-header h1,
.dossier-list-article-titles li,
.dossier-toc strong {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.article-prose a { overflow-wrap: anywhere; }
.article-sources li { margin: 12px 0; overflow-wrap: anywhere; }
