:root {
  color-scheme: light;
  --page: #f7f4ed;
  --page-deep: #efebe2;
  --surface: #ffffff;
  --surface-soft: #faf8f3;
  --surface-muted: #f0ede5;
  --text: #17181a;
  --text-soft: #35383d;
  --muted: #62666d;
  --faint: #858a92;
  --line: rgba(23, 24, 26, 0.1);
  --line-strong: rgba(23, 24, 26, 0.17);
  --accent: #1f2125;
  --accent-strong: #000000;
  --accent-soft: #eee8db;
  --highlight: #e8c57e;
  --on-accent: #f8f5ee;
  --image-outline: rgba(0, 0, 0, 0.12);
  --shadow-xs: 0 2px 8px rgba(25, 29, 35, 0.04);
  --shadow-sm: 0 12px 30px rgba(25, 29, 35, 0.07);
  --shadow-lg: 0 36px 90px rgba(25, 29, 35, 0.14), 0 8px 24px rgba(25, 29, 35, 0.06);
  --tint-blue: #eee9df;
  --tint-blue-ink: #5f5548;
  --tint-rose: #fdecec;
  --tint-rose-ink: #a94b54;
  --tint-amber: #fff2d8;
  --tint-amber-ink: #976110;
  --tint-green: #e7f5ee;
  --tint-green-ink: #237253;
  --tint-violet: #f0eaff;
  --tint-violet-ink: #6842b8;
  --tint-slate: #edf1f4;
  --tint-slate-ink: #50606d;
  --shell: 1180px;
  --shell-wide: 1320px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --font-sans: 'Segoe UI Variable', 'Segoe UI', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #101214;
  --page-deep: #0b0d0f;
  --surface: #191b1e;
  --surface-soft: #15171a;
  --surface-muted: #141619;
  --text: #f0f1f2;
  --text-soft: #d9dce0;
  --muted: #a7abb2;
  --faint: #858a92;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #f2eee4;
  --accent-strong: #ffffff;
  --accent-soft: rgba(242, 238, 228, 0.12);
  --highlight: rgba(217, 168, 95, 0.38);
  --on-accent: #17181a;
  --image-outline: rgba(255, 255, 255, 0.12);
  --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.23);
  --shadow-lg: 0 36px 90px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2);
  --tint-blue: rgba(242, 238, 228, 0.1);
  --tint-blue-ink: #d9d3c5;
  --tint-rose: rgba(236, 112, 128, 0.14);
  --tint-rose-ink: #f0a1aa;
  --tint-amber: rgba(236, 177, 69, 0.14);
  --tint-amber-ink: #efc36e;
  --tint-green: rgba(76, 186, 133, 0.14);
  --tint-green-ink: #8ad6b1;
  --tint-violet: rgba(161, 125, 255, 0.14);
  --tint-violet-ink: #b9a2ff;
  --tint-slate: rgba(139, 161, 179, 0.13);
  --tint-slate-ink: #b0c0cc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button:not(:disabled),
a {
  cursor: pointer;
}

::selection {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}

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

.theme-switching *,
.theme-switching *::before,
.theme-switching *::after {
  transition: none !important;
}

.shell,
.shell-wide {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: 32px;
}

.shell-wide {
  width: min(100%, var(--shell-wide));
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--page);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 84%, transparent);
  backdrop-filter: blur(18px) saturate(1.15);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  transition: color 160ms var(--ease);
}

.site-nav a::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition:
    opacity 160ms var(--ease),
    transform 160ms var(--ease);
}

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

.site-nav a[aria-current='location']::after {
  opacity: 1;
  transform: scaleX(1);
}

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

.theme-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  transition:
    color 160ms var(--ease),
    border-color 160ms var(--ease),
    background-color 160ms var(--ease);
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-moon,
:root[data-theme='dark'] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme='dark'] .theme-toggle .icon-moon {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 620;
  letter-spacing: -0.012em;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 150ms var(--ease),
    background-color 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:active {
  transform: scale(0.96);
}

.button--large {
  min-height: 50px;
  padding-inline: 22px;
  border-radius: 12px;
  font-size: 15px;
}

.button--compact {
  min-width: 68px;
}

.button--primary {
  background: var(--text);
  color: var(--page);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--text) 15%, transparent);
}

.button--primary:hover {
  background: color-mix(in srgb, var(--text) 88%, var(--accent));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--text) 20%, transparent);
}

.button--quiet {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  color: var(--text);
}

.button--quiet:hover {
  border-color: color-mix(in srgb, var(--line-strong) 65%, var(--text));
  background: var(--surface);
}

