:root {
  --ink: #081129;
  --navy: #0f1f45;
  --navy-2: #13254f;
  --navy-3: #1b3168;
  --gold: #c9a45c;
  --gold-hi: #e6cd97;
  --gold-deep: #76571c;
  --line: rgba(216, 184, 120, 0.24);
  --line-soft: rgba(239, 233, 220, 0.1);
  --paper: #f6f1e7;
  --paper-2: #ebe4d3;
  --paper-ink: #14213f;
  --paper-muted: #56617b;
  --text: #f0eadd;
  --muted: #b1bad0;
  --blue: #7db8ff;
  --serif: "Instrument Serif", "Noto Serif TC", "Songti TC", Georgia, serif;
  --sans:
    "Geist", "Noto Sans TC", "PingFang TC", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --spring: cubic-bezier(0.3, 1.5, 0.5, 1);
  --wrap: 1180px;
  --gutter: clamp(20px, 4.4vw, 44px);
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(
      1100px 720px at 82% -8%,
      rgba(46, 78, 168, 0.5),
      transparent 62%
    ),
    radial-gradient(
      900px 640px at -12% 22%,
      rgba(201, 164, 92, 0.09),
      transparent 60%
    ),
    var(--ink);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold-hi);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 17, 41, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--line);
}

.brand span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--gold-hi);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding-block: 8px;
  transition: color 0.2s;
}

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

.nav .nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-hi);
  white-space: nowrap;
}

.nav .nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: linear-gradient(180deg, #ecd6a4, #c9a45c);
  color: #0b1736;
  box-shadow:
    0 10px 30px -12px rgba(201, 164, 92, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-gold:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--line-soft);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--line);
  color: var(--gold-hi);
}

.btn[aria-disabled="true"] {
  cursor: default;
}

.btn[aria-disabled="true"]:hover {
  transform: none;
}

.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(40px, 7vw, 92px) clamp(48px, 7vw, 96px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(239, 233, 220, 0.045) 0 1px,
    transparent 1px 148px
  );
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero h1 {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.3vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-hi);
}

.lede {
  margin-top: 26px;
  max-width: 34em;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--muted);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-meta > span {
  white-space: nowrap;
}

.hero-meta > span:not(:last-child)::after {
  content: "/";
  margin-inline: 10px;
  color: var(--gold);
}

.stage-wrap {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
}

.stage {
  position: relative;
  perspective: 1200px;
}

.stage::before {
  content: "";
  position: absolute;
  inset: -12% -18% 30%;
  background: radial-gradient(
    closest-side,
    rgba(90, 130, 240, 0.35),
    transparent
  );
  pointer-events: none;
}

.scanzone {
  position: relative;
  z-index: 1;
  width: 82%;
  margin: 14px auto 0;
}

.guide {
  position: absolute;
  inset: -14px;
  pointer-events: none;
  transition:
    opacity 0.4s,
    transform 0.6s var(--ease);
}

.guide i {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--gold-hi);
}

.guide i:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 12px;
}

.guide i:nth-child(2) {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 12px;
}

.guide i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: 12px;
}

.guide i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 12px;
}

.bc {
  position: relative;
  aspect-ratio: 1.75;
  container-type: inline-size;
  transform-style: preserve-3d;
  transition:
    transform 0.9s var(--ease),
    opacity 0.45s;
  will-change: transform, opacity;
}

