:root {
  color-scheme: dark;
  --bg: #20242b;
  --bg-deep: #171a20;
  --surface: #2a2f38;
  --surface-high: #333945;
  --surface-soft: #252a32;
  --outline: #3c434e;
  --outline-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f4f8;
  --text-soft: #c7cdd7;
  --muted: #98a1b0;
  --accent: #ffd54f;
  --accent-soft: #ffe082;
  --on-accent: #1a1d23;
  --blue: #5b8def;
  --orange: #f2a33c;
  --green: #45c17a;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 213, 79, 0.08), transparent 25rem),
    radial-gradient(circle at 90% 22%, rgba(91, 141, 239, 0.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  content: "";
  pointer-events: none;
}

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

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

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

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

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

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(32, 36, 43, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 16px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

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

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 14px 34px rgba(255, 213, 79, 0.18);
}

.button-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 18px 40px rgba(255, 213, 79, 0.24);
}

.button-ghost {
  border-color: var(--outline);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(255, 213, 79, 0.55);
  background: rgba(255, 213, 79, 0.06);
}

.button-dark {
  flex: 0 0 auto;
  background: var(--on-accent);
  color: var(--text);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-soft);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(255, 224, 130, 0.35);
  text-underline-offset: 5px;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 760px;
  padding-top: 106px;
  padding-bottom: 96px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: -14%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 213, 79, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 213, 79, 0.018),
    0 0 0 180px rgba(255, 213, 79, 0.012);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 76px;
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 213, 79, 0.22);
  border-radius: 999px;
  background: rgba(255, 213, 79, 0.05);
  letter-spacing: 0.08em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 213, 79, 0.1);
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 25px;
  font-size: clamp(3.3rem, 6vw, 5.9rem);
  font-weight: 880;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 33px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 16px;
}

.hero-points li::before {
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.product-preview {
  position: relative;
  padding: 20px 0 44px;
}

.preview-glow {
  position: absolute;
  inset: 12% 6% 6%;
  border-radius: 50%;
  background: rgba(255, 213, 79, 0.12);
  filter: blur(80px);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  background: #20242b;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-2.5deg) rotateX(1deg);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  padding: 0 21px;
  border-bottom: 1px solid var(--outline-soft);
  background: #333945;
  font-size: 0.78rem;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.mini-mark {
  width: 21px;
  height: 21px;
  border: 6px solid var(--accent);
  border-radius: 7px;
}

.live-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-weight: 650;
}

.live-state span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(69, 193, 122, 0.12);
}

.app-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 455px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-right: 1px solid var(--outline-soft);
  background: #252a32;
}

.side-item {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.side-item.active {
  background: var(--accent);
  box-shadow: 0 7px 18px rgba(255, 213, 79, 0.18);
}

.dashboard {
  min-width: 0;
  padding: 27px 24px 24px;
}

.dashboard-heading,
.workboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-heading {
  margin-bottom: 21px;
}

.dashboard-heading p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.dashboard-heading strong {
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.shift-pill {
  padding: 6px 10px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.64rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-bottom: 17px;
}

.metric-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--outline-soft);
  border-radius: 13px;
  background: var(--surface);
}

.metric-card > span,
.metric-card small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card strong {
  display: block;
  margin: 3px 0 2px;
  font-size: 1.48rem;
  letter-spacing: -0.04em;
}

.metric-card .good {
  color: var(--green);
}

.metric-card.accent-card {
  border-color: rgba(255, 213, 79, 0.22);
  background: rgba(255, 213, 79, 0.08);
}

.workboard {
  overflow: hidden;
  border: 1px solid var(--outline-soft);
  border-radius: 14px;
  background: var(--surface-soft);
}

.workboard-head {
  padding: 14px 15px;
  border-bottom: 1px solid var(--outline-soft);
  font-size: 0.69rem;
}

.workboard-head span {
  color: var(--muted);
  font-size: 0.6rem;
}

.task-row {
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

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

.task-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  color: white;
  font-size: 0.7rem;
  font-weight: 850;
}

.task-icon.blue { background: rgba(91, 141, 239, 0.85); }
.task-icon.orange { background: rgba(242, 163, 60, 0.85); }
.task-icon.green { background: rgba(69, 193, 122, 0.85); }

.task-row div {
  min-width: 0;
}

.task-row strong,
.task-row small {
  display: block;
}

.task-row strong {
  font-size: 0.7rem;
}

.task-row small {
  color: var(--muted);
  font-size: 0.59rem;
}

.task-state {
  font-size: 0.6rem;
  font-weight: 750;
}

