/* ---------- Fonts (self-hosted subsets) ---------- */
@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Variable.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Variable.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ========================================================================
   OBSIDIAN INTELLIGENT LIMITED  曜石智能有限公司
   自製樣式：淺色冰灰底、深岩彩字、青綠點綴、輕玻璃與細格線。不依賴框架。
   ======================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg-deep: #f3f6f9;
  --bg: #f7f9fb;
  --bg-raised: #ffffff;
  --bg-panel: #ffffff;
  --bg-hover: #f0f5f8;
  --bg-input: #ffffff;
  --ink: #1b2430;
  --ink-2: #334155;
  --ink-3: #4a5a6b;
  --ink-4: #5a6a7a;
  --accent: #0c6e76;
  --accent-2: #0b6570;
  --accent-3: #0a555c;
  --accent-ink: #ffffff;
  --gold: var(--accent);
  --gold-2: var(--accent-2);
  --gold-3: var(--accent-3);
  --gold-ink: var(--accent-ink);
  --line: rgba(12, 110, 118, 0.16);
  --line-strong: rgba(12, 110, 118, 0.4);
  --glass: rgba(255, 255, 255, 0.78);
  --danger: #b42318;
  --ok: #1b6b45;
  --focus: #0c6e76;
  --header-h: 4.5rem;
  --wrap: 72rem;
  --wrap-narrow: 46rem;
  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --font-sans: "Noto Sans TC", "Noto Sans CJK TC", "Noto Sans CJK HK", "PingFang HK", "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Noto Serif CJK TC", "Songti TC", "LiSong Pro", serif;
  --shadow-glow: 0 0 0 1px rgba(12, 110, 118, 0.08), 0 16px 40px rgba(27, 36, 48, 0.08);
  --shadow-card: 0 1px 2px rgba(27, 36, 48, 0.04), 0 10px 28px rgba(27, 36, 48, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.15rem);
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-2);
  background: var(--bg-deep);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.btn--accent:focus-visible,
.btn--gold:focus-visible {
  outline-color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2100;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 1rem;
}

