/* =====================================================
   Closer — Editorial SaaS landing
   Aesthetic: financial newspaper meets modern AI
   ===================================================== */

:root {
  /* Paper & ink */
  --paper:    #F4EFE3;
  --paper-2:  #EDE6D5;
  --paper-3:  #E5DCC6;
  --ink:      #161310;
  --ink-2:    #46402F;
  --ink-3:    #857C66;

  /* Accents */
  --red:      #8E2718;
  --red-2:    #B5341F;
  --gold:     #B0884A;
  --green:    #2C5E3F;

  /* Rules */
  --rule:     #C7BDA1;
  --rule-soft: #DCD2B5;

  /* Type */
  --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-sans:  'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter:    32px;
  --gutter-sm: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Subtle paper grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 200;
}

a { color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================
   Masthead
   ===================================================== */

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.masthead__bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}

.masthead__bar > * {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.masthead__main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.masthead__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark {
  color: var(--red);
  font-size: 13px;
  position: relative;
  top: -3px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 36px;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1;
  font-weight: 400;
}

.brand-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-3);
}

.masthead__nav {
  display: flex;
  gap: 30px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.masthead__nav a {
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.masthead__nav a:hover { color: var(--red); }

.masthead__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transition: right 0.3s ease;
}

.masthead__nav a:hover::after { right: 0; }

.masthead__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
}

.link-quiet {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

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

/* =====================================================
   Buttons
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.2,.7,.2,1);
  font-family: var(--font-sans);
}

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

.btn--primary:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* =====================================================
   Ticker
   ===================================================== */

.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  position: relative;
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(to right, var(--ink), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left,  var(--ink), transparent); }

.ticker__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  width: max-content;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
}

.ticker__item strong {
  color: var(--gold);
  font-weight: 500;
}

.ticker__sep {
  color: var(--red-2);
  font-size: 8px;
  opacity: 0.7;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Live dot */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-2);
  display: inline-block;
  position: relative;
}

.dot--live::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--red-2);
  opacity: 0.4;
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* =====================================================
   Hero
   ===================================================== */

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 84px var(--gutter) 60px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(56px, 9vw, 124px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
  text-wrap: balance;
}

.hero__headline em {
  font-style: italic;
  color: var(--red);
  display: inline-block;
  position: relative;
}

.hero__headline em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.06em;
  background: var(--red);
  opacity: 0.18;
}

.hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero__sub em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}

.hero__stats > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__stats dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.hero__stats dd {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero__stats dd .unit {
  font-size: 22px;
  color: var(--ink-3);
  vertical-align: super;
  margin: 0 2px;
}

/* =====================================================
   Live panel (operations desk)
   ===================================================== */

.hero__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  box-shadow: 8px 8px 0 var(--ink);
  position: relative;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.panel__dots {
  display: flex;
  gap: 6px;
}

.panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  border: 1px solid var(--ink);
}

.panel__dot--y { background: var(--gold); }
.panel__dot--g { background: var(--green); }

.panel__title {
  flex: 1;
  font-size: 11px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.panel__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.feed {
  padding: 6px 0;
  max-height: 380px;
  overflow: hidden;
  position: relative;
}

.feed__item {
  padding: 12px 16px;
  border-bottom: 1px dashed var(--rule);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.45;
  animation: feedIn 0.4s ease both;
}

.feed__item time {
  color: var(--ink-3);
  font-size: 10.5px;
  padding-top: 1px;
}

.feed__item p { margin: 0; }

.feed__item em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
}

.feed__item--highlight {
  background: rgba(176, 136, 74, 0.08);
}

.feed__item--highlight p {
  color: var(--ink);
  font-weight: 500;
}

.tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  padding: 2px 6px;
  margin-right: 8px;
  border: 1px solid currentColor;
  text-transform: uppercase;
  position: relative;
  top: -1px;
}

.tag--lead    { color: var(--ink-2); }
.tag--meeting { color: var(--red); }

.panel__foot {
  padding: 10px 16px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.panel__counter strong, #counter {
  color: var(--red);
  font-weight: 500;
}

