:root {
  color-scheme: light;
  --ink: #0b0d0c;
  --ink-2: #121716;
  --ink-3: #1b2420;
  --paper: #f3efe6;
  --paper-2: #fbf7ef;
  --paper-3: #e7dece;
  --line: rgba(11, 13, 12, 0.14);
  --line-dark: rgba(255, 248, 235, 0.16);
  --muted: #695f50;
  --muted-dark: #bcb09c;
  --white: #fffaf0;
  --gold: #e7bc45;
  --gold-2: #ffdc72;
  --cyan: #6ad3e9;
  --green: #4bd989;
  --red: #e76363;
  --max: 1240px;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(11, 13, 12, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(11, 13, 12, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 13, 12, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 88px 88px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 80;
  width: min(calc(100% - 48px), var(--max));
  min-height: 62px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(255, 248, 235, 0.14);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(10, 13, 12, 0.34);
  backdrop-filter: blur(22px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    top 180ms ease;
}

.site-header.is-scrolled,
body:not([data-page="home"]) .site-header {
  top: 10px;
  color: var(--ink);
  border-color: rgba(11, 13, 12, 0.12);
  background: rgba(246, 241, 231, 0.92);
  box-shadow: 0 18px 56px rgba(11, 13, 12, 0.16);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  color: #090904;
  background: linear-gradient(135deg, #fff4bd, var(--gold));
  font-size: 13px;
  font-weight: 940;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-name {
  font-size: 17px;
  font-weight: 930;
  line-height: 1;
  white-space: nowrap;
}

.brand-subtitle {
  opacity: 0.58;
  font-size: 10px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 6px;
  color: currentColor;
  opacity: 0.72;
  font-size: 13px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-scrolled .site-nav a.is-active,
body:not([data-page="home"]) .site-header .site-nav a:hover,
body:not([data-page="home"]) .site-header .site-nav a:focus-visible,
body:not([data-page="home"]) .site-header .site-nav a.is-active {
  background: rgba(11, 13, 12, 0.08);
}

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

.header-login {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 860;
  opacity: 0.76;
}

.header-login:hover,
.header-login:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.header-action,
.button,
.mobile-buy-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 880;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.header-action {
  min-height: 42px;
  padding: 0 16px;
  color: #090904;
  background: linear-gradient(135deg, #fff2b8, var(--gold));
  font-size: 13px;
  box-shadow: 0 14px 30px rgba(231, 188, 69, 0.26);
}

.header-action:hover,
.button:hover,
.mobile-buy-bar:hover,
.header-action:focus-visible,
.button:focus-visible,
.mobile-buy-bar:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  min-height: 54px;
  padding: 0 22px;
  font-size: 15px;
}

.button-primary {
  color: #090904;
  background: linear-gradient(135deg, #fff4bd, var(--gold));
  box-shadow: 0 18px 46px rgba(231, 188, 69, 0.25);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-ghost,
.button-outline {
  color: var(--white);
  border-color: rgba(255, 248, 235, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost-light {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(11, 13, 12, 0.04);
}

.section-actions,
.hero-actions,
.page-hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-home {
  position: relative;
  min-height: 100vh;
  padding: 140px 24px 42px;
  display: grid;
  align-content: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(100deg, #050706 0%, #07100d 58%, #121613 100%);
  background-size: 92px 92px, 92px 92px, auto;
  isolation: isolate;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.98) 0%, rgba(5, 7, 6, 0.9) 34%, rgba(5, 7, 6, 0.42) 76%, rgba(5, 7, 6, 0.9) 100%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.08), #050706 92%);
}

.hero-media {
  position: absolute;
  z-index: -2;
  right: max(-140px, calc((100vw - var(--max)) / 2 - 180px));
  bottom: 120px;
  width: min(980px, 68vw);
  opacity: 0.9;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 70px 160px rgba(0, 0, 0, 0.58);
  transform: perspective(1500px) rotateY(-9deg) rotateX(3deg);
  transform-origin: center;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-bottom: 64px;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.eyebrow-row span,
.section-head > span,
.page-hero-inner > span,
.workspace-nav > span,
.workspace-status > span,
.cta-section span,
.auth-copy > span,
.auth-card > span,
.ticket-form > span,
.pricing-summary > span,
.risk-console > span,
.brand-band .band-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(231, 188, 69, 0.36);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(231, 188, 69, 0.08);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-home h1,
.page-hero h1,
.dashboard-hero h1,
.auth-copy h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(58px, 8vw, 124px);
  font-weight: 950;
  line-height: 0.96;
}

.hero-lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 20px;
  line-height: 1.82;
}

.hero-actions {
  margin-top: 34px;
}

.hero-metrics {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero-metrics div {
  min-width: 0;
  padding: 22px 24px 20px 0;
}

.hero-metrics div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line-dark);
}

.hero-metrics strong {
  display: block;
  color: var(--gold-2);
  font-size: 30px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted-dark);
  font-size: 13px;
}

.brand-band {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.brand-band .band-label {
  justify-self: start;
}

.brand-band p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 22px;
  line-height: 1.72;
}

.section {
  padding: 112px 24px;
}

.section-paper {
  background: var(--paper);
}

.section-ivory {
  background: var(--paper-2);
}

.section-black {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.046) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #050706 0%, #0f1513 100%);
  background-size: 92px 92px, 92px 92px, auto;
}

.section-head {
  width: min(100%, var(--max));
  margin: 0 auto;
  text-align: center;
}

.section-head.align-left {
  text-align: left;
}

.section-head > span,
.page-hero-inner > span,
.cta-section span,
.auth-copy > span,
.auth-card > span,
.ticket-form > span,
.pricing-summary > span {
  color: #8b6412;
  background: rgba(231, 188, 69, 0.13);
}

.section-head.invert > span,
.section-black .section-head > span,
.dark-hero .page-hero-inner > span,
.auth-copy > span,
.risk-console > span {
  color: var(--gold-2);
}

.section-head h2,
.cta-section h2,
.auth-card h2,
.ticket-form h2,
.dashboard-section h2,
.auth-required h2,
.plan-card h2,
.legal-layout h2 {
  max-width: 940px;
  margin: 22px auto 0;
  color: var(--ink);
  font-size: clamp(36px, 4.8vw, 66px);
  font-weight: 930;
  line-height: 1.06;
}

.section-head.align-left h2,
.dashboard-section h2 {
  margin-left: 0;
}

.section-head.invert h2,
.section-black .section-head h2,
.auth-copy h1,
.dark-hero h1,
.dark-hero .page-hero-inner p,
.section-black .section-head p {
  color: var(--white);
}

.section-head p,
.cta-section p,
.page-hero p,
.auth-copy p,
.auth-required p {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
}

.section-head.align-left p {
  margin-left: 0;
}

.section-head.invert p,
.section-black .section-head p {
  color: rgba(255, 250, 240, 0.68);
}

.suite-grid,
.module-grid,
.risk-grid,
.support-grid,
.journey-grid,
.skill-matrix {
  width: min(100%, var(--max));
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-tile,
.module-grid article,
.risk-grid article,
.support-grid article,
.journey-grid article,
.skill-matrix article {
  min-height: 258px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.38);
}

.feature-tile.tile-large {
  grid-column: span 2;
}

.feature-tile span,
.module-grid span,
.risk-grid span,
.journey-grid span,
.skill-matrix span,
.control-grid span,
.process-line span,
.strategy-table span,
.legal-layout span {
  display: block;
  color: #8b6412;
  font-size: 11px;
  font-weight: 920;
  line-height: 1;
  text-transform: uppercase;
}

.feature-tile strong,
.module-grid strong,
.risk-grid strong,
.support-grid strong,
.journey-grid strong,
.skill-matrix strong,
.control-grid strong,
.process-line strong,
.security-list strong,
.settings-grid strong {
  display: block;
  margin-top: 52px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.feature-tile p,
.module-grid p,
.risk-grid p,
.support-grid p,
.journey-grid p,
.skill-matrix p,
.control-grid p,
.process-line p,
.security-list p,
.settings-grid p,
.plan-card p,
.plan-card li,
.ticket-panel p,
.legal-layout p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.skill-matrix {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.skill-matrix article {
  min-height: 230px;
  background:
    linear-gradient(145deg, rgba(231, 188, 69, 0.1), transparent 40%),
    rgba(255, 250, 240, 0.5);
}

.control-grid {
  width: min(100%, var(--max));
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.control-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(231, 188, 69, 0.14), transparent 42%),
    rgba(255, 250, 240, 0.62);
}

.split-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 68px;
  align-items: center;
}

.split-layout .section-head {
  width: 100%;
}

.visual-panel img {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.bot-panel img {
  border-color: rgba(11, 13, 12, 0.12);
  box-shadow: var(--shadow);
}

.workspace-preview {
  width: min(100%, var(--max));
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.workspace-nav {
  padding: 28px;
  color: var(--white);
  background: var(--ink);
}

.workspace-nav > strong {
  display: block;
  margin-top: 24px;
  font-size: 32px;
  line-height: 1.08;
}

.workspace-nav a {
  display: block;
  margin-top: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 250, 240, 0.78);
  font-weight: 800;
}

.workspace-main {
  padding: 30px;
}

.workspace-status {
  min-height: 190px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(231, 188, 69, 0.2), transparent 48%),
    var(--ink-2);
  border-radius: var(--radius);
}

.workspace-status strong {
  display: block;
  margin-top: 24px;
  font-size: 54px;
  line-height: 1;
}

.workspace-status em {
  display: block;
  margin-top: 14px;
  color: var(--muted-dark);
  font-style: normal;
}

.mini-dashboard,
.stat-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mini-dashboard article,
.stat-grid article,
.settings-grid article,
.mini-form {
  min-height: 124px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.52);
}

.mini-dashboard span,
.stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.mini-dashboard strong,
.stat-grid strong {
  display: block;
  margin-top: 20px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.process-line {
  width: min(100%, var(--max));
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-line article {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.38);
}

.process-line.dark-line {
  border-color: var(--line-dark);
}

.dark-line article {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.045);
}

.dark-line strong {
  color: var(--white);
}

.dark-line p {
  color: rgba(255, 250, 240, 0.66);
}

.cta-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(231, 188, 69, 0.18), transparent 38%),
    var(--paper-2);
  box-shadow: var(--shadow);
}

.cta-section h2,
.cta-section p {
  margin-left: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 60px;
  padding: 58px max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 250, 240, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
}

.site-footer nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 800;
}

.page-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.8fr);
  gap: 64px;
  align-items: center;
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 84px;
}

