:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #eef2ff;
}

* { box-sizing: border-box; }
body { min-height: 100dvh; margin: 0; background: linear-gradient(145deg, #eef2ff 0%, #f8fafc 48%, #ede9fe 100%); }
a { color: inherit; }
.catalog { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 1.25rem 0 2.5rem; }
.catalog-header { position: relative; min-height: 92px; display: grid; align-content: center; padding: 0 13rem 0 13rem; text-align: center; }
.catalog-header > p { margin: 0; color: #5f6675; }
.brand { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: .65rem; text-align: left; text-decoration: none; }
.brand b, .brand small { display: block; }
.brand b { font-size: 1.05rem; }
.brand small { margin-top: .2rem; color: #6b7280; font-size: .68rem; }
.rm-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #6d5bd0; color: white; font-size: .75rem; font-weight: 800; box-shadow: 0 5px 16px rgb(76 59 160 / .25); }
.catalog-header nav { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; gap: .5rem; }
.catalog-header nav a { padding: .45rem .65rem; border: 1px solid #d7d7e8; border-radius: 7px; background: rgb(255 255 255 / .72); color: #4b3ca4; font-size: .78rem; text-decoration: none; }
.catalog-header nav a:hover { background: white; }
.showcase-group { margin-top: 1.25rem; padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid rgb(113 96 192 / .15); border-radius: 22px; background: rgb(255 255 255 / .88); box-shadow: 0 18px 55px rgb(48 42 91 / .1); }
.group-heading { max-width: 760px; }
.eyebrow, .implementation { margin: 0 0 .5rem; color: #6952c4; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.group-heading h1 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -.04em; }
.group-heading > p:last-child { margin: .8rem 0 0; color: #626a79; line-height: 1.55; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.showcase-card { display: flex; min-height: 270px; flex-direction: column; padding: 1.4rem; border: 1px solid #dfe3eb; border-radius: 15px; background: #fff; }
.showcase-card.experimental { background: linear-gradient(155deg, #fff 45%, #f3f0ff); }
.showcase-card h2 { margin: .15rem 0 .65rem; font-size: 1.35rem; }
.showcase-card > p:not(.implementation) { margin: 0; color: #626a79; line-height: 1.55; }
.open-link { align-self: flex-start; margin-top: auto; padding: .6rem .8rem; border-radius: 7px; background: #6853c7; color: white; font-size: .86rem; font-weight: 700; text-decoration: none; }
.open-link:hover { background: #513ba9; }
footer { padding: 1.2rem .5rem 0; color: #717886; text-align: center; font-size: .8rem; }

@media (max-width: 760px) {
  .catalog-header { min-height: 150px; padding: 4.4rem 0 0; }
  .brand { top: .25rem; transform: none; }
  .catalog-header nav { top: .65rem; transform: none; }
  .showcase-grid { grid-template-columns: 1fr; }
}
