:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171820;
  background: #f7f7f9;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1e3fc6; outline-offset: 5px; }
.page { min-height: 100vh; }

.intro, .applications, .footer { padding-left: max(7%, calc((100% - 1120px) / 2)); padding-right: max(7%, calc((100% - 1120px) / 2)); }

.intro { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 38px; padding-bottom: 38px; color: #fff; background: radial-gradient(ellipse at 12% 110%, #d42a2a61, transparent 48%), radial-gradient(ellipse at 95% 0%, #1e3fc66b, transparent 50%), #0b0b0f; }
.intro::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.intro-content, .crest { position: relative; }
.eyebrow, .section-label, .card-category { font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.eyebrow { color: #f58b8b; }
h1 { margin: 12px 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
h1 span { color: #d3d4de; }
.intro-copy { margin-bottom: 0; color: #c3c4cf; font-size: 16px; line-height: 1.6; }
.crest { display: grid; place-items: center; flex: 0 0 175px; }
.crest img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 24px #0008); }

.applications { padding-top: 38px; padding-bottom: 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-label { margin: 0 0 10px; color: #bb2525; }
h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.section-heading > p { margin: 0 0 4px; color: #666b78; font-size: 14px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.app-card { display: flex; flex-direction: column; min-height: 245px; padding: 28px; border: 1px solid #e6e7ec; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px #1c25300a; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.app-card:hover { border-color: #d42a2a; transform: translateY(-3px); box-shadow: 0 12px 30px #1c25301a; }
.app-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fcecec; color: #c32424; }
.ranking-icon { background: #ebeeff; color: #1e3fc6; }
.app-icon svg { width: 24px; height: 24px; }
.card-content { display: flex; flex-direction: column; margin: 22px 0; }
.card-category { color: #777b89; }
.card-title { margin-top: 8px; font-size: 22px; font-weight: 750; }
.card-description { margin-top: 8px; color: #666b78; font-size: 14px; line-height: 1.6; }
.card-action { margin-top: auto; color: #b52222; font-size: 14px; font-weight: 700; }
.card-action span { margin-left: 5px; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; padding-bottom: 25px; border-top: 1px solid #e6e7ec; color: #666b78; font-size: 13px; }

@media (max-width: 600px) {
  .intro { gap: 16px; padding-top: 25px; padding-bottom: 28px; }
  .crest { flex: 0 0 90px; }
  .applications { padding-top: 28px; }
  .section-heading, .footer { align-items: start; flex-direction: column; }
  .section-heading { gap: 12px; }
  .footer { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .app-card { transition: none; }
}
