/* D.Ai visual system: quiet surfaces, substantial type, real product imagery. */
:root {
  --paper: #fbfcfd;
  --surface: #f0f3f6;
  --ink: #192c43;
  --muted: #536373;
  --blue: #304bd8;
  --blue-dark: #2238ad;
  --line: #d9e0e7;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --shell: min(1180px, calc(100% - 80px));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { color: #fff; background: var(--blue); }
a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: #304bd81a; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
section, article { scroll-margin-top: 100px; }
.legacy-anchor { display: block; height: 0; scroll-margin-top: 100px; }
.page-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 100; height: 88px; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: var(--shell); height: 100%; margin-inline: auto; }
.brand { display: inline-flex; gap: 10px; align-items: center; justify-self: start; min-height: 44px; line-height: 1.1; }
.brand-mark { width: 36px; height: 36px; }
.brand-wordmark { display: block; font-family: system-ui, sans-serif; font-size: 22px; font-weight: 750; letter-spacing: -.055em; }
.brand-wordmark span:last-child { color: var(--blue); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 7px; font-weight: 650; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.main-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 20px; min-height: 44px; padding: 0 17px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 650; }
.header-cta:hover { border-color: var(--blue); color: var(--blue); }
.section-kicker { margin-bottom: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-grid { padding-block: 76px 86px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); column-gap: 8%; align-items: end; }
.eyebrow { grid-column: 1 / -1; margin-bottom: 30px; color: var(--muted); font-size: 14px; }
.hero h1 { grid-column: 1; grid-row: 2 / 4; font-size: clamp(64px, 7.2vw, 104px); font-weight: 650; line-height: 1.14; letter-spacing: -.065em; white-space: nowrap; }
.hero h1 span { display: block; width: max-content; max-width: 100%; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: .065em; text-underline-offset: .15em; }
.hero-lead { align-self: end; font-size: 17px; line-height: 1.95; max-width: 29em; }
.hero-actions { margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 23px; border-radius: 6px; font-size: 15px; font-weight: 650; }
.button-primary, .line-contact-button { color: #fff; background: var(--blue); }
.button-primary:hover, .line-contact-button:hover { background: var(--blue-dark); }
.button-arrow { font-size: 20px; }
.template-section { padding-bottom: 88px; }
.template-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0 10%; align-items: end; padding-top: 34px; margin-bottom: 32px; border-top: 1px solid var(--line); }
.template-heading .section-kicker { grid-column: 1 / -1; }
.template-heading h2, .section-heading h2 { font-size: clamp(30px, 3.15vw, 44px); font-weight: 600; line-height: 1.35; letter-spacing: -.045em; }
.template-heading > p:last-child { max-width: 26em; color: var(--muted); font-size: 14px; line-height: 1.85; }
.template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.template-card { display: block; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.template-card img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; object-position: center top; border-bottom: 1px solid var(--line); }
.template-card .template-preview-wide { object-fit: contain; object-position: center; background: #f0f1f7; }
.template-card > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 19px 22px 21px; }
.template-card > div > span { grid-column: 1; color: var(--muted); font-size: 12px; }
.template-card h3 { grid-column: 1; font-size: 24px; line-height: 1.45; font-weight: 600; letter-spacing: -.035em; }
.template-card b { grid-column: 2; grid-row: 1 / 3; color: var(--blue); font-size: 13px; font-weight: 600; white-space: nowrap; }
.template-card:hover { border-color: #899bc2; }
.template-card:hover b { text-decoration: underline; text-underline-offset: 5px; }
.work-section { padding: 72px 0; background: #eaf0f2; }
.greet-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10%; align-items: end; margin-bottom: 34px; }
.greet-intro .section-heading { display: block; margin: 0; }
.greet-summary p { max-width: 32em; color: var(--muted); font-size: 16px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 24px; color: var(--blue); font-size: 14px; font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.greet-summary .text-link { margin-top: 15px; }
.greet-screen { display: block; border: 1px solid #b5c3bc; border-radius: 10px; overflow: hidden; }
.greet-screen img { width: 100%; height: auto; }
.greet-screen:hover { border-color: var(--blue); }
#mvp-services { padding-block: 80px; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 10%; margin-bottom: 34px; }
.section-heading > p { color: var(--muted); font-size: 15px; }
.mvp-footnote { margin-top: 22px; color: var(--muted); font-size: 12px; }
.pricing { margin-top: 72px; padding-top: 30px; border-top: 1px solid var(--line); }
.pricing-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 10%; margin-bottom: 30px; }
.pricing-heading h3 { font-size: clamp(27px, 3vw, 40px); font-weight: 600; line-height: 1.4; letter-spacing: -.04em; }
.pricing-heading > p { max-width: 30em; color: var(--muted); font-size: 14px; }
.pricing-list { border-top: 1px solid var(--line); }
.pricing-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; min-height: 92px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.pricing-row strong { font-size: 17px; font-weight: 600; }
.pricing-row p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.pricing-row b { font-size: 21px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricing-row small { color: var(--muted); font-size: 12px; font-weight: 500; }
.bundle-section { margin-top: 58px; padding-top: 30px; border-top: 1px solid var(--line); }
.bundle-heading { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 10%; align-items: end; margin-bottom: 24px; }
.bundle-heading .section-kicker { grid-column: 1 / -1; }
.bundle-heading h4 { font-size: clamp(26px, 2.7vw, 36px); font-weight: 600; line-height: 1.4; letter-spacing: -.04em; }
.bundle-heading > p:last-child { color: var(--muted); font-size: 14px; }
.bundle-list { border-top: 1px solid var(--line); }
.bundle-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.bundle-row h5 { font-size: 18px; font-weight: 600; }
.bundle-row p { margin-top: 6px; color: var(--muted); font-size: 13px; }
.bundle-price { display: grid; gap: 5px; justify-items: end; font-variant-numeric: tabular-nums; }
.bundle-price > span { color: var(--muted); font-size: 13px; }
.bundle-price del { text-decoration-thickness: 1.5px; text-decoration-color: currentColor; }
.bundle-price strong { color: var(--blue); font-size: 22px; font-weight: 650; white-space: nowrap; }
.bundle-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.bundle-note { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.pricing-note { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.pricing-note a { flex: 0 0 auto; color: var(--blue); font-size: 14px; font-weight: 650; }
.pricing-note a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact { padding: 66px 0; background: #e9edfb; }
.simple-contact { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.simple-contact h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.35; font-weight: 600; letter-spacing: -.045em; }
.simple-contact p:not(.section-kicker) { margin-top: 18px; font-size: 15px; color: var(--muted); }
.line-contact-button { flex: 0 0 auto; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.site-footer .page-shell { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; }
.site-footer span { color: var(--muted); font-size: 11px; }
.site-footer p { font-size: 12px; }
.site-footer small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
/* greet product page: wide knowledge view followed by two full, uncropped screens. */
.showcase { padding-block: 36px 70px; }
.showcase-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: 14px; }
.showcase-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.showcase-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: end; padding: 48px 0 56px; }
.showcase-hero h1 { font-size: clamp(54px, 7vw, 92px); font-weight: 650; line-height: 1.05; letter-spacing: -.065em; }
.showcase-hero h1 small { font-size: .43em; letter-spacing: -.04em; white-space: nowrap; }
.showcase-hero .section-kicker { margin: 20px 0 0; color: var(--ink); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.showcase-hero > p { max-width: 30em; color: var(--muted); font-size: 17px; line-height: 1.9; }
.product-detail { padding-top: 30px; border-top: 1px solid var(--line); }
.product-detail > h2 { margin-bottom: 30px; font-size: 30px; font-weight: 600; line-height: 1.4; letter-spacing: -.035em; }
.app-figure { min-width: 0; margin: 0; }
.image-expand { display: block; overflow: hidden; border: 1px solid #b5c3bc; border-radius: 10px; }
.image-expand:hover { border-color: var(--blue); }
.app-figure img { width: 100%; height: auto; }
.app-figure figcaption { padding-top: 18px; }
.app-figure h3 { font-size: 21px; font-weight: 600; }
.app-figure figcaption p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.zoom-note { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; }
.product-screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.product-setup-note { margin-top: 48px; padding: 20px 0; border-block: 1px solid var(--line); }
.product-setup-note summary { min-height: 44px; padding-block: 8px; font-size: 16px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.product-setup-note summary:hover { color: var(--blue); }
.product-setup-note p { max-width: 70ch; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.product-contact { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 44px; padding: 34px; border-radius: 10px; background: #e9edfb; }
.product-contact h3 { font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.product-contact p { margin-top: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) {
  :root { --shell: calc(100% - 64px); }
  .hero-copy { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 6%; }
  .hero h1 { font-size: clamp(54px, 7.1vw, 72px); }
  .hero-lead { font-size: 15px; }
  .hero-grid { padding-block: 60px 66px; }
  .greet-intro, .section-heading { gap: 7%; }
}
@media (max-width: 700px) {
  :root { --shell: calc(100% - 40px); }
  html { scroll-padding-top: 132px; }
  section, article { scroll-margin-top: 132px; }
  .site-header { height: 112px; }
  .header-inner { grid-template-columns: 1fr auto; padding-block: 10px 4px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-wordmark { font-size: 20px; }
  .brand small { font-size: 6px; }
  .header-cta { grid-column: 2; grid-row: 1; gap: 12px; padding-inline: 12px; font-size: 12px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 12px; font-size: 13px; }
  .main-nav a { justify-content: center; flex: 1; }
  .hero-grid { padding-block: 44px 46px; }
  .hero-copy { display: block; }
  .eyebrow { margin-bottom: 22px; font-size: 12px; }
  .hero h1 { font-size: clamp(43px, 13vw, 74px); line-height: 1.16; letter-spacing: -.065em; }
  .hero-lead { max-width: 32em; margin-top: 26px; font-size: 15px; line-height: 1.9; }
  .hero-actions { margin-top: 24px; }
  .button { min-height: 52px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .template-section { padding-bottom: 48px; }
  .template-heading { display: block; padding-top: 28px; margin-bottom: 24px; }
  .section-kicker { margin-bottom: 12px; font-size: 12px; }
  .template-heading h2, .section-heading h2 { font-size: clamp(27px, 7.5vw, 38px); line-height: 1.4; }
  .template-heading > p:last-child { max-width: 30em; margin-top: 16px; font-size: 13px; }
  .template-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .template-card img { aspect-ratio: 1.45; }
  .template-card > div { padding: 15px 16px 17px; gap: 3px 10px; }
  .template-card h3 { font-size: 21px; }
  .template-card b { font-size: 11px; }
  .template-card > div > span { font-size: 11px; }
  .work-section { padding-block: 46px; }
  .greet-intro { display: block; margin-bottom: 24px; }
  .greet-summary { margin-top: 20px; }
  .greet-summary p { font-size: 14px; }
  .greet-summary .text-link { margin-top: 8px; }
  .greet-screen { border-radius: 6px; }
  #mvp-services { padding-block: 46px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { margin-top: 18px; font-size: 14px; }
  .pricing { margin-top: 48px; padding-top: 25px; }
  .pricing-heading { display: block; margin-bottom: 24px; }
  .pricing-heading h3 { font-size: 28px; }
  .pricing-heading > p { margin-top: 14px; font-size: 13px; }
  .pricing-row { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding-block: 17px; }
  .pricing-row strong { font-size: 16px; }
  .pricing-row b { font-size: 19px; }
  .bundle-section { margin-top: 40px; padding-top: 24px; }
  .bundle-heading { display: block; margin-bottom: 20px; }
  .bundle-heading h4 { font-size: 26px; }
  .bundle-heading > p:last-child { margin-top: 12px; font-size: 13px; line-height: 1.7; }
  .bundle-row { grid-template-columns: 1fr; gap: 12px; padding-block: 18px; }
  .bundle-row h5 { font-size: 16px; }
  .bundle-price { justify-items: start; }
  .bundle-price strong { font-size: 20px; }
  .pricing-note { display: block; line-height: 1.8; }
  .pricing-note a { display: inline-block; margin-top: 10px; }
  .contact { padding-block: 44px; }
  .simple-contact { display: block; }
  .simple-contact h2 { font-size: 33px; }
  .simple-contact p:not(.section-kicker) { font-size: 14px; }
  .simple-contact .button { width: 100%; margin-top: 27px; justify-content: space-between; }
  .site-footer { padding-block: 24px; }
  .site-footer .page-shell { grid-template-columns: 1fr; gap: 8px; }
  .site-footer small { font-size: 10px; }
  .showcase { padding-block: 20px 44px; }
  .showcase-hero { display: block; padding-block: 30px 34px; }
  .showcase-hero h1 { font-size: 70px; }
  .showcase-hero .section-kicker { margin-top: 14px; font-size: 20px; }
  .showcase-hero > p { margin-top: 24px; font-size: 15px; }
  .product-detail { padding-top: 24px; }
  .product-detail > h2 { font-size: 24px; margin-bottom: 24px; }
  .product-screen-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .app-figure h3 { font-size: 20px; }
  .app-figure figcaption { padding-top: 14px; }
  .product-setup-note { margin-top: 32px; }
  .product-contact { display: block; margin-top: 30px; padding: 24px; }
  .product-contact h3 { font-size: 24px; }
  .product-contact .button { width: 100%; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Local service examples: native dialog supplies modal focus containment. */
.service-dialog { width: min(700px, calc(100% - 48px)); max-width: none; max-height: min(820px, calc(100dvh - 64px)); padding: 0; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px #192c4333; overflow: hidden; }
.service-dialog[open] { display: flex; flex-direction: column; }
.service-dialog::backdrop { background: #14233899; }
.service-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.service-dialog-header > p { color: var(--muted); font-size: 12px; }
.service-dialog-close { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 10px; border: 0; border-radius: 6px; color: var(--ink); background: var(--surface); font: inherit; font-size: 13px; cursor: pointer; }
.service-dialog-close span { font-size: 24px; line-height: 1; }
.service-dialog-body { min-height: 0; padding: 28px; overflow-y: auto; overscroll-behavior: contain; }
.service-dialog-body h2 { font-size: clamp(25px, 4vw, 32px); line-height: 1.4; font-weight: 600; letter-spacing: -.035em; }
.service-demo-intro { margin-top: 14px; color: var(--muted); font-size: 15px; }
.service-demo-use { margin-block: 24px; }
.service-dialog-body h3 { font-size: 14px; font-weight: 650; }
.service-demo-use p { margin-top: 5px; font-size: 14px; color: var(--muted); }
.service-demo-example { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.demo-heading > span, .demo-tag { color: var(--muted); font-size: 11px; }
.demo-field { display: grid; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; }
.demo-field select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #aebbc9; border-radius: 6px; color: var(--ink); background: #fff; font: inherit; font-size: 14px; }
.demo-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 16px; padding: 8px 16px; border: 0; border-radius: 6px; color: #fff; background: var(--blue); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.demo-action:hover { background: var(--blue-dark); }
.demo-result { margin-top: 16px; padding: 14px; border-left: 3px solid var(--blue); background: #f0f3fb; font-size: 13px; overflow-wrap: anywhere; }
.demo-result:empty { display: none; }
.demo-web-preview { margin-top: 20px; padding: 22px; border-radius: 8px; background: #edf2fa; }
.demo-web-preview.is-warm { background: #fbf0e5; }
.service-dialog-body h4 { margin: 6px 0 8px; font-size: 18px; font-weight: 600; }
.demo-web-preview > p { font-size: 14px; }
.demo-records { display: grid; gap: 10px; margin-top: 14px; }
.demo-record { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.demo-record span { color: var(--muted); }
.demo-data { padding: 14px; border-radius: 6px; background: var(--surface); font-size: 13px; }
.demo-data h4 { font-size: 13px; margin-top: 0; }
.service-dialog pre { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 12px; }
.demo-options { display: grid; gap: 8px; margin-top: 16px; }
.demo-options label { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13px; }
.demo-options input { width: 18px; height: 18px; accent-color: var(--blue); flex: 0 0 auto; }
.demo-note, .demo-empty { color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .service-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
  .service-dialog-header { padding: 10px 16px; }
  .service-dialog-body { padding: 22px 16px; }
  .service-demo-example { padding: 16px; }
  .demo-web-preview { padding: 16px; }
}

/* Seven services: a quiet narrative alongside a physical card stage. */
.service-theater { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px 54px; padding-block: 34px 24px; border-block: 1px solid var(--line); }
.service-story { align-self: center; min-width: 0; }
.service-story-type { color: var(--blue); font-size: 12px; font-weight: 650; }
.service-story h3 { margin-top: 12px; font-size: clamp(26px, 2.9vw, 38px); line-height: 1.35; font-weight: 600; letter-spacing: -.04em; }
.service-story-lead { margin-top: 18px; font-size: 17px; font-weight: 550; }
.service-story-copy { margin-top: 12px; max-width: 30em; color: var(--muted); font-size: 14px; line-height: 1.9; }
.service-story-detail { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.service-story-detail h4 { margin: 0 0 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.service-story-detail p { font-size: 13px; }
.service-story-cta { margin-top: 18px; }
button.service-story-cta { padding: 0; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.service-story-cta[hidden] { display: none; }
.service-stage-wrap { min-width: 0; align-self: center; }
.service-stage { position: relative; height: 410px; overflow: clip; perspective: 1100px; touch-action: pan-y; }
.service-card { position: absolute; top: 22px; left: 50%; display: flex; flex-direction: column; width: 300px; height: 354px; padding: 22px; border: 1px solid #c6d0dc; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 14px 28px #192c4312; text-align: left; font: inherit; cursor: pointer; transition: transform 420ms cubic-bezier(.25,.8,.25,1), opacity 420ms, border-color 420ms; backface-visibility: hidden; }
.service-card[data-position="active"] { z-index: 3; opacity: 1; transform: translateX(-50%) translateZ(0) rotateY(0); border-color: #91a3c4; }
.service-card[data-position="prev"] { z-index: 2; opacity: .65; transform: translateX(calc(-50% - 190px)) translateZ(-110px) rotateY(32deg) scale(.91); }
.service-card[data-position="next"] { z-index: 2; opacity: .65; transform: translateX(calc(-50% + 190px)) translateZ(-110px) rotateY(-32deg) scale(.91); }
.service-card[data-position="hidden"] { z-index: 1; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateZ(-240px) scale(.8); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; }
.service-card-top b { font-family: system-ui, sans-serif; font-size: 12px; font-weight: 500; }
.service-card-title { display: block; align-self: start; margin-top: 12px; font-size: 21px; font-weight: 600; line-height: 1.45; letter-spacing: -.025em; }
.service-card[data-position="active"] .service-card-title { text-decoration: underline; text-decoration-color: #c6d4fa; text-decoration-thickness: 5px; text-underline-offset: 5px; }
.service-card-scene { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; padding-block: 18px; }
.service-card-caption { display: block; min-height: 36px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.7; }
.service-stage-controls { display: flex; align-items: center; justify-content: center; gap: 22px; }
.service-stage-controls button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font: inherit; font-size: 20px; cursor: pointer; }
.service-stage-controls button:hover { border-color: var(--blue); color: var(--blue); }
.service-stage-controls > span { min-width: 52px; color: var(--muted); text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.service-picker { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.service-picker button { min-height: 42px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.service-picker button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); background: #eef1fd; }
.service-picker button:hover { border-color: var(--blue); }
.scene-browser { display: block; width: 100%; overflow: hidden; border: 1px solid #c2ccdc; border-radius: 6px; }
.scene-browser-bar { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); background: #f2f4f8; }
.scene-browser-bar i { width: 4px; height: 4px; border-radius: 50%; background: #a8b5c5; }
.scene-site-title { display: block; margin: 14px 14px 6px; font-size: 21px; font-weight: 600; }
.scene-site-rule { display: block; width: 40%; height: 4px; margin: 0 14px; background: #bdc9db; }
.scene-site-grid { display: flex; gap: 8px; margin: 14px; }
.scene-site-grid i { display: block; width: 50%; height: 42px; background: #e8edf3; border: 1px solid #d8e0e9; }
.scene-site-grid i:last-child { background: #f0e9df; }
.scene-caption { display: block; margin: 0 14px 12px; color: var(--muted); font-size: 9px; }
.scene-chat { display: grid; gap: 12px; width: 100%; font-size: 11px; }
.scene-chat > span { padding: 10px; border-radius: 8px; }
.scene-chat-question { justify-self: end; border: 1px solid var(--line); background: #f4f5f7; }
.scene-chat-answer { justify-self: start; border: 1px solid #c4d7cf; background: #edf5f0; }
.scene-chat-handoff { border: 1px dashed #aebbc9; color: var(--muted); text-align: center; }
.scene-flow { display: grid; gap: 4px; width: 90%; text-align: center; font-size: 11px; }
.scene-flow > span { padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: #f4f6f8; }
.scene-flow > b { color: #8e9fb4; font-weight: 400; }
.scene-flow .scene-flow-active { border-color: #bcc9ed; background: #eef2fd; color: var(--blue); }
.scene-dashboard { display: block; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 9px; }
.scene-dashboard-head { display: flex; justify-content: space-between; }
.scene-dashboard-head b { color: var(--blue); font-weight: 500; }
.scene-bars { display: flex; align-items: end; gap: 10px; height: 70px; padding: 12px 10px 0; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.scene-bars i { width: 25%; height: 55%; background: #c5d1ec; border-radius: 3px 3px 0 0; }
.scene-bars i:nth-child(2) { height: 85%; background: #8fa6d4; }
.scene-bars i:nth-child(3) { height: 65%; }
.scene-bars i:nth-child(4) { height: 100%; background: #b4c5e6; }
.scene-dashboard-row { display: flex; justify-content: space-between; padding: 5px 0; }
.scene-dashboard-row span { color: var(--muted); }
.scene-clean { display: flex; align-items: center; gap: 10px; width: 100%; }
.scene-clean > span { display: flex; flex-direction: column; gap: 8px; width: 46%; min-height: 130px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #f5f6f8; }
.scene-clean span { font-size: 10px; }
.scene-clean i { height: 7px; background: #c4cedb; }
.scene-clean i:nth-of-type(2) { width: 75%; }
.scene-clean b { color: #8e9fb4; font-size: 15px; font-weight: 400; }
.scene-clean .scene-clean-after { border-color: #c1d1cc; background: #eff5f1; }
.scene-clean-after i { background: #a8c1b7; }
.scene-clean small { color: #557265; font-size: 8px; }
.scene-api { display: grid; width: 95%; gap: 8px; text-align: center; font-size: 12px; }
.scene-api > span:not(:nth-child(2)) { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #f4f6f8; }
.scene-api small { display: block; margin-top: 4px; font-size: 9px; color: var(--muted); }
.scene-api > span:nth-child(2) { color: var(--muted); font-size: 9px; }
.scene-api .scene-api-target { border-color: #c2cdec; background: #f0f3fc; }
.scene-ai { display: block; width: 100%; text-align: center; font-size: 11px; }
.scene-ai > span:first-child { display: block; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #f4f6f8; }
.scene-ai > span:nth-child(2) { display: block; margin-block: 12px; color: var(--muted); font-size: 10px; }
.scene-ai-choices { display: flex; gap: 8px; }
.scene-ai-choices > span { flex: 1; padding: 10px; border: 1px solid #c2cdec; border-radius: 6px; background: #f0f3fc; font-size: 10px; }
.scene-ai-choices > span:last-child { border-color: #d8cdbc; background: #f6f1e8; }
.scene-ai-choices b { font-weight: 550; }
@media (max-width: 1000px) {
  .service-theater { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; }
  .service-card { width: 258px; padding: 18px; }
  .service-card[data-position="prev"] { transform: translateX(calc(-50% - 145px)) translateZ(-110px) rotateY(32deg) scale(.91); }
  .service-card[data-position="next"] { transform: translateX(calc(-50% + 145px)) translateZ(-110px) rotateY(-32deg) scale(.91); }
}
@media (max-width: 700px) {
  .service-theater { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px 22px; }
  .service-story h3 { font-size: 27px; }
  .service-story-lead { margin-top: 14px; font-size: 16px; }
  .service-story-copy { font-size: 13px; }
  .service-story-detail { margin-top: 18px; }
  .service-stage { height: 338px; }
  .service-card { top: 14px; width: 238px; height: 298px; padding: 16px; }
  .service-card-title { font-size: 18px; }
  .service-card-scene { padding-block: 12px; }
  .service-card-caption { font-size: 10px; min-height: 40px; }
  .service-card[data-position="prev"] { transform: translateX(calc(-50% - 130px)) translateZ(-100px) rotateY(32deg) scale(.88); }
  .service-card[data-position="next"] { transform: translateX(calc(-50% + 130px)) translateZ(-100px) rotateY(-32deg) scale(.88); }
  .service-picker { gap: 8px; padding-top: 20px; }
  .service-picker button { flex: 1 1 calc(50% - 8px); padding-inline: 8px; font-size: 11px; }
  .service-picker button:last-child { flex-grow: 0; }
  .scene-site-title { margin-top: 10px; font-size: 18px; }
  .scene-site-grid { margin-block: 10px; }
  .scene-site-grid i { height: 30px; }
  .scene-chat { gap: 8px; font-size: 10px; }
  .scene-chat > span { padding: 8px; }
  .scene-bars { height: 50px; }
  .scene-clean > span { min-height: 115px; padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card { transition: none; }
}
