/* Second Guesser case study: only what case.css lacks. No motion of its own (case.js owns that). */
.sg-fig { margin: 56px 0 0; }
.sg-fig img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid #e4e4e0; box-shadow: 0 30px 70px -40px rgba(0,0,0,.35); }
.sg-fig figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.sg-prose { max-width: 760px; margin-top: 56px; }
.sg-prose p { color: var(--muted); }
.sg-notes p:not(.eyebrow) { font-size: 18px; }
.sg-small { font-size: 15px !important; line-height: 1.6 !important; max-width: 720px; color: var(--muted); }

/* The embed: the app in an iframe (the app's own CSS must not meet the page's). */
.sg-embed { margin-top: 56px; background: #fff; border: 1px solid #e4e4e0; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0,0,0,.35); }
.sg-embed iframe { display: block; width: 100%; height: 560px; border: 0; background: #fff; }
.sg-embed noscript img { display: block; width: 100%; height: auto; }
.sg-open { margin-top: 20px !important; font-weight: 600; font-size: 17px !important; }
.sg-open a { border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.sg-open a:hover { opacity: .6; }
.sg-open a:focus-visible { outline: 3px solid #3f5fd1; outline-offset: 4px; }

/* The signal table. */
.sg-table { width: 100%; max-width: 820px; margin-top: 56px; border-collapse: collapse; font-size: 17px; }
.sg-table caption { text-align: left; font-size: 14px; color: var(--muted); padding-bottom: 14px; }
.sg-table th, .sg-table td { text-align: right; padding: 16px 12px; border-top: 1px solid #e4e4e0; font-variant-numeric: tabular-nums; }
.sg-table thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-top: 0; }
.sg-table th:first-child { text-align: left; padding-left: 0; font-weight: 600; }
.sg-table tbody tr:last-child > * { border-bottom: 1px solid #e4e4e0; }
.sg-table td:last-child { font-weight: 700; color: var(--green); }

/* The limits list. */
.sg-list { list-style: none; }
.sg-list li { padding: 22px 0; border-top: 1px solid #d9dce1; font-size: 18px; line-height: 1.6; color: var(--muted); }
.sg-list li:last-child { border-bottom: 1px solid #d9dce1; }
.sg-list strong { color: var(--ink); font-weight: 600; }

@media (max-width: 700px) {
  .sg-embed iframe { height: 440px; }
  .sg-fig, .sg-embed, .sg-table { margin-top: 40px; }
  .sg-table { font-size: 15px; }
  .sg-table th, .sg-table td { padding: 12px 6px; }
  .sg-table thead th { font-size: 11px; letter-spacing: .04em; }
  .sg-list li { font-size: 17px; }
}

/* Story layout additions. */
.sg-after { margin-top: 64px; max-width: 760px; }
.sg-after .sg-list li:first-child { border-top: 1px solid #d9dce1; }
.sg-notes .eyebrow { margin-bottom: 8px; }
.c-sec.tight .note-big { font-size: 26px !important; }
@media (max-width: 900px) { .sg-after { margin-top: 40px; } }

/* Demo links in the hero (shared with RecapBot). */
.c-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.7); color: #fff; font-weight: 500; font-size: 16px; transition: opacity .2s ease; }
.hero-btn.solid { background: #fff; border-color: #fff; color: #19191c; }
.hero-btn:hover { opacity: .8; }
.hero-btn:focus-visible { outline: 3px solid #8fb0ff; outline-offset: 3px; }
.c-hero-note { margin-top: 16px; max-width: 520px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.6); }
@media (max-width: 480px) { .hero-btn { padding: 12px 20px; font-size: 15px; } }

/* Screenshot gallery: one row, small on purpose. They show how dense the tool is; they are not meant to be read. */
.sg-shots-lead { margin-top: 56px; }
.sg-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.sg-shots .sg-fig { margin: 0; min-width: 0; }
.sg-shots .sg-fig img { border-radius: 8px; box-shadow: 0 16px 36px -24px rgba(0,0,0,.35); }
.sg-shots .sg-fig figcaption { margin-top: 10px; font-size: 13px; }
.sg-shots:focus-visible { outline: 3px solid #3f5fd1; outline-offset: 6px; }
@media (max-width: 800px) {
  .sg-shots-lead { margin-top: 40px; }
  /* Narrow screens: a swipeable row rather than three unreadably small thumbnails. */
  .sg-shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-top: 24px; }
  .sg-shots .sg-fig { scroll-snap-align: start; }
}
