:root {
  --navy: #1e3a5f;
  --navy-deep: #0f2438;
  --navy-ink: #0b1b2b;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --gold: #a16207;
  --gold-bright: #d9a441;
  --paper: #f8fafc;
  --paper-2: #eef2f7;
  --white: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --muted-light: #64748b;
  --line: #cbd5e1;
  --line-soft: #e2e8f0;
  --green: #15803d;
  --font-sans: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --radius: 8px;
  --shadow-soft: 0 20px 48px -30px rgba(15, 36, 56, 0.28);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

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

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--gold-bright);
  color: var(--navy-deep);
}

img,
svg {
  display: block;
}

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

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

button {
  font: inherit;
}

button,
a,
summary {
  cursor: pointer;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

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

.features :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-bright);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 250, 252, 0.97);
  border-bottom-color: var(--line-soft);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

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

.brand-copy strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
  color: #334155;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--blue);
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav > a:not(.nav-cta).is-active {
  color: var(--blue);
}

.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.site-nav > a:not(.nav-cta):focus-visible {
  outline-offset: -3px;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.nav-cta:hover {
  background: var(--blue);
}

.nav-cta:hover svg {
  transform: translateX(3px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.nav-toggle:hover {
  border-color: var(--navy);
  background: var(--paper);
}

.nav-toggle svg {
  width: 21px;
  height: 21px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Buttons */

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--white);
}

.btn:active,
.nav-cta:active {
  transform: translateY(1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

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

/* Hero */

.hero {
  position: relative;
  overflow: clip;
  padding-top: 82px;
  background: var(--paper);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 58, 95, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 58, 95, 0.055) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 44px;
  padding-bottom: 70px;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.workspace-card {
  max-width: 100%;
}

.eyebrow,
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(161, 98, 7, 0.12);
}

.hero h1 {
  max-width: 760px;
  margin: 26px 0 22px;
  color: var(--ink);
  font-size: clamp(48px, 6.1vw, 80px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.06;
  text-wrap: balance;
}

.h1-line {
  display: block;
}

.hero h1 .accent {
  width: fit-content;
  max-width: 100%;
  color: var(--navy);
  background-image: linear-gradient(180deg, transparent 72%, rgba(217, 164, 65, 0.34) 72%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.lede {
  max-width: 555px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  text-wrap: pretty;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
}

/* Hero visual / product mockup */

.hero-visual {
  position: relative;
  display: grid;
  min-height: 530px;
  place-items: center;
  padding: 28px 20px 44px;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(30, 58, 95, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.visual-orbit-a {
  width: 480px;
  height: 480px;
  top: 22px;
  right: -10px;
}

.visual-orbit-b {
  width: 360px;
  height: 360px;
  bottom: 12px;
  left: 16px;
  border-color: rgba(161, 98, 7, 0.16);
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.visual-orbit-a::before {
  top: 86px;
  left: 26px;
}

.visual-orbit-a::after {
  right: 42px;
  bottom: 62px;
  background: var(--blue);
}

.visual-orbit-b::before {
  top: 36px;
  right: 46px;
}

.visual-orbit-b::after {
  bottom: 44px;
  left: 40px;
  background: var(--navy);
}

.workspace-card {
  position: relative;
  z-index: 2;
  width: min(100%, 528px);
  overflow: hidden;
  border: 1px solid rgba(30, 58, 95, 0.2);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.2deg);
}

.workspace-top {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #fbfdff;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-dots i:first-child {
  background: #d9a441;
}

.workspace-crumb {
  overflow: hidden;
  flex: 1;
  color: #64748b;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.workspace-crumb span {
  padding: 0 4px;
  color: #94a3b8;
}

.local-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.local-state i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
}

.workspace-body {
  display: flex;
  min-height: 362px;
}

.workspace-rail {
  display: flex;
  width: 58px;
  flex: 0 0 58px;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 16px 0;
  background: var(--navy-deep);
}

.rail-logo {
  display: grid;
  width: 29px;
  height: 29px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  color: var(--gold-bright);
}

.rail-logo svg {
  width: 18px;
  height: 18px;
}

.rail-item {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  color: #94a3b8;
}

.rail-item svg {
  width: 17px;
  height: 17px;
}

.rail-item.is-active {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
}

.workspace-main {
  min-width: 0;
  flex: 1;
  padding: 26px 26px 18px;
}

.workspace-kicker {
  color: #94a3b8;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.workspace-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}

.workspace-heading h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.record-count {
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
}

.workspace-desc {
  margin-top: 4px;
  color: #64748b;
  font-size: 10px;
}

.record-list {
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.record-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 60px;
  border-bottom: 1px solid var(--line-soft);
}

.record-item.is-active {
  margin-inline: -10px;
  padding-inline: 10px;
  border-bottom-color: transparent;
  border-radius: 5px;
  background: #f1f5f9;
}

.record-index {
  color: #94a3b8;
  font-family: var(--font-display);
  font-size: 11px;
}

.record-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.record-copy strong {
  overflow: hidden;
  color: #1e293b;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.record-copy small {
  overflow: hidden;
  color: #94a3b8;
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.record-tag {
  padding: 3px 6px;
  border-radius: 3px;
  background: #fef3c7;
  color: #92400e;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.record-tag.is-muted {
  background: #e2e8f0;
  color: #475569;
}

.workspace-samples {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.samples-label {
  color: #94a3b8;
  font-size: 9px;
}

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

.sample-chips span {
  display: grid;
  min-width: 28px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--white);
  color: #475569;
  font-size: 8px;
  font-weight: 700;
}

.sample-chips .sample-add {
  border-style: dashed;
  color: var(--blue);
}

.workspace-foot {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-top: 1px solid var(--line-soft);
  background: #fbfdff;
  color: #64748b;
  font-size: 8px;
}

.workspace-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.workspace-foot svg {
  width: 11px;
  height: 11px;
}

.foot-sync {
  color: var(--blue);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(30, 58, 95, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px -18px rgba(15, 36, 56, 0.32);
  backdrop-filter: blur(8px);
}

.float-card-b {
  top: 46px;
  right: -22px;
}

.float-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
}

.float-icon.is-gold {
  background: #fef3c7;
  color: var(--gold);
}

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

.float-card > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-card strong {
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
}

.float-card small {
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 8px;
}

.visual-caption {
  position: absolute;
  right: 20px;
  bottom: 6px;
  color: #94a3b8;
  font-size: 8px;
  letter-spacing: 0.08em;
}

/* Signal strip */

.signal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 22px 16px;
  border-right: 1px solid var(--line-soft);
}

.signal-item:first-child {
  padding-left: 0;
}

.signal-item:last-child {
  border-right: 0;
}

.signal-item svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--navy);
}

.signal-item span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.35;
}

.signal-item strong {
  font-size: 12px;
  font-weight: 750;
}

.signal-item small {
  color: var(--muted-light);
  font-size: 10px;
}

/* Sections */

.section {
  padding: 112px 0;
}

.section-index {
  margin-bottom: 24px;
}

.section-index::before {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.section-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 44px;
  margin-bottom: 58px;
}

.section-heading h2,
.principles-intro h2,
.faq-intro h2,
.contact h2 {
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.section-heading p {
  max-width: 590px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

/* Workflow */

.workflow {
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.workflow-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 28px 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 180ms ease;
}

.workflow-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 180ms ease, transform 220ms ease;
}

.workflow-card:hover {
  background: #fbfdff;
}

.workflow-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.workflow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.workflow-no {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.workflow-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--navy);
}

.workflow-icon svg {
  width: 20px;
  height: 20px;
}

.workflow-card h3 {
  margin-top: 44px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.workflow-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  text-wrap: pretty;
}

.workflow-note {
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Features */

.features {
  background: var(--navy-deep);
  color: var(--white);
}

.section-head-dark .section-index {
  color: #94a3b8;
}

.section-head-dark .section-heading h2 {
  color: var(--white);
}

.section-head-dark .section-heading p {
  color: #cbd5e1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-card {
  min-height: 250px;
  padding: 30px 27px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.015);
  transition: background-color 180ms ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.055);
}

.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(217, 164, 65, 0.45);
  border-radius: 50%;
  color: var(--gold-bright);
}

.feature-icon.is-gold {
  border-color: rgba(217, 164, 65, 0.72);
  background: rgba(217, 164, 65, 0.1);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-card h3 {
  margin-top: 48px;
  color: var(--white);
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-top: 10px;
  color: #b8c5d6;
  font-size: 14px;
  line-height: 1.78;
  text-wrap: pretty;
}

/* Principles */

.principles {
  background: var(--white);
}

.principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 84px;
}

.principles-intro .section-index {
  margin-bottom: 24px;
}

.principles-intro h2 {
  margin-bottom: 24px;
}

.principles-intro > p:not(.section-index) {
  max-width: 480px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

.design-note {
  margin-top: 46px;
  padding: 22px 0 22px 22px;
  border-left: 2px solid var(--gold);
}

.design-note-label {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.design-note p {
  max-width: 390px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.65;
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}

.principle-no {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.principle-item h3 {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.principle-item p {
  max-width: 560px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

/* Platforms */

.platforms {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
}

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

.platform-card {
  padding: 31px;
  border: 1px solid #d7e0ea;
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.platform-card:hover {
  border-color: #aebfd1;
  background: #fbfdff;
}

.platform-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.platform-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 9px;
  background: var(--navy);
  color: var(--white);
}

.platform-icon svg {
  width: 23px;
  height: 23px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.status-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
}

.platform-card h3 {
  margin-top: 26px;
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.platform-lead {
  margin-top: 1px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.platform-card > p:not(.platform-lead) {
  max-width: 480px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  text-wrap: pretty;
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.platform-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
}

.platform-list svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.platform-note {
  max-width: 700px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

/* FAQ */

.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 88px;
}

.faq-intro {
  position: sticky;
  top: 112px;
  align-self: start;
}

.faq-intro h2 {
  margin-bottom: 22px;
}

.faq-intro > p:not(.section-index) {
  max-width: 390px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

.faq-intro .text-link {
  margin-top: 28px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}

.faq-list summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  list-style: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: color 180ms ease;
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--blue);
}

.faq-list summary:hover .summary-plus {
  border-color: var(--blue);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.summary-plus {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 180ms ease, transform 220ms ease;
}

.summary-plus::before,
.summary-plus::after {
  position: absolute;
  top: 8px;
  left: 4px;
  width: 8px;
  height: 1px;
  background: var(--navy);
  content: "";
  transition: transform 220ms ease;
}

.summary-plus::after {
  transform: rotate(90deg);
}

details[open] .summary-plus {
  border-color: var(--gold);
  transform: rotate(180deg);
}

details[open] .summary-plus::after {
  transform: rotate(0);
}

.faq-answer {
  max-width: 660px;
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
  animation: answer-in 180ms ease both;
}

.faq-answer a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes answer-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: var(--navy);
  color: var(--white);
}

.contact::before {
  position: absolute;
  top: -170px;
  right: -100px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(217, 164, 65, 0.22);
  border-radius: 50%;
  content: "";
}

.contact::after {
  position: absolute;
  right: 160px;
  bottom: -240px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 58px;
}

.contact .section-index {
  color: #cbd5e1;
}

.contact .section-index::before {
  background: var(--gold-bright);
}

.contact h2 {
  color: var(--white);
}

.contact-copy > p:not(.section-index) {
  max-width: 550px;
  margin-top: 22px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.85;
}

.contact-mail {
  display: block;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 180ms ease;
}

.contact-mail:hover {
  border-color: var(--gold-bright);
}

.contact-mail-label {
  display: block;
  margin-bottom: 7px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-mail-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 680;
  letter-spacing: -0.03em;
}

.contact-mail-address svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--gold-bright);
  transition: transform 180ms ease;
}

.contact-mail:hover .contact-mail-address svg {
  transform: translateX(5px);
}

.contact-note {
  margin-top: 14px;
  max-width: 520px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.7;
}

/* Footer */

.site-footer {
  background: var(--navy-ink);
  color: #cbd5e1;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding-top: 54px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand-copy strong {
  color: var(--white);
}

.footer-brand .brand-copy small {
  color: #94a3b8;
  font-size: 9px;
}

.footer-brand .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--gold-bright);
}

.footer-brand p {
  max-width: 330px;
  margin-top: 20px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-label {
  margin-bottom: 2px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.footer-links a {
  padding: 3px 0;
  color: #cbd5e1;
  font-size: 13px;
  transition: color 180ms ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  padding-bottom: 24px;
  color: #94a3b8;
  font-size: 11px;
}

.footer-icp a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-icp a:hover {
  color: var(--gold-bright);
}

/* Legal page */

.legal-page {
  padding: 76px 0 96px;
  background: var(--white);
}

.legal-wrap {
  max-width: 880px;
}

.legal-head {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  margin: 20px 0 18px;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.legal-meta {
  color: var(--muted-light);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.legal-lede {
  max-width: 720px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.legal-body {
  padding-top: 16px;
}

.legal-body section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
}

.legal-body h2 {
  margin-bottom: 13px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.legal-body p + p {
  margin-top: 12px;
}

.legal-body ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
}

.legal-body li {
  padding-left: 2px;
}

.legal-body li::marker {
  color: var(--gold);
}

.legal-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  padding-top: 34px;
}

@media (max-width: 900px) {
  .site-nav.is-legal-nav {
    position: static;
    display: flex;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav.is-legal-nav > a:not(.nav-cta) {
    padding: 8px 0;
    border: 0;
    font-size: 12px;
  }

  .site-nav.is-legal-nav .nav-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .legal-page {
    padding: 48px 0 68px;
  }

  .legal-head {
    padding-bottom: 30px;
  }

  .legal-head h1 {
    font-size: 42px;
  }

  .legal-lede {
    margin-top: 20px;
    font-size: 14px;
  }

  .legal-body section {
    padding: 24px 0;
  }

  .legal-body h2 {
    font-size: 18px;
  }

  .legal-body p,
  .legal-body li {
    font-size: 13px;
  }

  .site-nav.is-legal-nav {
    gap: 12px;
  }

  .site-nav.is-legal-nav > a:not(.nav-cta) {
    font-size: 11px;
  }
}

/* Reveal */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.hero .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.hero .reveal:nth-child(3) {
  transition-delay: 130ms;
}

.hero .reveal:nth-child(4) {
  transition-delay: 190ms;
}

/* Responsive */

@media (max-width: 1080px) {
  .hero-grid {
    gap: 28px;
  }

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

  .float-card {
    display: none;
  }

  .section-head {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 28px;
  }
}

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

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px calc(26px + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
    animation: nav-in 180ms var(--ease);
  }

  .site-nav > a:not(.nav-cta) {
    padding: 17px 12px;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav > a:not(.nav-cta).is-active {
    padding-left: 12px;
    box-shadow: inset 2px 0 var(--gold);
    color: var(--navy);
    font-weight: 750;
  }

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

  .nav-cta {
    justify-content: center;
    margin-top: 18px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 48px;
  }

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

  .hero h1 {
    font-size: clamp(48px, 9vw, 72px);
  }

  .hero-visual {
    min-height: 510px;
    padding-top: 18px;
  }

  .workspace-card {
    width: min(100%, 540px);
  }

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

  .signal-item:nth-child(2) {
    border-right: 0;
  }

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

  .signal-item:nth-child(3) {
    padding-left: 0;
  }

  .section {
    padding: 84px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 42px;
  }

  .section-index {
    margin-bottom: 18px;
  }

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

  .workflow-card {
    min-height: 0;
  }

  .workflow-card h3 {
    margin-top: 30px;
  }

  .workflow-note {
    margin-top: 24px;
  }

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

  .feature-card {
    min-height: 230px;
  }

  .feature-card h3 {
    margin-top: 36px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .principles-intro > p:not(.section-index) {
    max-width: 620px;
  }

  .design-note {
    margin-top: 34px;
  }

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

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro > p:not(.section-index) {
    max-width: 620px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-mail {
    max-width: 560px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 38px;
  }
}

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

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(40px, 11.7vw, 56px);
    letter-spacing: -0.045em;
  }

  .lede {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    flex: 0 0 auto;
    padding-inline: 16px;
  }

  .hero-meta {
    gap: 10px 16px;
    margin-top: 24px;
    font-size: 12px;
  }

  .hero-visual {
    min-height: 430px;
    padding: 12px 0 30px;
  }

  .visual-orbit-a {
    width: 330px;
    height: 330px;
    top: 28px;
    right: -90px;
  }

  .visual-orbit-b {
    width: 270px;
    height: 270px;
    left: -70px;
  }

  .workspace-card {
    transform: none;
  }

  .workspace-rail {
    width: 46px;
    flex-basis: 46px;
  }

  .workspace-main {
    padding: 20px 16px 14px;
  }

  .workspace-top {
    height: 38px;
    gap: 8px;
    padding-inline: 10px;
  }

  .workspace-crumb {
    font-size: 9px;
  }

  .local-state {
    font-size: 8px;
  }

  .workspace-heading h2 {
    font-size: 21px;
  }

  .record-item {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 7px;
    min-height: 54px;
  }

  .record-tag {
    padding-inline: 5px;
    font-size: 7px;
  }

  .workspace-foot {
    padding-inline: 12px;
    font-size: 7px;
  }

  .float-card {
    display: none;
  }

  .visual-caption {
    right: 0;
    bottom: 4px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-item {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .signal-item:first-child {
    padding-top: 18px;
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .signal-item:nth-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .principles-intro h2,
  .faq-intro h2,
  .contact h2 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .section-heading p {
    margin-top: 16px;
    font-size: 15px;
  }

  .workflow-card {
    padding: 24px 20px;
  }

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

  .feature-card {
    min-height: 0;
    padding: 26px 20px;
  }

  .feature-card h3 {
    margin-top: 28px;
  }

  .design-note p {
    font-size: 17px;
  }

  .principle-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }

  .platform-card {
    padding: 24px 20px;
  }

  .platform-card h3 {
    font-size: 25px;
  }

  .faq-list summary {
    min-height: 62px;
    font-size: 15px;
  }

  .faq-answer {
    padding-right: 12px;
    font-size: 14px;
  }

  .contact {
    padding: 68px 0;
  }

  .contact-mail-address {
    font-size: 22px;
  }

  .footer-links {
    width: 100%;
    gap: 48px;
  }

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

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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