.page-hero.compact-hero {
  min-height: 560px;
}

.dark-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(120deg, #050706 0%, #0c1411 72%, #171a15 100%);
  background-size: 92px 92px, 92px 92px, auto;
}

.light-hero {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(11, 13, 12, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 13, 12, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, var(--paper-2), var(--paper));
  background-size: 92px 92px, 92px 92px, auto;
}

.light-hero h1,
.dashboard-hero h1 {
  color: var(--ink);
}

.page-hero-inner h1 {
  margin-top: 22px;
  font-size: clamp(52px, 7vw, 104px);
}

.page-hero-inner p {
  margin-left: 0;
}

.page-hero-actions {
  margin-top: 34px;
}

.page-hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pricing-summary,
.risk-console {
  align-self: stretch;
  display: grid;
  align-content: end;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(231, 188, 69, 0.2), transparent 48%),
    rgba(255, 250, 240, 0.62);
  box-shadow: var(--shadow);
}

.pricing-summary strong,
.risk-console strong {
  display: block;
  margin-top: 28px;
  font-size: clamp(46px, 6vw, 80px);
  line-height: 0.96;
}

.pricing-summary p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.risk-console {
  color: var(--white);
  border-color: var(--line-dark);
  background:
    linear-gradient(145deg, rgba(231, 188, 69, 0.16), transparent 42%),
    var(--ink-2);
}

