:root {
  --bg: #090a0c;
  --bg-elevated: #101216;
  --bg-soft: #15181d;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #8f9bac;
  --silver: #e8edf3;
  --dark: #090a0c;
  --max: 1180px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.05), transparent 28rem),
    radial-gradient(circle at 100% 32%, rgba(164, 174, 190, 0.04), transparent 32rem),
    var(--bg);
  color: var(--text-soft);
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--silver);
  color: var(--dark);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: var(--dark);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section {
  position: relative;
  padding: 124px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.section--compact {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
  margin-bottom: 64px;
}

.section-heading--solo {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-bottom: 58px;
}

.section-heading--solo > div {
  max-width: 780px;
}

.section-heading--solo h2 {
  max-width: 780px;
}

.section-heading h2,
.legal-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 3.85vw, 3.65rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
  word-break: keep-all;
}

.section-heading > div {
  max-width: 610px;
}

.title-line {
  display: block;
}

.section-heading p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 1.14rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(9, 10, 12, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.brand-name span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--text);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.menu-toggle,
.copy-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lang-toggle {
  min-width: 54px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lang-toggle:hover,
.menu-toggle:hover,
.copy-button:hover {
  border-color: var(--line-strong);
  background: var(--panel);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 145px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 78px;
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 5.05vw, 4.85rem);
  font-weight: 680;
  line-height: 1.1;
  letter-spacing: -0.052em;
  text-wrap: balance;
  word-break: keep-all;
}

.hero-lead {
  max-width: 700px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.65vw, 1.23rem);
  line-height: 1.9;
}

.hero-lead p {
  margin: 0;
}

.hero-lead p + p {
  margin-top: 14px;
}


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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--silver);
  border-radius: 999px;
  background: var(--silver);
  color: var(--dark);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.2s ease, color 0.2s ease;
}

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

.button--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button--ghost:hover {
  border-color: var(--line-strong);
  background: var(--panel);
}

.button-arrow {
  font-size: 1.1rem;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 46px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-note span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-soft);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), transparent 30%),
    linear-gradient(180deg, #181b20, #0d0f12 64%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.visual-orbit {
  position: absolute;
  top: 76px;
  right: -92px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: inherit;
  content: "";
}

.visual-orbit::after {
  inset: 92px;
}