.nowrap { white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap {
  width: min(calc(100% - 3rem), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(calc(100% - 3rem), var(--wrap-narrow));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.kicker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
}
h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.65rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 46rem;
  text-wrap: pretty;
}
.muted { color: var(--ink-3); }
.prose p + p, .prose h2 + p { margin-top: 1.1em; }
.prose h3 { margin: 2rem 0 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { color: inherit; }
.btn--accent,
.btn--gold {
  background: linear-gradient(180deg, #14939e 0%, #0c6e76 100%);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 8px 20px rgba(12, 110, 118, 0.2);
}
.btn--accent:hover,
.btn--gold:hover {
  background: linear-gradient(180deg, #17a2ae 0%, #0e7c85 100%);
  color: var(--accent-ink);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(12, 110, 118, 0.05);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #f7f9fb;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(27, 36, 48, 0.05);
}
.site-header.is-open {
  background: #f7f9fb;
  box-shadow: none;
}
.site-header__inner {
  width: min(calc(100% - 3rem), var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  min-width: 0;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 2.45rem;
  height: 2.45rem;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(56, 120, 220, 0.28));
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__zh {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
}
.brand__en {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.site-header.is-open .nav-toggle__bar { background: transparent; }
.site-header.is-open .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
}
.site-nav .nav-cta {
  margin-left: 0.55rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.88rem;
  position: relative;
  color: var(--gold-ink);
  border-radius: var(--radius);
}
.site-nav .nav-cta:hover {
  color: var(--gold-ink);
}
.site-nav .nav-cta[aria-current="page"] {
  color: var(--accent-ink);
  background: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(12, 110, 118, 0.2);
}
.site-nav .nav-cta[aria-current="page"]::after {
  display: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 82% 28%, rgba(12, 110, 118, 0.1), transparent 58%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(170, 200, 214, 0.35), transparent 55%),
    radial-gradient(circle at 50% 110%, rgba(12, 110, 118, 0.05), transparent 40%),
    linear-gradient(180deg, #f5f8fb 0%, var(--bg-deep) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(12, 110, 118, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 110, 118, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("../img/noise.svg");
  background-size: 180px 180px;
}
.hero__inner {
  width: min(calc(100% - 3rem), var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 3rem 4rem;
  align-items: center;
}
.hero__copy .kicker { margin-bottom: 1.15rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span {
  display: block;
}
.hero__copy .lead { max-width: 40rem; }
.hero__biz {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}
.hero__biz li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.7;
}
.hero__biz li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
}
.hero__biz strong {
  color: var(--ink);
  font-weight: 700;
}
.hero__copy .lead--follow {
  margin-top: 1.15rem;
}
.hero .btn-row { margin-top: 1.6rem; }
.hero__crystal {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 28rem;
}
.hero__crystal-glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 140, 255, 0.28), rgba(12, 110, 118, 0.08) 48%, transparent 72%);
  filter: blur(10px);
  animation: pulseGlow 8s ease-in-out infinite;
}
.hero__crystal img,
.hero__crystal svg {
  position: relative;
  width: min(100%, 26rem);
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(20, 40, 90, 0.22));
  animation: floatCrystal 10s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes floatCrystal {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4.5rem) 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(12, 110, 118, 0.08), transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(170, 200, 214, 0.28), transparent 55%),
    linear-gradient(180deg, #f5f8fb 0%, var(--bg-deep) 100%);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(12, 110, 118, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 110, 118, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#000 0%, transparent 100%);
  pointer-events: none;
}
.page-hero .kicker { margin-bottom: 0.85rem; }
.page-hero .lead { margin-top: 1rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 1.6rem;
  color: var(--ink-3);
  font-size: 0.88rem;
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb [aria-current="page"] { color: var(--ink-2); }
.breadcrumb__sep { opacity: 0.5; }

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, #eef3f7 0%, #e8eef3 100%);
  border-block: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}
.section-head--stack {
  grid-template-columns: 1fr;
  max-width: 46rem;
}
.section-head .kicker { margin-bottom: 0.7rem; }
.section-head .lead, .section-head p { color: var(--ink-3); }

/* ---------- Cards / services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12, 110, 118, 0.55), transparent);
  opacity: 0.55;
}
.card:hover {
  border-color: var(--line-strong);
  background: var(--bg-hover);
  transform: translateY(-3px);
}
.card__index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
}
.card h3 { margin-bottom: 0.7rem; font-size: 1.28rem; }
.card p { color: var(--ink-3); flex: 1; }
.card__link {
  margin-top: 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card__link:hover { color: var(--ink); }
.card__link::after { content: "→"; transition: transform 0.25s var(--ease); }
.card:hover .card__link::after { transform: translateX(4px); }

/* ---------- Advantages ---------- */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-raised);
}
.principle {
  padding: 2rem 1.85rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principle:nth-child(2n) { border-right: 0; }
.principle:nth-last-child(-n+2) { border-bottom: 0; }
.principle__index {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.principle h3 { margin-bottom: 0.65rem; }
.principle p { color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 5rem 0;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 80% at 50% 120%, rgba(12, 110, 118, 0.1), transparent 60%),
    linear-gradient(180deg, #eef3f7, var(--bg-deep));
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0.5rem 0 0.8rem; }
.cta-band p { max-width: 36rem; color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer {
  background: #e8eef3;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.75rem;
  color: var(--ink-3);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 1fr 1.1fr;
  gap: 2.5rem 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.site-footer .brand { margin-bottom: 1rem; }
.site-footer .brand__en { color: var(--ink-4); }
.footer-blurb { max-width: 24rem; color: var(--ink-3); }
.site-footer h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.footer-nav { display: grid; gap: 0.45rem; }
.footer-nav a { color: var(--ink-3); }
.footer-nav a:hover { color: var(--gold-2); }
.footer-contact dt {
  color: var(--ink-3);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-top: 0.85rem;
}
.footer-contact dt:first-child { margin-top: 0; }
.footer-contact dd { color: var(--ink-2); margin: 0.15rem 0 0; }
.placeholder-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  border: 1px dashed rgba(12, 110, 118, 0.55);
  color: var(--accent);
  background: rgba(12, 110, 118, 0.06);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  vertical-align: middle;
  border-radius: 2px;
  font-weight: 700;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  color: var(--ink-3);
  font-size: 0.82rem;
}

/* ---------- About ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem 4.5rem;
  align-items: start;
}
.split--about {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem 3.5rem;
}
.split__label .kicker { margin-bottom: 0.8rem; }
.point-stack { display: grid; gap: 0.85rem; }
.point-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
}
.point-card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.point-card p { color: var(--ink-3); font-size: 0.95rem; }
.pillar-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
}
.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__no {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.25rem;
  min-width: 2rem;
}
.note-box {
  margin-top: 2.5rem;
  padding: 1.25rem 1.35rem;
  border-left: 2px solid var(--accent);
  background: rgba(12, 110, 118, 0.05);
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* ---------- Services detail ---------- */
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.jump-nav a {
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
}
.jump-nav a:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem 4rem;
  padding: 4.25rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}
.service-block:last-of-type { padding-bottom: 0; }
.service-meta .kicker { margin-bottom: 0.8rem; }
.service-meta h2 { margin-bottom: 1rem; }
.subservice-list { display: grid; gap: 1rem; }
.subservice {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.35rem;
}
.subservice h3 { margin-bottom: 0.45rem; font-size: 1.08rem; }
.subservice p { color: var(--ink-3); font-size: 0.98rem; }

/* ---------- Advantages / scenarios ---------- */
.scenario-list { display: grid; gap: 0; }
.scenario {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.scenario:last-child { border-bottom: 1px solid var(--line); }
.scenario__no {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1.15;
}
.scenario h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.scenario p { color: var(--ink-3); }
.caption-note {
  margin-bottom: 2rem;
  color: var(--ink-3);
  padding: 1rem 1.15rem;
  border: 1px dashed rgba(12, 110, 118, 0.4);
  border-radius: var(--radius);
  background: rgba(12, 110, 118, 0.04);
}

/* ---------- Contact ---------- */
.contact-lead { padding-top: 1rem; }
.contact-email-block { max-width: 44rem; }
.contact-email-block .kicker { margin-bottom: 0.75rem; }
.contact-email {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.6vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  word-break: break-all;
}
.contact-email:hover { color: var(--accent); }
.contact-lead-copy {
  margin: 1.15rem 0 1.6rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-3);
}
.contact-facts {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem 3.5rem;
  margin-top: 3.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  max-width: 46rem;
}
.contact-fact h3 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.contact-fact p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
}
.contact-fact .legal-en {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.contact-topics {
  margin-top: 3.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  max-width: 46rem;
}
.contact-topics h2 {
  margin: 0 0 0.7rem;
}
.contact-topics p {
  margin: 0 0 1.15rem;
  color: var(--ink-3);
  max-width: 34rem;
}
.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.topic-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--bg-raised);
  font-size: 0.92rem;
}
.topic-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-hover);
}
@media (max-width: 700px) {
  .contact-facts { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---------- Misc ---------- */
.icon-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}
.glyph {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner,
  .split,
  .service-block,
  .section-head {
    grid-template-columns: 1fr;
  }
  .hero__crystal { min-height: 12.5rem; order: -1; }
  .hero__crystal img, .hero__crystal svg { width: min(100%, 12.5rem); }
  .hero { padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 2.5rem; }
  .hero h1 { margin-bottom: 0.9rem; }
  .hero .btn-row { margin-top: 1.25rem; }
  .card-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; }
  .principle:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .split--about { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 4.15rem; }
  .wrap, .wrap--narrow, .site-header__inner, .hero__inner {
    width: min(calc(100% - 2rem), var(--wrap));
  }
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2001;
    background: #f7f9fb;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.75rem 1.25rem 2rem;
    gap: 0.15rem;
    transform: translateY(-0.35rem);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    overflow: auto;
  }
  .site-header.is-open .site-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }
  .site-nav a {
    padding: 0.95rem 0.75rem;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--gold-2); }
  .site-nav .nav-cta,
  .site-nav a.nav-cta {
    margin: 1.1rem 0 0;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-bottom: 0;
    border-radius: var(--radius);
    color: var(--gold-ink);
    justify-content: center;
  }
  .site-nav .nav-cta:hover,
  .site-nav a.nav-cta:hover { color: var(--gold-ink); }
  .section { padding: 3.75rem 0; }
  .page-hero { padding: calc(var(--header-h) + 3.25rem) 0 2.75rem; }
  .scenario { grid-template-columns: 3rem 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .brand__en { font-size: 0.6rem; letter-spacing: 0.08em; }
  h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.is-open,
  .site-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #f7f9fb; }
}