.panel__caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-3);
  text-align: right;
  padding-right: 4px;
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Rule (newspaper-style horizontal divider)
   ===================================================== */

.rule {
  margin: 64px 0 48px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 4px;
}

/* =====================================================
   Logo cloud
   ===================================================== */

.logos {
  padding: 8px 0 16px;
}

.logos__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 28px;
}

.logos__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.logos__list li span {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  opacity: 0.55;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}

.logos__list li:nth-child(odd) span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.logos__list li:hover span { opacity: 1; }

/* =====================================================
   Entrance animations
   ===================================================== */

.hero__copy > * {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__copy .eyebrow         { animation-delay: 0.05s; }
.hero__copy .hero__headline  { animation-delay: 0.15s; }
.hero__copy .hero__sub       { animation-delay: 0.30s; }
.hero__copy .hero__actions   { animation-delay: 0.42s; }
.hero__copy .hero__stats     { animation-delay: 0.54s; }

.hero__panel {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.9s cubic-bezier(.2,.7,.2,1) 0.35s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 980px) {
  .masthead__bar { font-size: 10px; gap: 14px; flex-wrap: wrap; }
  .masthead__main { grid-template-columns: 1fr auto; gap: 16px; }
  .masthead__nav { display: none; }
  .hero { padding: 48px var(--gutter-sm) 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__stats { grid-template-columns: 1fr; gap: 20px; padding: 22px 0; }
  .hero__stats dd { font-size: 36px; }
  .logos__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .brand-tag { display: none; }
}

@media (max-width: 560px) {
  .masthead__bar { font-size: 9px; padding: 8px var(--gutter-sm); }
  .masthead__bar > *:nth-child(3) { display: none; }
  .masthead__main { padding: 18px var(--gutter-sm); }
  .brand-name { font-size: 30px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .panel__caption { text-align: left; }
}

/* =====================================================
   Section primitives — shared
   ===================================================== */

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

.section__head {
  margin-bottom: 64px;
  max-width: 820px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 8px;
  text-wrap: balance;
}

.section__title em {
  font-style: italic;
  color: var(--red);
}

.section__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 20px;
  max-width: 640px;
}

.section__head--center .section__lede { margin-left: auto; margin-right: auto; }

.btn--lg {
  padding: 16px 28px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* =====================================================
   Features
   ===================================================== */

.features {
  padding: 96px 0;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--ink);
}

.feature {
  padding: 40px 32px 44px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature:last-child { border-right: none; }

.feature__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 24px;
}

.feature__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.feature__title em {
  font-style: italic;
  color: var(--red);
}

.feature__lede {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.feature__points {
  border-top: 1px dashed var(--rule);
  padding-top: 16px;
  margin-bottom: 28px;
  flex: 1;
}

.feature__points li {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-2);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.feature__points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
}

.feature__points li em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
}

.feature__more {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.feature__more:hover {
  color: var(--red);
  border-color: var(--red);
}

/* =====================================================
   How it works — Three Acts
   ===================================================== */

.howit {
  padding: 96px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.acts {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}

.act {
  text-align: center;
  padding: 0 16px;
}

.act__roman {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.act__title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}

.act__copy {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto 24px;
}

.act__copy em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
  font-size: 17px;
}

.act__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.act__divider {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--rule);
  padding-top: 72px;
  user-select: none;
}

/* =====================================================
   Product showcase — centerfold dashboard
   ===================================================== */

.showcase {
  padding: 96px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.dashboard {
  position: relative;
}

.dash {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  font-family: var(--font-sans);
  box-shadow: 12px 12px 0 var(--ink);
  font-size: 13px;
  overflow: hidden;
}

/* Dash — Sidebar */
.dash__nav {
  background: var(--paper);
  border-right: 1px solid var(--ink);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dash__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.dash__brandname {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}

.dash__menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash__menu li {
  padding: 8px 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 2px;
}

.dash__menu li.is-active {
  background: var(--ink);
  color: var(--paper);
}

.dash__icon {
  font-size: 9px;
  color: var(--red);
}

.dash__menu li.is-active .dash__icon {
  color: var(--gold);
}

.dash__usage {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.dash__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.dash__usage-val {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}

.dash__bar {
  height: 4px;
  background: var(--rule);
  position: relative;
}

.dash__bar span {
  display: block;
  height: 100%;
  background: var(--red);
}

/* Dash — Main table */
.dash__main {
  padding: 24px;
  background: var(--paper-2);
  min-width: 0;
}

.dash__topbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.dash__crumb {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.dash__crumb strong { color: var(--ink); }

.dash__h {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.dash__filters {
  display: flex;
  gap: 8px;
}

.dash__chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  background: var(--paper);
}

.dash__chip--on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.dash__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.dash__table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 10px 8px;
  border-bottom: 1px solid var(--ink);
  font-weight: 500;
}

.dash__table td {
  padding: 12px 8px;
  border-bottom: 1px dashed var(--rule);
  color: var(--ink-2);
  vertical-align: top;
}

.dash__table td em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-3);
  display: block;
  margin-top: 2px;
}

.dash__table tr.is-hot td {
  color: var(--ink);
  background: rgba(176, 136, 74, 0.06);
}

.avatar {
  display: inline-flex;
  width: 22px; height: 22px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 1px;
}

.score {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border: 1px solid var(--rule);
  color: var(--ink-2);
}

.score--hi {
  border-color: var(--red);
  color: var(--red);
}

/* Dash — Side calendar */
.dash__side {
  background: var(--paper);
  border-left: 1px solid var(--ink);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dash__sidetitle {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.dash__cal {
  display: flex;
  flex-direction: column;
}

.dash__cal li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 12.5px;
}

.dash__cal time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

.dash__cal strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
}

.dash__cal span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-3);
}

