:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #152033;
  --muted: #526173;
  --background: #f8fafc;
  --surface: #fff;
  --line: #dce3ea;
  --accent: #174cb8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); line-height: 1.55; }
a { color: var(--accent); }
a:focus-visible { outline: 3px solid #e0a321; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.brand { color: var(--ink); font-size: 1.1rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.site-header nav { display: flex; gap: 24px; }
.site-header nav a { color: var(--muted); font-weight: 600; text-decoration: none; }
.hero { padding-block: clamp(72px, 12vw, 150px) 96px; }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { max-width: 790px; margin: 16px 0 22px; font-size: clamp(3.5rem, 8vw, 7rem); }
.hero-copy { max-width: 690px; color: var(--muted); font-size: clamp(1.13rem, 2vw, 1.4rem); }
.text-link { display: inline-block; margin-top: 24px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.section { padding-block: 34px 92px; }
.section-heading { margin-bottom: 28px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 8px 0; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card { display: flex; flex-direction: column; min-height: 570px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 32px rgba(18, 39, 68, .04); }
.app-shot { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; margin-bottom: 24px; border-radius: 12px; border: 1px solid var(--line); }
.app-category { color: var(--accent); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
h3 { margin: 14px 0 8px; font-size: 2rem; }
.app-card p { margin: 0 0 16px; color: var(--muted); }
.app-card ul { margin: 0 0 28px; padding-left: 20px; }
.app-card li { margin: 6px 0; }
.button { display: inline-block; margin-top: auto; padding: 12px 18px; border-radius: 11px; background: var(--accent); color: #fff; text-align: center; text-decoration: none; font-weight: 700; }
.button:hover { background: #103d9b; }
.card-secondary { display: inline-block; margin-top: 14px; text-align: center; font-size: .9rem; font-weight: 650; }
.guide-list { display: grid; gap: 10px; }
.guide-list a { display: flex; justify-content: space-between; gap: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 650; }
.guide-list a:hover { border-color: var(--accent); }
.site-footer { padding: 30px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer a { color: var(--muted); }
.guide { max-width: 760px; padding-block: 65px 90px; }
.guide .back { font-weight: 700; text-decoration: none; }
.guide h1 { margin-block: 20px 26px; font-size: clamp(2.7rem, 6vw, 4.8rem); }
.guide .lead { color: var(--muted); font-size: 1.2rem; }
.guide h2 { margin: 48px 0 12px; font-size: 1.65rem; }
.guide li { margin: 10px 0; }
.guide .callout { margin-top: 44px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.guide .callout h2 { margin-top: 0; }
@media (max-width: 820px) { .app-grid { grid-template-columns: 1fr; } .app-card { min-height: 0; } }
@media (prefers-color-scheme: dark) {
  :root { --ink: #eef3fb; --muted: #afbdd0; --background: #0b1422; --surface: #152238; --line: #2b3b52; --accent: #8bb7ff; }
  .button { background: #79a9ff; color: #081526; }
  .button:hover { background: #a4c5ff; }
}