.button--light {
  background: #ffffff;
  color: #15171a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.button--light:hover {
  background: #f5f6f7;
}

.button--ghost-dark {
  border-color: rgba(255, 255, 255, 0.24);
  color: #f7f8fa;
}

.button--ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  padding: 96px 0 0;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(52% 56% at 50% 4%, rgba(161, 116, 42, 0.1), transparent 69%),
    radial-gradient(32% 35% at 14% 11%, rgba(232, 178, 82, 0.11), transparent 72%),
    radial-gradient(34% 40% at 88% 7%, rgba(23, 24, 26, 0.035), transparent 72%);
}

:root[data-theme='dark'] .hero-atmosphere {
  background:
    radial-gradient(52% 56% at 50% 4%, rgba(214, 162, 74, 0.11), transparent 69%),
    radial-gradient(32% 35% at 14% 11%, rgba(201, 138, 50, 0.07), transparent 72%),
    radial-gradient(34% 40% at 88% 7%, rgba(255, 255, 255, 0.03), transparent 72%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 9px;
  margin: 0 0 26px;
  padding: 5px 13px 5px 11px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 64%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  box-shadow: var(--shadow-xs);
}

.hero-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent);
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3.45rem, 5.9vw, 5.15rem);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
}

.hero-lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.8;
  text-wrap: pretty;
}

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

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 66px;
}

.app-window {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.app-window--hero {
  border-radius: 20px;
}

.app-window img {
  width: 100%;
  height: auto;
}

.hero .app-window img,
.feature-media .app-window img {
  outline: 1px solid var(--image-outline);
  outline-offset: -1px;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 54%, transparent);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-block: 18px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 25px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 560;
  letter-spacing: 0.015em;
}

.trust-line span::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.section {
  padding-block: 112px;
}

.section--muted {
  border-block: 1px solid var(--line);
  background: var(--surface-muted);
}

.section-heading {
  max-width: 760px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--compact {
  max-width: 680px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  align-items: end;
  max-width: none;
  gap: 72px;
}

.section-heading--docs {
  margin-bottom: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 720;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.eyebrow--on-dark {
  color: #91beff;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 3.55vw, 3.2rem);
  font-weight: 640;
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-heading > p,
.section-heading > div + p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.section-heading--center > p:last-child {
  max-width: 650px;
  margin: 18px auto 0;
}

.section-heading--split > p {
  padding-bottom: 5px;
  text-wrap: pretty;
}

.feature-stack {
  margin-top: 68px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 72px;
  padding-block: 54px;
  border-top: 1px solid var(--line);
}

.feature-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.feature-row:last-child {
  padding-bottom: 0;
}

.feature-row--reverse {
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
}

.feature-row--reverse .feature-media {
  order: 2;
}

.feature-row--reverse .feature-copy {
  order: 1;
}

.feature-media {
  min-width: 0;
}

.app-window--feature {
  border-radius: 17px;
  box-shadow:
    0 24px 64px rgba(25, 29, 35, 0.12),
    0 4px 14px rgba(25, 29, 35, 0.05);
}

:root[data-theme='dark'] .app-window--feature {
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.34),
    0 4px 14px rgba(0, 0, 0, 0.18);
}

.feature-copy {
  max-width: 470px;
}

.feature-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 640;
  letter-spacing: 0.08em;
}

.feature-index span {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.feature-index::after {
  content: '';
  width: 34px;
  height: 1px;
  margin-left: 2px;
  background: var(--line-strong);
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.1rem);
  font-weight: 640;
  line-height: 1.3;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.feature-lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.8px;
  line-height: 1.85;
  text-wrap: pretty;
}

.feature-points {
  margin: 25px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-points li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13.7px;
  line-height: 1.72;
}

.feature-points li::before {
  content: '';
  position: absolute;
  top: 1.42em;
  left: 1px;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.principle-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.principle-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.principle-icon,
.doc-icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
}

.principle-icon svg,
.doc-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle-icon--blue,
.doc-icon--blue {
  background: var(--tint-blue);
  color: var(--tint-blue-ink);
}

.principle-icon--rose {
  background: var(--tint-rose);
  color: var(--tint-rose-ink);
}

.principle-icon--amber,
.doc-icon--amber {
  background: var(--tint-amber);
  color: var(--tint-amber-ink);
}

.principle-icon--green,
.doc-icon--green {
  background: var(--tint-green);
  color: var(--tint-green-ink);
}

.principle-icon--violet,
.doc-icon--violet {
  background: var(--tint-violet);
  color: var(--tint-violet-ink);
}

.principle-icon--slate {
  background: var(--tint-slate);
  color: var(--tint-slate-ink);
}

.principle-card h3 {
  margin: 23px 0 8px;
  font-size: 19px;
  font-weight: 660;
  letter-spacing: -0.025em;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.78;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  padding: 26px 20px 0 0;
  border-top: 1px solid var(--line-strong);
}

.step-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.step-number {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.step-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.step-card p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14.2px;
  line-height: 1.82;
}

.download-section {
  padding-block: 36px 110px;
}

.download-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 70px 32px 58px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--surface) 88%, #f2ede3),
    color-mix(in srgb, var(--surface) 80%, var(--page))
  );
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.download-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -40% -12% auto;
  height: 520px;
  background:
    radial-gradient(40% 60% at 50% 40%, rgba(161, 116, 42, 0.1), transparent 72%),
    radial-gradient(28% 44% at 80% 30%, rgba(224, 159, 71, 0.09), transparent 72%);
  pointer-events: none;
}

