@font-face {
  font-family: "Baloo 2";
  src: url("/assets/baloo2.woff2") format("woff2");
  font-display: swap;
  font-weight: 500 800;
}

:root {
  --red: #f5382c;
  --red-dark: #d02318;
  --ink: #3a2e2a;
  --muted: #7a6a62;
  --quiet: #9a8880;
  --paper: #fffdfa;
  --peach: #fff6ec;
  --blush: #fff3ef;
  --line: #f3e4d8;
  --footer: #2e2320;
  --wrap: min(1180px, calc(100% - 48px));
  --shadow: 0 4px 14px rgba(58, 30, 20, .06);
  color-scheme: light;
  font-family: "Baloo 2", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; line-height: 1.24; }
p { margin-top: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 8px; z-index: 9999; padding: 8px 12px; color: #fff; background: var(--red); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 250, .92); border-bottom: 1px solid #f6e8dc; backdrop-filter: blur(10px); }
.site-header__inner { min-height: 69px; display: flex; align-items: center; gap: 36px; padding-block: 14px; }
.brand-logo { display: block; flex: 0 0 auto; }
.brand-logo img { width: 120px; height: 40px; object-fit: contain; }
.primary-nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px 30px; font-size: 15.5px; font-weight: 600; }
.primary-nav a { padding: 5px 2px; color: var(--ink); background-image: linear-gradient(var(--red), var(--red)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2.5px; transition: color .2s, background-size .28s, transform .2s; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--red); background-size: 100% 2.5px; }