strong { font-weight: 700; color: var(--ink); }

body.is-menu-open { overflow: hidden; }

.aside-lead { margin: 0.4rem 0 1.15rem; }


/* ---------- Product catalog (home) ---------- */
.catalog-group + .catalog-group { margin-top: 2.75rem; }
.catalog-group__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.catalog-group__head h3 { font-size: 1.25rem; }
.catalog-group__head a { font-size: 0.9rem; font-weight: 700; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}
.catalog-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  text-decoration: none;
  color: inherit;
}
.catalog-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  color: inherit;
}
.catalog-card h4 {
  color: var(--ink);
  font-size: 1.02rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
}
.catalog-card p { color: var(--ink-3); font-size: 0.92rem; line-height: 1.7; flex: 1; margin: 0; }
.catalog-note {
  margin-top: 1.1rem;
  color: var(--ink-3);
  font-size: 0.92rem;
}

/* ---------- In-page directory ---------- */
.page-toc {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: #f7f9fb;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}
.page-toc__inner {
  width: min(calc(100% - 3rem), var(--wrap));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
  align-items: center;
}
.page-toc a {
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  background: #fff;
}
.page-toc a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.page-toc__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 700;
  margin-right: 0.35rem;
}

/* ---------- Service chapters ---------- */
.chapter {
  padding: 4rem 0 1rem;
  scroll-margin-top: calc(var(--header-h) + 3.25rem);
}
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__intro { max-width: 44rem; margin-bottom: 2rem; }
.chapter__intro h2 { margin: 0.55rem 0 0.85rem; }
.offer {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.4rem 1.35rem;
  margin-bottom: 1rem;
  scroll-margin-top: calc(var(--header-h) + 3.4rem);
  box-shadow: var(--shadow-card);
}
.offer h3 { margin-bottom: 0.5rem; font-size: 1.12rem; }
.offer > p { color: var(--ink-3); font-size: 0.98rem; }
.offer p + p { margin-top: 0.7em; }
.offer-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.offer-list li {
  color: var(--ink-2);
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.65;
}
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.offer-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.subtype-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.subtype {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
}
.subtype h4 { font-size: 0.95rem; margin: 0 0 0.3rem; color: var(--ink); }
.subtype p { color: var(--ink-3); font-size: 0.88rem; margin: 0; }

@media (max-width: 960px) {
  .catalog-grid, .subtype-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .catalog-grid, .subtype-grid { grid-template-columns: 1fr; }
  .page-toc__inner { width: min(calc(100% - 2rem), var(--wrap)); }
}

#cloud, #hardware, #security {
  scroll-margin-top: calc(var(--header-h) + 3.25rem);
}
.catalog-card:focus-visible,
.page-toc a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Item / group / directory visuals ---------- */
.item-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem 3.25rem;
  align-items: center;
}
.page-hero--item { padding-bottom: 3.25rem; }
.item-hero__visual,
.group-hero__visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: #fff;
  aspect-ratio: 1200 / 750;
}
.item-hero__visual img,
.group-hero__visual img,
.catalog-card__media img,
.sibling-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-card--media {
  padding: 0 0 1.15rem;
  overflow: hidden;
}
.catalog-card__media {
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.catalog-card--media h4,
.catalog-card--media p {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}
.catalog-card--media h4 { margin-top: 1rem; }

.item-body { max-width: 46rem; }
.item-body h2 {
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
}
.item-block + .item-block { margin-top: 2.4rem; }
.item-block > p,
.item-block li { color: var(--ink-2); }
.item-block > p + p { margin-top: 0.85em; }
.dir-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
  align-items: center;
  margin: 0 0 2.5rem;
}
.dir-jump a {
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  background: #fff;
}
.dir-jump a:hover { border-color: var(--accent); color: var(--accent); }
.dir-jump__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 700;
  margin-right: 0.35rem;
}