.download-card__mark {
  display: inline-grid;
  width: 62px;
  height: 62px;
  margin-bottom: 23px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.download-card__mark img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.download-card h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2.55rem, 4.2vw, 3.65rem);
  font-weight: 640;
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.download-card > p:not(.eyebrow, .download-fineprint) {
  max-width: 580px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
  text-wrap: pretty;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.download-fineprint {
  margin: 23px 0 0;
  color: var(--faint);
  font-size: 11.8px;
  line-height: 1.7;
}

.docs {
  padding-top: 88px;
}

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

.doc-card {
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 24px 22px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.doc-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.doc-label {
  margin-top: 22px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.doc-card h3 {
  margin: 6px 0 8px;
  font-size: 18.5px;
  font-weight: 660;
  letter-spacing: -0.025em;
}

.doc-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.76;
}

.doc-link {
  margin-top: auto;
  padding-top: 20px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 640;
}

.doc-card:hover .doc-link {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.7fr));
  gap: 52px;
  padding-block: 62px 52px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-group strong {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.04em;
}

.footer-group a {
  width: fit-content;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  transition: color 150ms var(--ease);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11.5px;
}

.brand-name {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-name strong {
  font-size: 17px;
  font-weight: 720;
  letter-spacing: 0.06em;
}

.brand-name small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1;
  transition: color 150ms var(--ease);
}

.brand:hover .brand-name small {
  color: var(--accent);
}

.motion-section {
  position: relative;
  /* html scroll-padding-top already clears the sticky header.
     Adding another large scroll-margin here stacked both offsets and left a blank screen. */
  scroll-margin-top: 0;
  padding-top: 64px;
}

.motion-stage {
  width: min(100%, var(--shell));
  margin: 48px auto 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  box-shadow: var(--shadow-lg);
}

.motion-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 10px);
  background: var(--page);
  box-shadow: inset 0 0 0 1px var(--image-outline);
}

.motion-subtitle {
  position: absolute;
  bottom: clamp(52px, 8.5%, 78px);
  left: 50%;
  z-index: 2;
  max-width: min(78%, 860px);
  padding: 8px 14px;
  border: 1px solid rgb(23 24 27 / 12%);
  border-radius: 999px;
  background: rgb(247 243 232 / 92%);
  color: #17181b;
  font-size: clamp(0.78rem, 1.35vw, 1.02rem);
  font-weight: 620;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  box-shadow: 0 8px 26px rgb(23 24 27 / 13%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 140ms var(--ease),
    transform 140ms var(--ease);
}

.motion-subtitle.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.motion-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: inherit;
  background: var(--page);
}

.motion-launch {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 22px 10px 11px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(23 24 27 / 90%);
  color: #f8f5ee;
  font: inherit;
  text-align: left;
  box-shadow: 0 18px 48px rgb(0 0 0 / 24%);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    background-color 180ms var(--ease),
    transform 180ms var(--ease),
    opacity 180ms var(--ease);
}

.motion-launch:hover {
  background: rgb(23 24 27 / 98%);
  transform: translate(-50%, -50%) translateY(-2px);
}

.motion-launch:active {
  transform: translate(-50%, -50%) translateY(0);
}

.motion-launch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.motion-launch-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e3b45b;
  color: #17181b;
  font-size: 15px;
  padding-left: 2px;
}

.motion-launch strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
}

.motion-launch small {
  display: block;
  margin-top: 4px;
  color: rgb(248 245 238 / 68%);
  font-size: 12px;
  line-height: 1.2;
}

