/* ==========================================================================
   Weimang Topology — site styles
   One motif: the node and its ring. One ground: slate. One accent: olive.
   ========================================================================== */

:root {
  --bg: #b9c5cb;
  --bg-deep: #a6b3bc;
  --surface: #dde4e6;
  --surface-2: #cbd6d9;
  --ink: #171b18;
  --ink-2: #2b342f;
  --muted: #3f4a47;
  --olive: #2c3620;
  --olive-2: #39452b;
  --olive-3: #4b5938;
  --pale: #edeae1;
  --pale-muted: #c6cbbc;
  --sage: #b7c8be;
  --blush: #d6c4b8;
  --line: rgba(23, 27, 24, 0.22);
  --focus: #d6c4b8;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(84px, 9vw, 144px);
  --font-sans: "Schibsted Grotesk", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-zh: "Noto Sans SC", "Schibsted Grotesk", system-ui, sans-serif;
  --step-small: 14px;
  --step-body: clamp(17px, 0.25vw + 16px, 19px);
  --step-lead: clamp(20px, 0.5vw + 18px, 26px);
  --step-h3: clamp(22px, 0.7vw + 20px, 30px);
  --step-h2: clamp(34px, 4.2vw, 58px);
  --step-h1: clamp(40px, 5.4vw, 84px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.55;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--olive);
  color: var(--pale);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

[lang="zh-CN"] {
  font-family: var(--font-zh);
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 0.98;
  color: var(--ink);
  text-wrap: balance;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 0.98;
  color: var(--ink);
}

body h1 {
  font-size: var(--step-h1);
}

body h2 {
  font-size: var(--step-h2);
}

body h3 {
  font-size: var(--step-h3);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--pale);
  color: var(--olive);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

.section {
  padding-block: var(--section);
}

section[id] {
  scroll-margin-top: 104px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head h2 {
  max-width: 22ch;
}

.section-intro {
  max-width: 54ch;
  font-size: var(--step-body);
  color: var(--ink-2);
}

.section-tail {
  margin-top: clamp(32px, 4vw, 48px);
}

/* --------------------------------------------------------------------------
   Buttons and text links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--olive);
  color: var(--pale);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--pale);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 15px;
}

.btn-light {
  background: var(--blush);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--pale);
  color: var(--olive);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.24em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--olive);
}

.text-link svg {
  flex: none;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.text-link-light {
  color: var(--pale);
}

.text-link-light:hover {
  color: var(--blush);
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--bg);
  transition: background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--surface);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}

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

.brand-mark {
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.05;
}

.brand-en {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-zh {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  margin-left: auto;
}

.desktop-nav a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle:hover {
  background: var(--surface);
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.site-header.nav-is-open .nav-toggle-line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.nav-is-open .nav-toggle-line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 84px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 79;
  overflow-y: auto;
  background: var(--surface);
  padding: 20px 0 56px;
  animation: menuIn 0.22s ease both;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-link {
  display: block;
  padding: 14px 0;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
  line-height: 1.1;
}

.mobile-link[aria-current="page"] {
  color: var(--olive);
}

.mobile-nav-foot {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.mobile-nav-foot p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.nojs-nav {
  background: var(--surface);
  padding: 12px 0;
}

.nojs-nav .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 15px;
}

.nojs-nav a {
  text-decoration: underline;
}

.no-js .nav-toggle {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: center;
  padding-block: clamp(44px, 6vh, 80px) clamp(56px, 8vh, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  width: 100%;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.052em;
  max-width: 12ch;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-cn {
  margin-top: 20px;
  font-size: clamp(18px, 1.2vw + 12px, 22px);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.3;
}

.hero-lead {
  max-width: 54ch;
  margin-top: 22px;
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 32px;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 14px 24px;
  margin: clamp(32px, 4vw, 52px) 0 0;
  padding: 0;
}

.hero-meta div {
  min-width: 0;
}

.hero-meta dt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 3px;
}

.hero-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 58vh, 680px);
  margin: 0 calc(var(--gutter) * -1) 0 0;
  z-index: 1;
}

.hero-disc {
  position: relative;
  z-index: 2;
  width: clamp(380px, 48vw, 700px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-right: -6%;
}

.hero-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.76) contrast(1.04);
}

.hero-ring {
  position: absolute;
  z-index: 1;
  width: clamp(420px, 52vw, 760px);
  aspect-ratio: 1;
  border: 2px solid rgba(237, 234, 225, 0.5);
  border-radius: 50%;
  margin-right: -6%;
}

.hero-node {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 2%;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.hero-node .mark {
  width: 28px;
  height: 28px;
}

/* --------------------------------------------------------------------------
   Fact band
   -------------------------------------------------------------------------- */

.fact-band {
  background: var(--surface);
  padding-block: 30px;
}

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

.fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fact-figure {
  font-size: clamp(34px, 3.3vw, 46px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.fact-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Capabilities / system map
   -------------------------------------------------------------------------- */

.capabilities {
  background: var(--surface);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.capability-map {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin-inline: auto;
  color: var(--ink);
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
}

.map-node {
  position: absolute;
  width: 132px;
  height: 132px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.map-node:hover {
  background: var(--sage);
}

.map-node.is-active,
.map-node[aria-selected="true"] {
  background: var(--olive);
  color: var(--pale);
}

.map-node-name {
  display: block;
}

.map-node-zh {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.map-node.is-active .map-node-zh,
.map-node[aria-selected="true"] .map-node-zh {
  color: var(--pale-muted);
}

.map-node-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.map-node-right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.map-node-bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.map-node-left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.map-node-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 152px;
  height: 152px;
  background: var(--blush);
  color: var(--ink);
  gap: 6px;
  pointer-events: none;
}

.map-center-mark .mark {
  width: 34px;
  height: 34px;
}

.map-center-text {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.capability-panels {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.js .cap-panel:not(.is-active) {
  display: none;
}

.cap-panel {
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cap-panel h3 {
  font-size: clamp(28px, 2.2vw, 34px);
  line-height: 1.02;
  margin-bottom: 18px;
}

.h3-zh {
  display: inline-block;
  margin-left: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cap-panel p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}

.cap-list {
  list-style: none;
  margin: 16px 0 28px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.cap-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--ink-2);
}

.cap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
}

.cap-panel .text-link {
  margin-top: auto;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Products and interface previews
   -------------------------------------------------------------------------- */

.products {
  background: var(--bg);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.product-copy h3,
.product-card-copy h3,
.product-row-copy h3 {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.product-copy h3 a,
.product-card-copy h3 a,
.product-row-copy h3 a {
  text-decoration: none;
}

.product-copy h3 a:hover,
.product-card-copy h3 a:hover,
.product-row-copy h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.product-tagline {
  margin-top: 12px;
  font-size: clamp(19px, 1.4vw + 8px, 23px);
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink-2);
}

.product-summary {
  margin-top: 14px;
  font-size: var(--step-body);
  color: var(--ink-2);
  max-width: 58ch;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 26px 0 0;
  padding: 0;
}

.product-meta dt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2px;
}

.product-meta dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 28px;
}

.product-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 44px) clamp(22px, 4vw, 44px) 54px;
  min-height: 600px;
  background: var(--sage);
}

.product-stage::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c6d4cb;
}

.stage-sage {
  background: var(--sage);
}

.stage-sage::before {
  background: #c6d4cb;
}

.stage-blush {
  background: var(--blush);
}

.stage-blush::before {
  background: #e2d3c8;
}

.stage-slate {
  background: var(--bg-deep);
}

.stage-slate::before {
  background: #b8c4ca;
}

.product-stage .device {
  position: relative;
  z-index: 2;
}

.stage-note {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 14px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-2);
}

.product-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 24px;
  margin-top: clamp(40px, 6vw, 80px);
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  min-width: 0;
}

.product-card-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.product-card-wide .product-stage {
  min-height: 480px;
  padding: 24px 24px 54px;
}

.product-card-wide .device-phone {
  width: min(270px, 100%);
}

.product-card-tall .product-stage {
  padding: 24px 24px 54px;
  min-height: 360px;
}

.product-card-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
}

.product-card-copy h3 {
  font-size: clamp(30px, 2.5vw, 38px);
}

.product-card-copy .product-actions {
  margin-top: auto;
  padding-top: 22px;
}

.product-line {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

.products-note {
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 80ch;
  font-size: 15px;
  color: var(--ink-2);
}

.products-note a {
  margin-left: 6px;
}

/* Device mockups: these are interface fragments, not page furniture. */
.device {
  color: #171b18;
  font-family: var(--font-sans);
}

.device-phone {
  width: min(300px, 82vw);
  padding: 8px;
  border-radius: 38px;
  background: #12150f;
}

.device-phone .device-screen {
  position: relative;
  min-height: 568px;
  border-radius: 30px;
  background: #f2f0e9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ui-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #303a36;
}

.ui-status-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ui-signal {
  width: 12px;
  height: 8px;
  display: block;
  background: #303a36;
  clip-path: polygon(0 100%, 0 72%, 20% 72%, 20% 52%, 42% 52%, 42% 32%, 64% 32%, 64% 14%, 84% 14%, 84% 0, 100% 0, 100% 100%);
}

.ui-battery {
  width: 17px;
  height: 8px;
  display: block;
  border: 1px solid #303a36;
  border-radius: 2px;
  position: relative;
}

.ui-battery::after {
  content: "";
  position: absolute;
  inset: 1px;
  right: 4px;
  background: #303a36;
}

.ui-appbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px 12px;
}

.ui-app-title {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.ui-app-sub {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #5b655f;
}

.ui-round-action {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2c3620;
  color: #edeae1;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  flex: none;
}

.ui-search {
  margin: 0 18px 16px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #e3e6dd;
  color: #5b655f;
  font-size: 11.5px;
}

.ui-label {
  display: block;
  padding: 0 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b655f;
}

.ui-note-list {
  list-style: none;
  margin: 8px 18px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ui-note-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 12px;
  background: #e8e9e1;
}

.ui-note-list p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}

.ui-note-list span:not(.ui-node-dot) {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #5b655f;
}

.ui-node-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: #2c3620;
  flex: none;
}