.risk-console div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}

.risk-console em {
  color: var(--muted-dark);
  font-style: normal;
}

.risk-console b {
  color: var(--gold-2);
}

.plan-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  display: grid;
  align-content: start;
  min-height: 650px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.48);
}

.plan-card.featured {
  color: var(--white);
  border-color: rgba(231, 188, 69, 0.42);
  background:
    linear-gradient(145deg, rgba(231, 188, 69, 0.22), transparent 44%),
    var(--ink);
  box-shadow: var(--shadow);
}

.plan-card > span {
  color: #8b6412;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured > span,
.featured h2,
.featured > strong {
  color: var(--gold-2);
}

.plan-card h2 {
  margin: 28px 0 0;
  font-size: 42px;
}

.plan-card > strong {
  display: block;
  margin-top: 28px;
  font-size: 28px;
}

.plan-card ul {
  display: grid;
  gap: 14px;
  margin: 34px 0 34px;
  padding: 0;
  list-style: none;
}

.featured p,
.featured li {
  color: rgba(255, 250, 240, 0.7);
}

.strategy-table {
  width: min(100%, var(--max));
  margin: 66px auto 0;
  border-top: 1px solid var(--line-dark);
}

.strategy-table div {
  display: grid;
  grid-template-columns: 150px minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line-dark);
}

