:root {
  /* Primitive palette */
  --p-brand: #d40027;
  --p-brand: oklch(0.515 0.213 18);
  --p-brand-deep: #8f001b;
  --p-brand-deep: oklch(0.365 0.157 16);
  --p-brand-bright: #f03749;
  --p-brand-bright: oklch(0.63 0.211 16);
  --p-paper: #f4f4f2;
  --p-paper: oklch(0.957 0.003 95);
  --p-paper-warm: #fff8f5;
  --p-paper-warm: oklch(0.982 0.009 35);
  --p-ink: #242833;
  --p-ink: oklch(0.275 0.025 264);
  --p-ink-soft: #5f626c;
  --p-ink-soft: oklch(0.48 0.018 264);
  --p-line: #dcd8d4;
  --p-line: oklch(0.875 0.008 55);
  --p-blush: #fdecef;
  --p-blush: oklch(0.944 0.026 8);

  /* Semantic tokens */
  --surface-page: var(--p-paper);
  --surface-brand: var(--p-brand);
  --surface-dark: var(--p-ink);
  --text-primary: var(--p-ink);
  --text-secondary: var(--p-ink-soft);
  --text-on-dark: var(--p-paper-warm);
  --action-primary: var(--p-brand);
  --border-default: var(--p-line);
  --focus-ring: var(--p-brand);

  /* Component tokens */
  --shell-max: 1200px;
  --header-height: 72px;
  --radius-small: 8px;
  --radius-medium: 16px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font-sans: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { color: var(--text-primary); background: var(--surface-page); font-family: var(--font-sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { color: var(--text-on-dark); background: var(--surface-brand); }

.skip-link { position: fixed; z-index: 60; top: 8px; left: 8px; padding: 10px 14px; color: var(--text-on-dark); background: var(--surface-dark); border-radius: var(--radius-small); transform: translateY(-160%); transition: transform 160ms ease-out; }
.skip-link:focus { transform: translateY(0); }
.shell { width: calc(100% - 32px); max-width: var(--shell-max); margin-inline: auto; }
.section { padding-block: 80px; }
.section-tag { color: var(--action-primary); font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { line-height: 1.16; text-wrap: balance; }
h2 { margin-top: 14px; font-size: clamp(34px, 9vw, 48px); letter-spacing: -.045em; }

/* Header */
.site-header { position: sticky; z-index: 40; top: 0; min-height: var(--header-height); background: color-mix(in oklch, var(--surface-page) 94%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--border-default) 75%, transparent); backdrop-filter: blur(16px); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--p-paper-warm); border: 1px solid var(--border-default); border-radius: 12px; }
.brand-mark img { width: 32px; height: 32px; }
.brand-copy strong { display: block; font-size: 18px; letter-spacing: .06em; line-height: 1.25; }
.brand-copy small { display: block; margin-top: 2px; color: var(--text-secondary); font-size: 8px; font-weight: 650; letter-spacing: .08em; line-height: 1.2; }
.desktop-nav { display: none; }
.menu-toggle { min-width: 74px; min-height: 46px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; background: transparent; border: 0; }
.menu-label { font-size: 14px; font-weight: 650; }
.menu-lines { width: 22px; display: grid; gap: 6px; }
.menu-lines i { width: 22px; height: 2px; display: block; background: currentColor; transform-origin: center; transition: transform 180ms ease-out; }
.menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; left: 0; width: 100%; padding: 8px 16px 20px; background: var(--surface-page); border-bottom: 1px solid var(--border-default); box-shadow: 0 20px 36px color-mix(in oklch, var(--p-ink) 12%, transparent); }
.mobile-menu a { min-height: 56px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-default); font-size: 17px; font-weight: 650; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a span { color: var(--action-primary); transition: transform 160ms ease-out; }
.mobile-menu a:hover span { transform: translate(2px, -2px); }

/* Hero */
.hero { overflow: hidden; }
.hero-grid { display: grid; gap: 40px; padding-block: 56px 32px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-label { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.hero-label span { width: 24px; height: 2px; background: var(--action-primary); }
.hero h1 { margin-top: 24px; font-size: clamp(56px, 16vw, 88px); font-weight: 800; letter-spacing: -.075em; line-height: 1.02; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { color: var(--action-primary); font-weight: inherit; }
.hero-lede { max-width: 34rem; margin-top: 28px; color: var(--text-secondary); font-size: 17px; line-height: 1.8; }
.primary-cta { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; margin-top: 32px; padding: 0 22px; color: var(--text-on-dark); background: var(--action-primary); border: 1px solid var(--action-primary); border-radius: 999px; font-weight: 700; transition: background 180ms ease-out, transform 180ms ease-out; }
.primary-cta svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease-out; }
.primary-cta:hover { background: var(--p-brand-deep); }
.primary-cta:hover svg { transform: translateX(4px); }
.primary-cta:active { transform: scale(.98); }
.hero-art { position: relative; min-height: 370px; overflow: hidden; color: var(--text-on-dark); background: var(--surface-brand); isolation: isolate; }
.hero-art::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 72% 22%, color-mix(in oklch, var(--p-paper-warm) 20%, transparent), transparent 34%); }
.hero-art-word { position: absolute; top: -58px; right: -18px; color: color-mix(in oklch, var(--p-paper-warm) 10%, transparent); font-size: 270px; font-weight: 800; line-height: 1; }
.cycle-lines { position: absolute; top: 12px; left: 4%; width: 92%; height: auto; fill: none; stroke: color-mix(in oklch, var(--p-paper-warm) 72%, transparent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-tablet { position: absolute; top: 70px; left: 16%; width: 42%; max-height: 240px; object-fit: contain; transform: rotate(-12deg); filter: drop-shadow(0 20px 20px color-mix(in oklch, var(--p-brand-deep) 38%, transparent)); }
.hero-phone { position: absolute; top: 74px; right: 16%; width: 31%; max-height: 218px; object-fit: contain; transform: rotate(10deg); filter: drop-shadow(0 20px 20px color-mix(in oklch, var(--p-brand-deep) 34%, transparent)); }
.hero-art-note { position: absolute; bottom: 52px; left: 22px; }
.hero-art-note span, .hero-art-note small { display: block; font-size: 11px; }
.hero-art-note strong { display: block; margin-block: 2px; font-size: 25px; line-height: 1.3; }
.hero-art-caption { position: absolute; right: 20px; bottom: 18px; font-size: 10px; letter-spacing: .08em; }

.signal-strip { border-block: 1px solid var(--border-default); }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.signal-grid span { min-height: 54px; display: flex; align-items: center; justify-content: center; padding: 10px; font-size: 13px; font-weight: 650; text-align: center; }
.signal-grid span:nth-child(odd) { border-right: 1px solid var(--border-default); }
.signal-grid span:nth-child(-n+2) { border-bottom: 1px solid var(--border-default); }

/* About */
.about-section { display: grid; gap: 36px; }
.about-copy { max-width: 68ch; color: var(--text-secondary); font-size: 17px; }
.about-copy p + p { margin-top: 20px; }
.principle-list { display: grid; }
.principle-list article { display: grid; gap: 10px; padding-block: 24px; border-top: 1px solid var(--border-default); }
.principle-list h3 { font-size: 21px; }
.principle-list p { max-width: 62ch; color: var(--text-secondary); }

/* Process */
.process-section { --focus-ring: var(--p-paper-warm); color: var(--text-on-dark); background: var(--surface-dark); }
.process-section .section-tag { color: var(--p-paper-warm); }
.process-heading { display: grid; gap: 24px; }
.process-heading > p { max-width: 30rem; color: var(--text-on-dark); font-size: 16px; }
.process-list { margin-top: 48px; list-style: none; }
.process-list li { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 16px; padding-block: 26px; border-top: 1px solid color-mix(in oklch, var(--p-paper-warm) 22%, transparent); }
.step-number { color: var(--p-paper-warm); font-size: 13px; font-weight: 700; }
.process-list h3 { font-size: 24px; }
.process-list p { max-width: 56ch; margin-top: 10px; color: var(--text-on-dark); font-size: 15px; }
.step-arrow { align-self: center; font-size: 24px; transition: transform 160ms ease-out; }
.process-list li:hover .step-arrow { transform: translateX(4px); }
.process-note { margin-top: 24px; padding-top: 24px; border-top: 1px solid color-mix(in oklch, var(--p-paper-warm) 22%, transparent); font-size: 14px; }

/* Services */
.services-section { display: grid; gap: 48px; }
.services-intro > p:last-child { max-width: 34rem; margin-top: 24px; color: var(--text-secondary); }
.service-list { display: grid; }
.service-list article { padding-block: 28px; border-top: 1px solid var(--border-default); }
.service-list article > span { color: var(--action-primary); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.service-list h3 { margin-top: 12px; font-size: 24px; }
.service-list p { max-width: 58ch; margin-top: 12px; color: var(--text-secondary); }
.boundary-note { padding: 24px; background: var(--p-blush); border-radius: var(--radius-small); }
.boundary-note strong { color: var(--p-brand-deep); font-size: 18px; }
.boundary-note p { max-width: 70ch; margin-top: 8px; color: var(--text-primary); font-size: 14px; }

/* FAQ */
.faq-section { background: var(--p-paper-warm); border-block: 1px solid var(--border-default); }
.faq-grid { display: grid; gap: 40px; }
.faq-intro > p:last-child { max-width: 28rem; margin-top: 20px; color: var(--text-secondary); }
.faq-list details { border-top: 1px solid var(--border-default); }
.faq-list details:last-child { border-bottom: 1px solid var(--border-default); }
.faq-list summary { min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 16px; padding-block: 18px; font-size: 17px; font-weight: 650; line-height: 1.55; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; width: 24px; height: 24px; display: block; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; top: 11px; left: 4px; width: 16px; height: 2px; background: var(--action-primary); transition: transform 180ms ease-out; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list summary:hover { color: var(--action-primary); }
.faq-answer { overflow: hidden; }
.faq-answer p { max-width: 68ch; padding: 0 36px 24px 0; color: var(--text-secondary); font-size: 15px; }

/* Closing and footer */
.closing-section { --focus-ring: var(--p-paper-warm); overflow: hidden; color: var(--text-on-dark); background: var(--surface-brand); }
.closing-inner { position: relative; padding-block: 72px; }
.closing-inner::after { content: "再"; position: absolute; right: -24px; bottom: -88px; color: color-mix(in oklch, var(--p-paper-warm) 9%, transparent); font-size: 250px; font-weight: 800; line-height: 1; pointer-events: none; }
.closing-inner > p { font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.closing-inner h2 { position: relative; z-index: 1; margin-top: 22px; font-size: clamp(42px, 11vw, 68px); }
.closing-inner a { position: relative; z-index: 1; min-height: 48px; display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; border-bottom: 1px solid currentColor; font-weight: 650; }
.closing-inner a span { transition: transform 160ms ease-out; }
.closing-inner a:hover span { transform: translateY(-4px); }
.site-footer { --focus-ring: var(--p-paper-warm); color: var(--text-on-dark); background: var(--surface-dark); }
.footer-main { display: grid; gap: 28px; padding-block: 36px; }
.footer-brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.footer-brand strong { font-size: 18px; letter-spacing: .06em; }
.footer-legal p { font-size: 14px; }
.footer-legal a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 4px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal a:hover { color: var(--p-paper-warm); text-decoration-thickness: 2px; }
.footer-bottom { display: grid; gap: 8px; padding-block: 18px; border-top: 1px solid color-mix(in oklch, var(--p-paper-warm) 18%, transparent); font-size: 12px; }

@media (min-width: 768px) {
  :root { --header-height: 80px; }
  .shell { width: calc(100% - 64px); }
  .section { padding-block: 112px; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .desktop-nav { display: flex; align-items: center; gap: 32px; }
  .desktop-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 650; }
  .desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--action-primary); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease-out; }
  .desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: 48px; min-height: 690px; padding-block: 48px; }
  .hero h1 { font-size: clamp(72px, 8.5vw, 112px); }
  .hero-art { min-height: 590px; }
  .hero-art-word { top: -46px; right: -6px; font-size: 390px; }
  .hero-tablet { top: 130px; left: 13%; width: 46%; max-height: 340px; }
  .hero-phone { top: 122px; right: 12%; width: 34%; max-height: 300px; }
  .cycle-lines { top: 46px; left: 3%; width: 94%; }
  .hero-art-note { bottom: 66px; left: 32px; }
  .hero-art-note strong { font-size: 31px; }
  .hero-art-caption { right: 30px; bottom: 26px; }
  .signal-grid { grid-template-columns: repeat(4, 1fr); }
  .signal-grid span { min-height: 66px; border-right: 1px solid var(--border-default); border-bottom: 0 !important; }
  .signal-grid span:last-child { border-right: 0; }
  .about-section { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px 72px; }
  .principle-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .principle-list article { align-content: start; }
  .process-heading { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .process-heading > p { text-align: right; }
  .process-list { display: grid; grid-template-columns: repeat(4, 1fr); }
  .process-list li { grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 26px 12px; padding: 28px 22px 0; border-right: 1px solid color-mix(in oklch, var(--p-paper-warm) 22%, transparent); }
  .process-list li:first-child { padding-left: 0; }
  .process-list li:last-child { padding-right: 0; border-right: 0; }
  .step-number { grid-column: 1; }
  .process-list li > div { grid-column: 1 / -1; }
  .step-arrow { grid-column: 2; grid-row: 1; }
  .process-list p { font-size: 14px; }
  .services-section { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; }
  .services-intro { align-self: start; position: sticky; top: calc(var(--header-height) + 32px); }
  .service-list { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .service-list article { min-height: 230px; }
  .boundary-note { grid-column: 1 / -1; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; }
  .boundary-note p { margin-top: 0; }
  .faq-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 72px; }
  .closing-inner { padding-block: 104px; }
  .closing-inner::after { right: 0; bottom: -122px; font-size: 380px; }
  .footer-main { grid-template-columns: 1fr auto; align-items: center; }
  .footer-legal { text-align: right; }
  .footer-bottom { grid-template-columns: 1fr auto; }
}

@media (min-width: 1200px) {
  .hero-grid { gap: 72px; min-height: 730px; }
  .hero-art { min-height: 634px; }
  .hero-lede { font-size: 18px; }
  .about-section { gap: 64px 104px; }
  .services-section { gap: 96px; }
  .faq-grid { gap: 112px; }
}

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