@layer reset,base,components,responsive;
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  body,
  h1,
  h2,
  h3,
  p,
  ul {
    margin: 0;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  button,
  a,
  input,
  select,
  textarea {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  button:disabled {
    cursor: default;
  }
  a {
    color: inherit;
  }
  svg {
    display: block;
  }
  img,
  svg {
    max-width: 100%;
  }
  [hidden] {
    display: none !important;
  }
}
@layer base {
  :root {
    color-scheme: light;
    --bg: #f8f9f5;
    --paper: #fff;
    --ink: #172937;
    --muted: #596872;
    --line: #dce2dd;
    --soft: #edf1eb;
    --blue: #2856e8;
    --blue-hover: #1943c7;
    --blue-wash: #edf2ff;
    --green: #176946;
    --green-wash: #e8f3e7;
    --red: #ac342f;
    --red-wash: #fff0ee;
    --amber: #84520d;
    --navy: #172f36;
    --shadow: 0 15px 50px #1d333610;
    --radius: 20px;
    --font: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #111c22;
    --paper: #1a2931;
    --ink: #f0f3ed;
    --muted: #b1bdbf;
    --line: #36464c;
    --soft: #22343a;
    --blue: #9bb9ff;
    --blue-hover: #b9ceff;
    --blue-wash: #253755;
    --green: #9cdbb5;
    --green-wash: #203e34;
    --red: #ffb5ac;
    --red-wash: #4a2e30;
    --amber: #eed08e;
    --navy: #0d2027;
    --shadow: 0 15px 50px #0003;
  }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1,
  h2,
  h3 {
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.045em;
  }
  h1 {
    font-size: clamp(42px, 5.2vw, 72px);
  }
  h2 {
    font-size: clamp(30px, 3.4vw, 46px);
  }
  h3 {
    font-size: 22px;
    letter-spacing: -0.025em;
  }
  p {
    color: var(--muted);
  }
  a {
    text-decoration: none;
  }
  button {
    color: inherit;
  }
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  summary:focus-visible,
  [tabindex]:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
  }
  button:disabled {
    opacity: 0.48;
  }
  input,
  select,
  textarea {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 12px 16px;
    width: 100%;
    color: var(--ink);
  }
  label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
  }
  input[type="checkbox"],
  input[type="radio"] {
    width: 19px;
    height: 19px;
    accent-color: var(--blue);
    flex: none;
  }
  input[type="range"] {
    padding: 0;
    accent-color: var(--blue);
  }
  small {
    font-size: 14px;
  }
  ::selection {
    background: #cbdcff;
    color: #172937;
  }
}
@layer components {
  .container {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
  }
  .skip {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 100;
    background: var(--paper);
    padding: 12px;
  }
  .skip:focus {
    top: 12px;
  }
  .site-header {
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    position: relative;
    z-index: 10;
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 94px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.6px;
    white-space: nowrap;
  }
  .brand-icon {
    width: 42px;
    height: 44px;
    background: var(--blue);
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: white;
  }
  .brand-icon svg {
    width: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .brand-light {
    font-weight: 450;
  }
  .brand small {
    font-size: 12px;
    letter-spacing: 1px;
    display: block;
    margin-top: 8px;
    font-weight: 500;
    color: var(--muted);
  }
  .desktop-nav,
  .header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .desktop-nav {
    font-size: 14px;
    font-weight: 600;
  }
  .desktop-nav a:hover,
  .login-link:hover {
    color: var(--blue);
  }
  .header-actions {
    gap: 20px;
  }
  .login-link {
    font-size: 14px;
    font-weight: 600;
  }
  .icon-button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    font-size: 22px;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }
  .button:hover {
    background: var(--blue-hover);
    transform: none;
  }
  [data-theme="dark"] .button {
    color: #101c2b;
  }
  .button.secondary {
    border-color: var(--line);
    background: var(--paper);
    color: var(--ink);
  }
  .button.secondary:hover {
    border-color: var(--blue);
    background: var(--blue-wash);
  }
  .button.ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
  }
  .button.danger {
    background: var(--red);
    color: var(--paper);
  }
  .button.small {
    min-height: 42px;
    padding: 12px 16px;
    font-size: 12px;
  }
  .button-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  .text-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 6px;
  }
  .text-link:hover {
    color: var(--blue);
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.8px;
    font-weight: 500;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
  }
  .status-dot {
    width: 7px;
    height: 7px;
    background: #4f8c60;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 4px #4f8c6015;
  }
  .hero {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    align-items: center;
    gap: 64px;
    padding-top: 76px;
    padding-bottom: 84px;
  }
  .hero h1 span {
    color: var(--green);
  }
  .hero .lead {
    font-size: 18px;
    line-height: 1.75;
    max-width: 475px;
    margin: 28px 0 32px;
  }
  .hero-notes {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 20px;
    flex-wrap: wrap;
  }
  .hero-notes i {
    font-style: normal;
    color: var(--green);
    font-weight: 500;
    margin-right: 4px;
  }
  .hero-footnote {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    margin-top: 36px;
    padding-top: 24px;
    max-width: 400px;
  }
  .hero-footnote p {
    font-size: 12px;
    line-height: 1.7;
  }
  .hero-footnote b {
    color: var(--ink);
    font-weight: 500;
  }
  .mini-road {
    width: 37px;
    height: 37px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
  }
  .hero-visual {
    background: #e7eee4;
    border-radius: 25px;
    position: relative;
    padding: 28px 40px 40px;
    transform: rotate(1deg);
    box-shadow: inset 0 0 0 1px #1c3d2b05;
  }
  .visual-label {
    font-size: 12px;
    letter-spacing: 1.8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #52715b;
    margin-bottom: 20px;
  }
  .preview-card {
    background: white;
    border: 1px solid #d7ded8;
    border-radius: 16px;
    box-shadow: 0 12px 25px #27483c0c;
    overflow: hidden;
    transform: rotate(-1deg);
    color: #172937;
  }
  .preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 16px 20px;
  }
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-wash);
    color: var(--blue);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    line-height: 1.4;
  }
  .preview-card .pill {
    background: #edf2ff;
    color: #2856e8;
  }
  .hero-scene {
    height: 225px;
    margin: 0 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #bfd6ab;
  }
  .hero-scene svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .preview-question {
    padding: 16px 20px 20px;
  }
  .preview-question p {
    font-size: 14px;
    color: #172937;
    line-height: 1.5;
  }
  .preview-answer {
    margin-top: 16px;
    border: 1px solid #6d9877;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    padding: 12px 12px;
    border-radius: 8px;
    background: #f5faf1;
  }
  .answer-letter {
    width: 27px;
    height: 27px;
    border: 1px solid var(--line);
    border-radius: 7px;
    display: grid;
    place-items: center;
    flex: none;
    font-size: 12px;
    font-weight: 600;
  }
  .answer-check {
    margin-left: auto;
    background: #dcebd7;
    color: #397544;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
  }
  .preview-explanation {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }
  .preview-explanation > span {
    color: #4d8054;
    font-size: 22px;
    line-height: 1;
  }
  .preview-explanation p {
    font-size: 12px;
    color: #63736a;
  }
  .preview-explanation b {
    color: #3e6948;
  }
  .floating-note {
    position: absolute;
    right: -24px;
    bottom: 66px;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: #f9e9ba;
    border-radius: 13px;
    box-shadow: 0 9px 25px #17293712;
    transform: rotate(-4deg);
    color: #574721;
    font-size: 12px;
    font-weight: 500;
  }
  .floating-note > span {
    font-size: 24px;
  }
  .floating-note small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
  }
  .visual-caption {
    font-size: 12px;
    letter-spacing: 1.6px;
    position: absolute;
    bottom: 12px;
    left: 44px;
    color: #526a56;
  }
  .confidence-strip {
    border-block: 1px solid var(--line);
    padding: 24px 0;
  }
  .confidence-strip .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
  }
  .confidence-strip b {
    font-size: 16px;
    color: var(--green);
    margin-right: 4px;
  }
  .section {
    padding-block: 84px;
  }
  .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
  }
  .section-heading .eyebrow {
    margin-bottom: 16px;
  }
  .section-heading > p {
    font-size: 14px;
    max-width: 310px;
  }
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .steps-grid article {
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .step-number {
    font-size: 12px;
    color: var(--green);
    font-weight: 500;
    display: inline-block;
    background: var(--green-wash);
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 24px;
  }
  .steps-grid h3 {
    margin-bottom: 12px;
    font-size: 24px;
  }
  .steps-grid p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 300px;
  }
  .feature-section {
    background: var(--soft);
    padding-block: 64px;
  }
  .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 96px;
  }
  .feature-grid h2 {
    margin-bottom: 24px;
  }
  .body-large {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .feature-art {
    height: 340px;
    border-radius: 22px;
    background: #dbe7d1;
    position: relative;
    overflow: hidden;
  }
  .route-line {
    width: 130px;
    height: 500px;
    background: #69747a;
    transform: rotate(30deg);
    position: absolute;
    left: 140px;
    top: -70px;
    border-inline: 6px solid #e4e0cf;
    box-shadow: inset 0 0 0 7px #69747a;
  }
  .route-line::after {
    content: "";
    height: 100%;
    position: absolute;
    border-left: 2px dashed #fff;
    left: 50%;
  }
  .feature-sign {
    position: absolute;
    left: 55px;
    top: 55px;
    width: 96px;
    height: 96px;
    border: 10px solid #c73e32;
    background: white;
    color: #1e2930;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 40px;
    font-weight: 500;
    box-shadow: 6px 7px 0 #1d333610;
  }
  .feature-tag {
    position: absolute;
    background: #fff;
    padding: 12px 16px;
    border-radius: 7px;
    font-size: 12px;
    color: #283b32;
    box-shadow: 0 4px 12px #1738290d;
  }
  .feature-tag.one {
    right: 23px;
    top: 90px;
    transform: rotate(4deg);
  }
  .feature-tag.two {
    left: 27px;
    bottom: 47px;
    transform: rotate(-4deg);
  }
  .feature-car {
    position: absolute;
    left: 208px;
    top: 155px;
    background: white;
    border: 2px solid #586875;
    border-radius: 15px;
    width: 38px;
    height: 76px;
    transform: rotate(30deg);
    box-shadow: 4px 4px 0 #192b3920;
  }
  .feature-car span {
    position: absolute;
    top: 15px;
    left: 5px;
    right: 5px;
    background: #91b4d0;
    height: 38px;
    border-radius: 6px;
    border-block: 8px solid #568398;
  }
  .check-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
  }
  .check-list li {
    font-size: 14px;
    position: relative;
    padding-left: 24px;
    color: var(--muted);
  }
  .check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 500;
  }
  .topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .topic-card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 24px;
    border-radius: 14px;
  }
  .topic-card:hover {
    border-color: var(--green);
    transform: none;
  }
  .topic-card > span {
    font-size: 24px;
    color: var(--green);
    display: block;
    margin-bottom: 24px;
  }
  .topic-card h3 {
    font-size: 18px;
    line-height: 1.35;
  }
  .topic-card p {
    font-size: 12px;
    margin-top: 8px;
  }
  .pricing-banner {
    background: var(--navy);
    border-radius: 24px;
    padding: 52px;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 72px;
    color: #fff;
  }
  .pricing-banner h2 {
    font-size: 40px;
    margin-bottom: 24px;
  }
  .pricing-banner .eyebrow {
    color: #afc2ac;
  }
  .pricing-banner > div:not(.price-card) > p:not(.eyebrow) {
    color: #b5c5c5;
    font-size: 14px;
    margin-bottom: 24px;
  }
  .small-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
  }
  .pricing-banner .small-note {
    color: #b5c5c5;
  }
  .price-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    background: var(--paper);
    color: var(--ink);
  }
  .price {
    font-weight: 500;
    font-size: 48px;
    letter-spacing: -2px;
    margin: 16px 0 4px;
    line-height: 1.2;
  }
  .price small {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--muted);
    margin-left: 4px;
  }
  .price-card > p {
    font-size: 12px;
    margin-bottom: 24px;
  }
  .price-card .check-list {
    gap: 8px;
  }
  .price-card .button {
    width: 100%;
  }
  .price-card > small {
    display: block;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
  }
  .faq-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 84px;
    padding-top: 20px;
  }
  .faq-section h2 {
    margin-bottom: 20px;
  }
  .faq-section > div > p:last-child {
    font-size: 14px;
  }
  .faq-list details {
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }
  .faq-list details:last-child {
    border-bottom: 1px solid var(--line);
  }
  summary {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 28px;
  }
  summary::after {
    content: "+";
    right: 2px;
    position: absolute;
    font-size: 20px;
    top: -5px;
  }
  details[open] > summary::after {
    content: "−";
  }
  .faq-list p {
    font-size: 14px;
    padding: 16px 28px 0 0;
  }
  .last-cta {
    border-top: 1px solid var(--line);
    padding-block: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }
  .last-cta h2 {
    font-size: 30px;
    margin-bottom: 12px;
  }
  .last-cta p {
    font-size: 14px;
  }
  .site-footer {
    background: var(--soft);
    padding-top: 52px;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer-grid .brand {
    display: inline;
    font-size: 20px;
  }
  .footer-grid p {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 16px;
  }
  .footer-grid > div > b {
    font-size: 12px;
    margin-bottom: 16px;
    display: block;
  }
  .footer-grid > div > a:not(.brand) {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .footer-grid a:hover {
    color: var(--blue);
  }
  .footer-bottom {
    padding-block: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
  }
  #environment {
    background: #efe6c9;
    color: #60502c;
    text-align: center;
    padding: 8px 20px;
    font-size: 12px;
  }
  .app-layout {
    display: grid;
    grid-template-columns: 214px minmax(0, 1fr);
    min-height: 72vh;
  }
  .app-sidebar {
    padding: 32px 20px 28px 0;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 0;
    height: fit-content;
  }
  .side-title {
    font-size: 12px;
    letter-spacing: 1.8px;
    color: var(--muted);
    padding: 8px 12px 16px;
    font-weight: 500;
  }
  .side-link {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--muted);
  }
  .side-link > span {
    font-size: 20px;
    width: 20px;
    text-align: center;
  }
  .side-link.active {
    background: var(--blue-wash);
    color: var(--blue);
    font-weight: 500;
  }
  .side-link:hover {
    background: var(--soft);
  }
  .side-promo {
    background: var(--green-wash);
    border-radius: 12px;
    margin-top: 24px;
    padding: 16px;
    font-size: 12px;
  }
  .side-promo b {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
  }
  .side-promo p {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .side-promo .button {
    width: 100%;
    font-size: 12px;
  }
  .app-content {
    padding: 36px 0 56px 36px;
    min-width: 0;
  }
  .page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
  }
  .page-heading .eyebrow {
    margin-bottom: 12px;
  }
  .page-heading h1 {
    font-size: 36px;
    letter-spacing: -1.2px;
  }
  .page-heading p {
    font-size: 14px;
    margin-top: 12px;
    max-width: 580px;
  }
  .muted {
    color: var(--muted);
  }
  .panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
  }
  .panel h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .panel h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .panel p {
    font-size: 14px;
  }
  .stack {
    display: grid;
    gap: 20px;
  }
  .dashboard-hero {
    background: var(--green-wash);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
  }
  .dashboard-hero .eyebrow {
    margin-bottom: 16px;
    color: var(--green);
  }
  .dashboard-hero h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .dashboard-hero p {
    font-size: 14px;
    max-width: 400px;
    margin-bottom: 20px;
  }
  .round-symbol {
    width: 105px;
    height: 105px;
    border: 1px solid #79a08040;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 42px;
    background: #ffffff30;
  }
  .stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .stat-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
  }
  .stat-card > b {
    font-size: 28px;
    display: block;
    line-height: 1.2;
    letter-spacing: -1px;
  }
  .stat-card > span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
  }
  .two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .topic-row {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .topic-row:last-child {
    border: 0;
  }
  .topic-row > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    margin-bottom: 8px;
  }
  .topic-row b {
    font-size: 12px;
    white-space: nowrap;
  }
  .track {
    height: 5px;
    border-radius: 5px;
    background: var(--soft);
    overflow: hidden;
  }
  .track > i {
    height: 100%;
    display: block;
    background: var(--green);
    border-radius: 5px;
  }
  .empty {
    padding: 24px 0;
    color: var(--muted);
    font-size: 14px;
  }
  .filters {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1.2fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  .filters label {
    font-size: 12px;
    color: var(--muted);
  }
  .filters select {
    font-size: 12px;
    min-height: 44px;
  }
  .qcard {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .qtop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
  }
  .qmeta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }
  .qcount {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
  }
  .question-body {
    padding: 24px;
  }
  .question-prompt {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -0.45px;
    font-weight: 500;
    margin: 0 0 8px;
    color: var(--ink);
  }
  .question-how {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .question-grid {
    display: grid;
    gap: 24px;
  }
  .question-grid.with-media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
  }
  .question-media {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #e4dfd4;
    position: relative;
  }
  .scene {
    width: 100%;
    height: auto;
    max-height: 430px;
    display: block;
  }
  .media-caption {
    font-size: 12px;
    padding: 8px 12px;
    background: var(--soft);
    color: var(--muted);
  }
  .answer-list {
    display: grid;
    gap: 12px;
  }
  .answer {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-align: left;
    font-size: 14px;
    min-height: 54px;
    line-height: 1.5;
  }
  .answer:hover:not(:disabled) {
    border-color: var(--blue);
    background: var(--blue-wash);
  }
  .answer.selected {
    border-color: var(--blue);
    background: var(--blue-wash);
  }
  .answer.selected .answer-letter {
    border-color: var(--blue);
    color: var(--blue);
  }
  .answer.correct {
    border-color: var(--green);
    background: var(--green-wash);
  }
  .answer.wrong {
    border-color: var(--red);
    background: var(--red-wash);
  }
  .answer:disabled {
    opacity: 1;
    cursor: default;
  }
  .answer .answer-state {
    margin-left: auto;
    font-weight: 500;
    flex: none;
  }
  .qfooter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .qfooter .text-link {
    border: 0;
    background: transparent;
    font-size: 12px;
    cursor: pointer;
    padding: 12px 0;
    color: var(--muted);
  }
  .qfooter .button {
    min-height: 43px;
    font-size: 12px;
  }
  .feedback {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--green);
    background: var(--green-wash);
  }
  .feedback.bad {
    background: var(--red-wash);
    border-color: var(--red);
  }
  .feedback h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--green);
  }
  .feedback.bad h3 {
    color: var(--red);
  }
  .feedback p {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.8;
  }
  .feedback ol {
    font-size: 12px;
    padding-left: 20px;
  }
  .sources {
    margin-top: 16px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .sources summary {
    font-size: 12px;
    color: var(--muted);
  }
  .sources ul {
    font-size: 12px;
    padding: 12px 0 0 16px;
  }
  .sources a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .anim-controls {
    padding: 12px;
    display: grid;
    gap: 8px;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .anim-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .anim-buttons button,
  .anim-buttons select {
    min-height: 34px;
    width: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
    padding: 4px 8px;
    font-size: 12px;
  }
  .anim-buttons .time {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
  }
  .anim-instruction {
    font-size: 12px;
    padding: 8px 12px;
    background: var(--soft);
  }
  .zone .zhit {
    fill: transparent;
  }
  .zone .zline {
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 5 3;
    opacity: 0.7;
  }
  .zone.live {
    cursor: pointer;
  }
  .zone.sel .zline {
    stroke: #2856e8;
    stroke-width: 5;
    opacity: 1;
  }
  .zone.good .zline {
    stroke: #176946;
    stroke-width: 5;
    opacity: 1;
  }
  .zone.bad .zline {
    stroke: #ac342f;
    stroke-width: 5;
    opacity: 1;
  }
  .tok-svg circle {
    fill: #2856e8;
    stroke: #fff;
    stroke-width: 2;
  }
  .tok-svg .tsh {
    fill: #0003;
    stroke: none;
  }
  .tok-svg text {
    fill: #fff;
    font-size: 16px;
    font-weight: 500;
  }
  .tap-mark > circle {
    fill: #2856e8;
    stroke: #fff;
    stroke-width: 2;
  }
  .tap-mark .dot {
    fill: white;
    stroke: none;
  }
  .token-controls {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
  }
  .token {
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 9px;
  }
  .token.active {
    background: var(--blue);
    color: var(--paper);
  }
  .zone-fallback {
    margin-top: 12px;
  }
  .zone-fallback summary {
    font-size: 12px;
  }
  .zone-buttons {
    display: grid;
    gap: 8px;
    margin-top: 12px;
  }
  .zone-buttons button {
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--paper);
    font-size: 12px;
    text-align: left;
  }
  .zone-buttons button.selected {
    border-color: var(--blue);
    background: var(--blue-wash);
  }
  .flash-on .flash,
  .blink {
    animation: blink 1s steps(1) infinite;
  }
  .flash-on .flash.alt {
    animation-delay: 0.5s;
  }
  .brake-on .brake,
  .door-on .door,
  .armsig-on .armsig {
    opacity: 0;
  }
  .brake-on.on .brake,
  .door-on.on .door,
  .armsig-on.on .armsig {
    opacity: 1;
  }
  .anim-actor {
    transform-box: view-box;
  }
  .error-panel {
    background: var(--red-wash);
    border: 1px solid var(--red);
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 14px;
  }
  .error-panel p {
    color: var(--red);
  }
  .notice {
    padding: 16px 20px;
    background: var(--blue-wash);
    border: 1px solid var(--line);
    border-radius: 11px;
    font-size: 12px;
    color: var(--ink);
    margin-bottom: 20px;
  }
  .notice.warn {
    background: #ead8a326;
    color: var(--amber);
  }
  .auth-page {
    max-width: 470px;
    margin: 60px auto 84px;
  }
  .auth-page .panel {
    padding: 36px;
  }
  .auth-page h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }
  .auth-page p {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .form-stack {
    display: grid;
    gap: 16px;
  }
  .form-stack .button {
    width: 100%;
  }
  .form-help {
    font-size: 12px !important;
    margin: 8px 0 0 !important;
  }
  .divider {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--muted);
    margin: 24px 0;
  }
  .divider::before,
  .divider::after {
    content: "";
    height: 1px;
    background: var(--line);
    flex: 1;
  }
  .checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    max-width: 900px;
    margin: 48px auto 72px;
  }
  .checkout-layout h1 {
    font-size: 34px;
    margin-bottom: 16px;
  }
  .checkout-layout > div > p {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .checkout-layout .panel {
    padding: 28px;
  }
  .checkout-step {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    margin-bottom: 24px;
    color: var(--muted);
  }
  .checkout-step b {
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
  }
  .checkbox-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    margin: 20px 0;
  }
  .checkbox-row a {
    text-decoration: underline;
  }
  .order-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .order-line.total {
    font-size: 18px;
    font-weight: 500;
    border: 0;
  }
  .payment-state {
    max-width: 580px;
    margin: 60px auto 84px;
    text-align: center;
  }
  .payment-state .panel {
    padding: 40px;
  }
  .state-icon {
    width: 74px;
    height: 74px;
    background: var(--green-wash);
    color: var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 34px;
    margin: 0 auto 24px;
  }
  .payment-state h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .payment-state p {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .payment-state .button-row {
    justify-content: center;
  }
  .payment-state .order-line {
    text-align: left;
  }
  .exam-options {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
  }
  .exam-options label {
    border: 1px solid var(--line);
    padding: 16px;
    border-radius: 10px;
    font-size: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    margin: 0;
  }
  .exam-intro li {
    font-size: 14px;
    color: var(--muted);
    padding-bottom: 8px;
  }
  .exam-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
  }
  .exam-toolbar b {
    font-variant-numeric: tabular-nums;
    font-size: 18px;
  }
  .exam-toolbar .timer-warning {
    color: var(--red);
  }
  .exam-grid {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
  .exam-grid button {
    min-height: 35px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 5px;
    font-size: 12px;
    position: relative;
  }
  .exam-grid button.answered {
    background: var(--green-wash);
    border-color: var(--green);
  }
  .exam-grid button.active {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
  }
  .exam-grid button.flagged::after {
    content: "•";
    position: absolute;
    right: 2px;
    top: -7px;
    color: var(--amber);
    font-size: 24px;
  }
  .exam-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  .exam-actions .button {
    font-size: 12px;
    min-height: 42px;
  }
  .result-hero {
    display: flex;
    gap: 32px;
    align-items: center;
  }
  .score-ring {
    width: 126px;
    height: 126px;
    border-radius: 50%;
    border: 8px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: none;
  }
  .score-ring.bad {
    border-color: var(--red);
  }
  .score-ring b {
    font-size: 40px;
    letter-spacing: -1px;
    line-height: 1.2;
  }
  .score-ring small {
    font-size: 12px;
    color: var(--muted);
  }
  .result-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
  }
  .result-list button {
    width: 100%;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 16px;
    background: var(--paper);
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
  }
  .result-list button > span:first-child {
    font-weight: 500;
    color: var(--green);
  }
  .result-list button.bad > span:first-child {
    color: var(--red);
  }
  .result-list .pill {
    margin-left: auto;
    white-space: nowrap;
  }
  .sign-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .sign-tile {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 24px 12px;
    background: var(--paper);
    text-align: center;
  }
  .sign-tile svg {
    height: 87px;
    width: 100%;
    margin: 0 auto 20px;
  }
  .sign-tile h3 {
    font-size: 14px;
    line-height: 1.4;
  }
  .sign-tile p {
    font-size: 12px;
    margin-top: 8px;
  }
  .sign-tile .pill {
    margin-bottom: 12px;
  }
  .sign-tile button {
    font-size: 12px;
    border: 0;
    background: none;
    color: var(--blue);
    margin-top: 12px;
  }
  .flashcard {
    max-width: 550px;
    text-align: center;
    margin: 0 auto;
  }
  .flashcard svg {
    height: 150px;
    margin: 24px auto;
    max-width: 200px;
  }
  .flashcard h2 {
    font-size: 24px;
  }
  .flashcard .button-row {
    justify-content: center;
    margin-top: 24px;
  }
  .rule-details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    padding: 24px;
  }
  .rule-details summary {
    font-size: 16px;
  }
  .rule-details p {
    font-size: 14px;
    margin-top: 16px;
  }
  .legal {
    max-width: 760px;
    margin: 56px auto 76px;
  }
  .legal h1 {
    font-size: 36px;
    margin-bottom: 24px;
  }
  .legal h2 {
    font-size: 22px;
    margin: 32px 0 12px;
  }
  .legal p,
  .legal li {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .legal ul {
    padding-left: 24px;
  }
  .toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--paper);
    border-radius: 11px;
    padding: 12px 20px;
    z-index: 60;
    box-shadow: var(--shadow);
    font-size: 12px;
    max-width: 90vw;
  }
  .toast.error {
    background: var(--red);
    color: var(--paper);
  }
  dialog {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    background: var(--paper);
    color: var(--ink);
    width: min(620px, calc(100% - 32px));
    max-height: 85vh;
  }
  dialog::backdrop {
    background: #10202c90;
    backdrop-filter: blur(3px);
  }
  dialog h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  dialog p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  dialog > #modal-close {
    margin-top: 20px;
  }
  dialog textarea {
    min-height: 110px;
  }
  .loading {
    padding: 72px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
  }
  .spinner {
    width: 25px;
    height: 25px;
    border: 2px solid var(--line);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
  }
  .skeleton {
    height: 15px;
    background: var(--soft);
    border-radius: 5px;
    width: 60%;
    margin-bottom: 12px;
  }
  .mobile-menu-label {
    display: none;
  }
  .save-status {
    font-size: 12px;
    color: var(--muted);
  }
  .tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .tag-row button {
    background: var(--paper);
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .tag-row button.active {
    background: var(--blue-wash);
    border-color: var(--blue);
    color: var(--blue);
  }
  .table-wrap {
    overflow: auto;
  }
  .order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
  }
  .order-table th,
  .order-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
  .order-table th {
    font-weight: 600;
    color: var(--muted);
  }
  .migration {
    margin-top: 20px;
  }
  .migration .button {
    margin-top: 12px;
  }
  .search-input {
    margin-bottom: 20px;
  }
  .page-heading .button {
    flex: none;
  }
  .date-line {
    font-size: 12px;
    color: var(--muted);
    margin-top: 16px;
  }
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  @keyframes blink {
    50% {
      opacity: 0.35;
    }
  }
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    .button,
    .answer,
    .topic-card,
    .side-link {
      transition:
        background 0.18s,
        border-color 0.18s,
        transform 0.18s,
        color 0.18s;
    }
    .feedback {
      animation: enter 0.2s var(--ease);
    }
    #page {
      animation: enter 0.18s var(--ease);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
    .blink,
    .flash {
      opacity: 1 !important;
    }
  }
}
@layer responsive {
  @media (min-width: 1500px) {
    .hero {
      padding-block: 96px;
    }
    .hero-visual {
      padding: 32px 44px 44px;
    }
  }
  @media (max-width: 1050px) {
    .container {
      width: calc(100% - 44px);
    }
    .desktop-nav {
      gap: 20px;
    }
    .desktop-nav a:last-child {
      display: none;
    }
    .hero {
      gap: 36px;
    }
    .hero h1 {
      font-size: 56px;
    }
    .hero-visual {
      padding-inline: 24px;
    }
    .floating-note {
      right: -10px;
    }
    .feature-grid {
      gap: 44px;
    }
    .app-layout {
      grid-template-columns: 178px minmax(0, 1fr);
    }
    .app-content {
      padding-left: 24px;
    }
    .app-sidebar {
      padding-right: 12px;
    }
    .question-grid.with-media {
      grid-template-columns: 1fr;
    }
    .question-media {
      max-width: 440px;
      margin-inline: auto;
      width: 100%;
    }
    .scene {
      max-height: 330px;
    }
    .sign-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .pricing-banner {
      gap: 36px;
      padding: 36px;
    }
    .pricing-banner h2 {
      font-size: 34px;
    }
  }
  @media (max-width: 760px) {
    .container {
      width: calc(100% - 36px);
    }
    .header-inner {
      min-height: 78px;
      gap: 16px;
    }
    .desktop-nav {
      display: none;
    }
    .brand {
      font-size: 18px;
    }
    .brand-icon {
      width: 35px;
      height: 37px;
      border-radius: 10px;
    }
    .brand-icon svg {
      width: 26px;
    }
    .header-actions {
      gap: 12px;
    }
    .header-actions .button {
      font-size: 12px;
      padding: 12px 12px;
    }
    .login-link {
      font-size: 12px;
    }
    .icon-button {
      width: 32px;
      height: 32px;
      font-size: 20px;
    }
    .hero {
      grid-template-columns: 1fr;
      padding-top: 44px;
      padding-bottom: 44px;
      gap: 44px;
    }
    .hero h1 {
      font-size: 55px;
    }
    .hero .lead {
      font-size: 16px;
      margin: 24px 0;
      max-width: 540px;
    }
    .hero-copy .eyebrow {
      margin-bottom: 20px;
    }
    .hero-footnote {
      display: none;
    }
    .hero-notes {
      gap: 16px;
      font-size: 12px;
    }
    .hero-visual {
      max-width: 440px;
      width: calc(100% - 12px);
      margin: 0 auto;
      padding: 20px 32px 32px;
    }
    .hero-scene {
      height: 200px;
    }
    .floating-note {
      bottom: 57px;
      right: -8px;
      padding: 12px 16px;
      font-size: 12px;
    }
    .confidence-strip .container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      font-size: 12px;
    }
    .confidence-strip {
      padding-block: 20px;
    }
    .section {
      padding-block: 52px;
    }
    .section-heading {
      display: block;
      margin-bottom: 28px;
    }
    .section-heading > p {
      margin-top: 20px;
      font-size: 14px;
      max-width: 450px;
    }
    .steps-grid {
      gap: 24px;
      grid-template-columns: 1fr;
    }
    .steps-grid article {
      padding-top: 20px;
      display: grid;
      grid-template-columns: 42px 1fr;
      column-gap: 16px;
    }
    .steps-grid .step-number {
      grid-row: 1/4;
      align-self: start;
      text-align: center;
      font-size: 12px;
      margin: 0;
    }
    .steps-grid h3 {
      font-size: 22px;
      margin-bottom: 12px;
    }
    .steps-grid p {
      max-width: none;
      font-size: 14px;
      margin-bottom: 12px;
    }
    .steps-grid .text-link {
      grid-column: 2;
    }
    .feature-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .feature-art {
      height: 260px;
    }
    .feature-grid h2 {
      font-size: 34px;
    }
    .feature-section {
      padding-block: 40px;
    }
    .route-line {
      left: 45%;
      top: -100px;
    }
    .feature-sign {
      left: 45px;
      top: 35px;
    }
    .feature-car {
      left: 55%;
      top: 105px;
    }
    .feature-tag.two {
      bottom: 25px;
    }
    .topics-grid {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .topic-card {
      padding: 20px 16px;
    }
    .topic-card > span {
      margin-bottom: 16px;
    }
    .topic-card h3 {
      font-size: 15px;
    }
    .topic-card p {
      font-size: 12px;
    }
    .pricing-banner {
      grid-template-columns: 1fr;
      padding: 28px;
      gap: 28px;
    }
    .pricing-banner h2 {
      font-size: 32px;
    }
    .price-card {
      padding: 24px;
    }
    .faq-section {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .faq-section > div > p:last-child br {
      display: none;
    }
    .faq-section h2 {
      font-size: 33px;
    }
    .last-cta {
      display: block;
      padding-block: 36px;
    }
    .last-cta .button {
      margin-top: 24px;
    }
    .last-cta h2 {
      font-size: 27px;
    }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .footer-grid > div:first-child {
      grid-column: 1/-1;
    }
    .footer-grid p {
      margin-top: 12px;
    }
    .site-footer {
      padding-top: 32px;
    }
    .footer-bottom {
      font-size: 12px;
    }
    .app-layout {
      display: block;
    }
    .app-sidebar {
      position: relative;
      flex-direction: row;
      gap: 4px;
      border-right: 0;
      border-bottom: 1px solid var(--line);
      padding: 16px 0;
      overflow: auto;
      white-space: nowrap;
    }
    .side-title,
    .side-promo {
      display: none;
    }
    .side-link {
      font-size: 12px;
      padding: 8px 12px;
      gap: 8px;
    }
    .side-link > span {
      font-size: 15px;
      width: 16px;
    }
    .app-content {
      padding: 24px 0 40px;
    }
    .page-heading h1 {
      font-size: 28px;
    }
    .page-heading p {
      font-size: 12px;
    }
    .page-heading {
      margin-bottom: 24px;
    }
    .page-heading .button {
      font-size: 12px;
      padding: 12px 12px;
      min-height: 39px;
    }
    .dashboard-hero {
      padding: 24px;
      grid-template-columns: 1fr;
    }
    .round-symbol {
      display: none;
    }
    .dashboard-hero h2 {
      font-size: 24px;
    }
    .dashboard-hero p {
      font-size: 12px;
    }
    .stat-grid {
      gap: 8px;
    }
    .stat-card {
      padding: 16px 12px;
    }
    .stat-card > b {
      font-size: 24px;
    }
    .stat-card > span {
      font-size: 12px;
    }
    .two-columns {
      grid-template-columns: 1fr;
    }
    .panel {
      padding: 24px;
    }
    .filters {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .filters > div:first-child {
      grid-column: 1/-1;
    }
    .filters select {
      font-size: 12px;
    }
    .question-body {
      padding: 20px;
    }
    .question-prompt {
      font-size: 20px;
    }
    .qtop {
      padding: 16px 20px;
    }
    .qfooter {
      padding: 16px 20px;
    }
    .qmeta .pill {
      font-size: 12px;
    }
    .qcount {
      font-size: 12px;
    }
    .answer {
      font-size: 12px;
      min-height: 54px;
    }
    .feedback {
      padding: 16px;
    }
    .feedback p {
      font-size: 12px;
    }
    .question-grid {
      gap: 20px;
    }
    .question-grid.with-media {
      grid-template-columns: 1fr;
    }
    .scene {
      max-height: 330px;
    }
    .auth-page {
      margin: 32px auto 44px;
    }
    .auth-page .panel {
      padding: 28px;
    }
    .checkout-layout {
      grid-template-columns: 1fr;
      margin: 32px auto 52px;
      gap: 24px;
    }
    .checkout-layout h1 {
      font-size: 28px;
    }
    .checkout-layout > aside {
      grid-row: 1;
    }
    .checkout-layout > aside .check-list {
      display: none;
    }
    .checkout-layout > aside h2 {
      font-size: 18px;
    }
    .checkout-layout > aside .order-line {
      padding: 8px 0;
    }
    .checkout-layout > aside .panel {
      padding: 20px;
    }
    .payment-state {
      margin: 36px auto 52px;
    }
    .payment-state .panel {
      padding: 28px;
    }
    .payment-state h1 {
      font-size: 27px;
    }
    .exam-grid {
      grid-template-columns: repeat(10, 1fr);
      gap: 4px;
    }
    .exam-options {
      gap: 8px;
    }
    .exam-options label {
      font-size: 12px;
      padding: 12px;
    }
    .result-hero {
      gap: 20px;
    }
    .score-ring {
      width: 100px;
      height: 100px;
      border-width: 6px;
    }
    .score-ring b {
      font-size: 32px;
    }
    .result-hero h2 {
      font-size: 24px;
    }
    .result-hero p {
      font-size: 12px;
    }
    .sign-grid {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .sign-tile {
      padding: 20px 12px;
    }
    .sign-tile svg {
      height: 70px;
    }
    .legal {
      margin: 36px auto 52px;
    }
    .legal h1 {
      font-size: 32px;
    }
    .legal p,
    .legal li {
      font-size: 14px;
    }
    #environment {
      font-size: 12px;
      padding: 8px 12px;
    }
    .button-row {
      gap: 16px;
    }
    .hero .button-row .button {
      font-size: 12px;
      padding: 16px 16px;
    }
    .hero .button-row .text-link {
      font-size: 12px;
    }
    .hero .button-row {
      gap: 20px;
    }
  }
  @media (max-width: 390px) {
    .brand {
      font-size: 16px;
    }
    .brand-icon {
      display: none;
    }
    .header-actions {
      gap: 8px;
    }
    .hero h1 {
      font-size: 48px;
    }
    .hero .button-row {
      gap: 16px;
    }
    .hero-visual {
      padding-inline: 20px;
    }
    .hero-notes {
      gap: 8px;
      font-size: 12px;
    }
    .side-link {
      padding: 8px 8px;
    }
    .side-link > span {
      display: none;
    }
    .exam-grid {
      grid-template-columns: repeat(8, 1fr);
    }
    .price {
      font-size: 44px;
    }
    .pricing-banner {
      padding: 24px;
    }
    .qmeta {
      gap: 4px;
    }
  }
}

@layer responsive {
  @media (max-width: 390px) {
    .header-actions .login-link {
      display: none;
    }
  }
}

@layer components {
  .preview-card .muted {
    color: #596872;
  }
}