.strategy-table strong {
  color: var(--white);
  font-size: 20px;
  line-height: 1.2;
}

.strategy-table em {
  color: rgba(255, 250, 240, 0.62);
  font-size: 15px;
  font-style: normal;
  line-height: 1.7;
}

.security-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.security-list article {
  min-height: 134px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.security-list strong {
  margin-top: 0;
  color: var(--white);
}

.security-list p {
  color: rgba(255, 250, 240, 0.66);
}

.help-search {
  max-width: 620px;
  margin-top: 34px;
}

.help-search input {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
  outline: none;
}

.help-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.help-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
}

.help-sidebar button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.48);
  text-align: left;
  font-weight: 820;
}

.help-sidebar button.is-active,
.help-sidebar button:hover {
  background: var(--ink);
  color: var(--white);
}

.help-content {
  display: grid;
  border-top: 1px solid var(--line);
}

.help-item {
  border-bottom: 1px solid var(--line);
}

.help-item button {
  width: 100%;
  min-height: 78px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 22px;
  font-weight: 880;
}

.help-item p {
  display: none;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.help-item.is-open p {
  display: block;
}

.auth-shell {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(120deg, #050706, #0e1513 70%, #1b1c15);
  background-size: 92px 92px, 92px 92px, auto;
}

.auth-page {
  min-height: 100vh;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 0.58fr);
  gap: 72px;
  align-items: center;
  padding: 150px 24px 80px;
}

.auth-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.auth-proof div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.auth-proof strong {
  display: block;
  color: var(--gold-2);
  font-size: 22px;
}

.auth-proof span {
  display: block;
  margin-top: 10px;
  color: var(--muted-dark);
  font-size: 13px;
}

.auth-card,
.ticket-form,
.panel-form {
  display: grid;
  gap: 16px;
}

.auth-card {
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.auth-card h2 {
  color: var(--white);
  font-size: 34px;
  margin: 10px 0 4px;
}

label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  padding: 13px 14px;
  resize: vertical;
}

.auth-card input {
  border-color: var(--line-dark);
  background: rgba(255, 250, 240, 0.1);
  color: var(--white);
}

.auth-card input::placeholder {
  color: rgba(255, 250, 240, 0.45);
}

.form-note {
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.6;
}

.auth-links {
  display: flex;
  gap: 18px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 850;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 68px;
  background: var(--paper-2);
}

.dashboard-hero > div > span,
.auth-required span {
  color: #8b6412;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-hero h1 {
  margin-top: 20px;
  font-size: clamp(48px, 7vw, 98px);
}

.dashboard-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.auth-required {
  width: min(100%, 860px);
  margin: 76px auto 120px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.6);
  text-align: center;
}

.auth-required .section-actions {
  justify-content: center;
  margin-top: 28px;
}

.dashboard {
  width: min(100%, var(--max));
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.dashboard-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.user-card {
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.user-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  color: #090904;
  background: linear-gradient(135deg, #fff4bd, var(--gold));
  font-weight: 940;
}

.user-card strong {
  display: block;
  margin-top: 22px;
  font-size: 22px;
}

.user-card em {
  display: block;
  margin-top: 8px;
  color: var(--muted-dark);
  font-size: 13px;
  font-style: normal;
}

.user-card small {
  display: inline-flex;
  margin-top: 18px;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(231, 188, 69, 0.35);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
}

.dashboard-sidebar nav {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 250, 240, 0.5);
}

.dashboard-sidebar nav a {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
}

.dashboard-sidebar nav a:last-child {
  border-bottom: 0;
}

.dashboard-main {
  display: grid;
  gap: 28px;
}

.dashboard-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.58);
}

.account-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
}

.command-copy span,
.bot-link-panel span,
.order-summary span,
.risk-console span,
.instance-strip span,
.runtime-data-grid span,
.activity-grid span,
.runtime-strip span,
.service-timeline span {
  display: block;
  color: #8b6412;
  font-size: 11px;
  font-weight: 920;
  text-transform: uppercase;
}

.command-copy h2 {
  margin: 14px 0 0;
  font-size: 42px;
  line-height: 1.05;
}

.command-copy p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.command-actions {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: end;
}

.account-status-grid,
.risk-console,
.instance-strip,
.runtime-data-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.account-status-grid {
  margin-top: 4px;
}

.account-status-grid article,
.risk-console article,
.instance-strip article,
.runtime-data-grid article,
.activity-grid article,
.runtime-strip article,
.order-summary,
.bot-link-panel,
.service-timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.5);
}

