@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #02050b;
  --bg-soft: #060d18;
  --charcoal: #0a111d;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.105);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f8fb;
  --muted: #a7b1c1;
  --quiet: #737f91;
  --accent: #2f80ff;
  --accent-2: #78a9ff;
  --accent-soft: rgba(47, 128, 255, 0.12);
  --success: #59d59a;
  --warning: #e5b95f;
  --max: 1200px;
  --radius: 14px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, #06101c 0%, var(--bg) 360px),
    var(--bg);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 58%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(47, 128, 255, 0.09), transparent 26%),
    linear-gradient(180deg, transparent 0%, rgba(2, 5, 11, 0.62) 44%, rgba(2, 5, 11, 0.95) 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  color: #fff;
  background: rgba(47, 128, 255, 0.42);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  background: #08111f;
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(2, 5, 11, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}

.logo-wordmark {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

.logo-wordmark-footer {
  height: 42px;
}

.wordmark-symbol {
  display: inline-grid;
  min-width: 48px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(47, 128, 255, 0.34);
  border-radius: 8px;
  color: #dceaff;
  background: rgba(47, 128, 255, 0.12);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a,
.footer-links a,
.text-link {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

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

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.mobile-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--text);
}

.mobile-toggle span + span {
  margin-top: 5px;
}

.mobile-nav {
  display: none;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(8, 17, 31, 0.96);
}

.mobile-nav a {
  display: block;
  padding: 12px 10px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-nav.is-open {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-small {
  min-height: 42px;
  padding: 10px 16px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #3786ff, #206eea);
  box-shadow: 0 14px 32px rgba(47, 128, 255, 0.18);
}

.button-primary:hover {
  background: linear-gradient(180deg, #4590ff, #2875ef);
}

.button-secondary,
.button-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover,
.button-outline:hover {
  border-color: rgba(47, 128, 255, 0.48);
  background: rgba(47, 128, 255, 0.09);
}

.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 112px 0 96px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: 72px;
}

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

.section-label {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.28;
}

p {
  color: var(--muted);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: #c5cedb;
  font-size: 20px;
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-system {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-mark-stage {
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-mark-stage::before {
  position: absolute;
  inset: 10% 3% 4%;
  z-index: 0;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 44%, rgba(47, 128, 255, 0.18), transparent 48%),
    radial-gradient(circle at 48% 56%, rgba(120, 169, 255, 0.08), transparent 58%);
  filter: blur(8px);
  animation: dmarkPulse 6.5s ease-in-out infinite;
}

.hero-mark-stage::after {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: -28%;
  z-index: 3;
  width: 28%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  filter: blur(10px);
  transform: skewX(-16deg);
  animation: dmarkSweep 5.8s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-dmark {
  position: relative;
  z-index: 2;
  width: min(78%, 520px);
  height: auto;
  filter:
    drop-shadow(0 26px 52px rgba(47, 128, 255, 0.2))
    drop-shadow(0 4px 18px rgba(47, 128, 255, 0.18));
  animation: dmarkFloat 7s ease-in-out infinite;
}

.section {
  padding: 104px 0;
}

.section-banded {
  border-block: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.008)),
    rgba(255, 255, 255, 0.01);
}

.section-intro {
  margin-bottom: 48px;
}

.section-intro.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: end;
  gap: 72px;
}

.section-intro.narrow {
  max-width: 850px;
}

.section-intro p:not(.section-label),
.section-lede {
  max-width: 760px;
  color: #bac4d2;
  font-size: 18px;
  line-height: 1.65;
}

.section-lede {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.35;
}

.card-grid,
.services-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

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

.principle-card,
.service-card,
.stat-card,
.news-card,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.principle-card {
  min-height: 210px;
  padding: 30px;
}

.principle-card span,
.service-label,
.list-group > span {
  display: block;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle-card span {
  margin-bottom: 32px;
}

.principle-card p {
  margin-bottom: 0;
}

.framework {
  position: relative;
  display: grid;
  max-width: 980px;
  gap: 0;
}

.framework::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 37px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(47, 128, 255, 0.65), rgba(255, 255, 255, 0.08));
}

.framework-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 32px;
  padding: 0 0 38px;
}

.framework-item:last-child {
  padding-bottom: 0;
}

.framework-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(47, 128, 255, 0.45);
  border-radius: 50%;
  color: var(--accent-2);
  background: #06101d;
  font-size: 14px;
  font-weight: 700;
}

.framework-item h3 {
  margin-bottom: 8px;
}

.framework-item p {
  max-width: 730px;
  margin-bottom: 0;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.service-card {
  display: grid;
  min-height: 560px;
  grid-template-rows: 250px 1fr;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.047), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.018);
}

.service-card > div:first-child {
  min-height: 250px;
}

.service-label {
  margin-bottom: 28px;
}

.service-card p {
  margin-bottom: 28px;
}

.list-group {
  align-self: start;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.list-group ul {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.list-group li {
  position: relative;
  padding-left: 16px;
  color: #b8c3d1;
}

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

.tranxact-section {
  border-block: 1px solid rgba(47, 128, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(47, 128, 255, 0.085), rgba(255, 255, 255, 0.012)),
    #030912;
}

.tranxact-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1fr);
  align-items: center;
  gap: 72px;
}