.motion-frame.is-playing .motion-launch,
.motion-frame.is-started .motion-launch {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
}

@media (max-width: 720px) {
  .motion-stage {
    margin-top: 34px;
    padding: 7px;
    border-radius: var(--radius-lg);
  }

  .motion-frame {
    border-radius: calc(var(--radius-lg) - 6px);
  }

  .motion-launch {
    width: calc(100% - 28px);
    max-width: 330px;
    min-height: 58px;
    justify-content: center;
    padding: 8px 16px 8px 9px;
  }

  .motion-launch small {
    display: none;
  }

  .motion-subtitle {
    bottom: 64px;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.45;
  }

  .motion-frame:not(.is-playing) .motion-subtitle {
    opacity: 0;
  }
}

.brand-story {
  border-top: 1px solid var(--line);
}

.brand-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 88px;
}

.brand-story-copy h2 {
  margin: 0;
  font-size: clamp(2.35rem, 3.55vw, 3.2rem);
  font-weight: 640;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.brand-story-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
  text-wrap: pretty;
}

.brand-story-copy .brand-story-lede {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.82;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  margin-top: 25px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.inline-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms var(--ease);
}

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

.brand-story-lockup {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 38px 40px 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--surface) 88%, #f2ede3),
    var(--surface)
  );
  box-shadow: var(--shadow-sm);
}

.brand-story-lockup::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 116, 42, 0.1), transparent 68%);
  pointer-events: none;
}

