:root {
  --bg-white: #FFFFFF;
  --bg-subtle: #F5F5F7;
  --border-light: #E5E5EA;
  --border-hover: #D1D1D6;
  --text-dark: #1D1D1F;
  --text-body: #424245;
  --text-muted: #6E6E73;
  --text-subtle: #86868B;
  --emerald: #059669;
  --emerald-vivid: #10B981;
  --emerald-upside: #6EE7B7;
  --emerald-soft: #ECFDF5;
  --amber-bg: #FFFBEB;
  --amber-bd: #FDE68A;
  --amber-fg: #78350F;
  --rose-bg: #FEF2F2;
  --rose-bd: #FCA5A5;
  --rose-fg: #991B1B;
  --rose-body: #7F1D1D;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--bg-white);
  color: var(--text-dark);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Sticky Dark Editorial Header */
.ed-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(29, 29, 31, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ed-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ed-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.ed-brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bg-white);
}

.ed-brand-tag {
  font-size: 11px;
  color: #A1A1A6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ed-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ed-nav::-webkit-scrollbar {
  display: none;
}

.ed-nav a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: #D1D1D6;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.ed-nav a:hover {
  color: var(--bg-white);
}

/* Pill Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-white {
  background: var(--bg-white);
  color: var(--text-dark);
}

.btn-white:hover {
  background: #F2F2F7;
}

.btn-dark {
  background: var(--text-dark);
  color: var(--bg-white);
}

.btn-dark:hover {
  background: #000000;
}

.btn-dark-ghost {
  background: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-dark-ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.btn-light-outline {
  background: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--border-light);
}

.btn-light-outline:hover {
  border-color: var(--text-dark);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}

/* HipoRank Signature Emerald Conic Border Sweep */
@property --cta-sweep-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: -120deg;
}

@keyframes ctaBorderSweep {
  0% {
    --cta-sweep-angle: -120deg;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    --cta-sweep-angle: 265deg;
    opacity: 0;
  }
}

.cta-sweep {
  position: relative;
  isolation: isolate;
}

.cta-sweep::before,
.cta-sweep::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2.5px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.cta-sweep::before {
  z-index: 2;
  background: linear-gradient(135deg, #059669 0%, #34D399 45%, #A7F3D0 75%, #10B981 100%);
  opacity: 0;
  transition: opacity 0.7s 0.15s;
}

.cta-sweep.is-revealed::before {
  opacity: 0.92;
}

.cta-sweep::after {
  z-index: 3;
  opacity: 0;
  background: conic-gradient(
    from var(--cta-sweep-angle),
    transparent 0deg,
    transparent 175deg,
    rgba(110, 231, 183, 0.78) 235deg,
    #10B981 305deg,
    #D1FAE5 344deg,
    transparent 360deg
  );
  filter: drop-shadow(0 0 6px rgba(5, 150, 105, 0.45));
}

.cta-sweep.is-sweeping::after {
  animation: ctaBorderSweep 2.6s cubic-bezier(0.25, 0.08, 0.25, 1) 0s 1 normal forwards;
}

@media (prefers-reduced-motion: reduce) {
  .cta-sweep.is-revealed::before {
    transition: none;
  }
  .cta-sweep::after {
    display: none !important;
    animation: none !important;
  }
}

/* Editorial Spreads */
.spread-dark {
  background: var(--text-dark);
  color: var(--bg-white);
}

.spread-light {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 76px 0;
}

.spread-bordered {
  border-top: 1px solid var(--border-light);
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spread-dark .kicker {
  color: var(--emerald-upside);
}

.kicker-sm {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
}

.spread-head {
  margin-bottom: 36px;
}

.slide-title {
  margin-top: 10px;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 920px;
}

/* Hand-Drawn Emerald Marker Marks */
.mark-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.mark-underline {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -10px;
  width: calc(100% + 8px);
  height: 14px;
  pointer-events: none;
}

.mark-circle-wrap {
  position: relative;
  display: inline-block;
  padding: 2px 16px;
  margin-left: -16px;
}

.mark-circle {
  position: absolute;
  inset: -10px -12px;
  width: calc(100% + 24px);
  height: calc(100% + 20px);
  pointer-events: none;
}

/* Cover Hero */
.hero-spread {
  padding: 68px 0 60px;
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-main {
  max-width: 900px;
}

.cover-title {
  margin-top: 18px;
  font-size: clamp(36px, 5.1vw, 58px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--bg-white);
}

.hero-sub {
  margin-top: 22px;
  font-size: 18.5px;
  line-height: 1.5;
  color: #D1D1D6;
  max-width: 720px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-portrait-wrap {
  width: 236px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #27272A;
  flex-shrink: 0;
}

.hero-portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.hero-portrait-cap {
  padding: 11px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portrait-cap-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bg-white);
}

.portrait-cap-meta {
  font-size: 11px;
  color: #A1A1A6;
}

.cover-metrics {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.cover-stat-val {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bg-white);
  margin-bottom: 8px;
  line-height: 1.08;
}

.cover-stat-val.accent {
  color: var(--emerald-upside);
}

.cover-stat-lbl {
  font-size: 15.5px;
  line-height: 1.45;
  color: #D1D1D6;
}

/* 01 · Swiss Table + Warm Editorial Note */
.track-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 44px;
  align-items: start;
}

.table-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.table-scroll::-webkit-scrollbar {
  display: none;
}

.hairline-table {
  width: 100%;
  border-collapse: collapse;
}

.hairline-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 14px 12px 0;
  border-bottom: 1.5px solid var(--text-dark);
}

.hairline-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 15.5px;
  line-height: 1.42;
  color: var(--text-body);
  vertical-align: top;
}