.tranxact-copy > p:not(.section-label):not(.section-lede) {
  max-width: 620px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.chip-row span {
  padding: 9px 12px;
  border: 1px solid rgba(120, 169, 255, 0.25);
  border-radius: 999px;
  color: #cfdbec;
  background: rgba(47, 128, 255, 0.085);
  font-size: 13px;
  line-height: 1;
}

.product-console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: #050b14;
  box-shadow: var(--shadow);
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  color: #dce6f5;
}

.console-topbar span,
.console-topbar strong {
  display: block;
}

.console-topbar span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-topbar strong {
  margin-top: 2px;
  font-size: 14px;
}

.console-topbar em {
  color: var(--success);
  font-size: 12px;
  font-style: normal;
}

.console-body {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 460px;
}

.console-nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.018);
}

.console-nav span {
  padding: 10px;
  border-radius: 9px;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.25;
}

.console-nav .active {
  color: var(--text);
  background: rgba(47, 128, 255, 0.14);
}

.console-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.console-stats div {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.console-stats span,
.console-stats strong {
  display: block;
}

.console-stats span {
  margin-bottom: 7px;
  color: var(--quiet);
  font-size: 11px;
}

.console-stats strong {
  font-size: 22px;
  line-height: 1;
}

.workflow-map {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.workflow-map i {
  height: 1px;
  background: rgba(120, 169, 255, 0.36);
}

.map-node {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  color: #c0cad8;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  text-align: center;
}

.map-node.active {
  border-color: rgba(47, 128, 255, 0.35);
  color: var(--text);
  background: rgba(47, 128, 255, 0.12);
}

.trade-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.trade-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.55fr 0.7fr;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: #c2ccda;
  font-size: 12px;
}

.trade-row + .trade-row {
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.trade-head {
  min-height: 40px;
  color: var(--quiet);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: start;
  width: max-content;
  min-width: 0;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.status.matched {
  color: #baf1d4;
  background: rgba(89, 213, 154, 0.12);
}

.status.review {
  color: #f4d58e;
  background: rgba(229, 185, 95, 0.12);
}

.status.open {
  color: #c5d9ff;
  background: rgba(47, 128, 255, 0.15);
}

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

.stat-card {
  min-height: 158px;
  padding: 24px;
}

.stat-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.news-rail {
  display: grid;
  grid-auto-columns: minmax(360px, 430px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(120, 169, 255, 0.4) rgba(255, 255, 255, 0.05);
}

.news-card {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: stretch;
  gap: 28px;
  min-height: 310px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(47, 128, 255, 0.08), transparent 42%),
    var(--panel);
  scroll-snap-align: start;
}

.news-date {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-card h3 {
  max-width: 670px;
  font-size: 23px;
}

.news-card p {
  max-width: 720px;
  margin-bottom: 0;
}

.text-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  align-self: end;
}

.contact-section {
  padding-bottom: 112px;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1fr);
  align-items: start;
}

.contact-layout p:not(.section-label) {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: #dbe4f1;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: var(--text);
  background: rgba(2, 5, 11, 0.46);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input {
  height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 146px;
  resize: vertical;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(47, 128, 255, 0.64);
  background: rgba(2, 5, 11, 0.62);
  box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.12);
}

.form-full {
  grid-column: 1 / -1;
}

.contact-form .button {
  width: 100%;
  border: 0;
}

.contact-form.is-submitted {
  border-color: rgba(89, 213, 154, 0.36);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.085);
  background: #02050b;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  padding: 44px 0;
}

.footer-wordmark {
  margin-bottom: 14px;
}

.footer-layout p {
  margin-bottom: 0;
  color: var(--quiet);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 26px;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  padding: 20px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.footer-bottom p {
  margin: 0;
  color: var(--quiet);
  font-size: 13px;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  filter: blur(5px);
  transition: transform 620ms ease, opacity 620ms ease, filter 620ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

@keyframes dmarkFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -14px, 0) scale(1.018);
  }
}

@keyframes dmarkPulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes dmarkSweep {
  0%,
  28% {
    left: -34%;
    opacity: 0;
  }

  42% {
    opacity: 0.55;
  }

  62% {
    left: 106%;
    opacity: 0;
  }

  100% {
    left: 106%;
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .hero,
  .section {
    padding: 76px 0;
  }

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

  .hero-layout,
  .tranxact-layout,
  .contact-layout,
  .section-intro.split {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-system {
    min-height: 500px;
  }

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

  .service-card {
    min-height: auto;
    grid-template-rows: auto;
  }

  .service-card > div:first-child {
    min-height: 0;
  }

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

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }
}

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

  .hero,
  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 66px;
  }

  .nav {
    min-height: 66px;
  }

  .button-outline {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-lede,
  .section-intro p:not(.section-label),
  .contact-layout p:not(.section-label) {
    font-size: 16px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .four-grid,
  .contact-form,
  .console-stats,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-system {
    min-height: 390px;
  }

  .hero-dmark {
    width: min(82%, 360px);
  }

  .framework::before {
    left: 23px;
  }

  .framework-item {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .framework-number {
    width: 48px;
    height: 48px;
    font-size: 12px;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .console-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .workflow-map {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .workflow-map i {
    width: 1px;
    height: 18px;
    justify-self: center;
  }

  .trade-head {
    display: none;
  }

  .trade-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 7px;
    min-height: 0;
    padding: 13px 14px;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding: 26px;
  }

  .news-rail {
    grid-auto-columns: minmax(280px, 86vw);
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    transform: none;
    opacity: 1;
    filter: none;
  }
}