.account-status-grid article,
.risk-console article,
.instance-strip article,
.runtime-data-grid article {
  min-height: 152px;
  padding: 22px;
}

.account-status-grid strong,
.risk-console strong,
.instance-strip strong,
.runtime-data-grid strong,
.activity-grid strong,
.order-summary strong,
.bot-link-code strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
}

.account-status-grid p,
.risk-console p,
.runtime-data-grid p,
.activity-list p,
.runtime-strip p,
.order-summary p,
.bot-link-panel p,
.service-timeline p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.bot-link-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.bot-link-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

.bot-link-code {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.bot-link-code em,
.order-summary em,
.service-timeline em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.activation-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.activation-steps article {
  min-height: 156px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.46);
}

.activation-steps article.is-done {
  border-color: rgba(75, 217, 137, 0.44);
  background: rgba(75, 217, 137, 0.1);
}

.activation-steps article.is-current {
  border-color: rgba(231, 188, 69, 0.68);
  background: rgba(231, 188, 69, 0.1);
}

.activation-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #120f05;
  background: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.activation-steps strong {
  display: block;
  margin-top: 22px;
  font-size: 18px;
}

.activation-steps p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.order-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: stretch;
}

.order-summary {
  align-self: start;
  min-height: 100%;
  padding: 24px;
}

.risk-console {
  margin-top: 26px;
}

.instance-strip {
  margin-top: 12px;
}

.runtime-data-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.instance-strip article {
  min-height: 112px;
}

.instance-strip strong,
.runtime-data-grid strong {
  font-size: 20px;
  word-break: break-word;
}

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

.activity-grid article,
.runtime-strip article {
  padding: 24px;
}

.activity-grid strong {
  font-size: 28px;
}

.activity-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.activity-list div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 250, 240, 0.58);
}

.activity-list b {
  font-size: 15px;
  line-height: 1.3;
}

.activity-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
}

.runtime-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.service-grid {
  margin-top: 26px;
}

.service-timeline {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.service-timeline article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.service-timeline p {
  margin: 0;
}

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

.panel-form {
  margin-top: 28px;
}

.panel-form .button,
.mini-form .button {
  width: fit-content;
}

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

.mini-form {
  gap: 14px;
}

.ticket-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.48fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.ticket-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.ticket-form h2 {
  margin: 8px 0;
  font-size: 38px;
}

.ticket-panel {
  min-width: 0;
}

.ticket-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.ticket-item,
.empty-state {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.54);
}

.ticket-item header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.ticket-item strong {
  display: block;
  font-size: 21px;
  line-height: 1.2;
}

.ticket-item span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #0b281a;
  background: rgba(75, 217, 137, 0.18);
  font-size: 12px;
  font-weight: 860;
}

.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.legal-layout {
  width: min(100%, 960px);
  display: grid;
  gap: 1px;
  background: var(--line);
}

.legal-layout article {
  padding: 34px;
  background: var(--paper-2);
}

.legal-layout h2 {
  margin-left: 0;
  font-size: 34px;
}