.hairline-table tr:last-child td {
  border-bottom: none;
}

.td-strong {
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.co-cell {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.co-logo-tile {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-dark);
}

.co-logo-tile svg {
  width: 17px;
  height: 17px;
  display: block;
}

.td-meta {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  white-space: nowrap;
}

.td-emerald-copy {
  color: var(--text-dark) !important;
  font-weight: 500;
}

.editorial-note {
  background: var(--amber-bg);
  border: 1.5px solid var(--amber-bd);
  border-radius: 8px;
  padding: 26px 24px;
  color: var(--amber-fg);
  position: relative;
  margin-top: 8px;
}

.editorial-note::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 26px;
  width: 68px;
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--emerald-vivid),
    var(--emerald-vivid) 4px,
    #A7F3D0 4px,
    #A7F3D0 8px
  );
  opacity: 0.85;
}

.editorial-note h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--amber-fg);
  margin-bottom: 10px;
}

.editorial-note p {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--amber-fg);
}

/* 02 · Open Two-Column Split */
.two-col-editorial {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 44px;
  align-items: start;
}

.v-rule {
  background: var(--border-light);
  height: 100%;
  min-height: 290px;
}

.track-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
}

.track-tag.dark {
  color: var(--text-muted);
}

.track-heading {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.clean-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clean-bullets li {
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--text-body);
  padding-left: 24px;
  position: relative;
}

.clean-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* 03 · Comparison Stack (Merged Rose DIY Column vs Emerald Checks) */
.value-stack-grid {
  display: grid;
  grid-template-columns: 230px 290px 1fr;
  grid-template-rows: auto repeat(6, auto);
  column-gap: 20px;
  align-items: center;
}

.vs-hdr {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--text-dark);
}

.vs-hdr.emerald {
  color: var(--emerald);
}

.vs-hdr.rose {
  color: var(--rose-fg);
  text-align: center;
}

.vs-feat {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  align-items: center;
}

.vs-ec {
  font-size: 14.5px;
  color: var(--text-body);
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vs-ec .chk {
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
}

.vs-diy-merged {
  grid-column: 2;
  grid-row: 2 / span 6;
  height: calc(100% - 14px);
  background: var(--rose-bg);
  border: 1.5px solid var(--rose-bd);
  border-radius: 14px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.diy-big {
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--rose-fg);
  letter-spacing: -0.02em;
}

.diy-sub {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--rose-body);
}

.diy-time {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--rose-bd);
  width: 100%;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rose-fg);
}

