/* Page-specific and long-form styles that sit on top of theme.css */

/* ------------------------------------------------------- document prose */
.prose {
  max-width: 74ch;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: 1.5rem;
}

.prose h3 {
  margin-top: 1.8rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li {
  color: var(--ink-700);
}

.prose .updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--ink-500);
  background: var(--neutral-pill-bg);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

/* ---------------------------------------------------------- contact split */
.contact-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-200);
}

.contact-detail:last-child {
  border-bottom: 0;
}

.contact-detail .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-700);
  flex: none;
}

.contact-detail .ico svg {
  width: 20px;
  height: 20px;
}

.contact-detail .k {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 600;
}

.contact-detail .v {
  font-weight: 600;
  color: var(--ink-900);
}

.contact-detail .v a {
  color: var(--ink-900);
}

.contact-detail .v a:hover {
  color: var(--brand-700);
}

/* ------------------------------------------------------------- values */
.value-card {
  height: 100%;
}

.value-card .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-600);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------- architecture */
.arch {
  display: grid;
  gap: 14px;
}

.arch-tier {
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 18px 20px;
}

.arch-tier .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 10px;
}

.arch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--subtle);
  border: 1px solid var(--line-200);
  color: var(--ink-700);
}

.chip--brand {
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand-800);
}

/* ------------------------------------------------------------- timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline li {
  position: relative;
  padding: 0 0 26px 34px;
  margin: 0;
  border-left: 2px solid var(--line-200);
  margin-left: 8px;
}

.timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-600);
  border: 3px solid var(--canvas);
}

.timeline .t {
  font-weight: 700;
  color: var(--ink-900);
  font-family: var(--font-display);
}

/* -------------------------------------------------------- small helpers */
.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 32px;
}

.m-0 {
  margin: 0;
}

.gap-sm {
  gap: 14px;
}

.span-2 {
  grid-column: 1 / -1;
}

.items-start {
  align-items: start;
}

.justify-center {
  justify-content: center;
}

.maw-44 {
  max-width: 44ch;
}

.footer-bottom--flush {
  border-top: 0;
  margin-top: 0;
}

.mock--flat {
  box-shadow: none;
  border-radius: 12px;
}

.note--onDark {
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
}

/* ------------------------------------------------------ print preview */
.print-demo {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.print-sheet {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-200);
  border-radius: 8px;
  background: var(--subtle);
  color: var(--ink-400);
}

.print-sheet--a4 {
  width: 120px;
  height: 150px;
}

.print-sheet--thermal {
  width: 96px;
  height: 150px;
}

.print-sheet svg {
  width: 34px;
  height: 34px;
}

.print-sheet--thermal svg {
  width: 30px;
  height: 30px;
}

.print-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1px solid var(--line-200);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-800);
}

.print-qr svg {
  width: 52px;
  height: 52px;
}

.print-caption {
  text-align: center;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.split-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dark-card {
  background: var(--side-elev);
  border: 1px solid rgba(230, 242, 238, 0.12);
  border-radius: var(--radius-card);
  padding: 24px;
}

.dark-card h3 {
  color: #fff;
}

.dark-card p {
  color: var(--side-muted);
}

.dark-card .icon-tile {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.24);
  color: var(--brand-300);
}
