:root {
  color-scheme: light;
  --color-primary: #dc302c;
  --color-primary-hover: #cb2724;
  --color-text: #242424;
  --color-muted: #626262;
  --color-border: #d9d9dc;
  --color-hero: #fff3f2;
  --color-about: #f4f4f4;
  --color-footer: #262626;
  --container-width: 1200px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  color: var(--color-text);
  background: #fff;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }
a:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 6px; border-radius: 2px; }
.container { width: min(90%, var(--container-width)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 30; padding: 8px 16px; color: #fff; background: var(--color-primary); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; background: #fff; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--color-primary); line-height: 1; }
.brand img { width: 58px; }
.brand span { font-size: 36px; font-weight: 900; letter-spacing: -1.5px; }
.main-nav { display: flex; align-items: center; gap: 48px; }
.main-nav a { position: relative; display: block; padding: 22px 0; font-size: 20px; font-weight: 500; transition: color 160ms ease; }
.main-nav a::after { position: absolute; right: 0; bottom: 10px; left: 0; height: 2px; background: var(--color-primary); content: ""; transform: scaleX(0); transition: transform 160ms ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--color-primary); }
.main-nav a.is-active::after { transform: scaleX(1); }

.hero { overflow: hidden; background: var(--color-hero); }
.hero-inner { min-height: 514px; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 64px; padding-block: 76px; }
.hero-copy h1 { font-size: clamp(40px, 4.7vw, 64px); line-height: 1.35; font-weight: 800; letter-spacing: -1.6px; }
.hero-copy h1 span, .about-heading > p span { color: var(--color-primary); }
.hero-copy > p { margin-top: 22px; color: var(--color-muted); font-size: 21px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 10px 26px; border-radius: 7px; background: var(--color-primary); color: #fff; font-size: 18px; font-weight: 600; transition: background 160ms ease, transform 160ms ease; }
.button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { background: var(--color-primary-hover); transform: translateY(-2px); }
.text-link { color: var(--color-muted); font-size: 18px; font-weight: 500; }
.text-link:hover { color: var(--color-primary); }
.hero-art { position: relative; isolation: isolate; }
.hero-art::before, .hero-art::after { position: absolute; z-index: -1; border: 30px solid #fbdcda; border-radius: 50%; content: ""; }
.hero-art::before { width: 240px; height: 240px; top: -60px; right: -60px; }
.hero-art::after { width: 178px; height: 178px; bottom: -55px; left: -60px; border-width: 22px; }
.brand-poster { min-height: 328px; display: flex; align-items: center; justify-content: center; background: #e83531; }
.poster-brand { display: flex; align-items: center; justify-content: center; gap: 5px; color: #fff; }
.poster-brand img { width: clamp(72px, 8vw, 108px); filter: brightness(0) invert(1); }
.poster-brand span { font-size: clamp(34px, 4.5vw, 54px); font-weight: 900; letter-spacing: -3px; font-style: italic; line-height: 1; }

.section { padding-block: 64px; }
.section-heading { text-align: center; }
.section-heading h2 { font-size: 40px; line-height: 1.4; font-weight: 800; }
.section-heading > p { margin-top: 12px; color: var(--color-muted); font-size: 20px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.service { text-align: center; padding-inline: 24px; }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service { border-left: 1px solid var(--color-border); }
.service-icon { width: 72px; height: 72px; margin: 0 auto 18px; color: var(--color-primary); stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 27px; line-height: 1.5; font-weight: 700; }
.service p { margin-top: 14px; color: var(--color-muted); font-size: 18px; line-height: 1.7; }

.about { padding-block: 56px; background: var(--color-about); }
.about-inner { display: grid; grid-template-columns: 0.7fr 1fr; gap: 54px; }
.about-heading { border-right: 1px solid #cccdd1; padding-right: 40px; }
.about-heading h2 { font-size: 25px; line-height: 1.5; font-weight: 700; }
.about-heading > p { margin-top: 30px; font-size: 44px; font-weight: 800; line-height: 1.55; letter-spacing: -1px; }
.about-content h3 { font-size: 26px; line-height: 1.5; font-weight: 700; }
.about-content > p { margin-top: 12px; color: var(--color-muted); font-size: 18px; line-height: 1.8; }
.company-details { margin-top: 24px; border-top: 1px solid #cccdd1; }
.company-details > div { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 10px 6px; border-bottom: 1px solid #cccdd1; font-size: 18px; }
.company-details dt { font-weight: 600; }
.company-details dd { color: #555; overflow-wrap: anywhere; }

.site-footer { padding-block: 28px 20px; background: var(--color-footer); color: #e7e7e7; }
.footer-main, .footer-company { display: flex; align-items: center; }
.footer-main { justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid #686868; }
.brand-light { color: #fff; }
.brand-light img { width: 44px; filter: brightness(0) invert(1); }
.brand-light span { font-size: 28px; }
.footer-company { gap: 20px; }
.footer-company p { padding-left: 20px; border-left: 1px solid #aaa; font-size: 16px; }
.footer-nav { display: flex; gap: 22px; font-size: 16px; white-space: nowrap; }
.footer-nav a + a::before { display: inline-block; margin-right: 22px; color: #aaa; content: "/"; }
.footer-nav a:hover, .footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; column-gap: 8px; margin-top: 12px; font-size: 14px; color: #ccc; }
.footer-legal a { display: inline-block; padding-block: 4px; }
.site-footer a:focus-visible { outline-color: #fff; }

@media (min-width: 1280px) {
  .hero-inner { min-height: 570px; }
  .brand-poster { min-height: 380px; }
  .section { padding-block: 80px; }
}

@media (max-width: 1050px) {
  .hero-inner { gap: 40px; grid-template-columns: 1.4fr 1fr; }
  .hero-copy h1 { font-size: clamp(40px, 5.6vw, 56px); }
  .hero-copy > p { font-size: 20px; }
  .hero-actions { gap: 24px; }
  .button { padding-inline: 26px; font-size: 20px; }
  .text-link { font-size: 20px; }
  .about-inner { gap: 40px; }
  .footer-company { gap: 12px; }
  .footer-company p { padding-left: 12px; font-size: 16px; }
  .footer-nav { gap: 14px; font-size: 16px; }
  .footer-nav a + a::before { margin-right: 14px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .header-inner { min-height: 72px; gap: 16px; }
  .brand { gap: 5px; }
  .brand img { width: 37px; }
  .brand span { font-size: 25px; letter-spacing: -1px; }
  .main-nav { gap: 22px; }
  .main-nav a { padding-block: 23px; font-size: 15px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; padding-block: 52px 64px; }
  .hero-copy h1 { font-size: clamp(36px, 7vw, 48px); }
  .hero-copy > p { margin-top: 18px; font-size: 16px; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 50px; font-size: 16px; padding-inline: 20px; }
  .text-link { font-size: 16px; }
  .hero-art { width: 80%; max-width: 420px; justify-self: center; }
  .brand-poster { min-height: 250px; }
  .poster-brand img { width: 78px; }
  .poster-brand span { font-size: 42px; }
  .hero-art::before { top: -30px; right: -35px; width: 170px; height: 170px; border-width: 22px; }
  .hero-art::after { bottom: -30px; left: -35px; width: 125px; height: 125px; border-width: 16px; }
  .section { padding-block: 48px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > p { font-size: 16px; }
  .service-list { margin-top: 32px; grid-template-columns: 1fr; }
  .service, .service:first-child, .service:last-child { padding: 28px 12px; }
  .service:first-child { padding-top: 0; }
  .service:last-child { padding-bottom: 0; }
  .service + .service { border-left: 0; border-top: 1px solid var(--color-border); }
  .service-icon { width: 52px; height: 52px; margin-bottom: 12px; }
  .service h3 { font-size: 22px; }
  .service p { max-width: 350px; margin: 10px auto 0; font-size: 16px; }
  .about-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-heading { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid #cccdd1; }
  .about-heading h2 { font-size: 22px; }
  .about-heading > p { margin-top: 18px; font-size: 34px; }
  .about-content h3 { font-size: 22px; }
  .about-content > p { font-size: 16px; }
  .company-details > div { grid-template-columns: 80px 1fr; gap: 12px; padding-inline: 0; font-size: 14px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-company { flex-wrap: wrap; }
  .footer-nav { gap: 24px; font-size: 14px; }
  .footer-nav a + a::before { margin-right: 24px; }
  .footer-legal { flex-direction: column; gap: 2px; text-align: center; font-size: 12px; }
  .legal-divider { display: none; }
}

@media (max-width: 390px) {
  .header-inner { gap: 10px; }
  .brand img { width: 30px; }
  .brand span { font-size: 22px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 13px; }
  .hero-actions { gap: 20px; }
  .button { font-size: 15px; padding-inline: 16px; }
  .text-link { font-size: 15px; }
  .hero-art { width: 88%; }
  .brand-poster { min-height: 220px; }
  .poster-brand img { width: 66px; }
  .poster-brand span { font-size: 36px; }
  .footer-company { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-company p { padding: 0; border: 0; }
}

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