.ui-node-dot-alt {
  background: #b17053;
}

.ui-graph {
  margin: 12px 18px 0;
  padding: 8px;
  border-radius: 12px;
  background: #e3e6dd;
  color: #2c3620;
}

.ui-graph svg {
  width: 100%;
  height: auto;
}

.ui-graph-caption {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #5b655f;
}

.ui-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px 16px;
  background: #efede5;
  font-size: 10px;
  color: #5b655f;
}

.ui-tabbar .is-current {
  color: #2c3620;
  font-weight: 700;
}

.ui-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #d6c4b8;
  color: #303a36;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ui-map {
  position: relative;
  margin: 0 14px;
  border-radius: 14px;
  overflow: hidden;
  background: #dfe5df;
  color: #2c3620;
}

.ui-map svg {
  width: 100%;
  height: auto;
}

.ui-map-label {
  position: absolute;
  left: 9px;
  bottom: 8px;
  font-size: 10px;
  color: #3f4a47;
  background: #f2f0e9;
  padding: 3px 6px;
  border-radius: 4px;
}

.ui-reading {
  margin: 12px 14px 0;
  padding: 13px 14px 12px;
  border-radius: 14px;
  background: #e8e9e1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-reading-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.ui-reading-head .ui-label {
  padding: 0;
  font-size: 10px;
}

