:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f8fa;
  color: #191a1d;
  line-height: 1.65;
}

* { box-sizing: border-box; }

body { margin: 0; }

a { color: #7a3045; }
a:hover { color: #5a2233; }
a:focus-visible { outline: 3px solid #7a3045; outline-offset: 3px; }

.shell { width: min(100% - 2.5rem, 780px); margin-inline: auto; }

header { background: #fff; border-bottom: 1px solid #e7e9ed; }
header .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { align-items: center; color: #24345f; display: inline-flex; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.15rem; font-weight: 750; gap: .65rem; text-decoration: none; }
.brand img { border-radius: 11px; height: 34px; width: 34px; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a { color: #24345f; font-size: .9rem; text-decoration: none; }
nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }

main { padding-block: 2.5rem 4rem; }
.page { background: #fff; border: 1px solid #e7e9ed; border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.75rem); }
h1 { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.15; margin: 0 0 1.25rem; }
h2 { color: #24345f; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.3rem; line-height: 1.3; margin-top: 2.25rem; }
p { margin: 0 0 1rem; }
.meta { color: #595b62; font-size: .94rem; }
.action { display: inline-block; background: #7a3045; border-radius: 12px; color: #fff; font-weight: 700; padding: .7rem 1rem; text-decoration: none; }
.action:hover { background: #5a2233; color: #fff; }
.links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.links a { border: 1px solid #d8c9cf; border-radius: 12px; padding: .7rem 1rem; text-decoration: none; }
.links a:hover { background: #faf5f7; }
footer { border-top: 1px solid #e7e9ed; color: #595b62; font-size: .9rem; padding-block: 1.5rem; }

.home { width: min(100% - 2.5rem, 980px); }
.hero { align-items: center; background: #24345f; border-radius: 24px; color: #fff; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); overflow: hidden; padding: clamp(1.5rem, 5vw, 3.5rem); position: relative; }
.hero::after { background: #7a3045; border-radius: 50%; content: ""; height: 250px; opacity: .4; position: absolute; right: -120px; top: -120px; width: 250px; }
.eyebrow { color: #b9d6d1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin-block: .7rem 1rem; }
.hero p { color: #e4e9f7; max-width: 34rem; }
.play-badge { display: inline-block; vertical-align: middle; }
.play-badge img { display: block; }
.play-badge:focus-visible { outline-color: #fff; }
.hero-mark { align-items: center; display: flex; justify-content: center; position: relative; z-index: 1; }
.hero-mark img { border: 8px solid #ffffff24; border-radius: 38px; box-shadow: 0 22px 40px #09132c70; width: min(100%, 190px); }
.section-title { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.35rem; margin: 2.5rem 0 1rem; }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-card { background: #fff; border: 1px solid #e7e9ed; border-radius: 16px; color: #191a1d; display: block; min-height: 175px; padding: 1.25rem; text-decoration: none; }
.link-card:hover { border-color: #9ba6c5; box-shadow: 0 8px 20px #24345f12; color: #191a1d; }
.link-card strong { color: #24345f; display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.05rem; margin: .8rem 0 .3rem; }
.link-card span:last-child { color: #555963; display: block; font-size: .9rem; line-height: 1.5; }
.card-icon { align-items: center; background: #e1e6fa; border-radius: 12px; color: #24345f; display: inline-flex; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1rem; font-weight: 700; height: 34px; justify-content: center; width: 34px; }
.link-card:nth-child(2) .card-icon { background: #ffd9e2; color: #7a3045; }
.link-card:nth-child(3) .card-icon { background: #d9f0ea; color: #256b63; }
.contact-line { color: #555963; font-size: .94rem; margin-top: 1.75rem; }

@media (max-width: 600px) {
  header .shell { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 0; }
}