.dash__cal li.is-now {
  background: rgba(142, 39, 24, 0.07);
  margin: 0 -16px;
  padding: 10px 16px;
}

.dash__cal li.is-now strong { color: var(--red); }

.dash__quote {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.dash__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}

.dash__cite {
  font-family: var(--font-mono);
  font-style: normal !important;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3) !important;
  margin-top: 8px;
}

/* Editorial annotations on dashboard */
.anno {
  position: absolute;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink-2);
  max-width: 180px;
  pointer-events: none;
}

.anno em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-top: 4px;
}

.anno__line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--ink);
  margin-bottom: 8px;
}

.anno--1 {
  top: -32px;
  left: 240px;
}

.anno--2 {
  top: -32px;
  right: 290px;
  text-align: right;
}

.anno--2 .anno__line {
  margin-left: auto;
}

.anno--3 {
  bottom: -56px;
  right: 40px;
  text-align: right;
}

.anno--3 .anno__line {
  margin-left: auto;
}

/* =====================================================
   Reviews / pull quotes
   ===================================================== */

.reviews {
  padding: 96px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px double var(--ink);
}

.quote {
  padding: 44px 36px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.quote::before {
  content: '"';
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 96px;
  line-height: 1;
  color: var(--red);
  opacity: 0.25;
  font-style: italic;
}

.quote:last-child { border-right: none; }

.quote blockquote {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}

.quote blockquote em {
  font-style: italic;
  color: var(--red);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}

.quote__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  border-radius: 50%;
  flex-shrink: 0;
}

.quote figcaption strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
  font-size: 14px;
}

.quote figcaption em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
}

/* =====================================================
   Pricing — classified
   ===================================================== */