.ui-time {
  font-size: 10px;
  color: #5b655f;
}

.ui-reading-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.ui-reading-value small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.ui-meter {
  height: 5px;
  border-radius: 999px;
  background: #cfd6cb;
  overflow: hidden;
}

.ui-meter span {
  display: block;
  height: 100%;
  background: #2c3620;
}

.ui-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ui-chips span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f2f0e9;
  font-size: 9.5px;
  color: #3f4a47;
}

.ui-primary-action {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: #2c3620;
  color: #edeae1;
  font-size: 11px;
  font-weight: 700;
}

.ui-footnote {
  display: block;
  font-size: 9.5px;
  color: #5b655f;
}

.device-tablet {
  width: min(500px, 100%);
  max-width: 100%;
  padding: 8px;
  border-radius: 24px;
  background: #12150f;
  min-width: 0;
}

.device-tablet .device-screen {
  border-radius: 17px;
  background: #f2f0e9;
  padding: 16px;
  overflow: hidden;
}

.device-tablet .ui-appbar {
  padding: 0 0 12px;
}

.ui-tablet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.ui-tablet-grid > * {
  min-width: 0;
}

.ui-form,
.ui-plot {
  background: #e8e9e1;
  border-radius: 12px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-form > .ui-label,
.ui-plot > .ui-label {
  padding: 0;
  font-size: 9.5px;
}

.ui-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #f2f0e9;
  font-size: 10px;
  min-width: 0;
}

.ui-field span {
  min-width: 0;
}

.ui-field strong {
  flex: none;
}

.ui-field strong {
  font-size: 10.5px;
}

.ui-validate {
  padding: 6px 8px;
  border-radius: 7px;
  background: #b7c8be;
  font-size: 9.5px;
  color: #2c3620;
}

.ui-primary-action + .ui-footnote {
  margin-top: 1px;
}

.ui-plot svg {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.ui-plot-rows {
  display: grid;
  gap: 3px;
  font-size: 9.5px;
  color: #3f4a47;
}

.ui-plot-rows span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ui-legend {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
}

.ui-legend-sage {
  background: #b7c8be;
}

.ui-legend-blush {
  background: #d6c4b8;
}

.ui-tablet-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 9.5px;
  color: #5b655f;
}

/* --------------------------------------------------------------------------
   Registration record
   -------------------------------------------------------------------------- */

.registration {
  background: var(--surface);
}

.registration-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.registration h2 {
  max-width: 10ch;
}

.record {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.record > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px 24px;
  align-items: baseline;
}

.record dt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.record dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.registration-record {
  background: var(--bg);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 15px;
}

