:root {
  --site-max-width: 1500px;
  --site-gutter: clamp(20px, 4vw, 48px);
  --content-readable: 920px;
  --ink: #18202b;
  --ink-soft: #465363;
  --muted: #f5f2ea;
  --paper: #fffdf8;
  --line: rgba(24, 32, 43, 0.12);
  --gold: #c8932b;
  --gold-dark: #8e6117;
  --teal: #276c6a;
  --blue: #2d5d8f;
  --coral: #b24b35;
  --shadow: 0 18px 55px rgba(24, 32, 43, 0.12);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", "Noto Sans TC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--gold-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(200, 147, 43, 0.35);
  outline-offset: 3px;
}

.sg-container {
  width: min(calc(100% - var(--site-gutter) * 2), var(--site-max-width));
  margin-inline: auto;
}

.sg-skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.sg-skip-link:focus {
  top: 16px;
}

.sg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.sg-header-row {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sg-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.sg-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 147, 43, 0.45);
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.sg-brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.sg-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.sg-brand small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.sg-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 15px;
  font-weight: 650;
}

.sg-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.sg-lang a {
  display: grid;
  min-width: 32px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  font-size: 12px;
}

.sg-lang a:hover {
  background: var(--muted);
}

.sg-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0;
}

.sg-menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
}

.sg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 750;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sg-button:hover {
  transform: translateY(-1px);
}

.sg-button-primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(24, 32, 43, 0.22);
}

.sg-button-primary:hover {
  color: #fff;
  background: #0e141c;
}

.sg-button-ghost {
  color: var(--ink);
  background: #fff;
}

.sg-button-small {
  min-height: 40px;
  padding: 9px 14px;
  background: var(--ink);
  color: #fff;
}

.sg-main {
  overflow: hidden;
}

.sg-hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  padding: clamp(48px, 6vw, 86px) 0 clamp(44px, 6vw, 84px);
  background:
    radial-gradient(circle at 10% 10%, rgba(200, 147, 43, 0.12), transparent 32%),
    linear-gradient(135deg, #fffdf8 0%, #fff7e4 45%, #eff7f6 100%);
}

.sg-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.sg-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
}

.sg-hero-copy,
.sg-hero-visual,
.sg-section-head,
.sg-split-head > *,
.sg-contact-panel > *,
.sg-page-copy {
  min-width: 0;
}

.sg-eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  line-break: loose;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(42px, 6vw, 86px);
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

h3 {
  font-size: clamp(20px, 2vw, 25px);
}

.sg-hero-lede {
  max-width: 820px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
}

.sg-mobile-line {
  display: inline;
}

.sg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.sg-hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.sg-hero-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 60px rgba(24, 32, 43, 0.18);
}

.sg-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-hero-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.sg-hero-photo-main {
  width: min(100%, 660px);
  aspect-ratio: 16 / 9;
}

.sg-hero-photo-flight {
  position: absolute;
  right: 0;
  bottom: 28px;
  z-index: 2;
  width: min(50%, 340px);
  aspect-ratio: 1.42;
  transform: translateY(42%);
}

.sg-hero-photo-flight img {
  object-position: left bottom;
}

.sg-hero-card {
  position: absolute;
  z-index: 3;
  width: min(270px, 50%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.sg-hero-card strong,
.sg-hero-card span {
  display: block;
}

.sg-hero-card span {
  color: var(--ink-soft);
  font-size: 14px;
}

.sg-hero-card-a {
  left: 0;
  top: 18%;
}

.sg-hero-card-b {
  right: 0;
  bottom: 18%;
}

.sg-section {
  padding: clamp(70px, 8vw, 120px) 0;
}

.sg-section-muted {
  background: var(--muted);
}

.sg-section-dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 32, 43, 0.94), rgba(16, 35, 48, 0.96)),
    #18202b;
}

.sg-section-head {
  max-width: var(--site-max-width);
  margin-bottom: 32px;
}

.sg-section-head h2 {
  max-width: 960px;
}

.sg-split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 34px;
}

.sg-split-head p {
  color: var(--ink-soft);
  margin: 0;
}

.sg-stats-band {
  padding: 34px 0;
  background: var(--ink);
  color: #fff;
}

