/* Brand pages (/design/<slug>/): the web app report's panels, shown without the app.
   The panels themselves come from /print/print.css, loaded before this file;
   only what differs on these pages lives here. */
.overview .ov-desc { margin: 0 0 18px; }

/* Page frame: the report's panels stacked under the question and its answer. */
.design-report { display: flex; flex-direction: column; gap: 16px; }
.design-report .panel-head h2 { margin: 0; }
.panel > .sub-title:first-of-type, .panel-head + .sub-title { margin-top: 14px; }
.glance a { display: grid; align-content: start; gap: 4px; min-height: 82px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s; }
.glance a:hover { border-color: color-mix(in srgb, var(--text) 40%, var(--line)); }
.glance a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ov-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.act { text-decoration: none; }
.style-row { cursor: copy; }
.pro-lock { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; color: var(--muted); font-size: 13.5px; font-weight: 450; }
.pro-lock .pro-chip { flex: none; }
@media (max-width: 760px) {
  .overview { grid-template-columns: minmax(0, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .pro-list { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px; border-radius: 12px; }
}

/* Fonts lead the page; the right side (links, later font shops) gets 40%. */
.design-report .fs { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.design-report #fonts { margin-bottom: 24px; }
@media (max-width: 760px) {
  .design-report .fs { grid-template-columns: minmax(0, 1fr); }
}

/* The sample and the way into the full report: same 60/40 split as the font cards. */
.report-cta { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: center; padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.cta-sample { display: block; border-radius: 10px; }
.cta-stage-link { display: block; color: inherit; text-decoration: none; }
.cta-copy { display: grid; justify-items: start; gap: 14px; padding-right: 8px; }
.cta-copy h2 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 650; line-height: 1.1; letter-spacing: -.025em; }
.cta-copy > p { margin: 0; max-width: 34ch; color: var(--muted); font-size: 16px; line-height: 1.5; }
.cta-button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 58px; margin-top: 10px; padding: 0 28px; border-radius: 12px; background: var(--button); color: var(--on-button); font-size: 17px; font-weight: 600; text-decoration: none; box-shadow: 0 1px 0 color-mix(in srgb, var(--button) 60%, transparent), 0 8px 24px -10px color-mix(in srgb, var(--button) 70%, transparent); transition: background-color .15s, transform .15s; }
.cta-button:hover { background: color-mix(in srgb, var(--button) 86%, var(--bg)); transform: translateY(-1px); }
.cta-button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.cta-copy .cta-note { margin-top: -4px; font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) { .cta-button { transition: none; transform: none !important; } }
@media (max-width: 760px) {
  .report-cta { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 18px; }
}

/* The same way into the report, top right of the Fonts panel; only its text breathes. */
.cta-button.cta-top { width: auto; height: 44px; margin: 0 0 0 auto; padding: 0 22px; border-radius: 10px; font-size: 15px; }
.cta-top span { display: inline-block; animation: cta-pulse 2.4s ease-in-out infinite; }
@keyframes cta-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .cta-top span { animation: none; } }
@media (max-width: 760px) { .cta-button.cta-top { width: 100%; margin-left: 0; } }
#fonts { padding-top: 14px; }
#fonts > .panel-head { margin-bottom: 14px; }
.cta-button.cta-top { box-shadow: none; }

/* Try the extension, left of the top report button. */
.fonts-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.fonts-actions .cta-button.cta-top { margin: 0; }
.ext-button { box-sizing: border-box; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .15s; }
.ext-button:hover { border-color: color-mix(in srgb, var(--text) 40%, var(--line)); }
.ext-button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.ext-button .safari-icon { flex: none; }
@media (max-width: 760px) {
  .fonts-actions { width: 100%; margin-left: 0; }
  .fonts-actions > a { flex: 1 1 100%; justify-content: center; }
}

/* Light and Dark over the sample, top right under the window bar. */
.ov-preview .mode-switch { left: auto; right: 12px; bottom: auto; top: 46px; translate: none; }