.pricing {
  padding: 96px 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.plan {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.plan--featured {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 10px 10px 0 var(--red);
  transform: translateY(-12px);
}

.plan__ribbon {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  font-weight: 500;
}

.plan__name {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.plan__for {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.plan--featured .plan__for { color: var(--gold); }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}

.plan--featured .plan__price {
  border-color: rgba(245, 240, 230, 0.2);
}

.plan__currency {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ink-3);
}

.plan--featured .plan__currency { color: var(--gold); }

.plan__amount {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan__per {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 6px;
}

.plan--featured .plan__per { color: var(--gold); }

.plan__price--custom .plan__amount {
  font-style: italic;
  font-size: 40px;
}

.plan__feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan__feats li {
  font-size: 14px;
  line-height: 1.45;
  padding-left: 22px;
  position: relative;
  color: var(--ink-2);
}

.plan--featured .plan__feats li {
  color: rgba(245, 240, 230, 0.85);
}

.plan__feats li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 500;
}

.plan--featured .plan__feats li::before { color: var(--gold); }

.plan--featured .btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.plan--featured .btn--primary:hover {
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 4px 4px 0 var(--red);
}

/* =====================================================
   FAQ — Q&A interview
   ===================================================== */

.faq {
  padding: 96px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.qa {
  max-width: 880px;
  margin: 0 auto;
  border-top: 3px double var(--ink);
}

.qa__pair {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.qa__pair dt {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.qa__pair dd {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-left: 0;
}

.qa__pair dd em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
  font-size: 17px;
}

.qa__q, .qa__a {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  flex-shrink: 0;
  width: 24px;
}

.qa__a { color: var(--ink-3); }

/* =====================================================
   CTA — late edition
   ===================================================== */

.cta {
  padding: 120px 0 110px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(176, 136, 74, 0.04) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(176, 136, 74, 0.04) 0 1px, transparent 1px 24px);
  pointer-events: none;
}

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

.eyebrow--center {
  justify-content: center;
  color: var(--gold);
}

.eyebrow--center .eyebrow__num { color: rgba(245, 240, 230, 0.6); }

.cta__headline {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 24px 0 28px;
  text-wrap: balance;
}

.cta__headline em {
  font-style: italic;
  color: var(--gold);
}

.cta__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.7);
  max-width: 580px;
  margin: 0 auto 40px;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

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

.cta .btn--primary:hover {
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 4px 4px 0 var(--red);
}

.cta .btn--ghost {
  color: var(--paper);
  border-color: rgba(245, 240, 230, 0.4);
}

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

.cta__small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.5);
}

/* =====================================================
   Colophon / Footer
   ===================================================== */

.colophon {
  padding: 80px 0 40px;
  background: var(--paper);
  border-top: 1px solid var(--ink);
  position: relative;
}

.colophon__masthead {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 32px;
  border-bottom: 3px double var(--ink);
  margin-bottom: 48px;
}

.colophon__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 64px;
}

.colophon h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  font-weight: 500;
}

.colophon ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.colophon ul li {
  font-size: 14px;
  color: var(--ink-2);
}

.colophon a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.colophon a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  background: var(--red);
  color: var(--paper);
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}

.colophon__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.colophon__form {
  display: flex;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.colophon__form input {
  flex: 1;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  background: transparent;
  border: none;
  color: var(--ink);
  outline: none;
}

.colophon__form input::placeholder { color: var(--ink-3); }

.colophon__form button {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 0 18px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.colophon__form button:hover { background: var(--red); }

.colophon__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.colophon__links a:not(:last-child) { margin-right: 4px; }

/* =====================================================
   Responsive overrides for new sections
   ===================================================== */

@media (max-width: 980px) {
  .features { padding: 64px 0; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--rule); }
  .feature:last-child { border-bottom: none; }

  .howit { padding: 64px 0; }
  .acts { grid-template-columns: 1fr; gap: 48px; }
  .act__divider { display: none; }

  .dash { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--ink); }
  .dash__nav { border-right: none; border-bottom: 1px solid var(--ink); flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .dash__usage { display: none; }
  .dash__menu { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .dash__side { border-left: none; border-top: 1px solid var(--ink); }
  .anno { display: none; }

  .quotes { grid-template-columns: 1fr; }
  .quote { border-right: none; border-bottom: 1px solid var(--rule); }
  .quote:last-child { border-bottom: none; }

  .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; box-shadow: 6px 6px 0 var(--red); }

  .colophon__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .colophon__base { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 560px) {
  .section__head { margin-bottom: 40px; }
  .acts { gap: 36px; }
  .act__roman { font-size: 72px; }
  .qa__pair dt { font-size: 20px; }
  .colophon__grid { grid-template-columns: 1fr; }
}
