:root {
  --ink: #11151c;
  --ink-soft: #545d6b;
  --paper: #f5f3ee;
  --surface: #fffdf9;
  --muted: #e9edf2;
  --line: #d8d9d6;
  --blue: #185bc7;
  --blue-dark: #103f8d;
  --blue-light: #dce8fb;
  --radius: 20px;
  --shadow: 0 24px 70px rgb(17 21 28 / 10%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lato, "Noto Sans TC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { font-family: Georgia, "Noto Serif TC", serif; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(245 243 238 / 90%);
  border-bottom: 1px solid rgb(216 217 214 / 80%);
  backdrop-filter: blur(14px);
}
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; text-decoration: none; letter-spacing: .02em; }
.brand img { border-radius: 10px; }
.desktop-nav { display: flex; align-items: center; gap: 26px; }
.desktop-nav a, .mobile-nav a { color: var(--ink-soft); font-size: .9rem; font-weight: 750; text-decoration: none; transition: color .2s ease; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--blue); }
.desktop-nav .nav-cta { background: var(--ink); color: #fff; border-radius: 8px; padding: 9px 14px; }
.desktop-nav .nav-cta:hover { background: var(--blue); color: #fff; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; font-weight: 800; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: 42px; width: 190px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
.mobile-nav nav a { padding: 10px 12px; border-radius: 7px; }
.mobile-nav nav a:hover { background: var(--blue-light); }

.hero { padding: clamp(64px, 8vw, 112px) 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .72fr; gap: clamp(48px, 8vw, 112px); align-items: center; }
.eyebrow { margin-bottom: 18px; color: var(--blue); font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 760px; margin-bottom: 27px; font-size: clamp(3rem, 6.4vw, 5.85rem); letter-spacing: -.058em; }
h1 span { display: block; color: var(--blue); }
.lead { max-width: 680px; color: var(--ink-soft); font-size: clamp(1.03rem, 1.7vw, 1.21rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 9px; padding: 11px 21px; cursor: pointer; font-weight: 800; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary:hover { background: var(--ink); color: #fff; }
.button.light { margin-top: 22px; background: #fff; border-color: #fff; color: var(--ink); }
.button.light:hover { background: var(--blue-light); border-color: var(--blue-light); }
.response { display: flex; align-items: center; gap: 8px; margin: 15px 0 0; color: var(--ink-soft); font-size: .82rem; }
.response span { width: 7px; height: 7px; background: #2ca36a; border-radius: 50%; box-shadow: 0 0 0 4px rgb(44 163 106 / 12%); }
.hero-visual { position: relative; margin: 0; }
.hero-visual::before { content: ""; position: absolute; inset: -20px 18px 18px -20px; z-index: -1; background: var(--blue); border-radius: 28px; opacity: .1; transform: rotate(-3deg); }
.hero-visual img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.hero-visual figcaption { position: absolute; right: -16px; bottom: 24px; background: rgb(17 21 28 / 92%); color: #fff; border-radius: 8px; padding: 10px 14px; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }

.proof-strip { border-block: 1px solid var(--line); background: rgb(255 253 249 / 55%); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 18px 26px; border-left: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 1px solid var(--line); }
.proof-grid b { margin-bottom: 4px; font-size: .96rem; }
.proof-grid span { color: var(--ink-soft); font-size: .8rem; }

.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head h2, .contact-section h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 4.8vw, 4rem); letter-spacing: -.042em; }
.section-head > p:last-child, .split-head > p, .split-head > div > p, .contact-section p { color: var(--ink-soft); }
.split-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .55fr); gap: clamp(40px, 9vw, 120px); align-items: end; }
.split-head h2 { margin-bottom: 0; }
.text-link { display: inline-block; color: var(--blue-dark); font-weight: 800; text-underline-offset: 4px; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px, -2px); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-grid-three { grid-template-columns: repeat(3, 1fr); }
.service-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.2vw, 38px); box-shadow: 0 1px 2px rgb(17 21 28 / 4%); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-card:hover { border-color: #9fb2cf; box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card.featured { background: #f0f5fd; border-color: #8baee3; }
.service-no { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.service-card h3 { margin-bottom: 17px; font-size: 1.52rem; }
.service-card > p:not(.service-no, .card-price, .price), .service-card li { color: var(--ink-soft); }
.service-card ul { margin: 22px 0 0; padding-left: 20px; }
.service-card li + li { margin-top: 5px; }
.card-price { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--blue-dark); font-size: 1.05rem; font-weight: 850; }

.work-section { background: var(--ink); color: #fff; }
.work-section .eyebrow { color: #8fb9fa; }
.work-section .split-head > p { color: #b8c0cc; }
.work-section .text-link { color: #a9c8fa; }
.work-list { display: grid; gap: 74px; }
.work-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(34px, 7vw, 90px); align-items: center; }
.work-card.reverse .work-image { order: 2; }
.work-image { display: block; overflow: hidden; border-radius: 20px; background: #222a35; }
.work-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.work-image:hover img { transform: scale(1.025); }
.work-meta { color: #8fb9fa; font-size: .76rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.work-copy h3 { margin-bottom: 18px; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(1.9rem, 3vw, 2.9rem); }
.work-copy > p:not(.work-meta) { color: #c6ccd5; }

.process-section { background: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: process; }
.steps li { border-top: 2px solid var(--ink); padding-top: 21px; }
.steps li > span { color: var(--blue); font-size: .78rem; font-weight: 850; }
.steps h3 { margin: 12px 0 9px; font-size: 1.16rem; }
.steps p { margin-bottom: 0; color: var(--ink-soft); font-size: .9rem; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(42px, 9vw, 120px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 112px; margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 24px 38px 24px 0; font-weight: 800; list-style-position: outside; }
.faq-list details p { max-width: 720px; padding: 0 0 24px; color: var(--ink-soft); }

.contact-section { background: var(--blue-dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(38px, 9vw, 110px); align-items: start; }
.contact-section .eyebrow { color: #b9d2fb; }
.contact-section p { color: #d2def1; }
.contact-list { display: grid; }
.contact-list a { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgb(255 255 255 / 22%); text-decoration: none; transition: color .2s ease, padding .2s ease; }
.contact-list a:hover { color: #c9dcfb; padding-left: 6px; }
.contact-list span { color: #b7c8e2; }
.contact-list b { text-align: right; word-break: break-word; }

footer { background: #090c12; color: #fff; padding: 32px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.footer-grid p { margin: 5px 0 0; color: #929aaa; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: #bdc5d1; font-size: .82rem; }

/* Shared inner pages */
.page-hero { padding: clamp(68px, 9vw, 120px) 0 70px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { max-width: 900px; font-size: clamp(3.1rem, 7vw, 6.2rem); }
.page-hero .lead { max-width: 760px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; color: var(--ink-soft); font-size: .83rem; }
.category-nav { position: sticky; top: 72px; z-index: 10; background: rgb(245 243 238 / 95%); border-block: 1px solid var(--line); backdrop-filter: blur(12px); }
.category-nav .wrap { display: flex; gap: 9px; overflow-x: auto; padding-block: 13px; scrollbar-width: thin; }
.category-nav a { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 7px 13px; color: var(--ink-soft); font-size: .78rem; font-weight: 750; text-decoration: none; }
.category-nav a:hover { border-color: var(--blue); color: var(--blue); }
.price-section { padding: 72px 0; scroll-margin-top: 132px; }
.price-section + .price-section { border-top: 1px solid var(--line); }
.price-title { display: grid; grid-template-columns: 110px 1fr; gap: 20px; margin-bottom: 30px; }
.price-title span { color: var(--blue); font-size: .73rem; font-weight: 850; letter-spacing: .11em; }
.price-title h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; margin-left: 130px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.price-card.highlight { background: #eff5ff; border-color: #8aafe7; }
.price-card h3 { margin-bottom: 10px; font-size: 1.28rem; }
.price { margin: 0 0 16px; color: var(--blue-dark); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 900; }
.price small { color: var(--ink-soft); font-size: .72rem; font-weight: 700; }
.price-card > p:not(.price) { color: var(--ink-soft); font-size: .92rem; }
.price-card ul { margin: 18px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: .88rem; }
.price-card li + li { margin-top: 4px; }
.price-note { margin: 18px 0 0 130px; background: var(--ink); color: #fff; border-radius: 12px; padding: 17px 20px; font-size: .86rem; }
.price-note b { color: #9bc1fb; }
.terms-note { margin-top: 38px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.terms-note h3 { margin-bottom: 10px; }
.terms-note p { margin-bottom: 0; color: var(--ink-soft); }

.detail-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(36px, 8vw, 100px); }
.detail-index { position: sticky; top: 112px; align-self: start; }
.detail-index p { color: var(--ink-soft); }
.detail-block { padding: 0 0 66px; margin-bottom: 66px; border-bottom: 1px solid var(--line); }
.detail-block:last-child { margin-bottom: 0; }
.detail-block h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.detail-block > p { max-width: 720px; color: var(--ink-soft); }
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.deliverables div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 19px; }
.deliverables b { display: block; margin-bottom: 5px; }
.deliverables span { color: var(--ink-soft); font-size: .86rem; }
.fit-list { margin-top: 28px; padding-left: 20px; color: var(--ink-soft); }

.doc { max-width: 780px; padding: 80px 0 110px; }
.doc h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
.doc h2 { margin-top: 42px; font-size: 1.65rem; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .back { display: inline-block; margin-bottom: 40px; color: var(--blue); font-weight: 800; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ffb800; outline-offset: 4px; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr .62fr; gap: 44px; }
  .service-grid-three { grid-template-columns: 1fr; }
  .service-card { max-width: none; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(2) { border-right: 1px solid var(--line); }
  .proof-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 30px, 1160px); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-grid, .split-head, .work-card, .contact-grid, .faq-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-visual figcaption { right: 12px; }
  .work-card.reverse .work-image { order: initial; }
  .work-list { gap: 60px; }
  .faq-grid .section-head, .detail-index { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-title { grid-template-columns: 1fr; gap: 6px; }
  .price-grid { grid-template-columns: 1fr; margin-left: 0; }
  .price-note { margin-left: 0; }
  .deliverables { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero { padding-top: 54px; }
  .proof-grid, .service-grid, .steps { grid-template-columns: 1fr; }
  .proof-grid div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .proof-grid div:last-child { border-bottom: 0; }
  .contact-list a { align-items: flex-start; flex-direction: column; gap: 3px; padding: 15px 0; }
  .contact-list b { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