.visual-monogram {
  position: absolute;
  right: 42px;
  bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(4.4rem, 10vw, 7.6rem);
  font-weight: 760;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.visual-index {
  position: absolute;
  top: 34px;
  left: 34px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.visual-statement {
  position: absolute;
  right: 38px;
  bottom: 158px;
  left: 38px;
  max-width: 330px;
  color: var(--text-soft);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.visual-bars {
  position: absolute;
  right: 42px;
  bottom: 142px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 170px;
}

.visual-bars i {
  display: block;
  width: 7px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.78));
}

.visual-bars i:nth-child(1) { height: 26%; }
.visual-bars i:nth-child(2) { height: 44%; }
.visual-bars i:nth-child(3) { height: 62%; }
.visual-bars i:nth-child(4) { height: 82%; }
.visual-bars i:nth-child(5) { height: 100%; }

.visual-seal {
  position: absolute;
  top: 176px;
  left: 46px;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--text);
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  white-space: pre-line;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.trust-item strong {
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.trust-item span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.service-card,
.value-card,
.process-step,
.extension-card,
.contact-card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.service-card {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 38px;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.service-card::after {
  position: absolute;
  right: -52px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  border-color: var(--line-strong);
  background: var(--panel-strong);
  transform: translateY(-7px);
}

.service-number {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  letter-spacing: 0.11em;
}

.service-card h3 {
  margin: 64px 0 20px;
  color: var(--text);
  font-size: 1.72rem;
  line-height: 1.35;
}

.service-card > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.service-list {
  display: grid;
  gap: 14px;
  margin: auto 0 0;
  padding: 36px 0 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.service-list li::before {
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-soft);
  content: "";
}

.compliance-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.extension-card {
  display: none;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: center;
  margin-top: 20px;
  padding: 38px;
  border-radius: var(--radius);
}

.extension-label {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
}

.extension-card h3 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 1.42rem;
}

.extension-card p {
  margin: 0;
  color: var(--text-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 76px;
  align-items: stretch;
}

.about-copy h2 {
  max-width: 650px;
  margin: 0 0 28px;
  color: var(--text);
  font-size: clamp(2.15rem, 3.5vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -0.038em;
  text-wrap: balance;
  word-break: keep-all;
}

.about-copy p {
  margin: 0 0 22px;
  font-size: 1.08rem;
}

.about-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 62% 32%, rgba(255, 255, 255, 0.14), transparent 8%),
    radial-gradient(circle at 62% 32%, transparent 0 19%, rgba(255, 255, 255, 0.1) 19.2% 19.5%, transparent 19.8% 34%, rgba(255, 255, 255, 0.075) 34.2% 34.5%, transparent 34.8%),
    linear-gradient(145deg, #191c21, #0d0f12 70%);
}

.about-visual::before,
.about-visual::after {
  position: absolute;
  content: "";
}

.about-visual::before {
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  transform: translate(20%, -8%);
}

.about-visual::after {
  bottom: 0;
  left: 22%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.18), transparent);
}

.about-quote {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  max-width: 410px;
  color: var(--text);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.about-code {
  position: absolute;
  top: 28px;
  left: 30px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.value-card {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.value-card::before {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 36px;
  height: 1px;
  background: rgba(255,255,255,0.28);
  content: "";
}





.value-card h3 {
  margin: 28px 0 12px;
  color: var(--text);
  font-size: 1.22rem;
  line-height: 1.35;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-step {
  position: relative;
  min-height: 316px;
  padding: 30px 30px 34px;
  overflow: visible;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.process-step:hover {
  border-color: var(--line-strong);
  background: var(--panel-strong);
  transform: translateY(-5px);
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 58px;
  right: -21px;
  z-index: 3;
  width: 22px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.process-step:not(:last-child)::before {
  position: absolute;
  top: 54px;
  right: -21px;
  z-index: 4;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--text-soft);
  border-right: 1px solid var(--text-soft);
  content: "";
  transform: rotate(45deg);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.process-step .step-num {
  display: grid;
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.018);
}

.step-stage {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.15em;
  line-height: 1.45;
  text-transform: uppercase;
}

.process-step h3 {
  margin: 34px 0 14px;
  color: var(--text);
  font-size: 1.34rem;
  line-height: 1.35;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 70px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-wrap: balance;
  word-break: keep-all;
}

.contact-copy p {
  max-width: 560px;
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.9;
}

.contact-intro {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}


.contact-card {
  padding: 42px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.35;
}


.email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.18);
}

.email-address {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 650;
}

.copy-button {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.contact-meta div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-meta strong {
  display: block;
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.site-footer {
  padding: 48px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.company-data {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.72rem;
}

/* Legal pages */
.legal-main {
  padding: 150px 0 100px;
}

.legal-hero {
  max-width: 920px;
  margin-bottom: 64px;
}

.legal-hero h1 {
  max-width: 820px;
}

.legal-hero p {
  margin: 0;
}

.legal-date {
  margin-top: 22px !important;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.legal-intro {
  max-width: 800px;
  margin-top: 20px !important;
  color: var(--text-soft);
  font-size: 1.14rem;
  line-height: 1.9;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.legal-toc a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--text);
}

.legal-content {
  display: grid;
  gap: 20px;
}

.legal-card {
  padding: 40px 42px;
  border-radius: var(--radius-sm);
}

.legal-card h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.36rem;
  line-height: 1.45;
}

.legal-card p,
.legal-card li {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  padding-left: 1.2rem;
}

.legal-notice {
  padding: 20px 22px;
  border-left: 2px solid var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[lang="en"] .hero h1 {
  font-size: clamp(2.75rem, 4.55vw, 4.35rem);
  letter-spacing: -0.045em;
}

html[lang="en"] .section-heading h2,
html[lang="en"] .about-copy h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
}

@media (max-width: 1040px) {
  .hero-grid,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }


  .values-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2)::after,
  .process-step:nth-child(2)::before {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > div {
    max-width: 720px;
  }

  .section-heading h2 {
    max-width: 720px;
  }

  .about-visual {
    min-height: 460px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 82px 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 28px 20px 40px;
    background: rgba(9, 10, 12, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 18px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

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

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .services-grid,
  .extension-card,
  .legal-layout {
    grid-template-columns: 1fr;
  }


  .legal-toc {
    position: static;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .section {
    padding: 88px 0;
  }

  .navbar {
    min-height: 74px;
  }

  .nav-links {
    inset: 74px 0 0;
  }

  .brand-name span {
    display: none;
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 12vw, 3.8rem);
    line-height: 1.12;
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 3.35rem);
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.18rem, 10vw, 3.05rem);
  }

  .section-heading--solo {
    margin-bottom: 46px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
    border-radius: 20px;
  }

  .visual-seal {
    top: 132px;
    left: 26px;
    width: 110px;
    height: 110px;
    font-size: 0.62rem;
  }

  .visual-index {
    top: 24px;
    left: 24px;
  }

  .visual-monogram {
    right: 24px;
    bottom: 28px;
  }

  .visual-statement {
    right: 24px;
    bottom: 125px;
    left: 24px;
  }

  .visual-bars {
    right: 24px;
    bottom: 118px;
    height: 120px;
  }

  .trust-grid,
  .services-grid,
  .values-grid,
  .process-grid,
  .contact-meta,
  .legal-toc {
    grid-template-columns: 1fr;
  }

  .process-grid {
    gap: 18px;
  }

  .process-step {
    min-height: 0;
    padding: 24px;
  }

  .process-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 54px;
    width: 1px;
    height: 19px;
  }

  .process-step:not(:last-child)::before {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 51px;
    transform: rotate(135deg);
  }

  .process-step:nth-child(2)::after,
  .process-step:nth-child(2)::before {
    display: block;
  }

  .process-step .step-num {
    width: 64px;
    height: 64px;
    font-size: 1.16rem;
  }

  .process-step h3 {
    margin-top: 26px;
  }

  .trust-item,
  .trust-item:nth-child(2),
  .trust-item:last-child {
    border-right: 1px solid var(--line);
  }

  .trust-item:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .service-card {
    min-height: 450px;
    padding: 30px;
  }

  .value-card {
    padding: 30px 24px 26px;
  }

  .value-card::before {
    left: 24px;
  }

  .value-card h3 {
    margin-top: 24px;
    font-size: 1.14rem;
  }

  .extension-card,
  .contact-card,
  .legal-card {
    padding: 26px;
  }

  .about-visual {
    min-height: 410px;
    border-radius: 20px;
  }

  .about-quote {
    font-size: 1.28rem;
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