.record-table caption {
  text-align: left;
  padding: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.record-table th,
.record-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.record-table th {
  width: 250px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.record-table td {
  line-height: 1.55;
}

.record-table tr:last-child th,
.record-table tr:last-child td {
  border-bottom: 0;
}

.record-updated {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 72ch;
}

/* --------------------------------------------------------------------------
   Place and photography
   -------------------------------------------------------------------------- */

.place {
  background: var(--bg);
}

.place-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
}

.place figure {
  margin: 0;
  min-width: 0;
}

.place-main {
  grid-row: span 2;
}

.place-grid img,
.wide-photo img,
.about-place-photo img {
  width: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.place-main img {
  height: 100%;
  min-height: 560px;
}

.place-small img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.place figcaption,
.wide-photo figcaption,
.about-place-photo figcaption {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.wide-photo {
  margin: 0;
}

.wide-photo img {
  width: 100%;
  height: clamp(280px, 45vw, 560px);
}

.wide-photo figcaption {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-section {
  background: var(--olive);
  color: var(--pale);
  padding-block: var(--section);
}

.cta-section h2 {
  color: var(--pale);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 12ch;
  text-wrap: normal;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cta-copy p {
  color: #dfe3d7;
  max-width: 48ch;
  font-size: var(--step-lead);
  line-height: 1.45;
}

.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 28px;
}

.cta-email {
  font-size: clamp(19px, 1.4vw + 10px, 24px);
  font-weight: 600;
  color: var(--pale);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

.cta-email:hover {
  color: var(--blush);
}

.cta-phone {
  margin-top: 22px;
  font-size: 14px;
  color: var(--pale-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.cta-phone a {
  color: var(--pale);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cta-phone a:hover {
  color: var(--blush);
}

.cta-phone-note {
  color: var(--pale-muted);
}

/* --------------------------------------------------------------------------
   Inner page heroes
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(44px, 6vw, 76px) clamp(48px, 7vw, 92px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  max-width: 13ch;
}

.page-hero h1 span {
  display: block;
  white-space: nowrap;
}

.page-lead {
  max-width: 58ch;
  margin-top: 22px;
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink-2);
}

.page-hero-aside {
  background: var(--surface);
  padding: clamp(22px, 3vw, 32px);
}

.page-hero-aside > p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.aside-facts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.aside-facts div {
  display: grid;
  gap: 2px;
}

.aside-facts dt {
  font-size: 13px;
  color: var(--muted);
}

.aside-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-story {
  background: var(--bg);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.story-grid h2 {
  max-width: 8ch;
}

.story-copy p {
  font-size: var(--step-body);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 68ch;
}

.about-principles {
  background: var(--surface);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.principle h3 {
  font-size: 24px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.principle p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.about-services {
  background: var(--bg);
}

.service-list {
  display: grid;
  gap: 26px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 14px 40px;
  align-items: start;
}

.service-row-head h3 {
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.02;
}

.service-zh {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.service-row > p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 62ch;
}

.service-deliverables {
  grid-column: 2;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--muted);
}

.service-deliverables li {
  position: relative;
  padding-left: 13px;
}

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

.about-phases {
  background: var(--surface);
}

.phases-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.phases-head {
  position: static;
  align-self: start;
}

.phases-head h2 {
  max-width: 18ch;
}

.phase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px;
}

.phase {
  background: var(--bg);
  padding: clamp(22px, 3vw, 30px);
}

.phase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.phase-head h3 {
  font-size: clamp(26px, 2.2vw, 32px);
}

.phase-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blush);
  flex: none;
}

.phase p {
  font-size: 16px;
  color: var(--ink-2);
}

.phase-deliverables {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

.about-place {
  background: var(--bg);
}

.about-place-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.about-place-grid h2 {
  max-width: 12ch;
}

.about-place-grid p {
  font-size: var(--step-body);
  color: var(--ink-2);
  max-width: 58ch;
}

.about-place-photo {
  margin: 0;
}

.about-place-photo img {
  aspect-ratio: 4 / 3;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-main {
  background: var(--bg);
}

.page-contact .contact-hero {
  padding-bottom: 28px;
}

.page-contact .contact-main {
  padding-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.contact-form-wrap {
  background: var(--surface);
  padding: clamp(22px, 4vw, 44px);
  display: flex;
  flex-direction: column;
}

.contact-form-wrap h2 {
  font-size: clamp(30px, 2.7vw, 40px);
}

.contact-form-intro {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  max-width: 62ch;
}

.contact-form {
  margin-top: 26px;
  display: grid;
  gap: 20px;
}

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

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  padding: 13px 15px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  transition: background-color 0.2s ease;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--olive);
  outline-offset: -1px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  outline: 2px solid #8b2d18;
  outline-offset: -1px;
}

.field-error {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #7d2415;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.consent-field input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--olive);
}

.consent-field label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.consent-field a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-submit {
  justify-self: start;
  margin-top: 2px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--olive);
}

.form-next {
  margin-top: 36px;
  padding-top: 24px;
  background: var(--surface);
}

.form-next h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.form-next p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
}

.form-fallback {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.form-success,
.form-alert {
  margin: 20px 0;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.5;
}

.form-success {
  background: var(--sage);
  color: var(--ink);
}

.form-alert {
  background: var(--blush);
  color: var(--ink);
}

.form-success p {
  margin-top: 6px;
}

/* Hidden honeypot: never shown to people; bots may fill it. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.contact-aside {
  display: grid;
  gap: 20px;
}

.contact-block {
  background: var(--surface);
  padding: clamp(20px, 3vw, 28px);
}

.contact-block h2 {
  font-size: 24px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.contact-block p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
}

.contact-block a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-block-tinted {
  background: var(--blush);
}

.contact-sla {
  margin-top: 12px;
  font-size: 14px !important;
}

.contact-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--olive);
}

.contact-icon svg {
  width: 17px;
  height: 17px;
}

.contact-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: anywhere;
}

address.contact-value {
  font-style: normal;
  font-size: 15px;
}

address.contact-value span {
  display: block;
  margin-top: 6px;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.contact-entity {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.contact-entity div {
  display: grid;
  gap: 1px;
}

.contact-entity dt {
  font-size: 14px;
  color: var(--muted);
}

.contact-entity dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-entity-note {
  margin-top: 16px;
  font-size: 14px !important;
}

/* --------------------------------------------------------------------------
   Products index and detail
   -------------------------------------------------------------------------- */

.breadcrumbs {
  padding-top: 18px;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--muted);
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-2);
}

.breadcrumbs-inline {
  padding-top: 0;
  margin-bottom: 18px;
}

.product-catalog {
  background: var(--bg);
}

.product-rows {
  display: grid;
  gap: clamp(56px, 8vw, 104px);
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.product-row.is-reversed .product-stage {
  order: 2;
}

.product-row.is-reversed .product-row-copy {
  order: 1;
}

.product-row-copy h3 {
  font-size: clamp(34px, 3.4vw, 46px);
}

.product-feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 15px;
  color: var(--ink-2);
}

.product-feature-list li {
  position: relative;
  padding-left: 17px;
}

.product-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
}

.product-category {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}

.product-standards {
  background: var(--surface);
}

.standards-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.standards-grid h2 {
  max-width: 12ch;
}

.standards-copy {
  display: grid;
  gap: 24px;
}

.standard h3 {
  font-size: 23px;
  margin-bottom: 6px;
}

.standard p {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 64ch;
}

.product-hero {
  padding-block: 20px clamp(48px, 6vw, 80px);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.product-hero-copy h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.h1-zh {
  display: block;
  margin-top: 8px;
  font-size: 0.3em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  line-height: 1.2;
}

.product-hero-tagline {
  margin-top: 16px;
  font-size: clamp(22px, 1.6vw + 10px, 28px);
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink-2);
}

.product-meta-hero {
  margin-top: 26px;
}

.product-stage-hero {
  min-height: 620px;
}

.product-detail {
  background: var(--surface);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.product-description p {
  font-size: var(--step-body);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 60ch;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
}

.feature h3 {
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.feature p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.product-privacy {
  background: var(--bg);
}

.privacy-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.permission-table,
.legal-article table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 15px;
}

.permission-table caption,
.legal-article table caption {
  text-align: left;
  padding: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.permission-table th,
.permission-table td,
.legal-article table th,
.legal-article table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.permission-table thead th,
.legal-article table thead th {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.permission-table tbody th,
.legal-article table tbody th {
  font-weight: 600;
}

.permission-table tr:last-child th,
.permission-table tr:last-child td,
.legal-article table tr:last-child th,
.legal-article table tr:last-child td {
  border-bottom: 0;
}

.privacy-note {
  background: var(--blush);
  padding: clamp(22px, 3vw, 30px);
}

.privacy-note h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.privacy-note p {
  font-size: 15.5px;
  line-height: 1.55;
}

.privacy-note .text-link {
  display: flex;
  margin-top: 16px;
  font-size: 15px;
}

.product-availability {
  background: var(--surface);
}

.availability-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.availability-grid h2 {
  max-width: 8ch;
}

.availability-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  max-width: 54ch;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal-hero {
  background: var(--surface);
  padding-block: 28px 58px;
}

.legal-hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  max-width: 16ch;
}

.legal-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.legal-lead {
  margin-top: 16px;
  max-width: 66ch;
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink-2);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 64px) var(--section);
}

.legal-aside {
  position: sticky;
  top: 108px;
}

.legal-toc {
  background: var(--surface);
  padding: 22px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.legal-toc-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.legal-toc a {
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-2);
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a[aria-current="location"] {
  color: var(--olive);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-article {
  max-width: 860px;
  min-width: 0;
}

.legal-article section {
  scroll-margin-top: 110px;
}

.legal-article h2 {
  font-size: clamp(27px, 2.5vw, 34px);
  line-height: 1.08;
  margin: 58px 0 16px;
  scroll-margin-top: 110px;
}

.legal-article section:first-child h2 {
  margin-top: 0;
}

.legal-article h3 {
  font-size: 21px;
  line-height: 1.15;
  margin: 26px 0 8px;
  letter-spacing: -0.025em;
}

.legal-article p {
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 72ch;
}

.legal-article ul,
.legal-article ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
  color: var(--ink-2);
}

.legal-article li {
  margin: 7px 0;
  line-height: 1.6;
  font-size: 17px;
}

.legal-article a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-article a:hover {
  color: var(--olive);
}

.legal-article .table-wrap {
  margin: 20px 0 24px;
}

.legal-callout {
  background: var(--blush);
  padding: clamp(22px, 3vw, 32px);
  margin: 48px 0;
}

.legal-callout h2 {
  margin-top: 0;
}

.legal-callout h3 {
  margin-top: 20px;
}

.legal-callout p,
.legal-callout li {
  max-width: 68ch;
}

.legal-address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  background: var(--surface);
  padding: 22px;
  margin: 16px 0 22px;
  color: var(--ink-2);
}

.app-notice {
  background: var(--surface);
  padding: clamp(20px, 3vw, 28px);
  margin: 18px 0;
}

.app-notice h3 {
  margin-top: 0;
}

.app-notice p {
  font-size: 16px;
}

/* Account deletion page */

.deletion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 64px) var(--section);
}

.deletion-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 20px;
}

.deletion-card {
  background: var(--surface);
  padding: 24px;
}

.deletion-card h2 {
  font-size: 23px;
  line-height: 1.05;
  margin-bottom: 14px;
}

.deletion-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.deletion-card dt {
  font-size: 13px;
  color: var(--muted);
}

.deletion-card dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.deletion-card p {
  font-size: 14px;
  line-height: 1.5;
}

.deletion-card-note {
  margin-top: 16px;
  color: var(--muted);
}

.deletion-card-tinted {
  background: var(--blush);
}

.deletion-card .text-link {
  margin-top: 12px;
  font-size: 14px;
}

.deletion-steps {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  display: grid;
  gap: 24px;
}

.deletion-steps > li {
  background: var(--surface);
  padding: clamp(20px, 3vw, 28px);
}

.deletion-steps h3 {
  margin-top: 0;
}

.mail-template {
  background: var(--bg);
  padding: 16px 18px;
  margin: 14px 0;
  font-size: 15px;
  line-height: 1.55;
}

.mail-template p {
  margin: 0 0 4px;
  font-size: 15px;
  max-width: none;
}

.mail-template-subject {
  font-weight: 700;
  margin-bottom: 8px !important;
}

.deletion-mailto {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.deletion-mailto .btn {
  font-size: 14px;
  min-height: 42px;
  padding: 9px 16px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--pale);
  padding-top: clamp(64px, 8vw, 104px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.65fr) minmax(0, 0.65fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
}

.brand-footer {
  color: var(--pale);
}

.footer-brand .brand-en {
  font-size: 20px;
}

.footer-brand .brand-zh {
  color: var(--pale-muted);
  font-size: 13px;
}

.footer-legal-name {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pale);
  max-width: 52ch;
}

.footer-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pale-muted);
  max-width: 48ch;
}

