/* Smiley Man Homework additions on top of Smiley Man Check-In's app-site.css and public-pages.css.
   Those two files are copied unchanged so both sites stay one family; everything specific lives here. */

/* Images carry width and height to avoid layout shift; let CSS widths keep their shape. */
img { height: auto; }

/* "Coming soon" sits where Smiley Man's App Store button sits, but it is a note, not a link. */
.header-note { display: inline-flex; align-items: center; padding: 10px 17px; border: 2px dashed var(--ink); border-radius: 999px; background: var(--paper); white-space: nowrap; font-family: var(--round); font-size: 14px; font-weight: 900; }
.store-note { display: inline-flex; flex-direction: column; gap: 3px; padding: 15px 22px; border: 2px dashed var(--ink); border-radius: 17px; background: var(--paper); font-family: var(--round); }
.store-note strong { font-size: 17px; font-weight: 900; }
.store-note span { color: var(--muted); font-size: 13px; font-weight: 700; }
.end-cta .store-note { flex: none; border-color: var(--paper); background: transparent; color: var(--paper); }
.end-cta .store-note span { color: #e1dfe2; }
.end-cta-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.end-cta-links a { color: var(--sun); font-family: var(--round); font-weight: 900; text-underline-offset: 4px; }

/* Home: Smiley Man art in the purple panel where Check-In shows a phone. */
.app-visual-art { position: relative; z-index: 1; width: min(78%, 400px); }
.story-steps .step-icon { font-family: var(--round); font-size: 26px; font-weight: 900; }
.price-line { margin-top: 26px; font-family: var(--round); font-size: 18px; font-weight: 850; }

/* Reading pages: tables, sub-headings and the operator block. */
body.public-page .article-copy h3 {
  margin: 34px 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.04em;
}
body.public-page .article-copy a { overflow-wrap: anywhere; }
body.public-page .article-copy ol li::marker { font-family: var(--round); font-weight: 900; }
.data-table {
  width: 100%;
  margin: 8px 0 30px;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}
.data-table caption { padding: 0 0 10px; caption-side: top; text-align: left; color: var(--muted); font-size: 14px; }
.data-table th, .data-table td { padding: 13px 15px; text-align: left; vertical-align: top; color: #484857; }
.data-table thead th { background: var(--sun); color: var(--ink); font-family: var(--round); font-size: 15px; font-weight: 900; }
.data-table tbody th { color: var(--ink); font-weight: 750; }
.data-table tbody tr + tr > * { border-top: 1px solid var(--line); }
body.public-page .fact-list { margin: 0 0 30px; padding: 20px 24px; border: 2px solid var(--ink); border-radius: 22px; background: var(--paper); }
body.public-page .fact-list dt { color: var(--ink); }
.address { font-style: normal; color: #484857; font-size: 18px; line-height: 1.75; margin-bottom: 19px; }

@media (max-width: 560px) {
  .header-note { padding: 7px 11px; font-size: 12px; }
  .store-note { width: 100%; }
  .app-visual-art { width: 82%; }
  body.public-page .fact-list { grid-template-columns: 1fr; gap: 2px; padding: 16px 18px; }
  body.public-page .fact-list dd { margin-bottom: 12px; }
  /* Tables become stacked cards on a phone, so nothing scrolls sideways. */
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .data-table tbody tr { padding: 12px 15px; }
  .data-table tbody tr + tr { border-top: 1px solid var(--line); }
  .data-table tbody tr + tr > * { border-top: 0; }
  .data-table th, .data-table td { padding: 3px 0; }
  .data-table td[data-label]::before { content: attr(data-label) ": "; color: var(--ink); font-weight: 750; }
}
.trust-strip.trust-strip-flush { padding-block: 0; }
