/* RentMac in the CoreSpeed landing design system (2026): light desk ground,
   white surfaces with hairlines, Inter display with one serif-italic accent,
   JetBrains Mono for machine facts, one dark material button per screen. */

@font-face {
  font-family: "Inter Variable";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  src: url("fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --desk: #efefef;
  --page: #fafafa;
  --panel: #f6f6f6;
  --surface: #ffffff;
  --line: #e0e0e0;
  --line-subtle: #ebebeb;
  --fill-row: #f1f1f1;
  --ink: #1b1b1b;
  --ink-2: #5c5c5c;
  --ink-3: #696969;
  --ok: #1e7a44;
  --warn: #e2944a;
  --error: #e5605c;
  --series-1: #3e7bfa;
  --wrap: 1168px;
  --gutter: 32px;
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Inter Variable", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  interpolate-size: allow-keywords;
}

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

html {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  caret-color: var(--series-1);
  accent-color: var(--ink);
}

html {
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf transparent;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 999px;
  border: 2px solid var(--page);
}
::-webkit-scrollbar-track {
  background: transparent;
}

::selection {
  background: rgba(62, 123, 250, 0.16);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}
.faq-answer a,
p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

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

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

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

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.brand {
  width: 18px;
  height: 18px;
  flex: none;
}

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

/* Status grammar: a 7px dot plus a word. */
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.dot--ok {
  background: var(--ok);
}

/* ---------- Buttons ---------- */

.button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.18);
  transition:
    background 0.15s,
    transform 0.15s var(--ease);
}
.button-dark:hover {
  background: #333;
}
.button-dark:active {
  transform: translateY(1px);
}
.button-wide {
  width: 100%;
  height: 50px;
}
.cta-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.button-dark:hover .cta-arrow {
  transform: translateX(3px);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.button-secondary:hover {
  border-color: #cfcfcf;
  background: #fff;
}
.button-secondary:active {
  transform: translateY(1px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-subtle);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 64px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.lockup {
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-self: start;
}
.lockup-name {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.lockup-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.15s;
}
.lockup-by:hover {
  color: var(--ink);
}
.lockup-mark {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  transform: translateY(2px);
}
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
}
.lang-switch:hover {
  background: rgba(27, 27, 27, 0.05);
  color: var(--ink);
}
.lang-switch .icon {
  width: 16px;
  height: 16px;
}

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

.js .hero-rise {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 0.8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes hero-rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.hero {
  padding: 88px 0 0;
  text-align: center;
  background: linear-gradient(var(--page), var(--desk) 86%, var(--page));
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-weight: 350;
  font-size: clamp(44px, 8.6vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 32;
  text-wrap: balance;
}
.h1-line {
  display: block;
}
.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.16em;
  line-height: 0;
  letter-spacing: -0.01em;
}
.hero-lede {
  max-width: 560px;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}
.hero-price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}
.hero-map-panel {
  width: min(1080px, 100%);
  margin: 40px 0 0;
}
.hero-map {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  /* No frame: the dots dissolve at the edges instead of hitting a box. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.map-dots {
  fill: var(--ink);
  opacity: 0.13;
}
.map-arc {
  fill: none;
  stroke: var(--series-1);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.18;
  stroke-dasharray: 6 7;
}
.map-arc.is-drawing {
  opacity: 1;
  stroke-width: 2;
}
.map-arc.is-flowing {
  opacity: 1;
  stroke-width: 2;
  animation: arc-flow 0.9s linear infinite;
}
@keyframes arc-flow {
  to {
    stroke-dashoffset: -13;
  }
}
.map-pulse {
  fill: var(--series-1);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(62, 123, 250, 0.8));
}
.map-pulse.is-on {
  opacity: 1;
}
.map-ping {
  fill: none;
  stroke: var(--series-1);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.is-active > .map-ping {
  animation: ping 0.9s ease-out;
}
@keyframes ping {
  0% {
    opacity: 0.6;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}
.map-user {
  cursor: pointer;
  outline: none;
}
.map-user:focus-visible .map-user-ring {
  stroke: var(--ink);
  stroke-width: 2;
}
.mac-chip-in {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mac-chip rect {
  fill: var(--surface);
  stroke: var(--line);
  filter: drop-shadow(0 2px 5px rgba(27, 27, 27, 0.12));
}
.mac-chip text {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 550;
  text-anchor: middle;
}
.mac-chip.is-on .mac-chip-in {
  opacity: 1;
  transform: none;
}
.map-user-ring {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 1.2;
  filter: drop-shadow(0 1px 2px rgba(27, 27, 27, 0.1));
  transition: stroke 0.2s;
}
.map-user:hover .map-user-ring {
  stroke: var(--ink-3);
}
.map-user-icon {
  color: var(--ink-2);
}
.map-user.is-active .map-user-ring {
  stroke: var(--series-1);
  stroke-width: 1.6;
}
.map-user.is-active .map-user-icon {
  color: var(--ink);
}

.map-city {
  fill: var(--ink-3);
  font-size: 12px;
  text-anchor: middle;
  paint-order: stroke;
  stroke: var(--page);
  stroke-width: 3.5px;
  stroke-linejoin: round;
}
.map-label {
  fill: var(--ink);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-anchor: middle;
  paint-order: stroke;
  stroke: var(--page);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.mini-light {
  fill: #9aa0a8;
}
.mini-light--on {
  fill: var(--series-1);
  animation: breathe 3.2s ease-in-out infinite;
}
.map-mac-halo {
  fill: rgba(62, 123, 250, 0.08);
  transition: fill 0.25s;
}
.map-mac.is-active .map-mac-halo {
  fill: rgba(62, 123, 250, 0.18);
}
.map-mac .mini-light--on {
  fill: #9aa0a8;
  animation: none;
}
.map-mac.is-active .mini-light--on {
  fill: var(--series-1);
  animation: breathe 1.6s ease-in-out infinite;
}
.map-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 24px;
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}
@keyframes breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.hero-note {
  max-width: 460px;
  margin: 28px 0 0;
  padding-bottom: 56px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------- Sections ---------- */

.section {
  padding-top: 112px;
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 450;
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 28;
  text-wrap: balance;
}
.lede {
  max-width: 60ch;
  text-wrap: pretty;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.footnote {
  max-width: 76ch;
  text-wrap: pretty;
  margin-top: 24px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

/* Reveal on scroll (only when JS runs). */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.cell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px 26px;
  transition: border-color 0.2s;
}
.cell:hover {
  border-color: #cfcfcf;
}
.cell h3 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.cell-line {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.cell--status {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}
.cell--net {
  grid-column: 4 / 7;
  grid-row: 1;
}
.cell--ready {
  grid-column: 4 / 7;
  grid-row: 2;
}
.cell--plain {
  grid-column: span 2;
}

.status-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px 16px 12px;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  background: var(--panel);
  font-size: 14px;
}
.status-mac {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 4px;
}
.status-mac .small-mini {
  width: clamp(170px, 46%, 230px);
  height: auto;
}
.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-online {
  margin-left: auto;
  font-size: 13px;
  color: var(--ok);
}
.status-spec {
  margin-top: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-subtle);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.status-tasks {
  position: relative;
  height: 34px;
  margin-top: 4px;
}
.status-tasks li {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.status-tasks li.is-active {
  opacity: 1;
  transform: none;
  transition-delay: 0.32s;
}
.task-brand {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.task-name {
  font-weight: 550;
}
.task-state {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-3);
}

.net-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.net-services li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-subtle);
  border-radius: 10px;
  background: var(--panel);
  font-size: 14px;
}
.net-services .brand {
  width: 17px;
  height: 17px;
}

.ready-list {
  margin-top: 14px;
}
.ready-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
}
.ready-list li > .brand,
.ready-list li > .icon {
  margin-top: 2px;
}
.ready-text {
  flex: 1;
  min-width: 0;
}
.ready-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.ready-name {
  font-weight: 550;
}
.ready-desc {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
.ready-list li + li {
  border-top: 1px solid var(--line-subtle);
}
.ready-list .brand,
.ready-list .icon {
  width: 20px;
  height: 20px;
}
.ready-tag {
  margin-left: auto;
  padding-left: 12px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
}

/* ---------- Rules (TIE demo) ---------- */

.rules-panel {
  position: relative;
  height: 540px;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 70% 30%, rgba(62, 123, 250, 0.07), transparent 70%),
    var(--panel);
  overflow: hidden;
}
.win {
  position: absolute;
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.win-back {
  left: 6%;
  top: 48px;
  width: 46%;
  height: 340px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(27, 27, 27, 0.25);
}
.win-front {
  right: 6%;
  top: 204px;
  width: 50%;
  height: 300px;
  background: #171717;
  color: #ececec;
  box-shadow: 0 24px 60px -24px rgba(27, 27, 27, 0.5);
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-subtle);
  font-size: 13px;
  color: var(--ink-3);
}
.win-front .win-bar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: rgba(236, 236, 236, 0.55);
}
.win-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.win-front .win-bar i {
  background: rgba(255, 255, 255, 0.18);
}
.win-bar span {
  margin-left: auto;
}
.ens {
  display: grid;
  grid-template-columns: 42% 1fr;
  height: calc(100% - 38px);
}
.ens-side {
  padding: 12px 10px;
  border-right: 1px solid var(--line-subtle);
  background: var(--panel);
}
.ens-side li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ens-side li.is-current {
  background: #e8e8e8;
  color: var(--ink);
}
.sess-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--warn);
}
.ens-side li + li .sess-dot {
  background: var(--ok);
}
.ens-main {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}
.ens-main b {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--fill-row);
}
.term {
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 13px;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font);
  font-size: 15px;
}
.term-head span {
  color: rgba(236, 236, 236, 0.5);
  font-family: var(--mono);
  font-size: 12px;
}
.term-log li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: rgba(236, 236, 236, 0.8);
}
.log-mark {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
}
.log-mark .icon {
  width: 15px;
  height: 15px;
  color: #5fd38f;
}
.log-wait {
  color: #ffc07e !important;
}
.log-no .log-mark .icon {
  color: #ff9b95;
}
.spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 192, 126, 0.3);
  border-top-color: #ffc07e;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.approval {
  position: absolute;
  right: 3.5%;
  top: 28px;
  width: 320px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px -18px rgba(27, 27, 27, 0.35);
  animation: drop-in 0.7s var(--ease) both;
  animation-play-state: paused;
}
.is-visible .approval {
  animation-play-state: running;
  animation-delay: 0.5s;
}
@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }
}
.approval-from {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.approval-from .brand {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.approval-title {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}
.approval-cmd {
  display: block;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #171717;
  color: #ececec;
  font-family: var(--mono);
  font-size: 13px;
}
.approval-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.approval-actions button {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
.approval-actions button:hover {
  background: var(--panel);
}
.approval-actions button:active {
  transform: scale(0.98);
}
.approval-actions .is-primary {
  border-color: transparent;
  background: var(--ink);
  color: #fff;
}
.approval-actions .is-primary:hover {
  background: #333;
}
.approval-result {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 36px;
  font-size: 14px;
}
.approval-hint {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--ink-3);
}
[data-state="approved"] .approval-actions,
[data-state="denied"] .approval-actions {
  display: none;
}
[data-state="approved"] .approval-result,
[data-state="denied"] .approval-result {
  display: flex;
}
[data-state="approved"] .approval-result {
  color: var(--ok);
}
[data-state="denied"] .approval-result {
  color: var(--error);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.feature-row > li {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.feature-row .icon {
  width: 20px;
  height: 20px;
  color: var(--ink-3);
}
.feature-row h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 550;
}
.feature-row p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- Pricing ---------- */

.price-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.price-spec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
}
.spec-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-subtle);
}
.spec-list > div:first-child {
  padding-top: 0;
}
.spec-list dt {
  flex: none;
  font-size: 14px;
  color: var(--ink-3);
}
.spec-list dd {
  font-family: var(--mono);
  font-size: 14px;
  text-align: right;
}
.spec-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-3);
}
.price-buy {
  padding: 44px 48px;
  border-left: 1px solid var(--line-subtle);
  background: var(--panel);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips span {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  color: var(--ink-2);
}
.plan-label {
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-3);
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 6px;
}
.price-num {
  font-size: clamp(64px, 7vw, 92px);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 32;
}
.price-per {
  font-size: 18px;
  color: var(--ink-2);
}
.price-tax {
  font-size: 13px;
  color: var(--ink-3);
}
.price-buy .button-dark {
  margin-top: 28px;
}
.perks {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.perks .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--ok);
}