.brand-story-mark {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-story-mark img {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(23, 24, 26, 0.18);
}

.brand-story-mark strong,
.brand-story-mark span {
  display: block;
}

.brand-story-mark strong {
  font-size: 27px;
  font-weight: 720;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.brand-story-mark span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.brand-story-lockup > p {
  margin: 42px 0 34px;
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.brand-story-characters {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: end;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.brand-story-characters span {
  font-size: clamp(4rem, 6vw, 5.25rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: 0.06em;
}

.brand-story-characters span:last-child {
  text-align: right;
}

.brand-story-characters small {
  display: block;
  margin-top: 13px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand-story-characters i {
  position: relative;
  width: 100%;
  height: 1px;
  margin-bottom: 53px;
  background: var(--line-strong);
}

.brand-story-characters i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f4c66d;
  box-shadow: 0 0 0 6px color-mix(in srgb, #f4c66d 18%, transparent);
  transform: translate(-50%, -50%);
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker,
.hero h1,
.hero-lede,
.hero-actions,
.hero-visual {
  animation: rise-in 560ms var(--ease) both;
}

.hero h1 {
  animation-delay: 60ms;
}

.hero-lede {
  animation-delay: 120ms;
}

.hero-actions {
  animation-delay: 180ms;
}

.hero-visual {
  animation-delay: 240ms;
}

@media (max-width: 1120px) {
  .feature-row,
  .feature-row--reverse {
    gap: 46px;
  }

  .section-heading--split {
    gap: 48px;
  }

  .feature-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

  .feature-row--reverse {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 82px;
  }

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

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

  .footer-main {
    grid-template-columns: 1.2fr repeat(2, minmax(120px, 0.8fr));
  }

  .footer-main .footer-group:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 800px) {
  .shell,
  .shell-wide {
    padding-inline: 22px;
  }

  .section {
    padding-block: 86px;
  }

  .hero {
    padding-top: 68px;
  }

  .hero h1 {
    font-size: clamp(3rem, 8.6vw, 4.2rem);
  }

  .hero-lede {
    font-size: 16px;
  }

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

  .app-window--hero {
    border-radius: 16px;
  }

  .section-heading--split {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .section-heading--split > p {
    max-width: 650px;
  }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-block: 42px;
  }

  .feature-row--reverse .feature-media,
  .feature-row--reverse .feature-copy {
    order: initial;
  }

  .feature-copy {
    max-width: 650px;
  }

  .feature-row:first-child {
    padding-top: 0;
  }

  .feature-row:last-child {
    padding-bottom: 0;
  }

  .step-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    margin-top: 48px;
  }

  .step-card {
    padding-top: 23px;
  }

  .step-number {
    margin-bottom: 14px;
  }

  .download-card {
    padding: 56px 24px 48px;
    border-radius: 26px;
  }

  .download-section {
    padding-bottom: 86px;
  }

  .docs {
    padding-top: 64px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 30px;
  }

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

  .footer-main .footer-group:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .shell,
  .shell-wide {
    padding-inline: 18px;
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .button--compact {
    min-width: 58px;
    padding-inline: 14px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-kicker {
    margin-bottom: 21px;
    font-size: 11.3px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.048em;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 15.2px;
    line-height: 1.78;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    margin-top: 28px;
  }

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

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

  .app-window--hero {
    border-radius: 13px;
  }

  .hero .app-window img,
  .feature-media .app-window img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 58% top;
  }

  .trust-line {
    justify-content: flex-start;
    padding-block: 13px;
  }

  .trust-line span {
    padding: 5px 16px 5px 0;
    font-size: 11.5px;
  }

  .section {
    padding-block: 72px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .section-heading > p,
  .section-heading > div + p {
    font-size: 14.8px;
  }

  .feature-stack {
    margin-top: 44px;
  }

  .app-window--feature {
    border-radius: 14px;
  }

  .feature-copy h3 {
    font-size: 1.75rem;
  }

  .feature-lede {
    font-size: 15px;
  }

  .feature-points li {
    font-size: 13.2px;
  }

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

  .principle-grid {
    margin-top: 38px;
  }

  .principle-card {
    min-height: 0;
    padding: 24px;
  }

  .download-card {
    padding: 44px 20px 39px;
    border-radius: 22px;
  }

  .download-card__mark {
    width: 56px;
    height: 56px;
    margin-bottom: 19px;
    border-radius: 16px;
  }

  .download-card__mark img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .download-card h2 {
    font-size: clamp(2.1rem, 9.5vw, 2.75rem);
  }

  .download-card > p:not(.eyebrow, .download-fineprint) {
    font-size: 14.5px;
  }

  .download-actions {
    display: grid;
    width: 100%;
  }

  .download-actions .button {
    width: 100%;
  }

  .docs {
    padding-top: 54px;
  }

  .doc-grid {
    gap: 12px;
  }

  .footer-main {
    padding-block: 46px 38px;
  }

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

@media (max-width: 980px) {
  .brand-story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 48px;
  }
}

@media (max-width: 800px) {
  .brand-story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .brand-story-lockup {
    max-width: 620px;
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .brand-name strong {
    font-size: 16px;
  }

  .brand-name small {
    font-size: 8px;
  }

  .brand-story-copy .brand-story-lede {
    font-size: 16.2px;
  }

  .brand-story-lockup {
    padding: 25px 22px 24px;
    border-radius: 22px;
  }

  .brand-story-mark img {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }

  .brand-story-lockup > p {
    margin: 32px 0 28px;
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .brand-story-characters {
    grid-template-columns: 1fr 38px 1fr;
  }

  .brand-story-characters span {
    font-size: clamp(3.2rem, 15vw, 4.3rem);
  }

  .brand-story-characters i {
    margin-bottom: 45px;
  }
}
@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;
    scroll-behavior: auto !important;
  }
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 44px 0 76px;
}
#workspace-title span {
  display: inline-block;
  white-space: nowrap;
}
.entry-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.entry-card > span {
  color: var(--muted);
  font: 12px var(--font-mono);
}
.entry-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}
.entry-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.preview-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.preview-switcher button,
.motion-controls button,
.motion-controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.preview-switcher button[aria-selected='true'] {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.preview-switcher button:hover,
.motion-controls button:hover,
.motion-controls a:hover {
  border-color: var(--muted);
}
.feature-row[id] {
  scroll-margin-top: 100px;
}
.motion-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.motion-feedback {
  min-height: 1.5em;
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
}
.motion-video::cue {
  /* Native cue boxes need explicit film colors in both website themes. */
  color: #17181b;
  background: transparent;
  font-family: 'Segoe UI Variable', 'Segoe UI', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  font-size: clamp(14px, 1.55vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  /* Percentage-positioned native cues otherwise inherit white-space: pre. */
  white-space: pre-line;
  text-shadow: none;
}
.motion-video:fullscreen {
  object-fit: contain;
  border-radius: 0;
}
@media (max-width: 720px) {
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 30px 0 48px;
  }
  .entry-card {
    padding: 18px;
  }
  .entry-card h3 {
    font-size: 16px;
  }
  .entry-card p {
    font-size: 13px;
  }
  .preview-switcher {
    gap: 6px;
  }
  .preview-switcher button {
    padding-inline: 11px;
    font-size: 13px;
  }
  .motion-controls {
    gap: 8px;
  }
  .motion-video::cue {
    font-size: 14px;
  }
  .motion-controls button,
  .motion-controls a {
    font-size: 13px;
    padding-inline: 12px;
  }
}