.item-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.85rem;
  align-items: stretch;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.item-pager a {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.1rem;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-height: 4.5rem;
}
.item-pager a:hover { border-color: var(--line-strong); color: inherit; }
.item-pager__prev { justify-self: start; }
.item-pager__next { justify-self: end; text-align: right; }
.item-pager__home {
  justify-self: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  color: var(--accent);
  min-width: 9rem;
}
.item-pager__dir {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  font-weight: 700;
}
.item-pager__title { font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.item-pager__placeholder { visibility: hidden; pointer-events: none; }

.sibling-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 2.75rem 0 1rem;
}
.sibling-head h2 { margin: 0; font-size: 1.2rem; }
.sibling-head a { font-size: 0.9rem; font-weight: 700; }
.sibling-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}
.sibling-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.sibling-card:hover { border-color: var(--line-strong); color: inherit; }
.sibling-card img { aspect-ratio: 8 / 5; object-fit: cover; background: var(--bg-deep); }
.sibling-card p {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.group-visual-bar {
  margin: 0 0 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1200 / 420;
  background: #fff;
}
.group-visual-bar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 960px) {
  .sibling-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .item-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .item-hero__visual { max-width: 100%; }
}
@media (max-width: 640px) {
  .item-pager { grid-template-columns: 1fr; }
  .item-pager__prev, .item-pager__next, .item-pager__home { justify-self: stretch; text-align: left; }
  .sibling-grid { grid-template-columns: 1fr; }
}
.catalog-card:focus-visible,
.sibling-card:focus-visible,
.item-pager a:focus-visible,
.dir-jump a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Industries (遍布各行) ---------- */
.industry-canvas {
  position: relative;
  padding: 2.75rem 0.75rem 3rem;
  margin-top: 0.5rem;
}
.industry-canvas::before {
  content: "";
  position: absolute;
  inset: 4% 1% 6%;
  border: 2px dotted rgba(12, 110, 118, 0.28);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.industry-tiles {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  max-width: 54rem;
}
.industry-tiles button {
  appearance: none;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  min-width: 9.6rem;
  flex: 0 1 9.6rem;
  min-height: 4.15rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.industry-tiles button:hover,
.industry-tiles button:focus-visible {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 110, 118, 0.18);
}
.industry-tiles button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.industry-note {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 1.35rem 0 0;
  color: var(--ink-3);
  font-size: 0.92rem;
}
@media (max-width: 640px) {
  .industry-canvas { padding: 1.5rem 0 1.75rem; }
  .industry-canvas::before { inset: 2% 0 4%; }
  .industry-tiles button {
    flex: 1 1 calc(50% - 0.85rem);
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .industry-tiles button { transition: none; transform: none; }
}

/* ========================================================================
   Layout restyle — structure and typographic scale adapted from
   contemporary product-marketing layout patterns (wide canvas, large
   display type, generous section rhythm, soft product cards, pill CTAs,
   multi-column footer). Colour, logo and wording remain 曜石智能;
   no third-party branding, product names or marketing phrases.
   Header: no transform, filter, or backdrop-filter (sticky stacking).
   ======================================================================== */

:root {
  --bg-deep: #f6f9fc;
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --bg-panel: #ffffff;
  --bg-hover: #f3f7fa;
  --bg-input: #ffffff;
  --ink: #0f1c2c;
  --ink-2: #3a4a5c;
  --ink-3: #5b6b7c;
  --ink-4: #7b8b99;
  --accent: #0c6e76;
  --accent-2: #0b6570;
  --accent-3: #094e54;
  --accent-ink: #ffffff;
  --gold: var(--accent);
  --gold-2: var(--accent-2);
  --gold-3: var(--accent-3);
  --gold-ink: var(--accent-ink);
  --line: rgba(15, 28, 44, 0.08);
  --line-strong: rgba(12, 110, 118, 0.35);
  --glass: #ffffff;
  --focus: #0c6e76;
  --header-h: 4.25rem;
  --wrap: 73.75rem;
  --wrap-narrow: 42rem;
  --radius: 0.85rem;
  --radius-lg: 1.35rem;
  --radius-pill: 999px;
  --font-display: var(--font-sans);
  --shadow-glow: 0 1px 1px rgba(15, 28, 44, 0.03), 0 18px 40px rgba(15, 28, 44, 0.08);
  --shadow-card: 0 1px 1px rgba(15, 28, 44, 0.03), 0 10px 28px rgba(15, 28, 44, 0.05);
  --shadow-hover: 0 2px 6px rgba(15, 28, 44, 0.05), 0 18px 40px rgba(15, 28, 44, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: #ffffff;
}

.wrap,
.site-header__inner,
.hero__inner,
.page-toc__inner {
  width: min(calc(100% - 4rem), var(--wrap));
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); letter-spacing: -0.04em; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.035em; line-height: 1.15; }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.3; }

.kicker {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}

.lead {
  font-size: clamp(1.08rem, 1.55vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 40rem;
}

.btn {
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  box-shadow: none;
}
.btn--accent,
.btn--gold {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.btn--accent:hover,
.btn--gold:hover {
  background: var(--accent-2);
  color: var(--accent-ink);
}
.btn--ghost {
  background: #f3f6f9;
  color: var(--ink);
  border-color: transparent;
}
.btn--ghost:hover {
  background: #e8eef3;
  color: var(--ink);
  border-color: transparent;
}
.btn-row { gap: 0.75rem; margin-top: 2rem; }

/* Header: slim, solid, hairline — no backdrop-filter or transform */
.site-header {
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: #ffffff;
  border-bottom-color: var(--line);
  box-shadow: none;
}
.brand__mark { filter: none; width: 2.15rem; height: 2.15rem; }
.brand__zh {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.brand__en {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 0.1rem;
}
.site-nav { gap: 0.15rem; }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  color: var(--ink-2);
}
.site-nav a:hover { color: var(--ink); background: transparent; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.site-nav a[aria-current="page"]::after { display: none; }
.site-nav .nav-cta {
  margin-left: 0.7rem;
  min-height: 2.35rem;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  color: var(--accent-ink);
  background: var(--accent);
}
.site-nav .nav-cta:hover {
  color: var(--accent-ink);
  background: var(--accent-2);
}
.nav-toggle { border-radius: var(--radius-pill); }

/* Home hero: generous type and air, soft wash, no heavy grid */
.hero {
  min-height: 0;
  padding: calc(var(--header-h) + 4.25rem) 0 4.5rem;
}
.hero__bg {
  background:
    radial-gradient(ellipse 55% 50% at 85% 10%, rgba(12, 110, 118, 0.08), transparent 62%),
    radial-gradient(ellipse 40% 35% at 5% 90%, rgba(186, 210, 222, 0.28), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.hero__grid,
.hero__noise { opacity: 0.28; }
.hero__grid {
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 10%, transparent 70%);
}
.hero__inner { gap: 3.5rem 5rem; }
.hero__copy .kicker { margin-bottom: 1.35rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero__copy .lead { max-width: 38rem; }
.hero__biz { margin-top: 1.4rem; gap: 0.85rem; }
.hero .btn-row { margin-top: 2.1rem; }
.hero__crystal { min-height: 24rem; }
.hero__crystal-glow {
  background: radial-gradient(circle, rgba(12, 110, 118, 0.16), rgba(12, 110, 118, 0.05) 50%, transparent 72%);
  filter: blur(16px);
}

/* Inner page heroes */
.page-hero {
  padding: calc(var(--header-h) + 5rem) 0 4.25rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.page-hero__bg {
  background:
    radial-gradient(ellipse 50% 70% at 92% 0%, rgba(12, 110, 118, 0.07), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.page-hero__grid { opacity: 0.22; background-size: 88px 88px; }
.page-hero .lead { margin-top: 1.15rem; max-width: 38rem; }
.breadcrumb { margin-top: 1.85rem; font-size: 0.86rem; }
.item-hero { gap: 3.5rem 4.5rem; }
.item-hero__visual,
.group-hero__visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

/* Section rhythm: large vertical padding, two-column heads */
.section { padding: 6.75rem 0; }
.section--alt {
  background: var(--bg-deep);
  border-block: 1px solid transparent;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem 3.5rem;
  align-items: end;
  margin-bottom: 3.25rem;
}
.section-head p { margin: 0; color: var(--ink-3); font-size: 1.05rem; line-height: 1.65; max-width: none; }
.section-head--stack { grid-template-columns: 1fr; }

/* Business / advantage cards */
.card-grid,
.point-grid {
  gap: 1.35rem;
}
.card,
.point-card,
.subservice,
.scenario,
.offer,
.subtype {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: none;
  background: #fff;
}
.card {
  padding: 2rem 1.75rem 1.75rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover {
  border-color: rgba(12, 110, 118, 0.28);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.card__index {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.card__link { font-weight: 700; }

/* Product grids */
.catalog-group + .catalog-group { margin-top: 3.5rem; }
.catalog-group__head { margin-bottom: 1.25rem; }
.catalog-group__head h3 { font-size: 1.35rem; letter-spacing: -0.025em; }
.catalog-grid { gap: 1.35rem; }
.catalog-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.catalog-card:hover {
  border-color: rgba(12, 110, 118, 0.28);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  color: inherit;
}
.catalog-card--media { padding: 0 0 1.25rem; }
.catalog-card--media h4 { margin-top: 1.1rem; font-size: 1.05rem; }
.catalog-card__media { border-bottom: 0; background: var(--bg-deep); }
.sibling-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: none;
  overflow: hidden;
}
.sibling-card:hover {
  border-color: rgba(12, 110, 118, 0.28);
  box-shadow: var(--shadow-card);
}
.dir-jump { margin-bottom: 3rem; }
.dir-jump a,
.page-toc a {
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
}

/* CTA band: quiet canvas, not a dark slab */
.cta-band {
  padding: 5.5rem 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  position: relative;
}
.cta-band__bg { opacity: 0.4; }
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.cta-band h2 { margin: 0.45rem 0 0.7rem; }
.cta-band p { max-width: 34rem; }

/* Footer: compact labels, airy columns */
.site-footer {
  background: #ffffff;
  color: var(--ink-3);
  padding: 4.5rem 0 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.footer-grid {
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-nav { gap: 0.55rem; }
.footer-nav a { color: var(--ink-3); }
.footer-nav a:hover { color: var(--accent); }
.footer-blurb { max-width: 22rem; color: var(--ink-3); line-height: 1.65; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
  color: var(--ink-4);
  font-size: 0.8rem;
}

/* Industries */
.industry-canvas {
  padding: 1.5rem 0 0.5rem;
}
.industry-tiles {
  gap: 0.85rem;
}
.industry-tiles button {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  min-height: 3.6rem;
  padding: 0.9rem 1.15rem;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.industry-tiles button:hover,
.industry-tiles button:focus-visible {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Item typography slightly tighter, still readable */
.item-body { max-width: 42rem; }
.item-body h2 { font-size: 1.15rem; letter-spacing: -0.02em; }
.item-pager a,
.item-pager__home {
  border-radius: var(--radius-lg);
}

#cloud, #hardware, #security, #forensics {
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

@media (max-width: 960px) {
  .wrap,
  .site-header__inner,
  .hero__inner,
  .page-toc__inner {
    width: min(calc(100% - 2.5rem), var(--wrap));
  }
  .section-head,
  .item-hero,
  .hero__inner,
  .cta-band .wrap {
    grid-template-columns: 1fr;
  }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .hero { padding: calc(var(--header-h) + 3.5rem) 0 3.75rem; }
  .section { padding: 4.75rem 0; }
  h1 { font-size: clamp(2.1rem, 9vw, 3.25rem); }
}
@media (max-width: 640px) {
  .wrap,
  .site-header__inner,
  .hero__inner {
    width: min(calc(100% - 2rem), var(--wrap));
  }
  .section { padding: 3.75rem 0; }
  .catalog-grid { gap: 1rem; }
}

@media (max-width: 900px) {
  .site-nav { background: #ffffff; }
  .site-nav .nav-cta,
  .site-nav a.nav-cta { border-radius: var(--radius-pill); }
}

/* ========================================================================
   Stripe HDS tokens + architecture, sourced from live
   https://stripe.com/zh-us on 2026-11-24
   (CSS chunks 60659a0c8c9a22ea.css, 27238d8b7fd015ee.css,
   c09b4c285c7da436.css, c1fced95b36a1d26.css on b.stripecdn.com).
   Colours and layout only. No Stripe wordmark, product names,
   marketing sentences, or copyrighted illustrations.
   ======================================================================== */

:root {
  --hds-color-core-neutral-0: #fff;
  --hds-color-core-neutral-25: #f8fafd;
  --hds-color-core-neutral-50: #e5edf5;
  --hds-color-core-neutral-100: #d4dee9;
  --hds-color-core-neutral-300: #95a4ba;
  --hds-color-core-neutral-400: #7d8ba4;
  --hds-color-core-neutral-500: #64748d;
  --hds-color-core-neutral-600: #50617a;
  --hds-color-core-neutral-700: #3c4f69;
  --hds-color-core-neutral-800: #273951;
  --hds-color-core-neutral-900: #1a2c44;
  --hds-color-core-neutral-990: #061b31;
  --hds-color-core-brand-25: #f5f5ff;
  --hds-color-core-brand-50: #e8e9ff;
  --hds-color-core-brand-75: #e2e4ff;
  --hds-color-core-brand-100: #d6d9fc;
  --hds-color-core-brand-200: #b9b9f9;
  --hds-color-core-brand-400: #7f7dfc;
  --hds-color-core-brand-400A: #5452fbbf;
  --hds-color-core-brand-500: #665efd;
  --hds-color-core-brand-600: #533afd;
  --hds-color-core-brand-700: #4032c8;
  --hds-color-core-brand-800: #2e2b8c;
  --hds-color-core-error-500: #d8351e;
  --hds-color-core-error-600: #a01400;
  --hds-color-text-solid: #061b31;
  --hds-color-text-soft: #50617a;
  --hds-color-text-subdued: #64748d;
  --hds-color-text-quiet: #7d8ba4;
  --hds-color-surface-bg-quiet: #fff;
  --hds-color-surface-bg-subdued: #f8fafd;
  --hds-color-surface-border-quiet: #e5edf5;
  --hds-color-action-bg-solid: #533afd;
  --hds-color-action-bg-solidHover: #4032c8;
  --hds-color-action-text-onSolid: #fff;
  --hds-color-action-text-solid: #533afd;
  --hds-color-action-text-solidHover: #2e2b8c;
  --hds-color-action-focus-outer: #533afd;
  --hds-space-layout-content-maxWidth: 1264px;
  --hds-space-core-radius-sm: 4px;
  --hds-space-core-radius-lg: 16px;
  --hds-space-core-radius-xl: 32px;
  --hds-canary-ui-shadow: 0 16px 32px rgba(50, 50, 93, 0.12);

  --bg-deep: #f8fafd;
  --bg: #fff;
  --bg-raised: #fff;
  --bg-panel: #fff;
  --bg-hover: #f5f5ff;
  --bg-input: #fff;
  --ink: #061b31;
  --ink-2: #50617a;
  --ink-3: #64748d;
  --ink-4: #7d8ba4;
  --accent: #533afd;
  --accent-2: #4032c8;
  --accent-3: #2e2b8c;
  --accent-ink: #fff;
  --gold: #533afd;
  --gold-2: #4032c8;
  --gold-3: #2e2b8c;
  --gold-ink: #fff;
  --line: #e5edf5;
  --line-strong: #d6d9fc;
  --glass: #fff;
  --danger: #d8351e;
  --ok: #1b6b45;
  --focus: #533afd;
  --header-h: 5rem;
  --wrap: 1264px;
  --wrap-narrow: 42rem;
  --radius: 4px;
  --radius-lg: 16px;
  --radius-pill: 4px;
  --font-display: var(--font-sans);
  --shadow-glow: 0 16px 32px rgba(50, 50, 93, 0.12);
  --shadow-card: 0 1px 1px rgba(50, 50, 93, 0.04), 0 16px 32px rgba(50, 50, 93, 0.08);
  --shadow-hover: 0 16px 32px rgba(50, 50, 93, 0.12);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

html { scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--hds-color-text-soft);
  background: #fff;
}

.wrap,
.site-header__inner,
.hero__inner,
.page-toc__inner {
  width: min(calc(100% - 2rem), var(--wrap));
}

/* Canary-style vertical hairlines at the content column (Stripe layout, not branding) */
@media (min-width: 1300px) {
  main {
    position: relative;
  }
  main::before,
  main::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--hds-color-surface-border-quiet);
    pointer-events: none;
    z-index: 3;
  }
  main::before { left: calc(50% - (1264px / 2)); }
  main::after { right: calc(50% - (1264px / 2)); }
}

h1, h2, h3, h4 {
  color: var(--hds-color-text-solid);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.125rem, 6lvh, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  letter-spacing: -0.02em;
  line-height: 1.07;
}
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }

.kicker {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hds-color-text-solid);
  line-height: 1.45;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--hds-color-text-soft);
  max-width: 40rem;
}

a { color: var(--hds-color-action-text-solid); }
a:hover { color: var(--hds-color-action-text-solidHover); }

:focus-visible {
  outline: 3px solid var(--hds-color-core-brand-400A);
  outline-offset: 3px;
}

/* Buttons — HDS: 4px radius, 24px inline, ~16px block, 1rem, brand-600 */
.btn {
  min-height: 0;
  height: auto;
  padding: 15.5px 24px 16.5px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: none;
  gap: 8px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--accent,
.btn--gold {
  background: #533afd;
  color: #fff;
  box-shadow: none;
  border-color: transparent;
}
.btn--accent:hover,
.btn--gold:hover {
  background: #4032c8;
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: #533afd;
  border: 1px solid #d6d9fc;
  padding: 14.5px 23px 15.5px;
}
.btn--ghost:hover {
  background: transparent;
  color: #2e2b8c;
  border-color: #4032c8;
}
.btn--accent:focus-visible,
.btn--gold:focus-visible,
.btn--ghost:focus-visible {
  outline: 3px solid #5452fbbf;
  outline-offset: 1px;
}
.btn-row { gap: 12px; margin-top: 24px; }

/* Header: slim, solid white, no backdrop-filter / transform / filter */
.site-header {
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: #fff;
  border-bottom-color: var(--hds-color-surface-border-quiet);
  box-shadow: none;
}
.brand__mark { filter: none; width: 2rem; height: 2rem; }
.brand__zh { font-size: 0.95rem; letter-spacing: 0.02em; color: #061b31; }
.brand__en {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hds-color-text-quiet);
}
.site-nav { gap: 0.35rem; }
.site-nav a {
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.45rem 0.55rem;
  border-radius: 4px;
  color: var(--hds-color-text-solid);
  background: transparent;
}
.site-nav a:hover { color: var(--hds-color-text-solid); background: transparent; }
.site-nav a[aria-current="page"] { color: var(--hds-color-text-solid); font-weight: 700; }
.site-nav a[aria-current="page"]::after { display: none; }
.site-nav .nav-cta {
  margin-left: 0.75rem;
  min-height: 0;
  padding: 10px 16px 11px;
  font-size: 0.875rem;
  border-radius: 4px;
  color: #fff;
  background: #533afd;
}
.site-nav .nav-cta:hover {
  color: #fff;
  background: #4032c8;
}
.site-nav .nav-cta[aria-current="page"] {
  color: #fff;
  background: #4032c8;
  box-shadow: none;
}
.nav-toggle { border-radius: 4px; border-color: var(--hds-color-surface-border-quiet); }

/* Home hero — typography-led, no side logo (Stripe zh-us architecture) */
.hero {
  min-height: 0;
  padding: calc(var(--header-h) + 4.5rem) 0 5.5rem;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--hds-color-surface-border-quiet);
}
.hero__bg {
  background:
    radial-gradient(ellipse 50% 80% at 92% 20%, rgba(83, 58, 253, 0.10), transparent 62%),
    radial-gradient(ellipse 35% 50% at 100% 80%, rgba(102, 94, 253, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
}
.hero__grid,
.hero__noise,
.hero__crystal { display: none !important; }
.hero__inner {
  display: block;
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}
.hero__copy { max-width: 44rem; }
.hero__copy .kicker { margin-bottom: 1.5rem; color: var(--hds-color-text-subdued); }
.hero h1 {
  margin-bottom: 1.25rem;
  max-width: 18em;
}
.hero__copy .lead { max-width: 40rem; }
.hero__biz { margin-top: 1.25rem; gap: 0.75rem; max-width: 40rem; }
.hero__biz li {
  color: var(--hds-color-text-soft);
  font-size: 1.0625rem;
  line-height: 1.4;
  padding-left: 1.05rem;
}
.hero__biz li::before { background: #533afd; }
.hero__biz strong { color: var(--hds-color-text-solid); }
.hero__copy .lead--follow { margin-top: 1.15rem; }
.hero .btn-row { margin-top: 2rem; }

/* Inner page heroes */
.page-hero {
  padding: calc(var(--header-h) + 4.5rem) 0 4rem;
  border-bottom: 1px solid var(--hds-color-surface-border-quiet);
  background: #fff;
}
.page-hero__bg {
  background:
    radial-gradient(ellipse 45% 70% at 95% 0%, rgba(83, 58, 253, 0.07), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
}
.page-hero__grid { opacity: 0.18; }
.page-hero .lead { margin-top: 1rem; max-width: 38rem; color: var(--hds-color-text-soft); }
.breadcrumb { margin-top: 1.75rem; font-size: 0.875rem; color: var(--hds-color-text-subdued); }
.breadcrumb a { color: var(--hds-color-text-subdued); }
.breadcrumb a:hover { color: #533afd; }
.item-hero { gap: 3rem 4rem; }
.item-hero__visual,
.group-hero__visual {
  border-radius: 16px;
  border: 1px solid var(--hds-color-surface-border-quiet);
  box-shadow: none;
}

/* Sections: 96px desktop, two-column heads */
.section { padding: 6rem 0; }
.section--alt {
  background: var(--hds-color-surface-bg-subdued);
  border-block: 1px solid transparent;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}
.section-head p {
  margin: 0;
  color: var(--hds-color-text-soft);
  font-size: 1.125rem;
  line-height: 1.4;
  max-width: none;
}
.section-head--stack { grid-template-columns: 1fr; }

.card-grid,
.point-grid { gap: 1.25rem; }
.card,
.point-card,
.subservice,
.scenario,
.offer,
.subtype {
  border-radius: 16px;
  border: 1px solid var(--hds-color-surface-border-quiet);
  box-shadow: none;
  background: #fff;
}
.card {
  padding: 2rem 1.75rem 1.75rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  border-color: #d6d9fc;
  box-shadow: var(--hds-canary-ui-shadow);
  transform: none;
}
.card__index {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #533afd;
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.card__link { font-weight: 700; color: #533afd; }
.card__link:hover { color: #2e2b8c; }

.catalog-group + .catalog-group { margin-top: 3.5rem; }
.catalog-group__head { margin-bottom: 1.25rem; }
.catalog-group__head h3 { font-size: 1.25rem; }
.catalog-group__head a { font-size: 0.875rem; font-weight: 700; color: #533afd; }
.catalog-grid { gap: 20px; }
.catalog-card {
  border-radius: 16px;
  border: 1px solid var(--hds-color-surface-border-quiet);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.catalog-card:hover {
  border-color: #d6d9fc;
  box-shadow: var(--hds-canary-ui-shadow);
  transform: none;
  color: inherit;
}
.catalog-card h4 { color: var(--hds-color-text-solid); }
.catalog-card p { color: var(--hds-color-text-soft); }
.sibling-card {
  border-radius: 16px;
  border: 1px solid var(--hds-color-surface-border-quiet);
  box-shadow: none;
}
.sibling-card:hover { border-color: #d6d9fc; box-shadow: var(--hds-canary-ui-shadow); }
.dir-jump a,
.page-toc a {
  border-radius: 4px;
  padding: 0.35rem 0.85rem;
  background: #fff;
  border: 1px solid var(--hds-color-surface-border-quiet);
  color: var(--hds-color-text-soft);
}
.dir-jump a:hover,
.page-toc a:hover { border-color: #533afd; color: #533afd; }

.cta-band {
  padding: 6rem 0;
  background: var(--hds-color-surface-bg-subdued);
  border-top: 1px solid var(--hds-color-surface-border-quiet);
}
.cta-band__bg { opacity: 0.25; }
.cta-band h2 { margin: 0.4rem 0 0.7rem; }
.cta-band p { max-width: 34rem; color: var(--hds-color-text-soft); }

/* Footer — multi-column, quiet labels, soft links */
.site-footer {
  background: #fff;
  color: var(--hds-color-text-soft);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--hds-color-surface-border-quiet);
  font-size: 1rem;
}
.footer-grid { gap: 2.5rem 1.5rem; padding-bottom: 3rem; }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  color: var(--hds-color-text-solid);
  margin-bottom: 0.75rem;
}
.footer-nav { gap: 0.35rem; }
.footer-nav a { color: var(--hds-color-text-soft); font-size: 1rem; line-height: 1.25; }
.footer-nav a:hover { color: #533afd; }
.footer-blurb { max-width: 22rem; color: var(--hds-color-text-soft); line-height: 1.4; }
.footer-bottom {
  border-top: 1px solid var(--hds-color-surface-border-quiet);
  padding-top: 1.25rem;
  color: var(--hds-color-text-quiet);
  font-size: 0.875rem;
}

/* Industries: Stripe brand hover (no client names) */
.industry-tiles button {
  border-radius: 16px;
  border: 1px solid var(--hds-color-surface-border-quiet);
  background: #fff;
  color: var(--hds-color-text-solid);
}
.industry-tiles button:hover,
.industry-tiles button:focus-visible {
  background: #533afd;
  color: #fff;
  border-color: #533afd;
}

.offer-list li::before { background: #533afd; }
.page-toc { background: #fff; border-bottom-color: var(--hds-color-surface-border-quiet); }

.item-pager a,
.item-pager__home { border-radius: 16px; border-color: var(--hds-color-surface-border-quiet); }

.placeholder-tag {
  background: var(--hds-color-core-brand-50);
  color: #533afd;
  border-radius: 4px;
}

::selection {
  background: #533afd;
  color: #fff;
}

@media (max-width: 960px) {
  .section-head,
  .item-hero,
  .hero__inner { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--header-h) + 3rem) 0 3.5rem; }
  .section { padding: 4rem 0; }
  .hero__copy { max-width: none; }
}
@media (max-width: 900px) {
  .site-nav { background: #fff; }
  .site-nav .nav-cta,
  .site-nav a.nav-cta { border-radius: 4px; }
}
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .btn { width: auto; }
  .btn-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
}

/* Inset content 24px from canary hairlines (Stripe section-container padding-inline) */
.wrap,
.wrap--narrow,
.site-header__inner,
.hero__inner,
.page-toc__inner {
  padding-inline: 24px;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .wrap,
  .site-header__inner,
  .hero__inner {
    padding-inline: 16px;
  }
}

/* ---------- Homepage tune: balanced typographic hero, orbiting stars, solo heads ---------- */

.hero__inner {
  display: grid;
  grid-template-columns: minmax(22rem, 1fr) minmax(0, 1.2fr);
  gap: 3rem 4rem;
  align-items: center;
}
.hero__title-block {
  max-width: none;
  min-width: min(100%, 22rem);
}
.hero__title-block .kicker { margin-bottom: 1.35rem; }
.hero__title-block h1,
.hero__title-block #hero-title {
  margin: 0;
  max-width: none;
}
.hero h1 span,
.hero__title-block h1 span {
  display: inline;
  white-space: nowrap;
}
.hero__copy {
  max-width: 38rem;
  justify-self: stretch;
}
.hero__copy .lead { max-width: none; }
.hero__biz { margin-top: 1.15rem; }
.hero .btn-row { margin-top: 1.75rem; }

.section-head--solo {
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}

/* Industry: one wireframe globe + one star on the large ellipse (not per-tile) */
.industry-canvas {
  position: relative;
  padding: 2.75rem 0.75rem 3.25rem;
  overflow: visible;
}
.industry-canvas::before {
  content: none;
}
.industry-tiles {
  position: relative;
  z-index: 1;
  gap: 0.85rem;
}
.industry-tiles li {
  position: static;
  display: block;
  overflow: visible;
}
.industry-tiles button {
  position: relative;
  isolation: auto;
  overflow: visible;
  z-index: auto;
}

.industry-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

/* Wireframe globe — circular, centred inside the large ellipse */
.industry-globe {
  --globe-d: min(16.5rem, 86cqh);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--globe-d);
  height: var(--globe-d);
  translate: -50% -50%;
  perspective: 920px;
  transform-style: preserve-3d;
  z-index: 0;
}
.industry-globe__spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: industry-globe-rot 32s linear infinite;
}
.industry-globe__m,
.industry-globe__lat {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid rgba(83, 58, 253, 0.28);
  border-radius: 50%;
  pointer-events: none;
}
.industry-globe__m {
  inset: 0;
  transform: rotateY(var(--a, 0deg));
}
.industry-globe__lat {
  left: 50%;
  top: 50%;
  width: calc(var(--globe-d) * var(--c, 1));
  height: calc(var(--globe-d) * var(--c, 1));
  border-color: rgba(83, 58, 253, 0.22);
  transform: translate(-50%, -50%) rotateX(90deg) translateZ(calc(var(--globe-d) * var(--s, 0) / 2));
}
.industry-globe__limb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(83, 58, 253, 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(214, 217, 252, 0.35),
    0 0 24px rgba(83, 58, 253, 0.06);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), transparent 42%),
    radial-gradient(circle at 50% 54%, rgba(83, 58, 253, 0.06), transparent 68%);
  pointer-events: none;
}

/* The large ellipse around all ten tiles — one star rides this rim */
.industry-halo {
  position: absolute;
  inset: 6% 1.5% 8%;
  container-type: size;
  container-name: industry-halo;
  overflow: visible;
}
.industry-halo__rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dotted rgba(83, 58, 253, 0.32);
}
.industry-halo__squash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100cqw;
  height: 100cqw;
  translate: -50% -50%;
  transform: scaleY(calc(100cqh / 100cqw));
  transform-origin: center center;
}
.industry-halo__spin {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  animation: industry-halo-spin 22s linear infinite;
}
.industry-halo__star {
  position: absolute;
  top: 0;
  left: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  background: #533afd;
  clip-path: polygon(50% 0%, 61.8% 35.4%, 98.2% 35.4%, 68.2% 57.6%, 79.4% 91.2%, 50% 70.2%, 20.6% 91.2%, 31.8% 57.6%, 1.8% 35.4%, 38.2% 35.4%);
  filter: drop-shadow(0 0 3px rgba(83, 58, 253, 0.55));
  transform-origin: center center;
  animation: industry-halo-star 22s linear infinite;
}

@keyframes industry-globe-rot {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@keyframes industry-halo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes industry-halo-star {
  from { transform: rotate(0deg) scaleY(calc(100cqw / 100cqh)); }
  to { transform: rotate(-360deg) scaleY(calc(100cqw / 100cqh)); }
}

.hero__title-block .kicker { color: var(--hds-color-text-subdued); }

@media (max-width: 960px) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
  }
  .hero__title-block,
  .hero__copy { max-width: none; }
  .hero { padding: calc(var(--header-h) + 3rem) 0 3.25rem; }
}
@media (max-width: 640px) {
  .industry-canvas { padding: 2.1rem 0.15rem 2.4rem; }
  .industry-tiles { gap: 0.85rem; }
  .industry-halo { inset: 3% 0 5%; }
  .industry-globe { --globe-d: min(13.5rem, 80cqh); }
  .industry-halo__star { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .industry-globe__spin,
  .industry-halo__spin,
  .industry-halo__star {
    animation: none !important;
  }
  .industry-globe__spin { transform: rotateY(-28deg); }
  .industry-halo__spin { transform: none; }
  .industry-halo__star { transform: scaleY(calc(100cqw / 100cqh)); }
}
