/* Silicon Accounts blank-canvas visual language: neutral surfaces, system type,
   ink actions, and blue for emphasis and focus. */
:root {
  color-scheme: light;
  --page: #fcfcfc;
  --ink: #1e1e1c;
  --muted: #666;
  --line: #ededed;
  --line-strong: #d1d1d1;
  --blue: #3460f0;
  --focus: #eef2fe;
  --soft: #f4f4f4;
  --surface: #fff;
}
* { box-sizing: border-box; }
html { background: var(--page); scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
button, a, input { outline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--blue); }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 14px; background: var(--ink); color: white; border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: none; color: white; }
.site-header { position: sticky; top: 0; z-index: 5; background: rgb(252 252 252 / .9); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 23px; height: 23px; font-size: 23px; line-height: 1; }
.header-links { display: flex; align-items: center; }
.header-cta { gap: 6px; }
.ui-link { text-decoration: none; }
.eyebrow { margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(40px, 8vw, 100px); align-items: center; padding: clamp(80px, 10vw, 132px) 0 clamp(80px, 10vw, 120px); }
.hero h1 { max-width: 15ch; margin: 16px 0 20px; color: var(--blue); font-size: clamp(46px, 5.4vw, 72px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; }
.lede { max-width: 44ch; margin: 0; color: #555; font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.quiet-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; padding: 6px 0; color: #555; font-size: 15px; }
.quiet-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.hero-aside { max-width: 390px; padding: 32px; background: var(--soft); border-radius: 20px; }
.hero-aside p { margin: 12px 0 18px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.4; }
.hero-aside a { color: var(--blue); font-size: 14px; font-weight: 500; }
.catalog-head { display: grid; gap: 8px; }
.section-title { margin: 0; font-size: clamp(30px, 3vw, 38px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; overflow-wrap: anywhere; }
.catalog-head p { margin: 0; color: var(--muted); font-size: 15px; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 20px; }
.search { display: flex; align-items: end; gap: 8px; width: min(100%, 480px); }
.search > div { flex: 1; min-width: 0; }
.search > div > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.search input { width: 100%; min-width: 0; }
.result-count { margin-left: auto; color: var(--muted); font-size: 14px; }
.clear-search { color: var(--blue); font-size: 14px; white-space: nowrap; }
.clear-search:hover { text-decoration: underline; text-underline-offset: .22em; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.catalog-card { display: block; min-width: 0; color: inherit; }
.catalog-card > article { height: 100%; }
.catalog-card:hover { color: inherit; }
.catalog-card:hover > article, .catalog-card:focus-visible > article { border-color: var(--border-strong); box-shadow: var(--shadow-raised); }
.card-initial { display: grid; place-items: center; width: 100%; height: 100%; color: var(--blue); font-size: 14px; font-weight: 500; }
.icon { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: 15px; color: var(--blue); font-size: 26px; font-weight: 500; }
.icon img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card h3, .catalog-card p { overflow-wrap: anywhere; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.empty { max-width: 620px; margin: 8px 0; padding: 40px; background: var(--soft); border-radius: 18px; }
.empty h2 { margin: 0 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.empty p { margin: 0; color: var(--muted); }
.ui-empty { padding: 0; }
.ui-empty p { margin: var(--space-related) auto 0; }
.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.bottom-note { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin: 80px 0; padding: 40px; background: var(--soft); border-radius: 20px; }
.bottom-note h2 { margin: 0 0 6px; font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.bottom-note p { margin: 0; color: var(--muted); font-size: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: var(--page) !important; font-size: 14px; font-weight: 500; white-space: nowrap; }
.button:hover { background: #33322f; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0; }
.detail { max-width: 850px; margin: auto; }
.back { display: inline-block; margin: 40px 0 34px; color: var(--muted); font-size: 14px; }
.detail-identity { display: flex; align-items: center; gap: 24px; }
.detail-identity .icon { flex: none; width: 88px; height: 88px; border-radius: 20px; font-size: 36px; }
.detail-title { margin: 4px 0; overflow-wrap: anywhere; font-size: clamp(36px, 5vw, 54px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.byline { margin: 0; color: var(--muted); font-size: 14px; }
.detail-desc { max-width: 740px; color: #555; font-size: 17px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.detail-cover { display: block; width: 100%; max-height: 460px; object-fit: cover; margin: 38px 0; background: var(--soft); border-radius: 18px; }
.detail-section { padding: 32px 0 40px; border-top: 1px solid var(--line); }
.detail-section h2 { margin: 0 0 20px; font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.screens { display: flex; gap: 16px; overflow: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.screens img { max-width: 85%; height: 250px; object-fit: contain; border: 1px solid var(--line); background: var(--soft); border-radius: 14px; scroll-snap-align: start; }
.release { padding: 20px 0; border-top: 1px solid var(--line); }
.release:first-of-type { padding-top: 0; border-top: 0; }
.release-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.release-title h3 { margin: 0; font-size: 16px; font-weight: 500; }
.release-date { color: var(--muted); font-size: 13px; }
.notes { color: #555; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.downloads { display: flex; flex-direction: column; gap: 8px; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; background: var(--soft); border-radius: 12px; font-size: 14px; }
.download:hover { background: #ebebeb; }
.download strong { font-weight: 500; }
.download small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--blue); font-size: 14px; }
.error { color: #b42318; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 15px; }
  .header-cta { padding-inline: 10px; font-size: 12px; }
  .hero { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 64px 0 72px; }
  .hero h1 { font-size: clamp(42px, 11vw, 56px); }
  .hero-aside { max-width: none; padding: 24px; }
  .cards { grid-template-columns: 1fr; }
  .catalog-tools { align-items: stretch; flex-direction: column; gap: 12px; }
  .search { width: 100%; }
  .result-count { margin-left: 0; }
  .empty { padding: 24px; }
  .ui-empty { padding: 0; }
  .bottom-note { align-items: flex-start; flex-direction: column; margin: 60px 0; padding: 28px; }
  .footer-inner { flex-direction: column; gap: 6px; }
  .back { margin: 28px 0; }
  .detail-identity .icon { width: 68px; height: 68px; border-radius: 16px; font-size: 30px; }
  .detail-identity { gap: 16px; }
  .detail-title { font-size: 36px; }
  .screens img { height: 180px; }
}
@media (prefers-reduced-motion: reduce) { .catalog-card > article { transition: none; } }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 14px; }