.sg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sg-stat {
  min-height: 150px;
  padding: 24px;
  background: var(--ink);
}

.sg-stat strong {
  display: block;
  color: #f4cf7a;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.sg-stat span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.sg-card-grid,
.sg-service-grid,
.sg-insight-grid {
  display: grid;
  gap: 18px;
}

.sg-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sg-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sg-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sg-feature-card,
.sg-service-card,
.sg-proof-card,
.sg-insight-card,
.sg-market-card,
.sg-office-grid article,
.sg-detail-side,
.sg-contact-form,
.sg-contact-details,
.sg-article-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
}

.sg-feature-card {
  min-height: 250px;
}

.sg-feature-dot {
  width: 44px;
  height: 8px;
  display: block;
  margin-bottom: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.sg-feature-card p,
.sg-service-card p,
.sg-proof-card p,
.sg-insight-card p,
.sg-market-card p,
.sg-detail-main p,
.sg-contact-details p {
  color: var(--ink-soft);
}

.sg-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sg-service-visual-band {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sg-service-visual-band img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.sg-service-visual-band strong {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.16;
}

.sg-service-visual-band p {
  color: var(--ink-soft);
}

.sg-service-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sg-service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent, var(--gold));
}

.sg-service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--accent, var(--gold));
  background: color-mix(in srgb, var(--accent, var(--gold)) 12%, white);
}

.sg-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sg-service-card a,
.sg-insight-card a,
.sg-article-sidebar a {
  margin-top: auto;
  color: var(--gold-dark);
  font-weight: 800;
}

.sg-insight-card .sg-insight-image,
.sg-insight-card h2 a {
  margin-top: 0;
}

.sg-insight-card h2 a {
  color: var(--ink);
}

.sg-service-card ul,
.sg-check-list {
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.sg-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.75fr);
  gap: clamp(30px, 6vw, 90px);
}

.sg-process-intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  align-self: start;
}

.sg-process-intro p {
  color: var(--ink-soft);
}

.sg-process-list {
  display: grid;
  gap: 14px;
}

.sg-process-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sg-process-list article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 850;
}

.sg-process-list strong {
  color: var(--gold-dark);
}

.sg-process-list p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.sg-market-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 0.75fr));
  gap: 18px;
}

.sg-market-copy {
  grid-row: span 2;
  padding-right: clamp(0px, 4vw, 60px);
}

.sg-market-copy h2 {
  max-width: 700px;
}

