:root {
  --paper: #fff;
  --ink: #202024;
  --muted: #626267;
  --line: #e5e5e8;
  --accent: #f48120;
  --accent-hover: #e66e0d;
  --accent-text: #b74b00;
  --surface: #f7f7f8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #b74b00; outline-offset: 5px; }
::selection { background: #ffe0c5; color: var(--ink); }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 14px 20px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* Navigation */
.site-header { height: 88px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; color: var(--accent); }
.brand-word { font-size: 32px; font-weight: 750; line-height: .9; letter-spacing: -1.4px; }
.brand-caption { display: block; font-size: 8px; font-weight: 500; letter-spacing: 2.1px; line-height: 1; margin-top: 8px; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.desktop-nav a { padding: 10px 0; }
.desktop-nav a:hover, .language-switch:hover { color: var(--accent-text); }
.header-actions { display: flex; align-items: center; gap: 27px; font-size: 13px; }
.language-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.language-switch svg { width: 16px; height: 16px; }
.header-contact { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: var(--accent); border-radius: 5px; font-weight: 600; }
.header-contact:hover { background: var(--accent-hover); }
.header-contact svg { width: 17px; }
.menu-toggle { display: none; }
.mobile-nav[hidden] { display: none; }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 14px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* Introduction and service navigation */
.hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 80px; align-items: center; padding-block: 90px 86px; }
.hero-content { min-width: 0; }
.eyebrow { font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: 1px; color: var(--accent-text); }
.hero h1 { font-size: clamp(40px, 4.3vw, 60px); font-weight: 650; line-height: 1.25; letter-spacing: -2px; margin: 20px 0 26px; }
.hero-copy { max-width: 570px; font-size: 17px; line-height: 1.9; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 25px; min-height: 50px; padding: 14px 22px; border-radius: 5px; font-size: 14px; font-weight: 600; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.button svg { width: 18px; height: 18px; }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: #bebec3; background: #fff; }
.button-outline:hover { border-color: var(--ink); background: var(--surface); }
.hero-foot { font-size: 12px; color: var(--muted); margin-top: 27px; }
.service-overview { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; overflow: hidden; min-width: 0; align-self: center; }
.overview-label { font-size: 13px; font-weight: 600; padding: 22px 26px 16px; }
.overview-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-top: 1px solid var(--line); }
.overview-item:hover { background: var(--surface); }
.overview-category { display: block; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .9px; margin-bottom: 8px; }
.overview-item h2 { font-size: 19px; line-height: 1.4; font-weight: 550; letter-spacing: -.3px; }
.overview-item > svg { width: 18px; height: 18px; flex-shrink: 0; color: #77777e; }
.overview-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 26px; background: var(--surface); font-size: 12px; border-top: 1px solid var(--line); }
.overview-footer:hover { color: var(--accent-text); }
.overview-footer svg { width: 16px; height: 16px; }

/* Services */
.section { padding-block: 80px; }
.services { border-top: 1px solid var(--line); }
.section-top { max-width: 840px; margin-bottom: 35px; }
.section-eyebrow { margin-bottom: 13px; font-size: 11px; letter-spacing: .7px; }
h2 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.4; font-weight: 600; letter-spacing: -.9px; }
.section-intro { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 720px; margin-top: 16px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 28px; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; min-width: 0; }
.service-number { display: block; font-size: 12px; font-weight: 600; color: var(--accent-text); margin-bottom: 25px; }
.service-card h3 { font-size: 22px; font-weight: 600; line-height: 1.45; letter-spacing: -.5px; }
.service-card > p { font-size: 14px; color: var(--muted); line-height: 1.9; margin-top: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 15px; padding-top: 20px; padding-bottom: 24px; }
.tags li { font-size: 12px; color: var(--muted); }
.tags li:not(:last-child)::after { content: "/"; margin-left: 15px; color: #c7c7cc; }
.service-contact { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; }
.service-contact:hover { color: var(--accent-text); }
.service-contact svg { width: 16px; height: 16px; }

/* Development process */
.approach { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 44px; }
.step-line { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #d6d6db; padding-top: 20px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.step-line span:last-child { color: #8a8a91; font-size: 19px; }
.step h3 { font-size: 19px; line-height: 1.5; font-weight: 600; margin-top: 21px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-top: 12px; }

/* Company information */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.about-copy > p:not(.eyebrow) { font-size: 16px; color: var(--muted); line-height: 1.9; margin-top: 20px; max-width: 570px; }
.about-copy > p:last-child { margin-top: 14px; }
.company-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 30px; min-width: 0; }
.company-card-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 28px; }
.company-wordmark { font-size: 28px; font-weight: 650; line-height: 1; letter-spacing: -.8px; }
.company-wordmark span { display: block; margin-top: 8px; font-size: 8px; letter-spacing: 1.5px; font-weight: 500; }
.company-card-top > span:last-child { font-size: 10px; letter-spacing: .8px; color: var(--muted); }
.company-card dl { margin: 0; }
.company-card dl > div { border-top: 1px solid var(--line); padding-block: 19px; }
.company-card dl > div:last-child { padding-bottom: 0; }
.company-card dt { font-size: 11px; color: var(--muted); margin-bottom: 9px; letter-spacing: .3px; }
.company-card dd { margin: 0; font-size: 14px; line-height: 1.7; }
.company-card .legal-name { font-size: 15px; font-weight: 600; }
.legal-name span { display: block; font-size: 13px; font-weight: 400; margin-top: 3px; }

/* Contact */
.contact-section { background: var(--surface); border-top: 1px solid var(--line); padding-block: 76px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.contact-copy { font-size: 16px; color: var(--muted); line-height: 1.9; max-width: 480px; margin: 20px 0 27px; }
.contact-details { min-width: 0; background: #fff; padding: 30px; border: 1px solid var(--line); border-radius: 6px; }
.detail-label { font-size: 11px; letter-spacing: .5px; color: var(--muted); margin-bottom: 12px; }
.contact-email { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 24px; }
.contact-email > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: clamp(20px, 2vw, 27px); letter-spacing: -.5px; }
.contact-email > a:hover { color: var(--accent-text); }
.contact-email > a span { font-size: 23px; }
address { font-style: normal; font-size: 12px; line-height: 1.9; letter-spacing: .25px; }
.address-actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; font-size: 12px; }
.address-actions > button, .address-actions > a { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 0; }
.address-actions > button:hover, .address-actions > a:hover { color: var(--accent-text); }
.copy-address svg { width: 15px; height: 15px; }
.copy-status { color: #626267; font-size: 12px; min-height: 17px; margin-top: 6px; }

/* Footer and errors */
.site-footer { background: #202024; color: #fff; padding-block: 38px 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 30px; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand .brand-word { font-size: 28px; }
.footer-brand .brand-caption { font-size: 7px; letter-spacing: 1.7px; }
.footer-top p { font-size: 12px; color: #c3c3c8; }
.back-top { display: flex; align-items: center; gap: 15px; font-size: 12px; }
.back-top span { font-size: 19px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #424247; padding-top: 20px; color: #b6b6bf; font-size: 10px; line-height: 1.8; }
.error-page { max-width: 850px; padding: 80px 30px; margin: auto; }
.error-page > .brand { margin-bottom: 80px; }
.error-page h1 { font-size: 46px; font-weight: 600; line-height: 1.4; letter-spacing: -1px; margin-block: 20px; }
.error-page h1 span { color: var(--muted); }
.error-page > p:last-of-type { color: var(--muted); line-height: 1.9; }

html[lang=en] .hero h1 { font-size: clamp(40px, 4.3vw, 59px); line-height: 1.1; letter-spacing: -2px; }
html[lang=en] .hero-copy { line-height: 1.8; font-size: 16px; }
html[lang=en] .overview-item h2 { font-size: 18px; }
html[lang=en] .service-card h3 { font-size: 21px; }
html[lang=en] h2 { line-height: 1.2; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 45px; grid-template-columns: 1.3fr 1fr; padding-block: 72px; }
  .hero h1 { font-size: 46px; }
  html[lang=en] .hero h1 { font-size: 48px; }
  .desktop-nav { gap: 22px; font-size: 13px; }
  .header-actions { gap: 20px; }
  .service-card { padding: 24px; }
  .service-card h3 { font-size: 21px; }
  .about, .contact-grid { gap: 50px; }
  .section { padding-block: 64px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .site-header { height: 76px; }
  .desktop-nav, .header-contact { display: none; }
  .header-actions { gap: 23px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-word { font-size: 30px; }
  .brand-caption { font-size: 7px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; justify-content: center; width: 26px; height: 40px; padding: 0; }
  .menu-toggle span { width: 23px; height: 1.5px; background: var(--ink); transition: transform .15s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-block: 54px; gap: 36px; }
  .hero h1, html[lang=en] .hero h1 { font-size: 51px; }
  .hero-copy { max-width: 600px; }
  .service-overview { max-width: none; }
  .overview-item { padding-block: 19px; }
  .service-list { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 27px; }
  .service-number { margin-bottom: 17px; }
  .service-card h3, html[lang=en] .service-card h3 { font-size: 24px; }
  .service-card > p { max-width: 620px; }
  .tags { padding-bottom: 20px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 32px; }
  .about, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-copy > p:not(.eyebrow) { max-width: 650px; }
  .contact-section { padding-block: 60px; }
  .contact-copy { max-width: 620px; }
  .contact-email > a { font-size: 26px; }
  .footer-top { flex-wrap: wrap; gap: 24px; }
  .footer-top p { margin-right: auto; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 40px); }
  .hero { padding-block: 40px; gap: 30px; }
  .eyebrow { font-size: 10px; letter-spacing: .8px; }
  .hero h1 { font-size: clamp(32px, 8.8vw, 41px); letter-spacing: -1.3px; margin: 19px 0 20px; line-height: 1.35; }
  html[lang=en] .hero h1 { font-size: 38px; letter-spacing: -1.5px; line-height: 1.15; }
  .hero-copy, html[lang=en] .hero-copy { font-size: 15px; line-height: 1.9; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .button { font-size: 12px; padding: 13px 17px; min-height: 46px; gap: 15px; }
  .hero-foot { margin-top: 22px; font-size: 11px; }
  .overview-label { padding: 19px 22px 14px; font-size: 12px; }
  .overview-item { padding: 18px 22px; }
  .overview-item h2, html[lang=en] .overview-item h2 { font-size: 17px; }
  .overview-category { font-size: 8px; }
  .overview-footer { padding: 15px 22px; }
  .section { padding-block: 48px; }
  h2 { font-size: 28px; line-height: 1.45; letter-spacing: -.7px; }
  html[lang=en] h2 { line-height: 1.25; }
  .section-top { margin-bottom: 26px; }
  .section-intro { font-size: 14px; margin-top: 14px; }
  .service-card { padding: 24px; }
  .service-card h3, html[lang=en] .service-card h3 { font-size: 22px; }
  .service-card > p { font-size: 14px; line-height: 1.85; }
  .tags { gap: 8px 10px; }
  .tags li { font-size: 11px; }
  .tags li:not(:last-child)::after { margin-left: 10px; }
  .steps { gap: 28px 22px; }
  .step h3 { font-size: 17px; margin-top: 17px; }
  .step p { font-size: 13px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; }
  .company-card, .contact-details { padding: 24px; }
  .company-card .legal-name { font-size: 13px; }
  .company-card dt { font-size: 10px; }
  .company-wordmark { font-size: 25px; }
  .company-card-top > span:last-child { font-size: 9px; }
  .contact-section { padding-block: 48px; }
  .contact-copy { font-size: 14px; }
  .contact-email > a { font-size: 21px; }
  address { font-size: 11px; }
  .address-actions { font-size: 11px; gap: 22px; }
  .footer-top { align-items: flex-start; }
  .footer-top p { width: 100%; font-size: 11px; order: 3; }
  .back-top { margin-left: auto; font-size: 11px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 9px; }
  .error-page { padding-top: 40px; }
  .error-page h1 { font-size: 34px; }
}

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