.bc-face {
  --c-bg: linear-gradient(135deg, #1a2a70 0%, #2a45b4 100%);
  --c-ink: #ffffff;
  --c-soft: rgba(255, 255, 255, 0.78);
  --c-accent: #9cc4ff;
  --c-hit: #f1d9a0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  padding: 7.2cqw;
  overflow: hidden;
  border-radius: 12px;
  border-radius: 3.6cqw;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--sans);
  box-shadow:
    0 30px 60px -24px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bc[data-skin="harbor"] .bc-face {
  --c-bg: linear-gradient(160deg, #f8f2e4 0%, #ebe1cb 100%);
  --c-ink: #17362c;
  --c-soft: rgba(23, 54, 44, 0.76);
  --c-accent: #8a5a1c;
  --c-hit: #2f6fe4;
}

.bc[data-skin="kumo"] .bc-face {
  --c-bg: linear-gradient(140deg, #1d1f26 0%, #2b2e38 100%);
  --c-ink: #f4f4f2;
  --c-soft: rgba(244, 244, 242, 0.74);
  --c-accent: #7fe3c4;
  --c-hit: #7fe3c4;
}

.bc-top {
  display: flex;
  align-items: center;
  gap: 10px;
  gap: 3cqw;
}

.bc[data-skin="harbor"] .bc-top {
  flex-direction: row-reverse;
  justify-content: space-between;
}

.bc-mark {
  flex: none;
  width: 16px;
  width: 5cqw;
  aspect-ratio: 1;
  background: var(--c-ink);
  clip-path: polygon(
    50% 0,
    62% 38%,
    100% 50%,
    62% 62%,
    50% 100%,
    38% 62%,
    0 50%,
    38% 38%
  );
}

.bc[data-skin="harbor"] .bc-mark {
  clip-path: none;
  border-radius: 50%;
  background: none;
  box-shadow: inset 0 0 0 0.9cqw var(--c-accent);
}

.bc[data-skin="kumo"] .bc-mark {
  clip-path: none;
  border-radius: 28%;
  background: var(--c-accent);
}

.cl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.45s;
}

.cl::after {
  content: "";
  position: absolute;
  inset: -0.2em -0.3em;
  border: 1px solid var(--c-hit);
  border-radius: 4px;
  background: color-mix(in srgb, var(--c-hit) 16%, transparent);
  transition:
    opacity 0.25s,
    transform 0.4s var(--ease);
}

.cl[data-f="company"] {
  font-size: 10px;
  font-size: 3.3cqw;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bc[data-skin="harbor"] .cl[data-f="company"] {
  font-family: var(--serif);
  font-size: 5cqw;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.bc-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  gap: 1.5cqw;
}

.bc-names {
  display: flex;
  align-items: baseline;
  gap: 14px;
  gap: 4.6cqw;
  font-size: 18px;
  font-size: 5.9cqw;
  font-weight: 600;
  line-height: 1.2;
}

.bc[data-skin="harbor"] .bc-names {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 6.6cqw;
}

.cl[data-f="title"] {
  font-size: 10px;
  font-size: 3.4cqw;
  color: var(--c-soft);
}

.bc-contact {
  display: flex;
  gap: 14px;
  gap: 4.4cqw;
  margin-top: 1.6cqw;
  font-size: 10px;
  font-size: 3.2cqw;
  color: var(--c-soft);
}

.cl[data-f="email"] {
  color: var(--c-accent);
}

.beam {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(241, 217, 160, 0.26) 97%,
    #fff3cf 99%,
    #fff3cf 100%
  );
  pointer-events: none;
}

.sheet {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  padding: 6px 18px 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbf8f1, var(--paper));
  color: var(--paper-ink);
  box-shadow:
    0 40px 80px -32px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 #fff;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 10px;
  border-bottom: 1px solid rgba(20, 33, 63, 0.16);
  font-size: 0.82rem;
  font-weight: 600;
}

.sheet-status {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  border-bottom: 1px solid rgba(20, 33, 63, 0.09);
}

.row:last-child {
  border-bottom: 0;
}

.row .k {
  flex: none;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.row .d {
  min-width: 0;
  text-align: right;
}

.v {
  position: relative;
  display: inline-block;
  isolation: isolate;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transform-origin: 0 0;
  transition:
    transform 0.85s var(--ease),
    opacity 0.25s;
  will-change: transform, opacity;
}

.v::before {
  content: "";
  position: absolute;
  inset: -3px -8px;
  z-index: -1;
  border-radius: 7px;
  background: #f0d696;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.6s;
}

.v.is-fly::before {
  opacity: 1;
  transition: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  transform-origin: 100% 50%;
  transition:
    transform 0.5s var(--spring),
    opacity 0.25s;
}

.chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fb0ff;
}

.chip[data-group="vcs"] i {
  background: #c58bff;
}

.chip[data-group="clients"] i {
  background: #5fd68b;
}

.dots {
  display: inline-flex;
  gap: 5px;
  margin-left: 10px;
  vertical-align: middle;
}

.dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper-ink);
  opacity: 0.2;
  transition: opacity 0.3s;
}

