:root {
  color-scheme: light;
  --purple: #6545d0;
  --purple-deep: #4f31b4;
  --soft: #f0eaff;
  --lavender: #a99af0;
  --ink: #241838;
  --muted: #686277;
  --paper: #f7f7fc;
  --white: #fff;
  --line: #ebe7f2;
  --green: #0b8a70;
  --amber: #94570d;
  --pink: #d65570;
  --header: 76px;
  --wrap: 1200px;
  --shadow: 0 18px 46px #35246312;
  font-family: "Plus Jakarta Sans", "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; padding-top: var(--header); min-width: 320px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ul { margin: 0; }
p { line-height: 1.67; }
ul { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--purple-deep); outline-offset: 4px; }
::selection { background: #ded3ff; color: var(--ink); }
.shell { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-box { width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 14px; background: var(--soft); color: var(--purple-deep); flex: none; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 11px 20px; gap: 8px; border: 1px solid transparent; border-radius: 13px; background: var(--purple); color: white; text-decoration: none; font-size: .94rem; font-weight: 750; line-height: 1.3; text-align: center; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--purple-deep); box-shadow: 0 6px 16px #48329d25; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-outline { border-color: #d9cff1; color: var(--purple-deep); background: white; }
.btn-outline:hover { background: var(--soft); border-color: var(--lavender); }
.text-link { color: var(--purple-deep); font-weight: 730; text-underline-offset: .22em; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 1.32rem; font-weight: 820; letter-spacing: -.065em; white-space: nowrap; width: max-content; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand strong { color: var(--purple); font-weight: inherit; }
.skip { position: fixed; z-index: 10; left: 16px; top: 10px; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { height: var(--header); position: fixed; z-index: 5; inset: 0 0 auto; background: #fffffff5; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header-nav, .header-actions { display: flex; align-items: center; gap: 5px; }
.header-nav a, .login-link { display: flex; min-height: 42px; align-items: center; border-radius: 9px; padding: 7px clamp(7px, 1vw, 13px); text-decoration: none; color: var(--muted); font-weight: 690; font-size: .86rem; white-space: nowrap; transition: color .2s, background .2s; }
.header-nav a:is(:hover, [aria-current]), .login-link:is(:hover, [aria-current]) { background: var(--soft); color: var(--purple-deep); }
.header-actions .btn { min-height: 42px; padding: 9px 15px; font-size: .86rem; }
.menu-toggle { display: none; }
.mobile-actions { display: none; }
@media (max-width: 1080px) {
  .shell { width: min(var(--wrap), calc(100% - 56px)); }
  .header-nav { gap: 0; }
}
@media (max-width: 1050px) {
  :root { --header: 68px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--white); }
  .menu-toggle[aria-expanded="true"] { color: var(--purple-deep); background: var(--soft); }
  .header-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 12px 24px 20px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; max-height: calc(100dvh - var(--header)); overflow: auto; }
  .header-nav.is-open { display: flex; }
  .header-nav a { min-height: 44px; padding-inline: 14px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 40px); }
}
@media (max-width: 520px) {
  .header-actions { display: none; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); }
  .header-nav .mobile-actions .btn { color: white; background: var(--purple); justify-content: center; }
  .header-nav .mobile-actions .btn-outline { color: var(--purple-deep); background: white; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