.blue-text { color: #85a9f4; }
.orange-text { color: #f8bd70; }
.green-text { color: #7edca4; }

.floating-note {
  position: absolute;
  right: -17px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 185px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(51, 57, 69, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.check-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 900;
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note strong {
  font-size: 0.72rem;
}

.floating-note small {
  color: var(--muted);
  font-size: 0.61rem;
}

.value-strip {
  border-block: 1px solid var(--outline-soft);
  background: rgba(23, 26, 32, 0.48);
}

.value-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  gap: clamp(22px, 5vw, 62px);
}

.value-strip p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 750;
}

.value-strip span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 50px;
}

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

.section-kicker,
.card-label {
  margin-bottom: 13px;
}

.section-heading h2,
.workflow-intro h2,
.faq-layout h2,
.cta-card h2,
.legal-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 850;
}

.section-heading > p,
.workflow-intro > p,
.cta-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 32px;
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--surface-soft);
}

.feature-card::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 213, 79, 0.07);
  border-radius: 50%;
  content: "";
}

.feature-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 52px minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 28px;
  min-height: 360px;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 213, 79, 0.24);
  border-radius: 14px;
  background: rgba(255, 213, 79, 0.06);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.feature-card > .feature-icon {
  margin-bottom: 52px;
}

.feature-wide > .feature-icon {
  align-self: start;
  margin: 0;
}

.feature-card h3 {
  max-width: 540px;
  margin-bottom: 17px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.feature-card p:not(.card-label) {
  max-width: 590px;
  margin-bottom: 24px;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row span,
.industry-status {
  padding: 7px 11px;
  border: 1px solid var(--outline);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.module-stack {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--outline-soft);
  border-radius: 17px;
  background: rgba(23, 26, 32, 0.55);
}

.module-stack div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.75rem;
}

.module-stack strong {
  color: var(--muted);
  font-size: 0.62rem;
}

.stack-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.stack-dot.yellow { background: var(--accent); }
.stack-dot.blue { background: var(--blue); }
.stack-dot.green { background: var(--green); }

.branch-orbit {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-height: 72px;
  border: 1px dashed rgba(255, 213, 79, 0.23);
  border-radius: 999px;
}

.branch-orbit span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid var(--outline);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.63rem;
  font-weight: 750;
}

.branch-orbit span:nth-child(2) {
  border-color: rgba(255, 213, 79, 0.32);
  color: var(--accent);
}

.code-card {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 17px;
  padding: 16px 18px;
  border: 1px solid var(--outline-soft);
  border-radius: 15px;
  background: rgba(23, 26, 32, 0.62);
}

.code-card small,
.code-card strong {
  display: block;
}

.code-card small {
  color: var(--muted);
  font-size: 0.62rem;
}

.code-card strong {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.industries-section {
  border-block: 1px solid var(--outline-soft);
  background: rgba(23, 26, 32, 0.42);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 27px;
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.industry-card:hover {
  border-color: rgba(255, 213, 79, 0.3);
  transform: translateY(-4px);
}

.industry-card.highlighted {
  background:
    linear-gradient(155deg, rgba(255, 213, 79, 0.08), transparent 48%),
    var(--surface-soft);
}

.industry-number {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.industry-symbol {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 42px 0 32px;
  place-items: center;
  border: 1px solid rgba(255, 213, 79, 0.2);
  border-radius: 26px;
  background: rgba(255, 213, 79, 0.07);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  transform: rotate(-4deg);
}

.industry-card:nth-child(2) .industry-symbol { transform: rotate(3deg); }
.industry-card:nth-child(3) .industry-symbol { transform: rotate(-2deg); }

.industry-card h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.industry-card p {
  margin-bottom: 27px;
  color: var(--muted);
}

.industry-status {
  position: absolute;
  bottom: 25px;
  left: 27px;
}

.future-note {
  margin: 30px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.85rem;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr);
  align-items: start;
  gap: 100px;
}

.workflow-intro {
  position: sticky;
  top: 120px;
}

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

.workflow-intro > p {
  margin-bottom: 28px;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.workflow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 26px;
  padding: 0 0 54px;
}

.workflow-list li:not(:last-child)::after {
  position: absolute;
  top: 55px;
  bottom: 8px;
  left: 28px;
  width: 1px;
  background: linear-gradient(var(--accent), var(--outline));
  content: "";
}

.workflow-list li > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 213, 79, 0.26);
  border-radius: 17px;
  background: rgba(255, 213, 79, 0.06);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
}

