* { box-sizing: border-box; }
body.home-body { margin: 0; min-height: 100svh; background: var(--app-bg); color: var(--app-text); font: 16px/1.6 var(--app-sans); }
.home-body a { color: inherit; text-decoration: none; }
.home-body a:focus-visible { outline: 2px solid var(--app-focus); outline-offset: 5px; }
.home-header { min-height: 86px; padding: 18px max(28px, calc((100vw - 1184px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--app-line); }
.home-brand { display: inline-flex; align-items: center; gap: 16px; }
.home-brand img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: lighten; }
.home-brand span { font: 29px/1 var(--app-serif); color: var(--app-link); letter-spacing: .065em; }
.home-header nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.home-header nav a { padding: 9px 0; transition: color 160ms ease; }
.home-header nav a:hover { color: var(--app-link); }
.home-header nav span { padding-left: 8px; color: var(--app-muted); }
.home-header nav .register-link { padding: 8px 15px; border: 1px solid #c79a4b65; border-radius: 6px; color: var(--app-link); }
.home-main { width: min(1184px, calc(100% - 56px)); margin: 28px auto 40px; }
.home-intro { display: flex; align-items: baseline; gap: 24px; margin-bottom: 24px; }
.home-intro h1 { font: 38px/1.2 var(--app-serif); font-weight: 400; margin: 0; }
.home-intro p { margin: 0; font-size: 15px; color: var(--app-muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-panel { display: flex; flex-direction: column; min-height: 240px; padding: 24px; border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-panel); transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.service-panel:hover { background: #25261f; border-color: #c79a4b80; transform: translateY(-3px); }
.service-icon { width: 29px; height: 29px; color: var(--app-accent); margin-bottom: 18px; }
.service-panel h2 { font: 27px/1.25 var(--app-serif); font-weight: 400; margin: 0 0 10px; }
.service-panel p { margin: 0 0 20px; color: var(--app-muted); font-size: 14px; line-height: 1.6; }
.service-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--app-line); color: var(--app-muted); font-size: 12px; }
.service-arrow { font-size: 22px; line-height: 1; color: var(--app-link); transition: transform 180ms ease; }
.service-panel:hover .service-arrow, .service-panel:focus-visible .service-arrow { transform: translate(2px, -2px); }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 10; padding: 12px 20px; background: var(--app-panel); }
.skip-link:focus { top: 12px; }
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-header { min-height: 82px; padding: 17px 20px; gap: 16px; flex-wrap: wrap; }
  .home-brand { gap: 10px; }
  .home-brand img { width: 36px; height: 36px; }
  .home-brand span { font-size: 25px; }
  .home-header nav { gap: 15px; font-size: 13px; }
  .home-main { width: calc(100% - 40px); margin: 32px auto 40px; }
  .home-intro { display: block; margin-bottom: 24px; }
  .home-intro h1 { font-size: 33px; margin-bottom: 7px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .service-panel { min-height: 235px; padding: 24px; }
  .service-icon { width: 29px; height: 29px; margin-bottom: 20px; }
  .service-panel p { max-width: none; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-body *, .home-body *::before, .home-body *::after { transition: none !important; }
  .service-panel:hover, .service-panel:hover .service-arrow, .service-panel:focus-visible .service-arrow { transform: none; }
}