.footer-registration {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
}

.footer-registration dt {
  font-size: 14px;
  color: #a6b0a4;
}

.footer-registration dd {
  margin: 0;
  font-size: 13px;
  color: var(--pale);
  overflow-wrap: anywhere;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--pale);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col li {
  font-size: 15px;
  line-height: 1.4;
}

.footer-col a {
  color: var(--pale-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--pale);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--pale-muted);
  font-size: 14px;
}

.footer-icon {
  color: var(--blush);
  flex: none;
  margin-top: 1px;
}

.footer-icon svg {
  width: 16px;
  height: 16px;
}

.footer-contact-list a {
  overflow-wrap: anywhere;
}

.footer-contact-list address {
  font-style: normal;
  line-height: 1.5;
}

.footer-address-zh {
  display: block;
  margin-top: 6px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pale);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-contact-link:hover {
  color: var(--blush);
}

.footer-legal {
  margin-top: clamp(56px, 7vw, 88px);
  padding-bottom: 28px;
}

.footer-copyright {
  font-size: 14px;
  line-height: 1.5;
  color: var(--pale);
  max-width: 90ch;
}

.footer-meta {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pale-muted);
  max-width: 100ch;
}

.credits {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #a6b0a4;
  max-width: 90ch;
}

.credits a {
  color: #c6cbbc;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.credits a:hover {
  color: var(--pale);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  font-size: 14px;
  color: #a6b0a4;
}