.sg-market-card {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.sg-market-card p {
  color: rgba(255, 255, 255, 0.75);
}

.sg-industry-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sg-industry-strip article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.sg-industry-strip p {
  color: rgba(255, 255, 255, 0.72);
}

.sg-proof-card {
  min-height: 240px;
  background: linear-gradient(180deg, #fff, #fffaf0);
}

.sg-proof-card-large {
  min-height: 280px;
}

.sg-contact-panel,
.sg-contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.sg-contact-panel {
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.sg-contact-brand-visual {
  width: min(100%, 460px);
  margin: 26px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gold);
  aspect-ratio: 4 / 3;
}

.sg-contact-brand-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-contact-form label {
  display: block;
  margin-bottom: 14px;
}

.sg-contact-form label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 750;
}

.sg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sg-form-verify {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.sg-form-status {
  min-height: 28px;
  margin: 8px 0 0;
  color: var(--teal);
  font-weight: 700;
}

.sg-honeypot {
  position: absolute;
  left: -10000px;
}

.sg-page-hero {
  padding: clamp(64px, 8vw, 115px) 0;
  background: linear-gradient(135deg, #fffdf8 0%, #fff4d9 54%, #edf8f6 100%);
}

.sg-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.35fr);
  gap: 34px;
  align-items: center;
}

.sg-page-hero p {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 18px;
}

.sg-page-visual {
  justify-self: end;
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(200, 147, 43, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sg-page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-detail-layout,
.sg-about-grid,
.sg-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.28fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.sg-detail-main,
.sg-content-body,
.sg-legal-body,
.sg-article-body {
  max-width: var(--content-readable);
}

.sg-service-detail-visual {
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sg-service-detail-visual img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.sg-detail-section {
  margin-top: 34px;
}

.sg-mini-grid {
  display: grid;
  gap: 14px;
}

.sg-mini-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sg-mini-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sg-mini-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--ink-soft);
  font-weight: 650;
}

.sg-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sg-step;
  display: grid;
  gap: 12px;
}

.sg-step-list li {
  counter-increment: sg-step;
  position: relative;
  min-height: 72px;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
}

.sg-step-list li::before {
  content: counter(sg-step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.sg-advisory-note {
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: rgba(200, 147, 43, 0.1);
  color: var(--ink-soft);
}

.sg-advisory-note strong {
  display: block;
  color: var(--ink);
}

.sg-advisory-note p {
  margin: 8px 0 0;
}

.sg-side-list {
  padding-left: 1.1em;
  color: var(--ink-soft);
}

.sg-detail-main h2,
.sg-content-body h2,
.sg-legal-body h2,
.sg-article-body h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.sg-detail-side,
.sg-article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.sg-office-grid {
  display: grid;
  gap: 14px;
}

.sg-insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sg-insight-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.sg-insight-image {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f6f3ea;
}

.sg-insight-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sg-insight-kicker {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 850;
}

.sg-insight-card h2 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.3;
}

.sg-article-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.sg-article-body {
  font-size: 18px;
}

.sg-article-body a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sg-post-meta {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.sg-source-link {
  padding: 12px 14px;
  margin: 0 0 22px;
  border-left: 3px solid var(--gold);
  background: rgba(200, 147, 43, 0.1);
  color: var(--ink-soft);
  font-size: 15px;
}

.sg-featured-image img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radius);
}

.sg-article-sidebar {
  display: grid;
  gap: 14px;
}

.sg-legal-body {
  max-width: 940px;
}

.sg-empty-state {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.sg-footer {
  color: #fff;
  background: #111923;
  padding: 64px 0 24px;
}

.sg-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr) minmax(220px, 0.5fr);
  gap: clamp(30px, 5vw, 70px);
}

.sg-brand-footer {
  color: #fff;
}

.sg-footer p,
.sg-footer-list,
.sg-footer-note {
  color: rgba(255, 255, 255, 0.72);
}

.sg-footer h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.sg-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-footer-list li {
  margin-bottom: 12px;
}

.sg-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.sg-contact-hub {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 120;
}

.sg-hub-main {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--gold-dark);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.sg-hub-main svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sg-hub-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(420px, calc(100vw - 36px));
  max-height: min(720px, calc(100svh - 120px));
  display: none;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.sg-contact-hub.is-open .sg-hub-panel {
  display: block;
}

.sg-hub-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.sg-hub-panel h2 {
  padding-right: 34px;
  font-size: 22px;
}

.sg-hub-panel p {
  color: var(--ink-soft);
  font-size: 14px;
}

.sg-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.sg-hub-actions a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 750;
}

.sg-wechat-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--muted);
}

.sg-wechat-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.sg-wechat-card span {
  font-size: 14px;
  font-weight: 750;
}

.sg-chat-log {
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--muted);
}

.sg-chat-msg {
  padding: 9px 10px;
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
}

.sg-chat-msg.is-user {
  color: #fff;
  background: var(--ink);
}

.sg-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
}

.sg-chat-form button {
  border: 0;
  border-radius: var(--radius);
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}

