@font-face {
  font-family: 'Idamatram Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Idamatram Space';
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
.page-idamatram {
  --head: 'Idamatram Space', 'Segoe UI', sans-serif;
  --body: 'Idamatram Inter', 'Segoe UI', sans-serif;
  --accent: #a9dcab;
  --accent-ink: #112318;
  --accent-soft: rgba(169, 220, 171, .12);
}
@media (prefers-color-scheme: light) {
  .page-idamatram {
    --bg: #0a0d14;
    --bar: #0a0d14;
    --surface: #121726;
    --text: #eef1f7;
    --text-2: #b6bfce;
    --muted: #9ba6b9;
    --hair: rgba(255, 255, 255, .08);
    --hair-2: rgba(255, 255, 255, .15);
    --live: #34d399;
  }
}
.page-idamatram main .wrap { max-width: 836px; }
.page-idamatram main > .wrap:first-child { padding-top: 40px; }
.page-idamatram .crumb { margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.page-idamatram .crumb a { text-decoration: none; }
.page-idamatram .crumb a:before { content: '\2190'; margin-right: 8px; }
.page-idamatram .crumb a:hover { color: var(--accent); }
.page-idamatram .story-app { margin-bottom: 36px; }

.id-intro { padding-bottom: 28px; border-bottom: 1px solid var(--hair-2); }
.id-intro h1 { max-width: 17em; font-size: 36px; line-height: 1.08; }
.id-intro p { margin-top: 18px; font-size: 19px; line-height: 1.6; }
.id-section { margin-top: 40px; color: var(--text-2); }
.id-section h2 { max-width: 24em; font-size: 26px; line-height: 1.18; color: var(--text); }
.id-section p { margin-top: 18px; }
.id-section strong { color: var(--text); font-weight: 600; }
.id-section a, .id-end a:not(.btn) {
  color: var(--text);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.id-section a:hover, .id-end a:not(.btn):hover { color: var(--accent); }
.id-steps { list-style: none; counter-reset: id-step; padding: 0; margin: 20px 0 0; }
.id-steps li { position: relative; padding: 16px 0 16px 42px; border-top: 1px solid var(--hair); counter-increment: id-step; }
.id-steps li:last-child { padding-bottom: 0; }
.id-steps li:before {
  content: counter(id-step);
  position: absolute;
  top: 18px;
  left: 0;
  width: 27px;
  background-color: var(--accent-soft);
  color: var(--accent);
  text-align: center;
  border-radius: 4px;
  font: 600 15px/26px var(--head);
}
.id-pictures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 28px;
  max-width: 580px;
  margin: 28px auto;
}
.id-pictures figure { min-width: 0; margin: 0; }
.id-pictures img { width: 100%; height: auto; border: 1px solid var(--hair-2); border-radius: 10px; }
.id-pictures figcaption { margin-top: 10px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.id-tally { border-collapse: collapse; width: 100%; color: var(--text-2); font-size: 16px; }
.id-tally caption { margin-bottom: 12px; text-align: left; color: var(--text); font: 600 19px/1.35 var(--head); }
.id-tally td, .id-tally th { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--hair-2); }
.id-tally thead { background-color: var(--surface); }
.id-tally thead th { color: var(--text); font-size: 14px; font-weight: 600; }
.id-tally tbody th { color: var(--accent); font: 600 24px/1.2 var(--head); }
.id-checked { padding-left: 20px; border-left: 3px solid var(--accent); }
.id-closing { margin: 40px 0; }
.id-end { border-top: 1px solid var(--hair-2); padding-top: 24px; }
.id-end .btn { margin-right: 18px; }
.id-end a { display: inline-block; margin-bottom: 10px; }
@media (max-width: 600px) {
  .id-pictures { grid-template-columns: 1fr; max-width: 276px; }
  .id-tally { min-width: 0; }
  .id-tally th, .id-tally td { min-width: 0; padding: 9px 10px; }
  .id-tally th:first-child { white-space: nowrap; }
}
@media (min-width: 900px) {
  .page-idamatram main > .wrap:first-child { padding-top: 64px; }
  .id-intro h1 { font-size: 50px; }
  .id-section { margin-top: 56px; }
  .id-section h2 { font-size: 32px; }
  .id-checked { padding-left: 26px; }
  .id-closing { margin: 56px 0; }
}