.workflow-list h3 {
  margin: 4px 0 10px;
  font-size: 1.45rem;
}

.workflow-list p {
  margin: 0;
  color: var(--muted);
}

.faq-section {
  border-top: 1px solid var(--outline-soft);
  background: rgba(23, 26, 32, 0.26);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  gap: 95px;
}

.faq-layout h2 {
  max-width: 470px;
}

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

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

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 23px;
  right: 6px;
  color: var(--accent);
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  max-width: 650px;
  margin: -5px 0 25px;
  color: var(--muted);
}

.cta-section {
  padding-top: 30px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--radius-xl);
  background: var(--accent);
  color: var(--on-accent);
}

.cta-card::after {
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 330px;
  height: 330px;
  border: 45px solid rgba(32, 36, 43, 0.07);
  border-radius: 50%;
  content: "";
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card .section-kicker {
  color: rgba(26, 29, 35, 0.68);
}

.cta-card h2 {
  max-width: 700px;
  margin-bottom: 17px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.cta-card p {
  max-width: 620px;
  color: rgba(26, 29, 35, 0.75);
}

.site-footer {
  padding: 60px 0 24px;
  background: var(--bg-deep);
}

.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-main {
  padding-bottom: 42px;
}

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

.footer-main p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 650;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--outline-soft);
  color: #727b89;
  font-size: 0.72rem;
}

/* Legal draft pages */
.legal-page {
  background: var(--bg);
}

.draft-banner {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.legal-header {
  border-bottom: 1px solid var(--outline-soft);
}

.legal-header .header-inner {
  min-height: 76px;
}

.legal-shell {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
  padding: 82px 0 110px;
}

.legal-hero {
  margin-bottom: 55px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--outline);
}

.legal-hero h1 {
  margin-bottom: 16px;
}

.legal-hero p,
.legal-content p,
.legal-content li {
  color: var(--text-soft);
}

.legal-content h2 {
  margin: 42px 0 15px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.legal-placeholder {
  padding: 18px;
  border: 1px dashed rgba(255, 213, 79, 0.45);
  border-radius: 14px;
  background: rgba(255, 213, 79, 0.05);
  color: var(--accent-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-line;
}

.legal-back {
  margin-top: 52px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(450px, 0.95fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 6vw, 4.6rem);
  }

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

  .module-stack {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 86px 0;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 78px;
  }

  .hero-grid,
  .section-heading,
  .workflow-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 55px;
  }

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

  .product-preview {
    width: min(100%, 640px);
    margin-inline: auto;
  }

  .section-heading,
  .workflow-layout,
  .faq-layout {
    gap: 34px;
  }

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

  .industry-card {
    min-height: 350px;
  }

  .workflow-intro {
    position: static;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .container,
  .legal-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-logo {
    height: 34px;
  }

  .header-inner .button-small {
    min-height: 39px;
    padding-inline: 13px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .hero-points {
    display: grid;
  }

  .product-preview {
    margin-inline: -5px;
  }

  .app-window {
    border-radius: 18px;
    transform: none;
  }

  .app-body {
    grid-template-columns: 39px 1fr;
    min-height: 410px;
  }

  .app-topbar {
    min-height: 53px;
    padding: 0 14px;
  }

  .app-sidebar {
    padding-top: 18px;
  }

  .side-item {
    width: 21px;
    height: 21px;
  }

  .dashboard {
    padding: 20px 13px 15px;
  }

  .metric-row {
    gap: 6px;
  }

  .metric-card {
    padding: 9px 7px;
  }

  .metric-card strong {
    font-size: 1.2rem;
  }

  .floating-note {
    right: 8px;
    bottom: 0;
  }

  .value-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    gap: 8px;
    padding-block: 25px;
  }

  .value-strip span {
    display: none;
  }

  .feature-card,
  .industry-card {
    padding: 24px;
  }

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

  .feature-wide {
    display: block;
    min-height: auto;
  }

  .feature-wide > .feature-icon,
  .feature-card > .feature-icon {
    margin-bottom: 38px;
  }

  .module-stack {
    margin-top: 30px;
  }

  .branch-orbit span {
    width: 62px;
    height: 62px;
    font-size: 0.58rem;
  }

  .code-card {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .code-card > span {
    display: none;
  }

  .workflow-list li {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .workflow-list li > span {
    width: 48px;
    height: 48px;
  }

  .workflow-list li:not(:last-child)::after {
    top: 47px;
    left: 24px;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    gap: 20px;
  }

  .legal-shell {
    padding-top: 60px;
  }
}

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

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