:root {
  --ink: #142437;
  --paper: #f2f6fc;
  --white: #fff;
  --blue: #3d61e8;
  --blue-dark: #3157cd;
  --muted: #596779;
  --line: #d8e1ef;
  --pale: #eaf0fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 4px; }
.skip-link {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-160%);
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.showcase-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(5vw, 24px);
  border-bottom: 1px solid #e4eaf3;
  background: var(--white);
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 184px; height: auto; }
.back-link { color: #424f60; font-size: .88rem; font-weight: 700; text-decoration: none; }
.back-link span { margin-left: 7px; color: var(--blue-dark); }
.back-link:hover { color: var(--blue-dark); }

.showcase-intro { max-width: 1230px; margin: 0 auto; padding: 68px 30px 40px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow span { width: 20px; height: 2px; background: var(--blue); }
.showcase-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.65rem, 5.8vw, 5rem);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: .99;
}
.showcase-intro h1 em { color: var(--blue-dark); font-style: normal; }
.showcase-intro > p:last-child { max-width: 640px; margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }

.demo-grid {
  max-width: 1230px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 auto;
  padding: 0 30px;
}
.demo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 30px rgb(22 41 72 / 6%);
  transition: transform .2s ease, box-shadow .2s ease;
}
.demo-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgb(22 41 72 / 11%); }
.demo-image {
  position: relative;
  display: block;
  height: 225px;
  overflow: hidden;
  background: #dce5f4;
}
.demo-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(13 24 39 / 48%)); content: ""; }
.demo-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.demo-card:hover .demo-image img { transform: scale(1.035); }
.demo-image > span {
  position: absolute;
  z-index: 1;
  bottom: 15px;
  left: 17px;
  padding: 6px 9px;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 5px;
  background: rgb(12 25 42 / 46%);
  color: var(--white);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.demo-copy { padding: 20px 21px 22px; }
.demo-type { margin: 0 0 7px; color: var(--blue-dark); font-size: .67rem; font-weight: 850; letter-spacing: .1em; }
.demo-copy h2 { margin: 0; font-size: 1.5rem; font-weight: 760; letter-spacing: -.045em; line-height: 1.18; }
.demo-copy > p:not(.demo-type) { min-height: 70px; margin: 9px 0 18px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.demo-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: .87rem; font-weight: 800; text-decoration: none; }
.demo-link b { color: var(--blue-dark); font-size: 1.08rem; }
.demo-link:hover { color: var(--blue-dark); }

.showcase-note {
  max-width: 1170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 34px auto 52px;
  padding: 20px 24px;
  border: 1px solid #d9e2f0;
  border-radius: 12px;
  background: var(--pale);
}
.showcase-note p { max-width: 700px; margin: 0; color: #48576a; font-size: .9rem; }
.showcase-note a { flex: 0 0 auto; color: var(--blue-dark); font-size: .86rem; font-weight: 800; text-decoration: none; }
.showcase-note a span { margin-left: 6px; }
.showcase-note a:hover { color: var(--ink); }
.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 20px max(5vw, 24px);
  border-top: 1px solid #dfe6f0;
  background: var(--white);
  color: #596779;
  font-size: .82rem;
}
.showcase-footer a { color: var(--ink); font-weight: 750; text-decoration: none; }
.showcase-footer a:hover { color: var(--blue-dark); }

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .demo-card:last-child .demo-image { height: 100%; min-height: 225px; }
  .showcase-note { margin-right: 30px; margin-left: 30px; }
}
@media (max-width: 620px) {
  .showcase-header { min-height: 66px; padding: 9px 18px; }
  .brand img { width: 155px; }
  .back-link { font-size: .75rem; }
  .showcase-intro { padding: 48px 20px 26px; }
  .showcase-intro h1 { font-size: clamp(2.45rem, 10vw, 3.55rem); }
  .showcase-intro > p:last-child { margin-top: 12px; font-size: .96rem; }
  .demo-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 18px; }
  .demo-card:last-child { display: block; grid-column: auto; }
  .demo-card:last-child .demo-image { height: 215px; min-height: 0; }
  .demo-image { height: 215px; }
  .demo-copy { padding: 18px; }
  .demo-copy > p:not(.demo-type) { min-height: 0; margin-bottom: 15px; }
  .showcase-note { display: block; margin: 22px 18px 34px; padding: 17px; }
  .showcase-note a { display: inline-block; margin-top: 12px; }
  .showcase-footer { padding: 17px 18px; font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
