/* clar.tax · Eigene Bausteine
 * Everything here is new for clar.tax (not from Lavern): wordmark, initials avatars,
 * the deadline pill that replaces the install command, the push timeline in card 01,
 * and the ledger table in card 07. Loaded last, so it may refine earlier files. */

/* ─── Wordmark: the N1 mark + "clar" + square full stop + "tax" (as in Brand.tsx) ─── */
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text)}
.brand-mark{width:24px;height:24px;flex:none;display:block}
.brand-mark .ink{fill:currentColor}
.brand-mark .saldo{fill:var(--accent)}
.brand-word{
  display:inline-flex;align-items:baseline;
  font-family:var(--sans);font-size:20px;font-weight:620;
  letter-spacing:-0.045em;line-height:1
}
.brand-word .stop{display:inline-block;width:.19em;height:.19em;background:currentColor;margin:0 .06em}
.brand-word .tax{color:var(--muted)}

/* ─── Initials instead of DiceBear faces: no third-party request, no stock personas ─── */
span.m-avatar-img{
  display:flex;align-items:center;justify-content:center;
  font-family:var(--sans);font-size:10.5px;font-weight:600;letter-spacing:.1px;
  color:var(--text);background:#EEF1EC
}
span.m-avatar-img.sm{font-size:8.5px}
span.m-avatar-img.g{background:var(--accent);border-color:var(--accent);color:#fff}

/* ─── Deadline pill: same shape as Lavern's install pill, shows the next real Frist ─── */
a.install{text-decoration:none}
.install .frist-live{
  width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none;position:relative
}
.install .frist-live::after{
  content:'';position:absolute;inset:-4px;border-radius:50%;
  border:1.5px solid var(--accent);opacity:0;animation:liveBlink 2.4s ease-out infinite
}
@media(prefers-reduced-motion:reduce){.install .frist-live::after{animation:none}}
.install .frist-date{color:var(--text)}
.install .frist-label{color:var(--muted)}

/* ─── Disclaimer under the hero deck, kept on one readable line where possible ─── */
.hero-disclaimer{text-wrap:balance}

/* ─── Small "Stand" marker for claims that are vision, not yet product ─── */
.vision-note{
  font-family:var(--mono);font-size:9.5px;letter-spacing:1px;text-transform:uppercase;
  color:var(--dim)
}

/* ─── Quote from a Steuerberaterin (moved from the consulting site) ─── */
.section-quote{max-width:720px;margin-left:auto;margin-right:auto}
.section-quote blockquote{margin:0}
.quote-attr a{color:inherit;text-decoration:none;border-bottom:1px solid var(--hair-strong)}
.quote-attr a:hover{border-bottom-color:var(--text)}

/* ─── Honest status next to a feature number: planned or being built ─── */
.feature-flag{
  display:inline-block;margin-left:6px;padding:1px 7px;border-radius:3px;vertical-align:1px;
  font-family:var(--mono);font-size:9px;letter-spacing:.8px;text-transform:uppercase;
  background:var(--accent-soft);color:var(--accent)
}

/* ─── Reduced motion: end every animation and transition in its final state ─── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;animation-delay:0s!important;
    transition-duration:.001ms!important;transition-delay:0s!important;scroll-behavior:auto!important
  }
}

/* ─── Agent faces: option F "Bogen" (tools/design/avatar-optionen.html). Notionists, CC0, self-hosted in
   /img/agents. Face in an arch window on an earth tone, ink softened by multiply, the Saldo point of the
   mark outside the arch. Specificity beats features.css (.feature-mockup .m-card .m-avatar-img.sm). ─── */
.tone-clay{--tone:#DCC6B3}.tone-sage{--tone:#CED5C4}.tone-oat{--tone:#E8DFD0}.tone-stone{--tone:#D6D0C4}
.feature-mockup span.m-avatar-img.face{
  position:relative;flex:none;width:28px;height:35px;
  background:none;border:0;border-radius:0;overflow:visible;padding:0
}
.feature-mockup span.m-avatar-img.face.sm{width:21px;height:26px}
.face .arch{display:block;width:100%;height:100%;overflow:hidden;border-radius:999px 999px 4px 4px;background:var(--tone,#E8DFD0)}
.face .arch img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%;
  transform:scale(1.25) translateY(8%);mix-blend-mode:multiply;opacity:.86
}
.feature-mockup span.m-avatar-img.face::after{
  content:'';position:absolute;right:-3px;bottom:-2px;width:8px;height:8px;
  border-radius:50%;background:var(--accent);box-shadow:0 0 0 1.5px var(--surface-2)
}
.feature-mockup span.m-avatar-img.face.sm::after{width:6px;height:6px;right:-2px}

/* ─── Stimmen: two quotes between the numbers and the billboard ─── */
.voices-section{padding-top:clamp(40px,6vw,80px);padding-bottom:clamp(40px,6vw,80px)}
.voices-head{text-align:center;margin-bottom:clamp(32px,5vw,56px)}
.voices-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,72px);max-width:1040px;margin:0 auto}
.voice{margin:0;padding-top:22px;border-top:1px solid var(--hair-strong)}
.voice blockquote{
  margin:0;font-family:var(--serif);font-weight:400;
  font-size:clamp(20px,2vw,26px);line-height:1.38;letter-spacing:-0.005em;color:var(--text);text-wrap:pretty
}
.voice .quote-attr{margin-top:20px}
@media(max-width:760px){.voices-grid{grid-template-columns:1fr}}

/* ─── Ablauf: four steps in the style of the numbers section ─── */
.steps-grid{grid-template-columns:repeat(4,1fr);gap:40px}
.steps-section .stat-num{font-size:clamp(56px,6vw,96px)}
.steps-section .stat-caption{font-size:14.5px}
@media(max-width:1024px){.steps-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.steps-grid{grid-template-columns:1fr}}

/* Hero: the claim on two lines ("… aus Agenten." / "Ihre."), sized to the window so the first line never breaks
   in the middle (13.6 em of Newsreader plus the word masks' padding, about 15.3 em); less air between claim, deck and demo, so the iMac shows above the fold. */
.hero{padding-top:156px}
.hero h1.word-reveal{font-size:clamp(32px,calc((100vw - 154px) / 15.4),84px);line-height:1.04;max-width:none;text-wrap:balance;margin-bottom:22px}
.hero .hero-deck{margin-bottom:22px}
.hero .hero-imac{margin-top:22px}
@media(max-width:640px){.hero{padding-top:118px}}

/* Card 09: the voice wave from the mark (wave.js): ink bars on a hairline, the green point is live */
.m-voice{position:relative;width:92%;max-width:340px;padding:14px 16px 12px;border-radius:14px;background:var(--surface-2);
  border:1px solid var(--hair);box-shadow:var(--shadow-sm)}
.m-voice-wave{width:100%;height:56px}
.m-voice-wave svg{display:block}
.m-voice-state{display:flex;align-items:center;gap:6px;margin-top:6px;font:500 9px/1 var(--mono);letter-spacing:1px;text-transform:uppercase;color:var(--muted)}

/* hidden means hidden, also for links styled as flex (nav Demo until /demo/ is live) */
[hidden]{display:none!important}
