/* Shared presentation layer. Routes, form controls and application behavior stay in their original files. */
body:not(.home-page) {
  --bg: #fcfcfe;
  --bg-2: #f2f1f7;
  --surface: #fff;
  --surface-2: #f9f8fc;
  --surface-3: #f3f2f8;
  --ink: #181827;
  --text: #626372;
  --text-dim: #696a7a;
  --text-faint: #696a7a;
  --line: #e5e5ed;
  --line-2: #d5d2e2;
  --accent: #6650dc;
  --accent-2: #6650dc;
  --accent-dark: #5843c9;
  --accent-wash: #f0edfb;
  --link: #5843c9;
  --grad-primary: linear-gradient(#6650dc, #6650dc);
  --grad-brand: linear-gradient(#6650dc, #6650dc);
  --grad-text: linear-gradient(#6650dc, #6650dc);
  --font-display: Inter, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --sh-1: 0 2px 8px #24203905;
  --sh-2: 0 12px 36px #24203909;
  --glow-blue: 0 0 0 transparent;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
html[data-theme="dark"] body:not(.home-page) {
  --bg: #101019;
  --bg-2: #191823;
  --surface: #1b1928;
  --surface-2: #201e2e;
  --surface-3: #262333;
  --ink: #f2f1fa;
  --text: #b3b1c4;
  --text-dim: #aaa7bd;
  --text-faint: #aaa7bd;
  --line: #2b293a;
  --line-2: #454054;
  --accent: #b3a4ff;
  --accent-dark: #b3a4ff;
  --link: #b3a4ff;
  --accent-wash: #27213d;
}
body:not(.home-page) :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
body:not(.home-page) .aurora,
body:not(.home-page) .grain {
  display: none;
}
body:not(.home-page) .nav {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: none;
}
body:not(.home-page) .nav::after {
  display: none;
}
body:not(.home-page) .nav-inner {
  max-width: 1264px;
  height: 78px;
  padding: 0 40px;
}
body:not(.home-page) .brand {
  font-size: 19px;
  gap: 9px;
}
body:not(.home-page) .brand .two {
  background: none;
  color: var(--accent);
  -webkit-text-fill-color: currentColor;
}
body:not(.home-page) .nav-links {
  gap: 0;
  margin-left: 16px;
}
body:not(.home-page) .nav-links a {
  font-size: 12px;
  padding: 9px 10px;
}
body:not(.home-page) .nav-cta {
  gap: 8px;
}
body:not(.home-page) .btn {
  border-radius: 8px;
  box-shadow: none;
  font-weight: 500;
}
body:not(.home-page) .btn-primary {
  background: #6650dc;
  color: white;
  border-color: #6650dc;
}
body:not(.home-page) .btn-primary:hover {
  background: #5942ca;
  box-shadow: 0 4px 16px #6650dc20;
}
body:not(.home-page) .btn-ghost {
  border-color: var(--line-2);
  background: var(--surface);
}
body:not(.home-page) .section-title,
body:not(.home-page) .post-title,
body:not(.home-page) .legal-wrap > h1,
body:not(.home-page) .plan-head h1,
body:not(.home-page) .blog-head-title,
body:not(.home-page) .ob-title {
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.12;
}
body:not(.home-page) .post-wrap {
  max-width: 920px;
  padding-top: 64px;
  padding-bottom: 100px;
}
body:not(.home-page) .post-title {
  font-size: clamp(34px, 5vw, 58px);
  margin: 26px 0 20px;
}
body:not(.home-page) .post > .section-sub {
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
}
body:not(.home-page) .post-body {
  max-width: 740px;
  margin: 42px auto 0;
  font-size: 15px;
  line-height: 1.85;
}
body:not(.home-page) .post-body h2 {
  margin: 44px 0 16px;
  font-size: 26px;
  font-weight: 500;
}
body:not(.home-page) .post-body h3 {
  font-weight: 500;
}
body:not(.home-page) .post-body li {
  margin-bottom: 10px;
}
body:not(.home-page) .post-body code {
  border-radius: 4px;
  font-size: 0.86em;
}
body:not(.home-page) .post-cta {
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 20px;
  margin-top: 60px;
}
body:not(.home-page) .post-cta .section-title {
  font-size: clamp(27px, 4vw, 40px);
}
body:not(.home-page) .crumbs {
  font-size: 11px;
}
body:not(.home-page) .legal-wrap {
  max-width: 920px;
}
body:not(.home-page) .legal-wrap > h1 {
  font-size: clamp(36px, 5vw, 56px);
}
body:not(.home-page) .legal-updated {
  margin-top: 18px;
  font-size: 12px;
}
body:not(.home-page) .legal-body {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  max-width: 740px;
}
body:not(.home-page) .legal-body h2 {
  font-size: 23px;
  font-weight: 500;
  margin-top: 38px;
}
body:not(.home-page) .auth-card {
  max-width: 490px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 20px 70px #24203908;
}
body:not(.home-page) .auth-card h1 {
  font-size: 32px;
  font-weight: 500;
}
body:not(.home-page) .oauth-btn {
  border-radius: 9px;
  font-weight: 500;
  box-shadow: none;
  min-height: 52px;
}
body:not(.home-page) .auth-legal {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}
body:not(.home-page) .plan-head {
  max-width: 720px;
  margin: 0 auto 44px;
}
body:not(.home-page) .plan-head h1 .hello,
body:not(.home-page) .plan-head h1 b {
  font-weight: 500;
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}
body:not(.home-page) .plan-head p {
  font-size: 15px;
  line-height: 1.8;
}
body:not(.home-page) .plan-card,
body:not(.home-page) .price-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: none;
}
body:not(.home-page) .plan-card:hover,
body:not(.home-page) .price-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
}
body:not(.home-page) .plan-card.hot {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
}
body:not(.home-page) .plan-card .p-price {
  font-size: 39px;
  font-weight: 500;
}
body:not(.home-page) .plan-card h3 {
  font-weight: 500;
}
body:not(.home-page) .plan-card .p-ico {
  color: var(--accent);
  background: var(--accent-wash);
  box-shadow: none;
  border-radius: 10px;
}
body:not(.home-page) .key-panel {
  background: var(--surface);
  border-radius: 18px;
  border-color: var(--line);
  box-shadow: none;
}
body:not(.home-page) .ob-top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
body:not(.home-page) .ob-card {
  border-radius: 12px;
  box-shadow: none;
}
body:not(.home-page) .ob-card.selected,
body:not(.home-page) .ob-card.on {
  border-color: var(--accent);
  background: var(--accent-wash);
}
body:not(.home-page) .blog-head-title b {
  font-weight: 500;
}
body:not(.home-page) .blog-head-rule {
  width: 36px;
  height: 2px;
  background: var(--accent);
}
body:not(.home-page) .blog-card {
  border-radius: 18px;
  box-shadow: none;
}
body:not(.home-page) .feed-item {
  border-radius: 18px;
  box-shadow: none;
}
body:not(.home-page) .feed-item:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
body:not(.home-page) .feed-title {
  font-weight: 500;
  font-size: 23px;
}
body:not(.home-page) .feed-excerpt {
  font-size: 14px;
  line-height: 1.75;
}
body:not(.home-page) .qa-question {
  font-weight: 500;
}
body:not(.home-page) .admin-title {
  font-weight: 500;
}
body:not(.home-page) .qa-compose,
body:not(.home-page) .qa-item {
  border-radius: 16px;
  box-shadow: none;
}
body:not(.home-page) footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
body:not(.home-page) .foot-links {
  gap: 14px 24px;
  font-size: 12px;
}
body:not(.home-page) .foot-base {
  font-size: 11px;
}
.site-eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.site-product-shot {
  margin: 34px 0 42px;
  padding: 26px 26px 0;
  background: #eeebf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.site-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px 9px 0 0;
  box-shadow: 0 8px 28px #28203313;
}
.site-product-shot figcaption {
  font-size: 11px;
  color: #665b77;
  padding: 13px 0;
}
.site-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.site-jump-links a {
  font-size: 12px;
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 30px;
}
.site-jump-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.site-note {
  padding: 24px 28px;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--surface-2);
}
.site-note strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 7px;
}
.site-note p {
  font-size: 13px;
  line-height: 1.8;
}
.site-auth-benefits {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 10px;
  color: var(--text-dim);
  margin: 18px 0 2px;
}
.site-scan-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 35px;
  align-items: center;
  margin: 35px 0 50px;
}
.site-scan-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.1;
}
.site-scan-hero p {
  font-size: 15px;
  line-height: 1.8;
  margin: 20px 0;
}
.site-scan-art {
  padding: 35px;
  background: #efecf8;
  border-radius: 24px;
}
.site-scan-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.site-scan-hero .site-eyebrow {
  margin-bottom: 20px;
}
body.site-students {
  --paper: #fcfcfe;
  --paper-2: #f3f0fb;
  --hi: #e9e3fc;
  --hi-deep: #d8cdf7;
  --ink-dim: #626372;
  --ink-faint: #696a7a;
}
.site-students .stu-glow {
  display: none;
}
.site-students .stu-hero h1 {
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(38px, 4.8vw, 62px);
  letter-spacing: -0.055em;
}
.site-students .stu-hero h1 .free {
  color: #6650dc;
}
.site-students .stu-hero h1 .mark::after {
  background: #e9e3fc;
}
.site-students .stu-btn {
  background: #6650dc;
  color: white;
  border: 1px solid #6650dc;
  border-radius: 9px;
  box-shadow: none;
  font-size: 14px;
}
.site-students .stu-btn:hover {
  background: #5942ca;
  box-shadow: 0 8px 24px #6650dc20;
  transform: translateY(-2px);
}
.site-students .stu-btn::after {
  display: none;
}
.site-students .stu-ticket {
  border: 1px solid #d8d1e9;
  border-radius: 20px;
  transform: none;
  box-shadow: 0 18px 50px #28203308;
}
.site-students .stu-ticket-stub {
  background: #e9e3fc;
}
.site-students .stu-sticker {
  border: 1px solid #d8d1e9;
  border-radius: 30px;
  font-size: 11px;
  box-shadow: none;
  animation: none;
}
.site-students .stu-card {
  border: 1px solid #e5e5ed;
  border-radius: 16px;
  box-shadow: none;
}
.site-students .stu-sec h2,
.site-students .stu-ticket h2 {
  font-weight: 500;
  font-family: Inter, "Segoe UI", sans-serif;
}
.site-students .stu-marquee {
  background: #f3f0fb;
  color: #584b72;
  border-color: #e5e5ed;
  transform: none;
}
.site-students .stu-marquee-track {
  animation: none;
}
.site-students .stu-marquee-track + .stu-marquee-track {
  display: none;
}
.site-students .stu-mini {
  border-radius: 8px;
  box-shadow: none;
}
@media (max-width: 1100px) {
  body:not(.home-page) .nav-inner {
    padding: 0 24px;
  }
  body:not(.home-page) .nav-links a {
    padding: 9px 7px;
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  body:not(.home-page) .brand {
    font-size: 16px;
  }
  body:not(.home-page) .brand span {
    display: inline;
  }
  body:not(.home-page) .brand img {
    width: 26px;
    height: 26px;
  }
  body:not(.home-page) .nav-cta {
    gap: 6px;
  }
  body:not(.home-page) .theme-toggle,
  body:not(.home-page) .nav-burger {
    width: 32px;
    height: 32px;
  }
  body:not(.home-page) .nav-account {
    width: 36px;
    height: 36px;
    padding: 3px;
    justify-content: center;
  }
  body:not(.home-page) .nav-account > span:not(.nav-avatar-fb) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  body:not(.home-page) .nav-inner {
    height: 68px;
    padding: 0 20px;
  }
  body:not(.home-page) .post-wrap {
    padding: 35px 22px 64px;
  }
  body:not(.home-page) .post-body {
    font-size: 14px;
  }
  body:not(.home-page) .post-cta {
    padding: 28px 22px;
  }
  body:not(.home-page) .auth-card {
    padding: 30px 25px;
  }
  body:not(.home-page) .auth-card h1 {
    font-size: 28px;
  }
  body:not(.home-page) .plan-head h1 {
    font-size: 36px;
  }
  .site-product-shot {
    padding: 12px 12px 0;
  }
  .site-product-shot figcaption {
    font-size: 10px;
  }
  .site-note {
    padding: 20px;
  }
  .site-scan-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-scan-art {
    padding: 26px;
  }
  .site-students .stu-sticker.s3 {
    right: -6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-students .stu-sticker,
  .site-students .stu-marquee-track {
    animation: none;
  }
}