/* ---------- Steps ---------- */

.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 44px;
}
.step-row li {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.step-when {
  font-size: 13px;
  color: var(--ink-3);
}
.step-row h3 {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.step-row p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 820px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line-subtle);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 2px 21px 0;
  font-size: 16.5px;
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .icon {
  color: var(--ink-3);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary .icon {
  transform: rotate(180deg);
}
.faq-item summary:hover {
  color: #000;
}
.faq-item::details-content {
  height: 0;
  overflow: clip;
  transition:
    height 0.3s var(--ease),
    content-visibility 0.3s allow-discrete;
}
.faq-item[open]::details-content {
  height: auto;
}
.faq-answer p {
  max-width: 68ch;
  padding-bottom: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ---------- Closing ---------- */

.closing {
  margin-top: 120px;
  padding: 96px 0 104px;
  background: linear-gradient(var(--page), var(--desk));
  border-top: 1px solid var(--line-subtle);
}
.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.closing h2 {
  font-size: clamp(36px, 5.6vw, 72px);
  font-weight: 350;
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 32;
}
.closing-inner p {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-2);
}
.closing .button-dark {
  margin-top: 32px;
}

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

.site-footer {
  padding: 56px 0 36px;
  background: var(--surface);
  border-top: 1px solid var(--line-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-name {
  display: block;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.footer-wordmark {
  display: inline-block;
  margin-top: 10px;
}
.footer-wordmark .wordmark {
  width: 118px;
  height: auto;
  opacity: 0.85;
}
.footer-blurb {
  max-width: 300px;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition:
    color 0.15s,
    border-color 0.15s;
}
.footer-social a:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}
.footer-social .brand {
  width: 15px;
  height: 15px;
}
.footer-col h3 {
  font-size: 13px;
  font-weight: 600;
}
.footer-col ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink-3);
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-base {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-subtle);
  font-size: 12.5px;
  color: var(--ink-3);
}

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

@media (max-width: 1080px) {
  .rules-panel {
    height: 600px;
  }
  .win-back {
    left: 4%;
    width: 52%;
  }
  .win-front {
    right: 4%;
    width: 58%;
  }
  .price-spec,
  .price-buy {
    padding: 36px 32px;
  }
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .cell--status,
  .cell--net,
  .cell--ready {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .cell--plain {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }
  body {
    font-size: 14.5px;
  }
  .section {
    padding-top: 80px;
  }
  .hero {
    padding-top: 56px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-map-panel {
    width: 100%;
  }
  .map-city {
    font-size: 15px;
  }
  .map-label {
    font-size: 17px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .cell--status,
  .cell--net,
  .cell--ready,
  .cell--plain {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .rules-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
    padding: 16px;
  }
  .win,
  .approval {
    position: relative;
    inset: auto;
    width: 100%;
  }
  .win-back {
    display: none;
  }
  .win-front {
    height: auto;
    order: 2;
  }
  .approval {
    order: 1;
  }
  .feature-row,
  .step-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .price-panel {
    grid-template-columns: 1fr;
  }
  .price-buy {
    border-left: 0;
    border-top: 1px solid var(--line-subtle);
  }
  .price-spec,
  .price-buy {
    padding: 28px 22px;
  }
  .spec-list > div {
    flex-direction: column;
    gap: 4px;
  }
  .spec-list dd {
    text-align: left;
  }
  .faq-item summary {
    font-size: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Chinese marketing lines break between clauses, not inside words;
   overflow-wrap stays as the emergency exit for narrow screens. */
html[lang="zh-CN"] .hero-lede,
html[lang="zh-CN"] .lede,
html[lang="zh-CN"] .cell-line,
html[lang="zh-CN"] .closing-inner p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@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;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