.dots i.is-on {
  opacity: 0.85;
}

.stage.is-live .guide {
  opacity: 0;
  transform: scale(1.08);
}

.stage.is-live[data-phase="scan"] .guide,
.stage.is-live[data-phase="fill"] .guide {
  opacity: 1;
  transform: none;
}

.stage.is-live .cl::after {
  opacity: 0;
  transform: scale(1.1);
}

.stage.is-live .cl.is-hit::after {
  opacity: 1;
  transform: none;
}

.stage.is-live .cl.is-taken {
  opacity: 0.46;
}

.stage.is-live .v {
  opacity: 0;
}

.stage.is-live .v.is-in {
  opacity: 1;
}

.stage.is-live .chip {
  opacity: 0;
  transform: scale(0.6);
}

.stage.is-live .chip.is-in {
  opacity: 1;
  transform: none;
}

.stage.is-live[data-phase="out"] .bc {
  opacity: 0;
  transform: translate3d(-34px, -26px, 0) rotateX(32deg) rotateY(-28deg)
    rotateZ(-9deg);
}

.stage.is-live[data-phase="tilt"] .bc {
  transform: rotateX(20deg) rotateY(-22deg) rotateZ(-4deg);
}

.stage.is-live[data-phase="exit"] .bc {
  opacity: 0;
  transform: translate3d(40px, -18px, 0) rotateZ(6deg) scale(0.95);
  transition-duration: 0.5s, 0.4s;
}

.stage.is-live[data-phase="scan"] .beam {
  animation: beam 1.3s cubic-bezier(0.45, 0, 0.3, 1) 0.45s both;
}

.stage.no-tr .bc {
  transition: none;
}

@keyframes beam {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.stage-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 500 0.74rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.stage-toggle[hidden] {
  display: none;
}

.stage-toggle:hover {
  color: var(--text);
  border-color: var(--line);
}

.stage-toggle::before {
  content: "";
  width: 8px;
  height: 10px;
  border-inline: 3px solid currentColor;
}

.stage-toggle[data-paused]::before {
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  border-inline: 8px solid currentColor;
  border-right: 0;
}

.stage-foot {
  display: flex;
  justify-content: center;
}

.facts {
  border-block: 1px solid var(--line);
  background: rgba(15, 31, 69, 0.45);
}

.facts ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facts li {
  padding: 22px 20px 22px 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text);
}

.facts li + li {
  padding-left: 22px;
  border-left: 1px solid var(--line-soft);
}

.facts b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.section {
  padding-block: clamp(72px, 10vw, 136px);
}