.vs-summary-bar {
  margin-top: 12px;
  background: var(--emerald-soft);
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 230px 290px 1fr;
  column-gap: 20px;
  align-items: center;
}

.vs-sum-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.vs-sum-rose {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rose-fg);
  text-align: center;
}

.vs-sum-emerald {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--emerald);
}

/* 04 · Open 4px Top-Rule Columns */
.roadmap-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.road-col {
  border-top: 4px solid var(--text-dark);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}

.road-col.active-step {
  border-top-color: var(--emerald);
}

.road-step-num {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.road-col.active-step .road-step-num {
  color: var(--emerald);
}

.road-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.road-price {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 14px;
}

.road-body {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 18px;
  flex: 1;
}

.road-target {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.road-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--emerald);
  text-decoration: none;
}

.road-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Speaking & Checklist Strip */
.resources-strip {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.speaking-line {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
}

.speaking-line a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eq-strip {
  background: var(--text-dark);
  color: var(--bg-white);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eq-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eq-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-upside);
}

.eq-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--bg-white);
}

/* 05 · Dark Closing Spread & Diagnostic Form */
.closing-spread {
  padding: 76px 0 42px;
}

.closing-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.closing-copy .slide-title {
  color: var(--bg-white);
}

.closing-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15.5px;
  color: #E5E5EA;
}

.accent-num {
  color: var(--emerald-upside);
  font-weight: 700;
  margin-right: 10px;
}

.closing-reassurance {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  gap: 14px;
}

.closing-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.reassurance-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-white);
}

.reassurance-sub {
  font-size: 12.5px;
  color: #A1A1A6;
}

.form-panel {
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 30px;
}

.audience-tabs {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.tab-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tab-btn.is-active {
  background: var(--text-dark);
  color: var(--bg-white);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--text-dark);
}

.field-full {
  margin-top: 14px;
}

.form-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-success {
  margin-top: 18px;
  padding: 22px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.success-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-bottom: 8px;
}

.form-success h3 {
  font-size: 20px;
  font-weight: 700;
}

.form-success p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-body);
}

.attribution-box {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.success-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer Inside Closing Dark Spread */
.ed-footer {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: #A1A1A6;
}

.ed-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.ed-footer-name {
  color: var(--bg-white);
  font-weight: 600;
}

.ed-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ed-footer-links a {
  color: #D1D1D6;
  text-decoration: none;
  font-weight: 500;
}

.ed-footer-links a:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

.ed-footer-legal {
  margin-top: 12px;
  font-size: 12px;
  color: #86868B;
}

/* Checklist Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(29, 29, 31, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-head h3 {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-close {
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-dark);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-body);
}

.checklist-groups {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cl-group {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
}

.cl-group h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cl-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
  padding: 5px 0;
  cursor: pointer;
}

.cl-item input {
  margin-top: 3px;
  accent-color: var(--emerald);
}

.checklist-capture {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.checklist-capture input {
  flex: 1;
  min-width: 220px;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  outline: none;
}

.checklist-capture input:focus {
  border-color: var(--text-dark);
}

.cl-msg {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
}

/* Responsive */
@media (max-width: 960px) {
  .ed-nav {
    display: none;
  }

  .hero-top-row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-portrait-wrap {
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    border-radius: 9999px;
  }

  .hero-portrait-wrap img {
    width: 60px;
    height: 60px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .hero-portrait-cap {
    padding: 0;
    border-top: none;
  }

  .cover-metrics,
  .track-layout,
  .two-col-editorial,
  .roadmap-cols,
  .resources-strip,
  .closing-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .v-rule {
    display: none;
  }

  .value-stack-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vs-hdr.rose {
    display: none;
  }

  .vs-diy-merged {
    grid-column: 1;
    grid-row: auto;
    height: auto;
    margin: 10px 0;
  }

  .vs-summary-bar {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }

  .vs-sum-rose {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .wrap,
  .ed-header-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ed-brand-tag {
    display: none;
  }

  .spread-light,
  .hero-spread,
  .closing-spread {
    padding-top: 52px;
    padding-bottom: 52px;
  }

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

  .form-panel {
    padding: 22px;
  }

  .eq-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .td-meta {
    white-space: normal;
  }
}