.mobile-buy-bar {
  display: none;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    left: 24px;
    right: 24px;
    top: 84px;
    display: none;
    grid-column: 1 / -1;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(246, 241, 231, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    min-height: 44px;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-media {
    right: -220px;
    width: 860px;
    opacity: 0.52;
  }

  .suite-grid,
  .module-grid,
  .risk-grid,
  .support-grid,
  .journey-grid,
  .skill-matrix,
  .control-grid,
  .process-line,
  .hero-metrics,
  .mini-dashboard,
  .stat-grid,
  .settings-grid,
  .account-status-grid,
  .risk-console,
  .instance-strip,
  .runtime-data-grid,
  .activity-grid,
  .runtime-strip,
  .activation-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .page-hero,
  .auth-page,
  .ticket-layout,
  .help-layout,
  .dashboard,
  .workspace-preview,
  .account-command,
  .bot-link-panel,
  .order-workbench,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar,
  .help-sidebar {
    position: static;
  }

  .strategy-table div {
    grid-template-columns: 130px minmax(220px, 0.72fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }

  .site-shell {
    padding-bottom: 72px;
  }

  .site-header,
  .site-header.is-scrolled,
  body:not([data-page="home"]) .site-header {
    top: 10px;
    width: min(calc(100% - 20px), 520px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 58px;
    color: var(--ink);
    background: rgba(246, 241, 231, 0.94);
    border-color: rgba(11, 13, 12, 0.12);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-subtitle,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    color: var(--ink);
    border-color: rgba(11, 13, 12, 0.12);
    background: rgba(11, 13, 12, 0.04);
  }

  .site-nav {
    left: 10px;
    right: 10px;
    top: 78px;
  }

  .hero-home {
    min-height: auto;
    padding: 106px 10px 34px;
  }

  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 26px auto 0;
    opacity: 1;
    order: 3;
  }

  .hero-media img {
    transform: none;
  }

  .hero-inner {
    padding-bottom: 30px;
  }

  .hero-home h1,
  .page-hero h1,
  .dashboard-hero h1,
  .auth-copy h1 {
    font-size: 43px;
    line-height: 1.04;
  }

  .hero-lead,
  .page-hero p,
  .dashboard-hero p,
  .auth-copy p {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions,
  .page-hero-actions,
  .section-actions,
  .cta-actions {
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-metrics,
  .suite-grid,
  .module-grid,
  .risk-grid,
  .support-grid,
  .journey-grid,
  .skill-matrix,
  .control-grid,
  .process-line,
  .mini-dashboard,
  .stat-grid,
  .settings-grid,
  .account-status-grid,
  .risk-console,
  .instance-strip,
  .runtime-data-grid,
  .activity-grid,
  .runtime-strip,
  .activation-steps,
  .auth-proof {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 18px 0;
    border-left: 0 !important;
    border-top: 1px solid var(--line-dark);
  }

  .command-actions,
  .service-timeline article,
  .runtime-strip article {
    grid-template-columns: 1fr;
  }

  .command-actions {
    display: grid;
    justify-content: stretch;
  }

  .brand-band {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 10px;
  }

  .brand-band p {
    font-size: 18px;
  }

  .section {
    padding: 78px 10px;
  }

  .section-head h2,
  .cta-section h2,
  .auth-card h2,
  .ticket-form h2,
  .dashboard-section h2,
  .auth-required h2,
  .plan-card h2,
  .legal-layout h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .section-head p,
  .cta-section p,
  .auth-required p {
    font-size: 15px;
    line-height: 1.72;
  }

  .feature-tile.tile-large {
    grid-column: auto;
  }

  .feature-tile,
  .module-grid article,
  .risk-grid article,
  .support-grid article,
  .journey-grid article,
  .skill-matrix article,
  .control-grid article,
  .process-line article {
    min-height: 0;
    padding: 22px;
  }

  .feature-tile strong,
  .module-grid strong,
  .risk-grid strong,
  .support-grid strong,
  .journey-grid strong,
  .skill-matrix strong,
  .control-grid strong,
  .process-line strong {
    margin-top: 30px;
    font-size: 20px;
  }

  .split-layout {
    gap: 38px;
  }

  .workspace-preview,
  .visual-panel img,
  .page-hero-media img {
    border-radius: var(--radius);
  }

  .workspace-main,
  .workspace-nav,
  .dashboard-section,
  .ticket-form,
  .auth-card,
  .legal-layout article,
  .cta-section,
  .pricing-summary,
  .risk-console,
  .runtime-data-grid article,
  .activity-grid article,
  .runtime-strip article {
    padding: 22px;
  }

  .workspace-status strong,
  .pricing-summary strong,
  .risk-console strong {
    font-size: 40px;
  }

  .page-hero,
  .dashboard-hero {
    min-height: auto;
    padding: 108px 10px 58px;
  }

  .auth-page {
    min-height: auto;
    gap: 36px;
    padding: 108px 10px 58px;
  }

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

  .strategy-table div {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 18px 0;
  }

  .help-item button {
    min-height: 64px;
    font-size: 18px;
  }

  .dashboard {
    margin-bottom: 78px;
  }

  .dashboard-hero {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 10px;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }

  .cta-section {
    width: min(calc(100% - 20px), var(--max));
    margin-bottom: 70px;
    grid-template-columns: 1fr;
  }

  .mobile-buy-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 90;
    display: flex;
    min-height: 52px;
    color: #090904;
    background: linear-gradient(135deg, #fff4bd, var(--gold));
    box-shadow: 0 18px 44px rgba(11, 13, 12, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(68px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  body.is-scrolled .mobile-buy-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .hero-home h1,
  .page-hero h1,
  .dashboard-hero h1,
  .auth-copy h1 {
    font-size: 38px;
  }

  .brand-copy {
    max-width: 160px;
  }
}

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

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