.sec-head {
  max-width: 46rem;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-head h2,
.display {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.sec-head h2 em,
.display em {
  font-style: italic;
  color: var(--gold-hi);
}

.sec-head p {
  margin-top: 18px;
  max-width: 38em;
  color: var(--muted);
}

.phone {
  --pr: 40px;
  position: relative;
  padding: 7px;
  border-radius: var(--pr);
  background: linear-gradient(160deg, #2a2f3d, #0a0c12 40%, #1a1d27);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 36px 70px -30px rgba(0, 0, 0, 0.85);
}

.phone::before {
  content: "";
  position: absolute;
  top: calc(7px + 2.1%);
  left: 50%;
  z-index: 1;
  width: 29%;
  aspect-ratio: 3.4;
  border-radius: 999px;
  background: #05060a;
  transform: translateX(-50%);
}

.phone-bare::before {
  content: none;
}

.phone img {
  width: 100%;
  aspect-ratio: 660 / 1434;
  border-radius: calc(var(--pr) - 7px);
  background: var(--navy-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step .phone {
  width: min(100%, 270px);
  margin-inline: auto;
}

.step:nth-child(2) {
  margin-top: clamp(0px, 4vw, 56px);
}

.step:nth-child(3) {
  margin-top: clamp(0px, 8vw, 112px);
}

.step-text {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step-no {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--gold-hi);
}

.step h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.1;
}

.step p {
  margin-top: 12px;
  font-size: 0.98rem;
  color: var(--muted);
}

.ledger {
  border-top: 1px solid var(--gold);
}

.ledger-head,
.ledger li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
}

.ledger-head {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger li {
  position: relative;
  padding-block: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line-soft);
}

.ledger li::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.ledger li:hover::before {
  opacity: 1;
}

.ledger .n {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold-hi);
}

.ledger h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.ledger p {
  color: var(--muted);
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(64px, 8vw, 104px);
  margin-bottom: 26px;
}

.gallery-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.gallery-head span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.gallery {
  display: flex;
  gap: clamp(18px, 2.6vw, 34px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: var(--edge);
  padding: 8px var(--edge) 34px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  -webkit-overflow-scrolling: touch;
}

.gallery figure {
  flex: none;
  width: clamp(208px, 24vw, 264px);
  scroll-snap-align: start;
}

.gallery .phone {
  --pr: 36px;
}

.gallery figcaption {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}

.gallery figcaption b {
  display: block;
  font-weight: 500;
  color: var(--text);
}

.vault {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px);
  padding-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(
      700px 420px at 100% 0,
      rgba(60, 96, 200, 0.35),
      transparent 70%
    ),
    linear-gradient(180deg, var(--navy-2), var(--navy));
}

.vault::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(216, 184, 120, 0.14);
  border-radius: 22px;
  pointer-events: none;
}

.vault-body {
  padding-bottom: clamp(28px, 5vw, 72px);
}

.label {
  display: inline-grid;
  gap: 4px;
  margin-top: 30px;
  padding: 16px 22px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  outline: 1px solid rgba(216, 184, 120, 0.4);
  outline-offset: 4px;
}

.label small {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.label strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: var(--gold-hi);
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 38px;
}

.checks li {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.98rem;
  color: var(--muted);
}

.checks b {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: var(--text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--gold-hi);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line);
}

.text-link:hover {
  text-decoration-color: var(--gold-hi);
}

.vault-phone {
  align-self: end;
  width: min(100%, 300px);
  margin-inline: auto;
  aspect-ratio: 660 / 850;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  mask-image: linear-gradient(180deg, #000 78%, transparent);
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}

.plan {
  position: relative;
  padding: clamp(26px, 3.6vw, 44px);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(15, 31, 69, 0.5);
}

.plan-pro {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--navy-3), var(--navy));
}

.plan-pro::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(216, 184, 120, 0.4);
  border-radius: 19px;
  pointer-events: none;
}

.plan h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
}

.plan-pro h3 {
  font-style: italic;
  color: var(--gold-hi);
}

