/* tokens: porcelain, ink and one teal accent */
:root {
  --paper: #F4F5F2;
  --panel: #E8EBE7;
  --ink: #13212A;
  --ink-soft: #55626A;
  --accent: #1F5F73;
  --rule: rgba(19,33,42,.16);
  --status: #F1E4C0;
  --inverse-soft: rgba(244,245,242,.72);
  --font-display: system-ui, -apple-system, "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-text: system-ui, -apple-system, "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --section-space: clamp(96px, 12vw, 160px);
}
/* base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: calc(50% + 50%); scroll-behavior: smooth; scroll-padding-top: 128px; scrollbar-color: var(--ink-soft) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.8 var(--font-text); caret-color: var(--accent); }
::selection { background: var(--accent); color: var(--paper); }
h1,h2,h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; margin: 0 0 24px; line-height: 1.4; }
h1 { font-size: clamp(2.2rem,4.8vw,3.75rem); line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem,3.2vw,2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
p { margin: 0 0 24px; max-width: 38em; text-wrap: pretty; }
small,caption,cite { font-size: 13px; }
strong,b { font-weight: 600; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
.external-icon { width: 16px; height: 16px; margin-left: 8px; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 24px 0; }
[hidden] { display: none !important; }
/* layout: twelve-column foundation */
.container { width: calc(calc(50% + 50%) - var(--gutter) * 2); max-width: 1240px; margin-inline: auto; }
.section { padding-block: var(--section-space); }
.soft { background: var(--panel); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; }
.card { min-width: 0; }
.card p:last-child { margin-bottom: 0; }
.section > .container > h2 { margin-bottom: 48px; }
.product-panel,.contact-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 32px; align-items: start; }
.product-panel > :first-child { grid-column: 1 / 6; }
.product-panel > :last-child { grid-column: 7 / 13; }
.product-panel { align-items: center; }
.contact-grid > :first-child { grid-column: 1 / 8; }
.contact-grid > aside { grid-column: 9 / 13; border-left: 1px solid var(--rule); padding-left: 32px; }
.faq-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 32px; }
.faq-layout > h2 { grid-column: 1 / 5; }
.faq-layout > .faq { grid-column: 6 / 13; }
/* components */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 300ms; }
.site-header.scrolled { border-color: var(--rule); }
html:not(.js) .site-header { position: static; }
.header-inner { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { color: var(--ink); text-decoration: none; font: 600 22px/1.4 var(--font-display); white-space: nowrap; }
.brand small { display: block; margin-top: 4px; color: var(--ink-soft); font: 400 13px/1.8 var(--font-text); }
nav { display: flex; gap: 24px; }
nav a { color: var(--ink); font-size: 16px; min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; background: none; border-bottom: 1px solid transparent; }
nav a.active { border-color: var(--accent); color: var(--accent); }
nav a:hover { color: var(--accent); border-color: var(--accent); }
.menu-toggle { display: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 2px; background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color 200ms, transform 200ms; }
.button:hover { background: var(--accent); }
.button:not(.secondary):hover { transform: translateY(-1px); }
.button:not(.secondary):active { transform: translateY(0); }
.button.secondary { padding-inline: 0; color: var(--accent); border-radius: 0; background-color: transparent; background-image: none; text-decoration: underline; text-decoration-thickness: 1px; }
.button.secondary:hover { text-decoration-thickness: 2px; }
.tag,.intro-note { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 24px; }
.placeholder { aspect-ratio: 16 / 10; background: var(--panel); display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; color: var(--ink-soft); }
.soft .placeholder { background: var(--paper); }
.placeholder.large { max-width: 960px; }
.product-shot,.case-shots { margin: 0; width: calc(50% + 50%); }
.product-shot img,.case-shots img { display: block; width: calc(50% + 50%); max-width: calc(50% + 50%); height: auto; }
.product-shot figcaption,.case-shots figcaption { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.case-shot-grid { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,1fr); gap: 32px; align-items: end; }
.case-shot-grid > picture { min-width: 0; }
.case-gallery { display: grid; gap: clamp(64px,8vw,96px); }
.case-shots h3 { margin: 24px 0 8px; font-size: 22px; }
.case-shots figcaption { margin-top: 0; max-width: 38em; }
.case-gallery-note { margin: 32px 0 0; max-width: none; font-size: 13px; color: var(--ink-soft); }
.love-showcase { margin-top: clamp(48px,6vw,64px); }
.love-demo img { border: 1px solid var(--rule); }
.feature-list { width: calc(50% + 50%); max-width: 38em; margin: 0 0 32px; padding: 0; list-style: none; }
.feature-list li { padding-block: 16px; border-top: 1px solid var(--rule); }
.feature-list li:last-child { border-bottom: 1px solid var(--rule); }
.case-details { margin-bottom: 64px; }
.case-details .feature-list { margin-bottom: 0; }
.case-details .feature-list li:first-child { padding-top: 0; border-top: 0; }
.case-details .feature-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.todo { color: var(--ink); background: var(--status); border-bottom: 1px dashed var(--ink-soft); border-radius: 2px; padding-inline: 4px; font-size: inherit; font-weight: 400; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.muted { color: var(--ink-soft); margin-top: 24px; }
.index-list,.service-list,.industry-list { display: block; }
.index-list .card,.service-list .card { display: grid; grid-template-columns: 4fr 7fr; gap: 32px; border-top: 1px solid var(--rule); padding-block: 32px; }
.index-list .card:last-child,.service-list .card:last-child,.industry-list .card:last-child { border-bottom: 1px solid var(--rule); }
.index-list h3,.service-list h3 { margin: 0; }
.service-list h3 { font-size: clamp(1.75rem,3.2vw,2.6rem); }
.service-list .card { align-items: baseline; }
.hero-note .intro-note { font-size: 16px; }
.service-list .card:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.industry-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; padding-block: 24px; border-top: 1px solid var(--rule); text-decoration: none; transition: transform 200ms var(--ease); }
.industry-list a:hover { transform: translateX(4px); }
.industry-list a:hover h3 { color: var(--accent); }
.industry-list h3 { margin: 0; color: var(--ink); }
.steps { grid-template-columns: repeat(var(--columns,3),minmax(0,1fr)); gap: 32px; }
.steps .card { border-top: 1px solid var(--rule); padding-top: 24px; }
.step-number { display: block; font: 600 clamp(1.75rem,3.2vw,2.6rem)/1.4 var(--font-display); margin-bottom: 32px; color: var(--ink-soft); }
.steps-note { margin-top: 32px; }
details { padding: 16px; margin-bottom: 16px; }
details[open] { background: var(--panel); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 48px; list-style: none; cursor: pointer; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
.chevron { transition: transform 200ms var(--ease); stroke-width: 2; }
details[open] .chevron { transform: rotate(180deg); }
details p { margin: 16px 0 8px; }
blockquote { max-width: 38em; margin: 48px 0 48px auto; border-left: 2px solid var(--accent); padding: 8px 0 8px 24px; }
blockquote p { font: 600 22px/1.8 var(--font-display); }
cite { color: var(--ink-soft); font-style: normal; }
.table-wrap { width: calc(50% + 50%); }
table { border-collapse: collapse; width: calc(50% + 50%); text-align: left; font-variant-numeric: tabular-nums; }
caption { text-align: left; color: var(--ink-soft); padding-bottom: 24px; }
th,td { padding: 24px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; font-weight: 400; }
thead th { font-size: 13px; color: var(--ink-soft); }
tbody th { font-weight: 500; }
th:last-child,td:last-child { text-align: right; white-space: nowrap; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.notice { padding: 24px; background: var(--panel); }
form label { display: block; margin: 24px 0 8px; font-weight: 500; }
input,select,textarea { display: block; width: calc(50% + 50%); min-height: 48px; padding: 12px 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; }
input:focus,select:focus,textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; }
.consent { display: flex; align-items: start; gap: 12px; font-weight: 400; }
.consent input { flex-shrink: 0; width: 24px; min-height: 24px; height: 24px; margin-top: 4px; accent-color: var(--accent); }
form .button { margin-top: 24px; }
#form-status { margin-top: 24px; padding: 16px; background: var(--panel); }
.contact-grid aside .placeholder { margin-bottom: 32px; }
.cta,footer { background: var(--ink); color: var(--paper); }
.cta .muted,footer p,footer small { color: var(--inverse-soft); }
.cta .button { background: var(--paper); color: var(--ink); }
.cta .button:hover { background: var(--panel); }
.cta h2 { max-width: 18em; }
footer { padding-top: 64px; overflow: hidden; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 64px; border-top: 1px solid rgba(244,245,242,.16); padding-top: 32px; font-size: 13px; }
footer a { color: var(--paper); }
footer p { margin-bottom: 8px; }
.footer-wordmark { font: 600 clamp(7rem,24vw,20rem)/.9 var(--font-display); letter-spacing: .02em; white-space: nowrap; width: calc(calc(50% + 50%) - var(--gutter) * 2); max-width: 1240px; margin: 0 auto; color: rgba(244,245,242,.88); transform: translateY(24%); user-select: none; }
.mobile-cta { display: none; }
.skip { position: fixed; top: 12px; left: 20px; padding: 12px 24px; background: var(--paper); z-index: 50; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
/* pages */
.hero { padding-block: max(96px,18vh); }
.hero-inner { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: center; }
.hero-inner > :first-child { grid-column: 1 / 8; }
.hero h1 { font-size: clamp(2.6rem,6.4vw,5.25rem); line-height: 1.12; margin-bottom: 32px; }
.title-line { display: block; overflow: hidden; padding-bottom: .12em; }
.title-line > span { display: block; }
.hero .lead { max-width: 30em; font-size: clamp(1.125rem,1.5vw,1.375rem); line-height: 1.7; }
.lead { color: var(--ink-soft); }
.hero-note { grid-column: 9 / 13; border-left: 1px solid var(--rule); padding-left: 32px; }
.hero-note h2 { font-size: 22px; }
.hero-note p { font-size: 13px; }
.balance { width: calc(50% + 50%); height: auto; margin-top: 24px; overflow: visible; }
.balance-beam { stroke: var(--accent); stroke-width: 1.5; transform-origin: 180px 50px; }
.balance-pivot { stroke: var(--ink); stroke-width: 1.5; }
.product-panel h3 { font-size: clamp(1.75rem,3.2vw,2.6rem); }
.case-teaser { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule); }
.case-teaser > :first-child { grid-column: 1 / 8; }
.case-teaser > :last-child { grid-column: 9 / 13; }
.product-panel.case-teaser h3 { font-size: 22px; }
.page-hero { padding-block: 128px 96px; border-bottom: 1px solid var(--rule); background: var(--panel); }
.page-hero .lead { margin-bottom: 0; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 32px; }
.anchor-nav a { min-height: 48px; display: inline-flex; align-items: center; }
.industries-page section[id] > .container > h2 { border-bottom: 1px solid var(--rule); padding-bottom: 32px; }
.cases-page .section:not(:has(.placeholder,.case-shots)) > .container,
.about-page .section:not(:has(.grid)):not(.cta) > .container,
.privacy-page .section:not(:has(.grid)) > .container { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 0 32px; }
.cases-page .section:not(:has(.placeholder,.case-shots)) h2,
.about-page .section:not(:has(.grid)):not(.cta) h2,
.privacy-page .section:not(:has(.grid)) h2 { grid-column: 1 / 5; grid-row: 1 / 5; }
.cases-page .section:not(:has(.placeholder,.case-shots)) .container > :not(h2),
.about-page .section:not(:has(.grid)):not(.cta) .container > :not(h2),
.privacy-page .section:not(:has(.grid)) .container > :not(h2) { grid-column: 6 / 13; justify-self: start; }
/* motion: opening composition + gentle scroll reveals; native content stays visible */
@keyframes title-rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes balance-level { 0% { transform: rotate(-6deg); } 80% { transform: rotate(.4deg); } to { transform: rotate(0); } }
@keyframes answer-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes figure-scale { from { transform: scale(1.03); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.is-static) .title-line > span { animation: title-rise 1.2s cubic-bezier(.22,1,.36,1) both; }
  html.js:not(.is-static) .title-line:nth-child(2) > span { animation-delay: 110ms; }
  html.js:not(.is-static) .balance-beam { animation: balance-level 1.2s cubic-bezier(.22,1,.36,1) both; }
  details[open] p { animation: answer-reveal 300ms ease-out; }
  /* home hero: subtitle, buttons and side note ease in after the title */
  html.js:not(.is-static) .hero .lead { animation: rise-in .7s cubic-bezier(.22,1,.36,1) both; animation-delay: .28s; }
  html.js:not(.is-static) .hero .actions { animation: rise-in .7s cubic-bezier(.22,1,.36,1) both; animation-delay: .42s; }
  html.js:not(.is-static) .hero-note { animation: rise-in .7s cubic-bezier(.22,1,.36,1) both; animation-delay: .56s; }
  /* inner-page hero eases in on load */
  html.js:not(.is-static) .page-hero h1 { animation: rise-in .7s cubic-bezier(.22,1,.36,1) both; animation-delay: .08s; }
  html.js:not(.is-static) .page-hero .intro-note { animation: rise-in .7s cubic-bezier(.22,1,.36,1) both; }
  html.js:not(.is-static) .page-hero .lead { animation: rise-in .7s cubic-bezier(.22,1,.36,1) both; animation-delay: .2s; }
  html.js:not(.is-static) .page-hero .anchor-nav,
  html.js:not(.is-static) .page-hero .image-plate { animation: rise-in .7s cubic-bezier(.22,1,.36,1) both; animation-delay: .34s; }
  /* scroll reveals are defined in the 设计 v2 block below (is-pending mechanism) */
}
/* very light one-time entrance zoom on the home hero figure: desktop only, transform only */
@media (prefers-reduced-motion: no-preference) and (min-width: 721px) {
  html.js:not(.is-static) .hero-note .image-plate { overflow: hidden; }
  html.js:not(.is-static) .hero-note .image-plate img { animation: figure-scale .9s cubic-bezier(.22,1,.36,1) both; animation-delay: .56s; }
}
/* responsive */
@media (max-width: 1100px) {
  nav { gap: 16px; }
  .header-inner { gap: 24px; }
  .hero-inner > :first-child { grid-column: 1 / 9; }
  .hero-note { grid-column: 9 / 13; padding-left: 24px; }
  .hero h1 { font-size: clamp(2.6rem,5.7vw,5.25rem); }
}
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 96px; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--rule); border-radius: 2px; background: transparent; color: var(--ink); }
  nav { width: calc(50% + 50%); flex-direction: column; padding: 24px 0; gap: 8px; }
  .js nav { display: none; }
  .js nav.open { display: flex; max-height: calc(100dvh - 192px); overflow: auto; }
  nav a { align-self: stretch; font: 600 22px/1.4 var(--font-display); padding: 12px 0; }
  .menu-icon { transition: transform 200ms var(--ease); }
  .menu-icon .bar { transform-box: fill-box; transform-origin: center; transition: transform 200ms cubic-bezier(.22,1,.36,1); }
  [aria-expanded="true"] .menu-icon .bar-1 { transform: translateY(4px) rotate(45deg); }
  [aria-expanded="true"] .menu-icon .bar-2 { transform: translateY(-4px) rotate(-45deg); }
  .hero-inner > :first-child { grid-column: 1 / 13; }
  .hero-note { grid-column: 5 / 13; margin-top: 48px; }
  .hero h1 { font-size: clamp(2.6rem,6.4vw,5.25rem); }
  .grid { gap: 32px; }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  body { padding-bottom: 0; }
  footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .header-inner { min-height: 96px; }
  .hero { padding-block: max(96px,18vh); }
  .hero-inner,.product-panel,.contact-grid,.faq-layout { display: flex; flex-direction: column; align-items: stretch; gap: 48px; }
  .hero h1 { font-size: clamp(2.6rem,6.4vw,5.25rem); }
  .hero-note { margin-top: 0; padding-left: 24px; }
  .actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .button { width: calc(50% + 50%); }
  .grid { grid-template-columns: 1fr; gap: 48px; }
  .index-list .card,.service-list .card { grid-template-columns: 1fr; gap: 16px; }
  .industry-list a { align-items: start; flex-direction: column; gap: 8px; }
  .contact-grid > aside { padding-left: 0; padding-top: 32px; border-left: 0; border-top: 1px solid var(--rule); }
  .page-hero { padding-block: 96px; }
  .faq-layout > h2 { margin-bottom: 0 !important; }
  details { padding-inline: 12px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .mobile-cta { display: block; position: fixed; inset: auto 0 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -8px 48px rgba(19,33,42,.08); z-index: 30; }
  .anchor-nav { gap: 8px 24px; }
  blockquote { margin-block: 32px; padding-left: 16px; }
  table,tbody,tr,td,tbody th { display: block; width: calc(50% + 50%); }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { padding-block: 24px; border-top: 1px solid var(--rule); }
  th,td { padding: 8px 0; border: 0; }
  tbody th { font: 600 22px/1.4 var(--font-display); margin-bottom: 16px; }
  td::before { content: attr(data-label); display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
  th:last-child,td:last-child { text-align: left; }
  .cases-page .section:not(:has(.placeholder,.case-shots)) > .container,
  .about-page .section:not(:has(.grid)):not(.cta) > .container,
  .privacy-page .section:not(:has(.grid)) > .container { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}

/* Accessible icon labels and narrow-screen refinements. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.title-line > span { text-wrap: balance; }
footer a { display: inline-flex; align-items: center; min-height: 48px; }
@media (min-width: 601px) and (max-width: 960px) {
  body { padding-bottom: 0; }
  footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-cta { display: block; position: fixed; inset: auto 0 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -8px 48px rgba(19,33,42,.08); z-index: 30; }
  .mobile-cta .button { width: calc(50% + 50%); }
}

/* Responsive plates and resilient text flow. */
body { overflow-wrap: break-word; }
a[href^="mailto:"], a[href^="http"], code { overflow-wrap: anywhere; }
img { display: block; max-width: calc(50% + 50%); height: auto; }
.hero-inner > *, .product-panel > *, .contact-grid > *, .faq-layout > *, .footer-inner > * { min-width: 0; }
.image-plate { margin: 0; width: calc(50% + 50%); }
.image-plate img { width: calc(50% + 50%); border-radius: 0; }
.image-plate figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.plate-columns { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 48px; align-items: center; }
.plate-columns .steps,.plate-columns .essays { grid-template-columns: minmax(0,1fr); }
.plate-columns .step-number { margin-bottom: 16px; font-size: 22px; }
.hero-note .image-plate { margin-bottom: 32px; }
.plate-banner { padding-top: 48px; }
.plate-banner img { max-height: 440px; object-fit: cover; }
.about-page .section > .container.about-intro { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 48px; align-items: start; }
.about-page .about-intro > .about-copy, .about-page .about-intro > .image-plate { grid-column: auto; justify-self: stretch; }
.about-intro img { max-height: 640px; object-fit: cover; }
.table-wrap { min-width: 0; }
.site-header { padding-top: env(safe-area-inset-top); }
footer a, nav a, .button { min-width: 44px; }
form label { width: calc(50% + 50%); }
.consent { min-height: 44px; align-items: center; }
.consent input { width: 44px; height: 44px; min-height: 44px; margin: 0; }
.consent a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-page .mobile-cta, body.menu-open .mobile-cta { display: none; }
@media (max-width: 960px) {
  body.menu-open { overflow: hidden; }
  .js nav.open { position: fixed; inset: var(--header-height, calc(96px + env(safe-area-inset-top))) 0 0; width: calc(50% + 50%); max-height: none; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-cta { box-shadow: none; }
  footer { padding-bottom: calc(73px + env(safe-area-inset-bottom)); }
  .contact-page footer { padding-bottom: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; line-height: 1.75; }
  h1 { font-size: clamp(1.875rem,8.5vw,2.125rem); line-height: 1.2; }
  .hero h1 { font-size: clamp(2rem,9vw,2.5rem); line-height: 1.2; }
  h2, .service-list h3, .product-panel h3 { font-size: 1.5rem; line-height: 1.3; }
  .hero .lead { font-size: 16px; line-height: 1.75; }
  .hero { padding-block: 64px; }
  .hero-inner,.product-panel,.contact-grid,.faq-layout { display: flex; flex-direction: column; align-items: stretch; gap: 48px; }
  .hero-note { margin-top: 0; padding-left: 0; border-left: 0; }
  .case-shot-grid { grid-template-columns: minmax(0,1fr); }
  .case-shot-mobile { width: calc(50% + 50%); max-width: 240px; justify-self: center; }
  .balance { max-width: calc(50% + 50%); overflow: hidden; }
  .grid, .steps { grid-template-columns: minmax(0,1fr); }
  .index-list .card, .service-list .card { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .step-number { margin-bottom: 16px; }
  .contact-grid > aside { padding-left: 0; padding-top: 32px; border-left: 0; border-top: 1px solid var(--rule); }
  .footer-inner { flex-direction: column; }
  .footer-wordmark { font-size: min(38vw, 10rem); overflow: hidden; letter-spacing: 0; }
  input, select, textarea { font-size: 16px; max-width: calc(50% + 50%); }
  .about-page .section > .container.about-intro { display: flex; flex-direction: column; gap: 32px; }
  .about-intro img { max-height: none; }
  .plate-columns { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .plate-banner img { max-height: 280px; }
  table,tbody,tr,td,tbody th { display: block; width: calc(50% + 50%); }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { padding-block: 24px; border-top: 1px solid var(--rule); }
  th,td { padding: 8px 0; border: 0; }
  tbody th { font: 600 22px/1.4 var(--font-display); margin-bottom: 16px; }
  td::before { content: attr(data-label); display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
  th:last-child,td:last-child { text-align: left; white-space: normal; }
}
.anchor-nav a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
cite a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.nowrap { white-space: nowrap; }
@media (max-width: 720px) {
  caption { display: block; width: calc(50% + 50%); }
  h1, h2 { word-break: keep-all; overflow-wrap: break-word; }
}
/* Checkbox: the whole label is the 44px target; keep the box itself quiet. */
.consent { display: flex; gap: 12px; align-items: flex-start; padding-block: 10px; cursor: pointer; }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
@media (max-width: 960px) { .contact-page footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); } }
@media (min-width: 961px) {
  .about-page .section:not(:has(.grid)):not(.cta) > .container.about-intro { align-items: center; }
  .about-page .section:not(:has(.grid)):not(.cta) > .container.about-intro > .about-copy { grid-column: 1 / 7; justify-self: stretch; }
  .about-page .section:not(:has(.grid)):not(.cta) > .container.about-intro > .image-plate { grid-column: 8 / 13; justify-self: stretch; }
  .about-intro .about-copy h2 { margin-bottom: 32px; }
}

/* Planner extension: inherited tokens and a type-led composition. */
:root { --ease: cubic-bezier(.22,1,.36,1); }
.planner-site h2 { font-size: clamp(1.75rem,3.2vw,2.6rem); line-height: 1.4; }
.planner-site h3 { font-size: 22px; }
.planner-site .site-header { border: 0; transition: none; }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--rule); opacity: 0; transition: opacity .3s var(--ease); }
.site-header.scrolled::after { opacity: 1; }
.header-inner .brand { display: inline-flex; flex-direction: column; justify-content: center; min-height: 64px; }
.brand small { margin-top: 0; }
.header-brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.parent-site-link { white-space: nowrap; }
.header-brand .parent-site-link { display: inline-flex; align-items: center; min-height: 48px; font-size: 13px; color: var(--ink-soft); }
.header-brand .parent-site-link:hover { color: var(--accent); }
.parent-site-link:active { transform: translateY(1px); }
#navigation { align-items: center; gap: 32px; }
#navigation ul { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
#navigation a { white-space: nowrap; }
#navigation .button { font-size: 16px; border: 0; }
.planner-site .button { min-height: 48px; min-width: 48px; transition: transform .2s var(--ease); }
.planner-site .button:disabled { background: var(--panel); color: var(--ink-soft); cursor: default; transform: none; }
.planner-site .button.secondary { text-align: left; justify-content: flex-start; }
.planner-site .cta .button.secondary { color: var(--paper); background: transparent; }
.planner-site .hero { min-height: 100svh; padding-block: max(96px,18vh); }
.planner-site .hero h1 { font-size: clamp(2.75rem,10vw,6.5rem); line-height: 1.1; font-weight: 600; margin: 0; }
.planner-site .title-line { padding-block: .08em .16em; }
.planner-site .title-line > span { white-space: nowrap; text-wrap: nowrap; }
.planner-site .balance { display: block; height: 1px; margin: 32px 0 64px; overflow: visible; }
.planner-site .balance-beam { display: block; height: 1px; background: var(--accent); transform-origin: center; }
.hero-bottom { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 32px; align-items: end; }
.planner-site .hero .lead { grid-column: 1 / 8; color: var(--ink-soft); font-size: 22px; line-height: 1.8; margin: 0; max-width: 29em; }
.hero .actions { grid-column: 9 / 13; margin: 0; flex-direction: column; align-items: stretch; gap: 8px; }
.hero .actions .secondary { align-self: flex-start; }
.fact-strip { margin-top: 64px; border-block: 1px solid var(--rule); }
.fact-strip ul { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; }
.fact-strip li { display: flex; align-items: center; min-height: 96px; padding: 24px; font-size: 13px; border-left: 1px solid var(--rule); }
.fact-strip li:first-child { padding-left: 0; border: 0; }
.positioning-screen { min-height: 75svh; display: grid; align-items: center; }
.planner-site .positioning-screen h2 { margin: 0; font-size: clamp(2rem,6vw,4.5rem); font-weight: 600; line-height: 1.35; word-break: normal; overflow-wrap: normal; }
.positioning-screen h2 > span { display: inline-block; max-width: calc(50% + 50%); }
/* 其实 你一个人就可以: a centered slogan beat on panel between the positioning
   screen and the problem section; one non-wrapping line, no image. Standard block
   spacing keeps it off a second full screen next to the positioning slogan. */
.solo-statement .container { text-align: center; }
.planner-site .solo-statement h2 { margin: 0 0 24px; font-weight: 600; font-size: clamp(1.75rem,5.5vw,3.75rem); line-height: 1.25; letter-spacing: -0.01em; white-space: nowrap; }
.solo-statement .solo-aside { max-width: none; margin: 0; color: var(--ink-soft); font-size: clamp(1.125rem,2.4vw,1.375rem); line-height: 1.8; }
.planner-site .editorial-split { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 32px; align-items: start; }
.planner-site .editorial-split > :first-child { grid-column: 1 / 6; grid-row: auto; margin: 0; }
.planner-site .editorial-split > :last-child { grid-column: 7 / 13; justify-self: stretch; min-width: 0; margin-bottom: 0; }
.section-lead { font-size: 22px; line-height: 1.8; }
.process-preview { padding-top: 0; }
.process-preview .container { padding-top: 64px; border-top: 1px solid var(--rule); }
.phase-strip { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0; margin: 32px 0 24px; border-block: 1px solid var(--rule); }
.phase-strip li { padding: 16px 12px; border-left: 1px solid var(--rule); }
.phase-strip li:first-child { padding-left: 0; border-left: 0; }
.statement-band > .container { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 32px; }
.statement-copy { grid-column: 1 / 7; }
.statement-copy p { font-size: 22px; line-height: 1.8; margin: 0; }
.offer-section > .container > h2 { margin-bottom: 64px; }
.tabular { font-variant-numeric: tabular-nums; }
.offer-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 32px; align-items: start; }
.price-card { grid-column: 5 / 13; padding: 48px; background: var(--panel); border-top: 1px solid var(--accent); }
.price-card h3 { margin-bottom: 32px; }
.price { display: flex; flex-direction: column; gap: 12px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.price strong { font: 600 clamp(2.75rem,4.8vw,3.75rem)/1.1 var(--font-text); font-variant-numeric: tabular-nums; }
.price > span { font-size: 16px; }
.price-note { font-size: 13px; color: var(--ink-soft); line-height: 2.1; }
.price-aside { grid-column: 1 / 5; grid-row: 1; padding-top: 16px; font-size: 13px; color: var(--ink-soft); }
.tbd { color: var(--ink); background: var(--status); padding: 2px 4px; border-radius: 2px; border-bottom: 1px dashed var(--ink-soft); font-size: inherit; font-weight: 400; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.trust-section { padding-top: 0; }
.trust-section .container { border-top: 1px solid var(--rule); padding-top: 64px; }
.planner-site .works-section h2 { margin-bottom: 64px; font-size: clamp(1.75rem,4.2vw,3.5rem); white-space: nowrap; }
.works-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 48px 32px; align-items: start; }
.work-card { grid-column: span 7; min-width: 0; margin: 0; border: 1px solid var(--rule); }
.work-card--kaya,.work-card--love,.work-card--research-ai { grid-column: span 5; }
.work-media { display: grid; min-width: 0; aspect-ratio: 4 / 3; }
.work-media img { width: calc(50% + 50%); height: calc(50% + 50%); min-width: 0; min-height: 0; object-fit: cover; object-position: top; }
.work-pair { grid-template-columns: minmax(0,4fr) minmax(0,1fr); gap: 1px; aspect-ratio: 2 / 1; background: var(--rule); }
.work-card--enterprise .work-media { aspect-ratio: 1200 / 527; }
.work-card--research-ai .work-media { aspect-ratio: 662 / 936; }
.work-card figcaption { padding: 16px; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.planner-site .proof-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); align-items: center; gap: 48px; }
.planner-site .proof-layout > :first-child { grid-column: 1 / 5; }
.planner-site .proof-layout > :last-child { grid-column: 6 / 13; justify-self: stretch; }
.planner-site .proof-layout h2 { margin-bottom: 32px; }
.planner-site .product-shot img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border: 1px solid var(--rule); }
.question-links,.service-rows { list-style: none; padding: 0; margin: 32px 0; border-top: 1px solid var(--rule); }
.question-links li,.service-rows li { border-bottom: 1px solid var(--rule); }
.question-links a { display: flex; align-items: center; min-height: 64px; padding-block: 12px; }
.service-rows { margin-top: 0; }
.service-rows li { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; }
.service-rows li > :last-child { color: var(--ink-soft); white-space: nowrap; }
.planner-site .cta > .container { display: block; }
.planner-site .home-close h2 { font-size: clamp(2.75rem,7vw,6.5rem); line-height: 1.1; white-space: nowrap; margin-bottom: 32px; }
.cta p { color: var(--inverse-soft); }
.cta :focus-visible,.site-footer :focus-visible { outline-color: var(--paper); }
.planner-site .page-hero h1 { font-size: clamp(2.2rem,4.8vw,3.75rem); }
.planner-site .page-hero .lead { max-width: 36em; font-size: 22px; line-height: 1.8; }
.hero-note-text { margin: 16px 0 0; color: var(--ink-soft); }
.fine-print { font-size: 13px; color: var(--ink-soft); margin: 24px 0 0; }
.timeline-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 48px 32px; }
.timeline { grid-column: 3 / 13; padding: 0; list-style: none; margin: 0; }
.timeline li { padding: 32px 0 48px; border-top: 1px solid var(--rule); }
.timeline-stage { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: 32px; align-items: start; }
.timeline h2 { margin-bottom: 16px; }
.timeline p { margin: 0; }
.timeline-close { grid-column: 5 / 13; border-top: 1px solid var(--rule); padding-top: 32px; }
.industry-section + .industry-section { border-top: 1px solid var(--rule); }
.industry-section:nth-of-type(2n+1) { background: var(--panel); }
.industry-section .button.secondary { white-space: normal; }
.planner-site .anchor-nav a { min-height: 48px; min-width: 48px; justify-content: flex-start; }
.faq-width { max-width: 880px; }
.faq details { border-top: 1px solid var(--rule); border-radius: 0; padding: 24px; margin: 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { min-height: 48px; font-size: 22px; font-family: var(--font-display); }
.faq p { margin: 16px 48px 0 0; }
.form-width { max-width: 760px; }
.question-card { min-width: 0; padding: 32px 0 48px; border-top: 1px solid var(--rule); }
.question-card legend { font: 600 22px/1.6 var(--font-display); padding: 0 16px 0 0; }
.question-card legend > span { color: var(--ink-soft); font: 400 13px/1.8 var(--mono); font-variant-numeric: tabular-nums; margin-right: 16px; }
.choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.planner-site form .choice { display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 12px 16px; border: 1px solid var(--ink-soft); border-radius: 2px; cursor: pointer; font-weight: 400; }
.choice input { display: inline-block; width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; flex: 0 0 20px; accent-color: var(--ink); }
.choice:has(input:checked) { background: var(--panel); border-color: var(--ink); }
.choice:hover { border-color: var(--accent); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.checkup-result { margin-top: 48px; border-left: 2px solid var(--accent); }
.checkup-result p { margin: 0; }
.form-caution { font-size: 13px; color: var(--ink-soft); margin-bottom: 32px; }
.planner-site .contact-grid { grid-template-columns: repeat(12,minmax(0,1fr)); }
.planner-site .contact-grid > :first-child { grid-column: 1 / 8; }
.planner-site .contact-grid > aside { grid-column: 9 / 13; }
.planner-site .contact-grid h2 { font-size: 22px; margin-bottom: 24px; }
.planner-site .contact-grid .notice { font-size: 13px; }
.planner-site input,.planner-site textarea,.planner-site select { border-color: var(--ink-soft); }
.planner-site input:focus,.planner-site textarea:focus,.planner-site select:focus { border-color: var(--accent); }
.planner-site input:disabled { color: var(--ink-soft); }
.planner-site .consent { min-height: 48px; display: flex; align-items: flex-start; gap: 12px; padding: 0; margin-top: 24px; }
.planner-site .consent input { width: 20px; height: 20px; min-height: 20px; margin: 14px 0; }
.planner-site .consent label { min-height: 48px; margin: 0; font-weight: 400; cursor: pointer; }
.planner-site .consent a { min-height: 48px; }
.planner-site form .button { margin-top: 32px; }
.contact-details,.about-details { margin: 0; }
.contact-details > div,.about-details > div { padding-block: 16px; border-top: 1px solid var(--rule); }
.contact-details dt,.about-details dt { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.contact-details dd,.about-details dd { margin: 0; }
.contact-details > div:last-child,.about-details > div:last-child { border-bottom: 1px solid var(--rule); }
.privacy-row { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 32px; padding-block: 48px; border-top: 1px solid var(--rule); }
.privacy-row > .section-head { grid-column: 1 / 5; }
.privacy-row h2 { margin: 0; }
.privacy-row p { grid-column: 6 / 13; margin: 0; }
.site-footer { padding-top: 64px; }
.planner-site .footer-inner { gap: 48px; }
.footer-brand { font-size: 16px; color: var(--paper); margin-bottom: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 32px; align-content: start; }
.footer-links > * { min-height: 48px; }
.pending-link { grid-column: 1 / -1; color: var(--inverse-soft); display: flex; align-items: center; flex-wrap: wrap; }
.planner-site .footer-wordmark { font-size: clamp(7rem,24vw,20rem); }
.planner-site .mobile-cta { box-shadow: none; }
.planner-site .mobile-cta .button { min-width: 0; }
.planner-site .mobile-cta .secondary { justify-content: center; }
/* v3: footer contact group, validation feedback, sticky CTA visibility, extra interactive states */
.footer-contact p { margin-bottom: 8px; }
.footer-heading { color: var(--paper); margin-bottom: 16px; }
.form-summary { margin: 0 0 24px; padding: 12px 16px; background: var(--panel); color: var(--ink); font-weight: 500; }
.field-error { margin: 8px 0 0; max-width: 38em; padding-left: 12px; border-left: 2px solid var(--accent); font-size: 13px; line-height: 1.7; color: var(--ink); }
.planner-site [aria-invalid="true"] { border-color: var(--accent); }
.planner-site.page-index .mobile-cta,
.planner-site.form-focus .mobile-cta { display: none; }
.button.secondary:active { transform: translateY(1px); }
summary:hover { color: var(--accent); }
.js .menu-toggle { transition: transform 200ms var(--ease); }
.js .menu-toggle:hover { border-color: var(--accent); color: var(--accent); }
.js .menu-toggle:active { transform: translateY(1px); }
.planner-site main:focus { outline: none; }
html.is-static *,html.is-static *::before,html.is-static *::after { animation: none !important; transition: none !important; }
html.is-static { scroll-behavior: auto; }
@media (max-width: 1100px) {
  #navigation,#navigation ul { gap: 16px; }
  #navigation .button { padding-inline: 16px; }
}
@media (max-width: 960px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  #navigation { align-items: stretch; }
  #navigation ul { flex-direction: column; align-items: stretch; gap: 8px; }
  #navigation a { white-space: normal; }
  #navigation .button { width: fit-content; margin-top: 16px; }
  .planner-site .hero { padding-block: 96px; }
  .hero-bottom { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 32px; }
  .planner-site .hero .lead { grid-column: 1 / 9; }
  .hero .actions { grid-column: 1 / 13; flex-direction: row; align-items: center; gap: 24px; }
  .price-card { grid-column: 4 / 13; padding: 32px; }
  .price-aside { grid-column: 1 / 4; }
  .planner-site .proof-layout { gap: 32px; }
  .planner-site .mobile-cta { display: grid; grid-template-columns: minmax(0,1fr) 80px; gap: 16px; }
  .js .planner-site.page-index.hero-past .mobile-cta { display: grid; }
  .js .planner-site.page-index.hero-past.menu-open .mobile-cta { display: none; }
  .planner-site.menu-open .mobile-cta { display: none; }
  .planner-site footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .timeline { grid-column: 1 / 13; }
  .timeline-close { grid-column: 3 / 13; }
}
@media (max-width: 720px) {
  .planner-site .hero { padding-block: 64px; }
  .planner-site .hero .lead { font-size: 20px; line-height: 1.8; }
  .planner-site .balance { margin: 24px 0 32px; }
  .hero-bottom { display: block; }
  .hero .actions { margin-top: 32px; flex-direction: column; align-items: stretch; gap: 8px; }
  .hero .actions .secondary { align-self: stretch; }
  .fact-strip { margin-top: 48px; }
  .fact-strip ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fact-strip li { min-height: 80px; padding: 16px; }
  .fact-strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact-strip li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .planner-site .editorial-split,.planner-site .proof-layout { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .planner-site .editorial-split > :first-child { margin: 0; }
  .section-lead,.statement-copy p { font-size: 20px; }
  .statement-band > .container { grid-template-columns: minmax(0,1fr); }
  .statement-copy { grid-column: 1 / -1; }
  .planner-site .works-section h2 { margin-bottom: 32px; }
  .works-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .work-card { grid-column: auto; }
  .offer-layout { display: flex; flex-direction: column; gap: 24px; }
  .offer-section > .container > h2 { margin-bottom: 32px; }
  .price-card { padding: 24px; width: calc(50% + 50%); }
  .price-card h3 { margin-bottom: 24px; }
  .price-aside { margin: 0; padding: 0; }
  .price-note .tbd { display: inline; }
  .planner-site .page-hero { padding-block: 64px; }
  .planner-site .page-hero h1 { font-size: clamp(2.2rem,4.8vw,3.75rem); }
  .planner-site .page-hero .lead { font-size: 20px; }
  .timeline-layout { display: block; }
  .timeline-stage { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .timeline-close { margin-top: 24px; }
  .faq details { padding: 16px 12px; }
  .faq summary { font-size: 20px; gap: 16px; }
  .faq p { margin-right: 0; }
  .choices { grid-template-columns: minmax(0,1fr); }
  .question-card legend { font-size: 20px; }
  .question-card { padding-bottom: 32px; }
  .planner-site .contact-grid { display: flex; flex-direction: column; }
  .planner-site .contact-grid > aside { margin-top: 16px; width: calc(50% + 50%); }
  .planner-site .contact-grid .notice { padding: 24px; }
  .privacy-row { display: block; }
  .privacy-row > .section-head { margin-bottom: 24px; }
  .planner-site .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { column-gap: 24px; }
  .planner-site .footer-wordmark { font-size: min(38vw,10rem); }
  .service-rows li { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   设计 v2 — borrowed structure from a machining site: full-bleed
   atmosphere textures with scrims, framed content images, numbered
   section heads, hairline rhythm, a three-surface tempo and one
   scroll-reveal observer. Palette stays paper / panel / ink / teal;
   no fonts or images are loaded from CSS.
   ============================================================ */
:root { --mono: ui-monospace, monospace; }

/* Atmosphere backgrounds: a decorative image sits behind content, held back by
   a gradient scrim so overlaid text keeps AA contrast. */
.has-atmo { position: relative; isolation: isolate; }
.hero.has-atmo { overflow: hidden; }
.atmo-bg { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; pointer-events: none; }
.atmo-bg img { width: calc(50% + 50%); height: calc(50% + 50%); object-fit: cover; object-position: center; }
.atmo-bg::after { content: ""; position: absolute; inset: 0; }
/* Light hero: ink text sits over the quiet left, so the scrim stays near-paper. */
.atmo-hero .atmo-bg img { object-position: 74% center; }
.atmo-hero .atmo-bg::after { background: linear-gradient(90deg, rgba(244,245,242,.95) 0%, rgba(244,245,242,.93) 38%, rgba(244,245,242,.92)); }
/* Deep-ink surfaces: paper text over a dark overlay. */
.atmo-ink { background: var(--ink); color: var(--paper); }
.atmo-ink h2 { color: var(--paper); }
.atmo-ink p { color: var(--inverse-soft); }
.atmo-ink .section-index { color: var(--inverse-soft); }
.atmo-ink .atmo-bg::after { background: linear-gradient(90deg, rgba(19,33,42,.94) 0%, rgba(19,33,42,.88) 46%, rgba(19,33,42,.84)); }
.atmo-cta .atmo-bg::after { background: linear-gradient(90deg, rgba(19,33,42,.92) 0%, rgba(19,33,42,.88) 48%, rgba(19,33,42,.84)); }
@media (max-width: 767.98px) {
  .atmo-hero .atmo-bg::after { background: linear-gradient(180deg, rgba(244,245,242,.95) 0%, rgba(244,245,242,.92) 52%, rgba(244,245,242,.94)); }
  .atmo-ink .atmo-bg::after { background: linear-gradient(180deg, rgba(19,33,42,.92) 0%, rgba(19,33,42,.88) 55%, rgba(19,33,42,.84)); }
  .atmo-cta .atmo-bg::after { background: linear-gradient(180deg, rgba(19,33,42,.92) 0%, rgba(19,33,42,.88) 55%, rgba(19,33,42,.84)); }
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.is-static) .atmo-hero .atmo-bg img { transform-origin: center; animation: hero-drift 18s ease-in-out infinite alternate; }
}
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.04); } }

/* Framed, croppable content image; only the inner image zooms on hover. */
.image-frame { overflow: hidden; background: var(--panel); border: 1px solid var(--rule); }
.image-frame img { display: block; width: calc(50% + 50%); height: auto; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .image-frame img { transition: transform .6s var(--ease); }
  .image-frame:hover img { transform: scale(1.03); }
}

/* Numbered section head: small monospace order number above the heading. */
.section-head { margin: 0; }
.section-index { display: block; margin-bottom: 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.planner-site .section-head h2 { margin: 0; }

/* Fact strip: hairline grid with a mono order number over each label. */
.fact-strip li { flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.fact-index { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.fact-text { font-size: 16px; line-height: 1.4; color: var(--ink); }

/* 5 / 7 price + metal texture side by side; price card leads the DOM so the
   texture drops below it on phones. grid-row keeps the texture off a 2nd row. */
.offer-media .offer-layout { align-items: center; }
.offer-media .offer-figure { grid-column: 1 / 6; grid-row: 1; }
.offer-media .price-card { grid-column: 6 / 13; grid-row: 1; }

/* Reassurance copy beside the glass-key texture. */
.feature-media { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 32px; align-items: center; }
.feature-media .feature-copy { grid-column: 1 / 6; min-width: 0; }
.feature-media .feature-copy > :last-child { margin-bottom: 0; }
.feature-copy .section-head,.proof-layout .section-head { margin-bottom: 32px; }
.contact-grid .section-head { margin-bottom: 24px; }
.feature-media .feature-figure { grid-column: 7 / 13; min-width: 0; }

/* Header: a static hairline shadow once scrolled past 24px. */
.header-sentinel { height: 24px; margin-bottom: -24px; pointer-events: none; }
.planner-site .site-header { transition: none; }
.planner-site .site-header.scrolled { box-shadow: 0 6px 20px rgba(19,33,42,.07); }

/* Footer: multi-column grid with hairline grouping. */
.planner-site .footer-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 48px; }
.footer-company { grid-column: 1 / 6; }
.footer-contact { grid-column: 6 / 9; padding-left: 32px; border-left: 1px solid rgba(244,245,242,.16); }
.footer-links { grid-column: 9 / 13; padding-left: 32px; border-left: 1px solid rgba(244,245,242,.16); }

/* Scroll reveal: one observer fades blocks up; grid children stagger 0/60/120ms.
   Content is hidden only after JS marks it pending, so no-JS and reduced-motion
   visitors see everything immediately. */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.is-static) .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
  html.js:not(.is-static) .reveal.is-pending { opacity: 0; transform: translateY(16px); }
  html.js:not(.is-static) .reveal.is-pending:focus-within { opacity: 1; transform: none; transition: none; }
  .stagger > .reveal:nth-child(3n+2) { --reveal-delay: 60ms; }
  .stagger > .reveal:nth-child(3n) { --reveal-delay: 120ms; }
}

@media (max-width: 720px) {
  .feature-media { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .offer-media .offer-figure { width: calc(50% + 50%); }
  .planner-site .footer-inner { display: flex; flex-direction: column; gap: 32px; }
  .footer-contact, .footer-links { padding-left: 0; border-left: 0; }
}
