:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --secondary: #62626b;
  --blue: #1765ed;
  --blue-hover: #0d55d4;
  --soft: #f5f5f7;
  --line: #dedee5;
  --header-height: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
button, input, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
input { caret-color: var(--blue); }
::selection { background: #dce9ff; color: #173962; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(40px, 4.7vw, 64px); line-height: 1.15; letter-spacing: -.035em; font-weight: 650; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.3; letter-spacing: -.03em; font-weight: 630; }
h3 { font-size: 21px; line-height: 1.5; font-weight: 600; }
p { color: var(--secondary); }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.icon { display: inline-block; width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #dedee5;
}
@supports (backdrop-filter: blur(12px)) {
  .site-header { background: rgb(255 255 255 / 94%); backdrop-filter: blur(12px) saturate(1.25); }
}
.header-row { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.desktop-nav { display: flex; gap: clamp(15px, 2vw, 32px); font-size: 15px; }
.desktop-nav a { position: relative; display: flex; align-items: center; min-height: 44px; }
.desktop-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity .18s, transform .26s cubic-bezier(.16, 1, .3, 1);
}
.desktop-nav a, .header-account, .footer-top a { transition: color .15s; }
.desktop-nav a:is([aria-current], :focus-visible), .header-account:focus-visible, .footer-top a:focus-visible { color: var(--blue); }
.desktop-nav a:is([aria-current], :focus-visible)::after { opacity: 1; transform: scaleX(1); }
.header-account { display: flex; gap: 8px; align-items: center; font-size: 16px; min-height: 44px; }
.header-account .icon { width: 16px; transition: transform .24s cubic-bezier(.16, 1, .3, 1); }
.menu-trigger { display: none; width: 44px; height: 44px; background: transparent; border: 0; }
.menu-trigger .icon:last-child, .menu-trigger[aria-expanded="true"] .icon:first-child { display: none; }
.menu-trigger[aria-expanded="true"] .icon:last-child { display: block; }
.site-header .mobile-nav {
  position: absolute;
  inset: 100% 0 auto;
  width: auto;
  max-height: calc(100dvh - var(--header-height) - 1px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 8px 20px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav:not([hidden]) { animation: mobile-nav-enter .24s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes mobile-nav-enter {
  from { opacity: .55; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid #eeeef2; }
.mobile-nav a:is(:focus-visible, :active) { color: var(--blue); background: #eff4fb; }
.skip-link { position: fixed; z-index: 20; left: 20px; top: -100px; background: #fff; color: var(--blue); padding: 10px; }
.skip-link:focus { top: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; gap: 12px; font-size: 16px; font-weight: 500; border-radius: 999px; border: 0; transition: background .18s, transform .18s; white-space: nowrap; }
.button:active { transform: scale(.98); }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-hover); }
.button.secondary { background: #e9edf4; color: #233c63; }
.button.secondary:hover { background: #dce4f2; }
.button .icon { width: 18px; height: 18px; }
.button.compact { min-height: 44px; padding: 6px 16px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: #0f5fdc; font-size: 16px; min-height: 44px; }
.text-link .icon { width: 17px; height: 17px; transition: transform .18s; }
.text-link:focus-visible { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover, .header-account:hover, .footer-top a:hover { color: var(--blue); }
  .desktop-nav a:hover::after { opacity: 1; transform: scaleX(1); }
  .text-link:hover { text-decoration: underline; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .header-account:hover .icon, .text-link:hover .icon { transform: translateX(4px); }
}
.text-button { border: 0; background: transparent; color: #0f5fdc; padding: 8px 0; min-height: 44px; }
.text-button:hover { text-decoration: underline; }
.actions { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-heading { text-align: center; margin-bottom: 60px; }
.section-heading p { margin-top: 16px; font-size: 19px; }
.site-footer { background: var(--soft); font-size: 13px; padding: 58px 0 24px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 36px; padding-bottom: 42px; }
.footer-top p { margin-top: 18px; font-size: 15px; }
.footer-top strong { display: block; margin-bottom: 12px; font-weight: 600; }
.footer-top > div > a:not(.brand) { display: flex; gap: 6px; align-items: center; min-height: 36px; color: #56565e; }
.footer-top .icon { width: 12px; height: 12px; }
.footer-bottom { display: flex; gap: 24px; border-top: 1px solid var(--line); padding-top: 22px; color: var(--secondary); }
.footer-bottom a { margin-left: auto; }
.footer-bottom a:hover { text-decoration: underline; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 28px; transform: translateX(-50%); background: #252a34; color: #fff; padding: 12px 20px; border-radius: 12px; max-width: calc(100% - 32px); font-size: 14px; box-shadow: 0 6px 18px #0002; }
.mobile-only { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (min-width: 801px) { .mobile-nav { display: none !important; } }
@media (max-width: 800px) {
  :root { --header-height: 62px; }
  .container { width: calc(100% - 40px); }
  .header-row { gap: 16px; }
  .desktop-nav { display: none; }
  .menu-trigger { display: inline-grid; place-items: center; width: 48px; height: 48px; }
  .header-account { margin-left: auto; font-size: 13px; min-height: 48px; }
  .text-link, .text-button, .button.compact { min-height: 48px; }
  .footer-top > div > a:not(.brand) { min-height: 48px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 27px; height: 27px; }
  .section { padding: 72px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 20px; }
  .footer-bottom a { margin-left: 0; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 40px); }
  .mobile-only { display: initial; }
  .desktop-only { display: none; }
  .header-account .icon { display: none; }
  .actions { gap: 14px 24px; }
  .button { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
