/* Shared chrome is included in every page's HTML, including direct visits. */
.site-header .nav-links { gap: 28px; }
.site-header .nav-actions { gap: 28px; }
.site-header .nav-actions .button { font-size: 14px; }
.site-header .nav-account { display: none; }
.site-header .nav-links a[aria-current="page"], .site-header .nav-actions > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-header .nav-actions .button[aria-current="page"] { text-decoration: none; }
.site-header[data-theme="blue"] .nav-links a[aria-current="page"], .site-header[data-theme="dark"] .nav-links a[aria-current="page"] { color: #fff; }
.inner-footer { background: var(--navy); color: #fffcf7; padding: 56px 0 0; }
.inner-footer .footer-content { gap: 64px; }
.inner-footer .footer-about { width: 285px; }
.inner-footer .footer-about p { font-size: 16px; line-height: 24px; color: #fffcf7c7; }
.inner-footer .footer-links { width: auto; flex: 1; gap: 36px; }
.inner-footer .footer-bottom { padding: 32px 0 25px; margin-top: 34px; border-top: 1px solid #ffffff1c; }
.footer-bottom > div { flex-wrap: wrap; }
.footer-links > div { min-width: 0; }
.footer-links a { overflow-wrap: break-word; }
.feature-shortcuts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 40px; }
.feature-shortcuts a { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #dce5f1; border-radius: 24px; padding: 10px 16px; background: #f8faff; font-size: 13px; font-weight: 500; color: #385475; transition: background .2s, border-color .2s, color .2s; }
.feature-shortcuts a:hover, .feature-shortcuts a:focus-visible { background: #eaf0ff; color: var(--blue); border-color: #b8c9f6; }
.feature-shortcuts img { width: 16px; height: 16px; }
.account-session-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.legal-page { background: #fff; }
.legal-main { max-width: 800px; padding-top: 64px; padding-bottom: 80px; }
.legal-card { border: 1px solid var(--line); border-radius: 22px; padding: 40px; background: #fbfcff; }
.legal-card h1 { font-size: 42px; letter-spacing: -1.5px; line-height: 1.14; margin-bottom: 12px; }
.legal-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.legal-card h2 { font-size: 20px; line-height: 1.4; margin: 30px 0 10px; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 15px; line-height: 1.9; }
.legal-card ul { padding-left: 22px; }
.legal-card li { margin-bottom: 5px; }
.legal-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1050px) {
  .inner-footer .footer-content { gap: 35px; }
  .inner-footer .footer-about { width: 235px; }
  .inner-footer .footer-links { gap: 22px; }
}
@media (max-width: 900px) {
  .site-header .nav-actions { gap: 12px; }
  .site-header .nav-account { display: block; border-top: 1px solid var(--line); padding-top: 18px; }
  .site-header .nav-links { gap: 20px; max-height: calc(100svh - 85px - env(safe-area-inset-top, 0px)); overflow-y: auto; }
  .inner-footer .footer-content { flex-direction: column; gap: 32px; }
  .inner-footer .footer-about { width: 100%; max-width: 400px; }
  .inner-footer .footer-links { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
  .inner-footer .footer-links > div:last-child { grid-column: auto; }
  .legal-main { padding-top: 40px; padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .site-header .nav-actions .button { font-size: 12px; padding: 10px 12px; }
  .inner-footer { padding-top: 36px; }
  .inner-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .inner-footer .footer-links > div:last-child { grid-column: 1 / -1; }
  .inner-footer .footer-bottom { margin-top: 24px; gap: 15px; }
  .feature-shortcuts { justify-content: flex-start; gap: 8px; margin: 24px 0 28px; }
  .feature-shortcuts a { padding: 9px 12px; font-size: 12px; }
  .legal-card { padding: 27px 22px; }
  .legal-card h1 { font-size: 33px; letter-spacing: -1px; }
}
@media (max-width: 375px) {
  .site-header .logo { width: 116px; }
  .site-header .navigation { gap: 8px; }
  .site-header .nav-actions { gap: 8px; }
  .site-header .nav-actions .button { font-size: 11px; padding: 10px; }
}

/* Paid plans stay unavailable until the application launch. */
.button:disabled { cursor: default; opacity: .65; }