.footer-top-link {
  color: var(--pale-muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-top-link:hover {
  color: var(--pale);
}

.footer-wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.18em;
  margin-top: clamp(40px, 6vw, 72px);
  padding-bottom: 14px;
  font-size: clamp(54px, 9.8vw, 146px);
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.065em;
  color: #626e60;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Error pages
   -------------------------------------------------------------------------- */

.error-page {
  padding-block: clamp(80px, 12vw, 180px);
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.error-page h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
}

.error-links {
  background: var(--surface);
  padding: clamp(22px, 3vw, 32px);
}

.error-links h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.error-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 16px;
}

.error-links a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroShutter {
  from { clip-path: circle(0% at 50% 50%); }
  to { clip-path: circle(76% at 50% 50%); }
}

@keyframes heroDrift {
  0% { transform: scale(1.1); }
  30% { transform: scale(1.02); }
  100% { transform: scale(1.055); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > h1 {
    animation: heroRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js .hero-copy > .hero-cn {
    animation: heroRise 0.8s 0.08s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js .hero-copy > .hero-lead {
    animation: heroRise 0.8s 0.16s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js .hero-copy > .hero-actions {
    animation: heroRise 0.8s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js .hero-copy > .hero-meta {
    animation: heroRise 0.8s 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js .hero-disc {
    animation: heroShutter 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js .hero-disc img {
    animation: heroDrift 24s ease-in-out 1.1s infinite alternate;
  }
  .js .hero-caption {
    animation: heroRise 0.9s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .js .hero-node {
    animation: heroRise 0.9s 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}

.reveal-ready .reveal {
  transform: translateY(14px);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal.is-visible {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero h1 {
    font-size: clamp(40px, 5.8vw, 68px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .hero-disc {
    width: clamp(360px, 50vw, 600px);
  }

  .hero-ring {
    width: clamp(400px, 54vw, 660px);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-contact-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 24px;
  }

  .footer-contact-list li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-block: 38px 64px;
  }

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

  .hero h1 {
    font-size: clamp(40px, 8.8vw, 68px);
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 0;
    margin: 12px calc(var(--gutter) * -1) 0 0;
    justify-items: end;
  }

  .hero-disc {
    width: min(78vw, 560px);
    margin-right: -12%;
  }

  .hero-ring {
    width: min(84vw, 610px);
    margin-right: -12%;
  }

  .hero-node {
    left: 8%;
    bottom: 0;
  }


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

  .section-head,
  .page-hero-grid,
  .capability-layout,
  .product-feature,
  .registration-grid,
  .story-grid,
  .phases-grid,
  .about-place-grid,
  .contact-grid,
  .standards-grid,
  .product-detail-grid,
  .privacy-summary-grid,
  .availability-grid,
  .cta-grid,
  .error-grid,
  .about-place-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    gap: 18px;
  }

  .section-head h2 {
    max-width: 18ch;
  }

  .capability-layout {
    gap: 36px;
  }

  .capability-map {
    max-width: 480px;
  }

  .product-stage {
    min-height: 500px;
  }

  .product-card-wide {
    grid-template-columns: 1fr;
  }

  .product-card-wide .product-stage {
    min-height: 440px;
  }

  .product-pair {
    grid-template-columns: 1fr;
  }

  .product-card-tall .product-stage {
    min-height: 420px;
  }

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

  .place-main {
    grid-row: auto;
  }

  .place-main img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .place-small img {
    aspect-ratio: 16 / 9;
  }

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

  .principle {
    max-width: 68ch;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-deliverables {
    grid-column: 1;
    margin-top: 4px;
  }

  .about-place-grid {
    gap: 32px;
  }

  .about-place-photo {
    order: -1;
  }

  .about-place-photo img {
    aspect-ratio: 16 / 9;
  }

  .contact-grid {
    gap: 24px;
  }

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

  .contact-block:first-child {
    grid-column: 1 / -1;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .product-row.is-reversed .product-stage,
  .product-row.is-reversed .product-row-copy {
    order: initial;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-stage-hero {
    min-height: 560px;
  }

  .product-detail-grid {
    gap: 28px;
  }

  .feature-list {
    gap: 22px 28px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-aside,
  .deletion-aside {
    position: static;
  }

  .legal-toc {
    max-height: none;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 6px 18px;
  }

  .deletion-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .deletion-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }

  .footer-wordmark {
    font-size: 9.8vw;
    line-height: 0.82;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 74px;
  }

  .mobile-nav {
    top: 74px;
  }

  body {
    font-size: 17px;
  }

  .hero {
    padding-block: 26px 52px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 56px);
    letter-spacing: -0.055em;
  }

  .hero-cn {
    margin-top: 14px;
    font-size: 17px;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 19px;
    line-height: 1.45;
  }

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

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-visual {
    margin-top: 22px;
  }

  .hero-disc {
    width: 94vw;
    margin-right: -22vw;
  }

  .hero-ring {
    width: 104vw;
    margin-right: -22vw;
  }

  .hero-node {
    width: 88px;
    height: 88px;
    font-size: 9.5px;
    left: 4%;
    bottom: 2%;
  }

  .hero-node .mark {
    width: 22px;
    height: 22px;
  }


  body h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .section {
    padding-block: clamp(68px, 12vw, 96px);
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2 {
    max-width: 15ch;
  }

  .fact-band {
    padding-block: 22px;
  }

  .fact-figure {
    font-size: 32px;
  }

  .fact-label {
    font-size: 13px;
  }

  .capability-map {
    max-width: 420px;
  }

  .map-node {
    width: 104px;
    height: 104px;
    font-size: 15px;
  }

  .map-node-center {
    width: 124px;
    height: 124px;
  }

  .cap-panel {
    min-height: 0;
    padding: 22px;
  }

  .cap-panel h3 {
    font-size: 28px;
  }

  .product-stage {
    min-height: 470px;
    padding: 18px 18px 48px;
  }

  .device-phone {
    width: min(280px, 84vw);
  }

  .device-phone .device-screen {
    min-height: 548px;
  }

  .product-feature .product-stage,
  .product-stage-hero {
    min-height: 500px;
  }

  .product-card-wide .product-stage,
  .product-card-tall .product-stage {
    min-height: 430px;
  }

  .products-note {
    font-size: 14px;
  }

  .registration h2 {
    max-width: 14ch;
  }

  .record > div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .place-grid {
    gap: 14px;
  }

  .place-main img,
  .place-small img {
    aspect-ratio: 4 / 3;
  }

  .page-hero {
    padding-block: 30px 50px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 10.2vw, 52px);
  }

  .page-lead {
    margin-top: 16px;
    font-size: 19px;
  }

  .page-hero-aside {
    padding: 20px;
  }

  .story-grid h2,
  .phases-head h2,
  .about-place-grid h2,
  .standards-grid h2 {
    max-width: 15ch;
  }

  .story-copy p,
  .about-place-grid p,
  .legal-article p {
    font-size: 17px;
  }

  .service-row-head h3 {
    font-size: 27px;
  }

  .phases-grid {
    gap: 26px;
  }

  .phases-head {
    position: static;
  }

  .contact-aside {
    grid-template-columns: 1fr;
  }

  .page-contact .page-hero-aside {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-wrap {
    padding: 20px;
  }

  .product-row-copy h3 {
    font-size: 36px;
  }

  .product-stage-hero {
    min-height: 500px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-hero-copy h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .product-category {
    margin-bottom: 4px;
  }

  .legal-hero {
    padding-block: 22px 40px;
  }

  .legal-hero h1 {
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .legal-lead {
    font-size: 18px;
  }

  .legal-layout {
    padding-block: 28px 72px;
  }

  .legal-toc {
    padding: 18px;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 16px;
  }

  .legal-toc a {
    font-size: 13px;
  }

  .legal-article .table-wrap::before,
  .privacy-summary-grid .table-wrap::before {
    content: "Scroll the table horizontally to see every column.";
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--muted);
  }

  .legal-article h2 {
    font-size: 27px;
    margin-top: 42px;
  }

  .legal-article h3 {
    font-size: 20px;
  }

  .legal-article p,
  .legal-article li,
  .legal-article ul,
  .legal-article ol {
    font-size: 16.5px;
  }

  .legal-article table {
    min-width: 580px;
  }

  .record-table,
  .record-table tbody,
  .record-table tr,
  .record-table th,
  .record-table td,
  .record-table caption {
    display: block;
    width: auto;
  }

  .record-table caption {
    width: 100%;
    padding: 0 0 14px;
  }

  .record-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .record-table tr:last-child {
    border-bottom: 0;
  }

  .record-table th,
  .record-table td {
    padding: 0;
    border: 0;
  }

  .record-table th {
    padding-bottom: 4px;
  }

  .legal-callout {
    padding: 20px;
    margin: 36px 0;
  }

  .deletion-steps > li {
    padding: 20px;
  }

  .deletion-aside {
    grid-template-columns: 1fr;
  }

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

  .footer-contact {
    grid-column: auto;
  }

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

  .footer-contact-list li:last-child {
    grid-column: auto;
  }

  .footer-legal {
    margin-top: 44px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-wordmark {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 22vw;
    line-height: 0.8;
  }

  .cta-section h2 {
    font-size: clamp(34px, 10.2vw, 52px);
    max-width: 18ch;
    text-wrap: normal;
  }

  .cta-copy p {
    font-size: 19px;
  }

  .cta-email {
    font-size: 20px;
  }

  .error-page {
    padding-block: 64px 96px;
  }

  .error-page h1 {
    font-size: clamp(44px, 13vw, 72px);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(32px, 10.6vw, 46px);
  }

  .hero-node {
    display: none;
  }

  .product-stage {
    min-height: 430px;
    padding-bottom: 46px;
  }

  .device-phone {
    width: min(270px, 84vw);
  }

  .device-phone .device-screen {
    min-height: 530px;
  }

  .ui-note-list li {
    padding: 7px 9px;
  }

  .ui-graph {
    margin-top: 8px;
  }

  .ui-tabbar {
    padding-bottom: 12px;
  }

  .product-stage-hero {
    min-height: 470px;
  }

  .contact-submit {
    width: 100%;
  }

  .deletion-mailto {
    flex-direction: column;
    align-items: stretch;
  }

  .deletion-mailto .btn {
    justify-content: center;
  }

  .footer-wordmark {
    font-size: 20.5vw;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion and print
   -------------------------------------------------------------------------- */

@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;
  }

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

@media print {
  .site-header,
  .site-footer,
  .legal-aside,
  .deletion-aside,
  .breadcrumbs,
  .cta-section,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .legal-hero {
    background: #fff;
    padding: 0 0 12pt;
  }

  .legal-layout,
  .deletion-layout {
    display: block;
    padding: 0;
  }

  .legal-article {
    max-width: none;
  }

  .legal-article a {
    color: #000;
  }

  .legal-article h2 {
    page-break-after: avoid;
  }

  .table-wrap {
    overflow: visible;
  }

  .legal-article table {
    min-width: 0;
    font-size: 9pt;
  }
}
