* { box-sizing: border-box; }

:root {
  color: #202735;
  background: #f3f6fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

body { min-width: 320px; min-height: 100vh; margin: 0; }
a { color: inherit; }
.home-shell { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 30px; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 22px; }
.brand { color: #34499f; font-size: 1.3rem; font-weight: 850; letter-spacing: -.045em; text-decoration: none; }
.header-note { color: #778197; font-size: .92rem; font-weight: 650; }
.hero { position: relative; overflow: hidden; margin-bottom: 48px; padding: clamp(32px, 6vw, 60px); border: 1px solid #dce4f1; border-radius: 28px; background: radial-gradient(ellipse at 85% 5%, #d8e2ff 0, transparent 42%), linear-gradient(135deg, #fff 2%, #f1f5ff 100%); }
.hero::after { position: absolute; right: 7%; bottom: -86px; width: 215px; height: 215px; border: 1px solid #435db51b; border-radius: 50%; content: ""; box-shadow: 0 0 0 28px #435db509, 0 0 0 58px #435db506; pointer-events: none; }
.eyebrow { margin: 0 0 10px; color: #5369b2; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(3rem, 8vw, 5.4rem); line-height: 1; letter-spacing: -.07em; }
.hero > p:last-child { max-width: 560px; margin: 18px 0 0; color: #626e82; font-size: 1.08rem; line-height: 1.65; }
.practice-sections { padding: 0 2px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; font-size: 1.8rem; letter-spacing: -.04em; }
.section-count { margin-bottom: 4px; padding: 6px 11px; border: 1px solid #dce2ee; border-radius: 999px; background: #fff; color: #667187; font-size: .82rem; font-weight: 700; }
.section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.section-card { display: flex; min-height: 225px; align-items: flex-start; gap: 22px; padding: 26px; border: 1px solid #dfe5ef; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #26365208; }
.section-card-active { text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.section-card-active:hover { transform: translateY(-3px); border-color: #aebcf1; box-shadow: 0 16px 34px #26365212; }
.section-card-active:focus-visible { outline: 3px solid #aab7f5; outline-offset: 3px; }
.card-mark { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-content: center; border-radius: 16px; background: #eef1ff; color: #4057b0; font-size: .95rem; font-weight: 850; line-height: 1.1; text-align: center; }
.story-mark { background: #fff0d8; color: #99591d; font-size: .78rem; line-height: 1.05; }
.card-copy { display: grid; align-content: start; justify-items: start; gap: 8px; }
.card-kicker { color: #68748a; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-title { font-size: 1.35rem; letter-spacing: -.025em; }
.card-description { color: #626e82; font-size: .96rem; line-height: 1.55; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; color: #4057b0; font-weight: 750; }
.card-link span { transition: transform .18s ease; }
.section-card-active:hover .card-link span { transform: translateX(3px); }
.section-card-upcoming { border-style: dashed; background: #f8f9fc; box-shadow: none; }
.upcoming-mark { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-content: center; border: 1px solid #e2e6ed; border-radius: 16px; color: #8b95a8; font-size: 1.8rem; font-weight: 400; }
.coming-label { margin-top: 9px; color: #7e899c; font-size: .9rem; font-weight: 700; }
.home-footer { margin-top: 44px; padding: 18px 2px 0; border-top: 1px solid #e0e5ed; color: #7b8597; font-size: .88rem; }

@media (max-width: 660px) {
  .home-shell { width: min(100% - 28px, 520px); padding-top: 16px; }
  .hero { margin-bottom: 36px; border-radius: 22px; }
  .section-grid { grid-template-columns: 1fr; }
  .section-card { min-height: unset; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