@media (max-width: 1180px) {
  .sg-nav {
    gap: 14px;
    font-size: 14px;
  }

  .sg-service-grid,
  .sg-insight-grid,
  .sg-card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-hero-grid {
    grid-template-columns: 1fr;
  }

  .sg-hero-visual {
    min-height: 430px;
  }

  .sg-hero-photo-main {
    width: min(100%, 720px);
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 68px;
  }

  .sg-menu-toggle {
    display: grid;
  }

  .sg-nav {
    position: absolute;
    left: var(--site-gutter);
    right: var(--site-gutter);
    top: calc(100% + 10px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .sg-nav.is-open {
    display: flex;
  }

  .sg-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .sg-lang {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: var(--radius);
  }

  .sg-lang a {
    min-width: 0;
    border-radius: 6px;
    justify-content: center;
  }

  .sg-nav .sg-button {
    width: 100%;
  }

  .sg-hero {
    min-height: auto;
  }

  .sg-hero-grid,
  .sg-split-head,
  .sg-process-layout,
  .sg-market-grid,
  .sg-contact-panel,
  .sg-contact-page,
  .sg-page-hero-inner,
  .sg-detail-layout,
  .sg-about-grid,
  .sg-article-layout,
  .sg-footer-grid {
    grid-template-columns: 1fr;
  }

  .sg-detail-side,
  .sg-article-sidebar {
    position: static;
  }

  .sg-process-intro {
    position: static;
    margin-bottom: 22px;
  }

  .sg-process-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-inline: calc(var(--site-gutter) * -1);
    padding: 4px var(--site-gutter) 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .sg-process-list article {
    min-width: min(82vw, 420px);
    scroll-snap-align: start;
  }

  .sg-market-copy {
    grid-row: auto;
  }

  .sg-stats-grid,
  .sg-industry-strip,
  .sg-card-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-service-visual-band {
    grid-template-columns: 1fr;
  }

  .sg-page-visual {
    justify-self: start;
    max-width: 300px;
  }

  .sg-mini-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --site-gutter: 20px;
  }

  h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.08;
  }

  .sg-hero {
    padding: 58px 0 72px;
  }

  .sg-hero-lede {
    font-size: 17px;
    line-height: 1.7;
  }

  .sg-hero-copy h1,
  .sg-hero-lede {
    word-break: break-all;
  }

  .sg-hero-title-segmented .sg-mobile-line,
  .sg-hero-lede-segmented .sg-mobile-line {
    display: block;
  }

  .sg-brand {
    min-width: 0;
  }

  .sg-brand small {
    display: none;
  }

  .sg-hero-visual {
    min-height: auto;
    display: grid;
    gap: 10px;
  }

  .sg-hero-card {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .sg-hero-photo-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    transform: none;
    inset: auto;
  }

  .sg-hero-photo-main img {
    object-position: center bottom;
  }

  .sg-hero-photo-flight {
    display: none;
  }

  .sg-hero-actions,
  .sg-empty-state {
    flex-direction: column;
  }

  .sg-form-grid,
  .sg-form-verify {
    grid-template-columns: 1fr;
  }

  .sg-stats-grid,
  .sg-service-grid,
  .sg-insight-grid,
  .sg-card-grid.four,
  .sg-industry-strip,
  .sg-mini-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-card-grid.three,
  .sg-mini-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sg-card-grid.two {
    grid-template-columns: 1fr;
  }

  .sg-stat {
    min-height: 108px;
    padding: 18px 14px;
  }

  .sg-stat strong {
    font-size: 30px;
  }

  .sg-stat span {
    font-size: 13px;
    line-height: 1.35;
  }

  .sg-feature-card {
    min-height: 108px;
    padding: 12px;
  }

  .sg-feature-dot {
    width: 30px;
    height: 5px;
    margin-bottom: 12px;
  }

  .sg-feature-card h3 {
    font-size: 15px;
    line-height: 1.22;
  }

  .sg-feature-card p {
    display: none;
  }

  .sg-service-card,
  .sg-insight-card,
  .sg-proof-card,
  .sg-market-card,
  .sg-office-grid article,
  .sg-detail-side,
  .sg-contact-form,
  .sg-contact-details,
  .sg-article-sidebar {
    padding: 16px;
  }

  .sg-service-card {
    min-height: 248px;
  }

  .sg-service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .sg-service-card h2,
  .sg-service-card h3,
  .sg-proof-card h3,
  .sg-market-card h3,
  .sg-industry-strip h3 {
    font-size: 16px;
    line-height: 1.25;
  }

  .sg-service-card p,
  .sg-proof-card p,
  .sg-market-card p,
  .sg-insight-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 13px;
    line-height: 1.45;
  }

  .sg-service-card ul {
    display: none;
  }

  .sg-mini-card {
    min-height: 96px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.45;
  }

  .sg-step-list li {
    padding: 15px 15px 15px 56px;
    font-size: 14px;
  }

  .sg-process-list article {
    min-width: 82vw;
    padding: 18px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .sg-contact-panel {
    padding: 22px;
  }

  .sg-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 32px;
  }

  .sg-hero-lede {
    font-size: 16px;
  }
}

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