.plan .tag {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan ul {
  margin-top: 22px;
}

.plan li {
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.plan li b {
  font-weight: 500;
  color: var(--text);
}

.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.price {
  padding: 22px 0 6px;
}

.price + .price {
  padding-left: clamp(16px, 3vw, 32px);
  border-left: 1px solid var(--line);
}

.price .amt {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1;
  white-space: nowrap;
}

.price .amt small {
  margin-right: 6px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold-hi);
}

.price .per {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.fine {
  margin-top: 26px;
  max-width: 62em;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.get {
  padding-block: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
  text-align: center;
  background: radial-gradient(
    700px 380px at 50% 100%,
    rgba(46, 78, 168, 0.4),
    transparent 70%
  );
}

.get img {
  width: 104px;
  height: 104px;
  margin-inline: auto;
  border-radius: 24px;
  box-shadow:
    0 0 0 1px var(--line),
    0 30px 60px -24px rgba(0, 0, 0, 0.8);
}

.get h2 {
  margin: 30px auto 0;
  max-width: 14em;
}

.get p {
  margin: 18px auto 0;
  max-width: 32em;
  color: var(--muted);
}

.get .btn {
  margin-top: 32px;
}

.get .hero-meta {
  justify-content: center;
  margin-top: 22px;
  max-width: none;
}

.get .hero-meta a {
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 34px 44px;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.site-footer a {
  text-decoration: none;
  padding-block: 6px;
  display: inline-block;
}

.site-footer a:hover {
  color: var(--gold-hi);
}

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.9s var(--ease);
}

.reveal-on [data-reveal].is-seen {
  opacity: 1;
  transform: none;
}

.legal-main {
  padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 104px);
}

.doc {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(28px, 6vw, 76px) clamp(22px, 6vw, 80px);
  border-radius: 20px;
  background: var(--paper);
  color: var(--paper-ink);
  font-size: 1.06rem;
  line-height: 1.75;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
}

.doc::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(118, 87, 28, 0.28);
  border-radius: 14px;
  pointer-events: none;
}

.doc h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.doc h2 {
  margin-top: 2.3em;
  padding-top: 1.1em;
  border-top: 1px solid rgba(20, 33, 63, 0.14);
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.doc p {
  margin-top: 0.85em;
  max-width: 68ch;
}

.doc .meta {
  margin-top: 1.1em;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--paper-muted);
}

.doc a {
  color: #1a3f9c;
  text-decoration: underline;
  text-decoration-color: rgba(26, 63, 156, 0.4);
  overflow-wrap: anywhere;
}

.doc a:hover {
  text-decoration-color: currentColor;
}

.doc :focus-visible {
  outline-color: #1a3f9c;
}

.doc strong {
  font-weight: 600;
}

.doc hr {
  margin: 3.4em 0 3em;
  border: 0;
  height: 5px;
  border-block: 1px solid var(--gold);
}

.doc .jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.4em;
  padding: 9px 16px;
  border: 1px solid rgba(20, 33, 63, 0.25);
  border-radius: 999px;
  color: var(--paper-ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.doc .jump:hover {
  border-color: var(--paper-ink);
}

.doc [lang="zh-Hant"] {
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.doc h1[lang="zh-Hant"] {
  line-height: 1.25;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.8vw, 2.8rem);
}

.doc [lang="zh-Hant"] .meta {
  font-family: var(--sans);
}

#zh {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 40rem;
  }

  .facts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

  .vault {
    grid-template-columns: minmax(0, 1fr);
  }

  .vault-body {
    padding-bottom: 0;
  }

  .vault-phone {
    width: min(100%, 280px);
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .step,
  .step:nth-child(2),
  .step:nth-child(3) {
    margin-top: 0;
  }

  .step {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }

  .step:nth-child(2) .phone {
    order: 2;
  }

  .ledger-head {
    display: none;
  }

  .ledger li {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    row-gap: 8px;
  }

  .ledger li p {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .checks {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
  :root {
    --header-h: 60px;
  }

  .brand span {
    font-size: 1.45rem;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    margin-top: 16px;
  }

  .lede {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn-ghost {
    display: none;
  }

  .hero-meta {
    margin-top: 18px;
    font-size: 0.72rem;
    letter-spacing: 0;
  }

  .hero-meta > span:not(:last-child)::after {
    margin-inline: 7px;
  }

  .hero-grid {
    gap: 30px;
  }

  .scanzone {
    width: 88%;
  }

  .step {
    grid-template-columns: minmax(0, 1fr);
  }

  .step:nth-child(2) .phone {
    order: 0;
  }

  .step .phone {
    width: min(78%, 270px);
  }

  .prices {
    grid-template-columns: minmax(0, 1fr);
  }

  .price + .price {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 16px;
  }

  .gallery-head span {
    display: none;
  }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc {
    border-radius: 16px;
  }
}

@media (max-width: 400px) {
  .facts li {
    font-size: 0.88rem;
    padding-right: 12px;
  }

  .facts li + li {
    padding-left: 14px;
  }

  .facts li:nth-child(3) {
    padding-left: 0;
  }

  .nav .nav-cta {
    padding-inline: 13px;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

@media (hover: none) {
  .btn-gold:hover {
    transform: none;
  }

  .ledger li:hover::before {
    opacity: 0;
  }
}