.hero { overflow: hidden; background: linear-gradient(#ffe9e4 0%, #fff6ec 60%, #fffdfa 100%); }
.hero__grid { min-height: 647px; padding-block: 64px 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.hero__badge { display: inline-flex; margin-bottom: 22px; padding: 6px 14px; align-items: center; color: var(--red); background: #fff; border: 1.5px solid #ffd3cc; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.hero h1 { margin-bottom: 18px; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.18; font-weight: 800; letter-spacing: .5px; }
.hero h1 span { color: var(--red); }
.hero__copy > p { max-width: 460px; margin-bottom: 30px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-flex; min-height: 54px; padding: 12px 34px; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 999px; font-size: 17px; font-weight: 700; transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--red); box-shadow: 0 8px 20px rgba(245, 56, 44, .32); }
.button--primary:hover { color: #fff; background: var(--red-dark); }
.button--secondary { color: var(--red); background: #fff; border-color: #ffc9c1; }
.button--secondary:hover { color: var(--red-dark); border-color: var(--red); }
.hero__facts { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px 34px; }
.hero__facts strong, .hero__facts span { display: block; }
.hero__facts strong { color: var(--red); font-size: 26px; font-weight: 800; line-height: 1.2; }
.hero__facts span { margin-top: 4px; color: var(--quiet); font-size: 13px; }
.hero__product { width: 100%; filter: drop-shadow(0 24px 44px rgba(58, 30, 20, .25)); }

.home-section { padding-block: 80px 40px; }
.home-section--tint { margin-top: 60px; padding-block: 76px; background: var(--peach); }
.home-section--links { padding-block: 70px; background: #fff9f5; }
.section-title { margin-bottom: 46px; text-align: center; }
.section-title h2 { margin-bottom: 12px; font-size: clamp(28px, 3.5vw, 36px); font-weight: 800; }
.section-title h2 span { color: var(--red); }
.section-title p { margin: 0; color: var(--quiet); font-size: 16px; }
.section-title--left { text-align: left; }

.feature-grid, .system-grid, .age-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feature-grid article, .system-grid article { padding: 28px 24px; border-radius: 18px; transition: transform .25s, box-shadow .25s; }
.feature-grid article:hover, .system-grid article:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(58, 30, 20, .1); }
.feature-grid article:nth-child(1) { background: #fff3ef; }
.feature-grid article:nth-child(2) { background: #fff8ea; }
.feature-grid article:nth-child(3) { background: #eff7ff; }
.feature-grid article:nth-child(4) { background: #f1faf0; }
.feature-grid i, .system-grid i { width: 48px; height: 48px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--red); border-radius: 14px; font-size: 22px; font-style: normal; font-weight: 800; }
.tone-orange i, .system-grid i.orange { background: #f5a623; }
.tone-blue i, .system-grid i.blue { background: #3d9be9; }
.tone-green i, .system-grid i.green { background: #52b95a; }
.system-grid i.red { background: var(--red); }
.feature-grid h3, .system-grid h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.feature-grid p, .system-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.system-grid article { background: #fff; }

.age-grid article { padding: 28px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.age-grid strong { display: inline-block; margin-bottom: 14px; padding: 5px 12px; color: var(--red); background: #fff0ed; border-radius: 999px; font-size: 15px; }
.age-grid h3 { margin-bottom: 8px; font-size: 19px; }
.age-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.quick-links a { min-height: 132px; padding: 25px 28px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.quick-links a:last-child { grid-column: 1 / -1; }
.quick-links strong { color: var(--red); font-size: 19px; }
.quick-links span { margin-top: 8px; color: var(--muted); font-size: 14px; }

.dealer-section { padding-block: 80px; background: #fff6ec; }
.dealer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); align-items: center; gap: 56px; }
.dealer-grid > div > p { max-width: 680px; color: var(--muted); font-size: 16px; }
.public-info { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.public-info div { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.public-info strong, .public-info span { display: block; }
.public-info strong { color: var(--red); font-size: 13px; }
.public-info span { margin-top: 3px; color: var(--ink); font-size: 14px; }

.qr-card { padding: 22px; display: grid; align-content: start; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.qr-link { display: block; padding: 7px; background: #fff; border: 1px solid #ffd4cd; border-radius: 14px; }
.qr-link img { width: 100%; border-radius: 8px; }
.qr-card strong { display: block; font-size: 18px; }
.qr-card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.qr-card--hero { max-width: 350px; justify-self: end; }
.qr-card--large { grid-template-columns: minmax(190px, 280px) 1fr; align-items: center; }

.faq-list { max-width: 960px; margin-inline: auto; display: grid; gap: 16px; }
.faq-list article { padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.faq-list h3, .faq-list h2 { margin-bottom: 8px; font-size: 19px; }
.faq-list p { margin-bottom: 10px; color: var(--muted); }
.faq-list a { font-weight: 700; }
.faq-list--all article > span { color: var(--red); font-size: 13px; font-weight: 800; }
.faq-list--all h2 { margin-top: 6px; }

.page-banner { overflow: hidden; background: linear-gradient(110deg, #ffe9e4, #fff6ec 70%, #fffdfa); }
.page-banner__grid { height: 281px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 44px; }
.page-banner__kicker { margin-bottom: 5px; color: var(--red); font-size: 14px; font-weight: 700; }
.page-banner h1 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.page-banner p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: 16px; }
.page-banner img { width: 100%; height: 230px; object-fit: cover; object-position: center; opacity: .22; border-radius: 80px 0 0 80px; mask-image: linear-gradient(90deg, transparent, #000 28%); }
.subpage-content { padding-block: 64px 86px; }
.eyebrow { margin-bottom: 8px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .06em; }

.module-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.module-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.module-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.module-card > div { padding: 18px 20px 20px; }
.module-card h2 { margin-bottom: 8px; font-size: 18px; }
.module-card h2 span { display: inline-block; margin-left: 5px; padding: 3px 8px; vertical-align: 2px; color: var(--red); background: #fff0ed; border-radius: 999px; font-size: 11px; }
.module-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.level-table-scroll { overflow-x: auto; padding-bottom: 12px; scrollbar-color: #f5b1aa #fff0ed; }
.level-table { min-width: 1060px; display: grid; gap: 10px; }
.level-row { display: grid; grid-template-columns: 88px repeat(6, 1fr); gap: 10px; }
.level-row > strong, .level-row > div, .level-row > b { min-height: 86px; padding: 14px 12px; display: flex; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 500; line-height: 1.55; }
.level-row > strong { color: var(--red); background: #fff4f1; font-weight: 800; }
.level-row--head > * { min-height: 58px; }
.level-row--head > b { color: #fff; font-size: 18px; font-weight: 800; }
.level-row--content > div { align-items: flex-start; text-align: left; }
.level-row--head .level-l0 { background: #f97316; border-color: #f97316; }
.level-row--head .level-l1 { background: #f5a623; border-color: #f5a623; }
.level-row--head .level-l2 { background: #9bbf2e; border-color: #9bbf2e; }
.level-row--head .level-l3 { background: #3d9be9; border-color: #3d9be9; }
.level-row--head .level-l4 { background: #8b37c8; border-color: #8b37c8; }
.level-row--head .level-l5 { background: #f5382c; border-color: #f5382c; }
.product-showcase { margin-top: 62px; padding: 38px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(340px, 1.15fr); align-items: center; gap: 38px; background: var(--peach); border-radius: 18px; }
.product-showcase h2 { font-size: 30px; }
.product-showcase p { color: var(--muted); }

.about-grid, .consult-grid, .contact-page { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr); align-items: start; gap: 48px; }
.about-grid h2, .contact-page h2 { font-size: 32px; }
.about-grid > div > p, .contact-page > div > p { color: var(--muted); }
.info-cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.consult-grid .info-cards { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-cards article { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.info-cards h2 { margin-bottom: 8px; font-size: 20px; }
.info-cards p { margin: 0; color: var(--muted); }
.contact-strip { margin-top: 54px; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--peach); border-radius: 18px; }
.contact-strip h2 { margin-bottom: 6px; }
.contact-strip p { margin: 0; color: var(--muted); }

.brand-links { margin-top: 54px; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; background: #fff8f3; border: 1px solid var(--line); border-radius: 16px; }
.brand-links strong { color: var(--ink); }
.brand-links a { font-weight: 700; }

.policy-page { max-width: 900px; padding-block: 64px 86px; }
.policy-page section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.policy-page h2 { margin-bottom: 8px; font-size: 22px; }
.policy-page p { margin: 0; color: var(--muted); }
.policy-date { margin-top: 28px; color: var(--quiet); }

.article-header { max-width: 900px; padding-block: 72px 52px; text-align: center; }
.article-header__meta { margin-bottom: 14px; display: flex; justify-content: center; gap: 18px; color: var(--red); font-size: 13px; font-weight: 700; }
.article-header h1 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 44px); }
.article-header__lead { margin: 0 auto; max-width: 760px; color: var(--muted); font-size: 17px; }
.content-layout { padding-bottom: 86px; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 46px; align-items: start; }
.prose > section { margin-bottom: 34px; }
.prose h2 { margin-bottom: 9px; font-size: 24px; }
.prose p { color: var(--muted); }
.article-sources, .article-ending { padding: 26px; background: var(--peach); border-radius: 18px; }
.article-sources ul { margin-bottom: 0; }
.article-ending .qr-card { max-width: 500px; margin-top: 20px; grid-template-columns: 180px 1fr; align-items: center; }
.side-rail { position: sticky; top: 94px; display: grid; gap: 14px; }
.rail-note, .rail-link { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.rail-note strong { color: var(--red); }
.rail-note p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.rail-link { color: var(--red); font-weight: 700; }

.error-page { min-height: 62vh; padding-block: 100px; text-align: center; }
.error-page h1 { font-size: 44px; }
.error-page p { color: var(--muted); }
.error-page .button-row { justify-content: center; }

.site-footer { padding-top: 64px; color: #cbbbb3; background: var(--footer); }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.site-footer h2 { margin-bottom: 18px; color: #fff; font-size: 17px; }
.site-footer section > a:not(.qr-link) { display: block; margin: 9px 0; color: #cbbbb3; font-size: 14px; }
.site-footer section > a:hover { color: #fff; }
.footer-intro > img { width: 120px; height: 40px; object-fit: contain; }
.footer-intro p { margin-top: 22px; color: #cbbbb3; font-size: 14px; }
.footer-intro .footer-identity { color: #9f8f87; }
.footer-qr > a { display: block; width: 148px; padding: 7px; background: #fff; border-radius: 12px; }
.footer-qr img { width: 100%; }
.footer-qr span { display: block; margin-top: 9px; color: #cbbbb3; font-size: 13px; }
.site-footer__bottom { margin-top: 58px; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom div { display: flex; gap: 18px; }
.site-footer__bottom a { color: #cbbbb3; }

.qr-dialog { width: min(520px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 20px; box-shadow: 0 28px 80px rgba(46, 35, 32, .3); }
.qr-dialog::backdrop { background: rgba(46, 35, 32, .72); backdrop-filter: blur(4px); }
.qr-dialog h2 { margin-bottom: 14px; }
.qr-dialog > img { width: 100%; border: 10px solid #fff; }
.qr-dialog p { margin: 14px 0 0; color: var(--muted); text-align: center; }
.qr-dialog__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; padding: 0; color: var(--ink); background: #fff2ef; border: 0; border-radius: 50%; font-size: 24px; cursor: pointer; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }

@media (max-width: 980px) {
  .primary-nav { gap: 12px 18px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); }
  .feature-grid, .system-grid, .age-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 48px, 1180px); }
  .site-header { position: relative; }
  .site-header__inner { min-height: 215px; padding-block: 20px; align-items: flex-start; gap: 18px; }
  .brand-logo img { width: 92px; height: auto; }
  .primary-nav { flex: 1; display: grid; grid-template-columns: repeat(2, max-content); justify-content: end; gap: 12px 18px; font-size: 13px; line-height: 1.25; }
  .hero__grid { min-height: 0; padding-block: 42px 34px; grid-template-columns: 1fr; gap: 32px; }
  .hero__badge { max-width: 100%; font-size: 11px; }
  .hero h1 { font-size: 34px; line-height: 1.18; }
  .hero__copy > p { font-size: 15px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; min-height: 50px; }
  .hero__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .hero__facts strong { font-size: 23px; }
  .home-section { padding-block: 62px 34px; }
  .home-section--tint, .dealer-section { padding-block: 62px; }
  .section-title { margin-bottom: 34px; }
  .feature-grid, .system-grid, .age-grid, .quick-links, .module-gallery, .dealer-grid, .about-grid, .consult-grid, .contact-page, .content-layout { grid-template-columns: 1fr; }
  .quick-links a:last-child { grid-column: auto; }
  .dealer-grid { gap: 32px; }
  .qr-card--hero { justify-self: stretch; max-width: none; }
  .public-info { grid-template-columns: 1fr; }
  .page-banner__grid { height: 281px; grid-template-columns: 1fr; }
  .page-banner img { display: none; }
  .subpage-content { padding-block: 48px 68px; }
  .module-gallery { gap: 20px; }
  .module-card > img { aspect-ratio: 16 / 10; }
  .product-showcase { padding: 26px; grid-template-columns: 1fr; }
  .info-cards, .consult-grid .info-cards { margin-top: 34px; grid-template-columns: 1fr; }
  .consult-grid .info-cards { margin-top: 0; }
  .contact-strip { align-items: stretch; flex-direction: column; }
  .qr-card--large { grid-template-columns: 1fr; }
  .article-header { padding-block: 54px 36px; text-align: left; }
  .article-header__meta { justify-content: flex-start; }
  .content-layout { gap: 24px; }
  .side-rail { position: static; }
  .article-ending .qr-card { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 38px 22px; }
  .footer-intro, .footer-qr { grid-column: 1 / -1; }
  .site-footer__bottom { padding-block: 24px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  :root { --wrap: calc(100% - 48px); }
  .site-header__inner { gap: 12px; }
  .primary-nav { gap: 11px 13px; font-size: 12px; }
  .feature-grid, .system-grid, .age-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-intro, .footer-qr { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
