:root {
  --aureo-ink: #eaf7ff;
  --aureo-muted: #8eacc2;
  --aureo-navy: #06131f;
  --aureo-navy-2: #091b2a;
  --aureo-panel: #0b2032;
  --aureo-panel-soft: #102a40;
  --aureo-line: rgba(125, 211, 252, .16);
  --aureo-blue: #38bdf8;
  --aureo-blue-strong: #0ea5e9;
  --aureo-blue-soft: #7dd3fc;
  --aureo-cyan: #22d3ee;
  --aureo-green: #2dd4bf;
  --aureo-red: #71a8fb;
  --aureo-shadow: 0 24px 80px rgba(0, 8, 20, .42);
}

html {
  scroll-behavior: smooth;
}

.landing-body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 3%, rgba(56, 189, 248, .13), transparent 27rem),
    radial-gradient(circle at 12% 28%, rgba(34, 211, 238, .07), transparent 30rem),
    var(--aureo-navy);
  color: var(--aureo-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

.landing-body a {
  color: inherit;
  text-decoration: none;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1200px, calc(100% - 40px));
  height: 76px;
  margin: 16px auto 0;
  padding: 0 18px 0 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--aureo-line);
  border-radius: 20px;
  background: rgba(6, 19, 31, .84);
  box-shadow: 0 18px 55px rgba(0, 7, 18, .25);
  backdrop-filter: blur(20px);
}

.aureo-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.aureo-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.aureo-brand b {
  font-size: 15px;
  letter-spacing: -.02em;
}

.aureo-brand small {
  color: var(--aureo-blue-soft);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .17em;
}

.aureo-symbol {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(56, 189, 248, .22), rgba(14, 165, 233, .04));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 8px 25px rgba(14, 165, 233, .12);
}

.aureo-symbol i {
  position: relative;
  width: 4px;
  border-radius: 4px;
  background: var(--aureo-blue-soft);
}

.aureo-symbol i::before {
  content: "";
  position: absolute;
  width: 1px;
  left: 1.5px;
  top: -4px;
  bottom: -4px;
  background: inherit;
}

.aureo-symbol i:nth-child(1) { height: 9px; }
.aureo-symbol i:nth-child(2) { height: 20px; background: var(--aureo-cyan); }
.aureo-symbol i:nth-child(3) { height: 13px; }

.landing-nav nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.landing-nav nav a {
  position: relative;
  color: #9ab4c7;
  font-size: 12px;
  font-weight: 650;
}

.landing-nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: var(--aureo-blue);
  transition: right .2s ease;
}

.landing-nav nav a:hover { color: #fff; }
.landing-nav nav a:hover::after { right: 0; }

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

.nav-login,
.nav-primary {
  height: 40px;
  padding: 0 15px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
}

.nav-login {
  color: #acd0e6;
}

.nav-login:hover { background: rgba(125, 211, 252, .08); }

.nav-primary {
  color: #03121d;
  background: linear-gradient(135deg, var(--aureo-blue-soft), var(--aureo-blue));
  box-shadow: 0 10px 28px rgba(56, 189, 248, .2);
}

.nav-primary:hover,
.hero-primary:hover,
.final-cta > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 36px rgba(56, 189, 248, .28);
}

.hero-section {
  width: min(1180px, calc(100% - 40px));
  min-height: 670px;
  margin: 0 auto;
  padding: 92px 0 80px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-heading > span,
.discipline-section > div > span,
.crm-copy > span,
.final-cta > span {
  color: var(--aureo-blue-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--aureo-line);
  border-radius: 20px;
  background: rgba(56, 189, 248, .06);
}

.eyebrow i,
.preview-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aureo-green);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .11), 0 0 16px rgba(45, 212, 191, .55);
}

.hero-copy h1 {
  margin: 24px 0 22px;
  color: #f4fbff;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-copy h1 em,
.section-heading h2 em {
  color: var(--aureo-blue-soft);
  font-style: normal;
}

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

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-primary,
.hero-secondary {
  height: 52px;
  padding: 0 21px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 850;
  transition: .2s ease;
}

.hero-primary {
  color: #03141f;
  background: linear-gradient(135deg, #a5e6ff, var(--aureo-blue));
  box-shadow: 0 14px 35px rgba(56, 189, 248, .2);
}

.hero-secondary {
  border: 1px solid var(--aureo-line);
  color: #c7e3f3;
  background: rgba(125, 211, 252, .04);
}

.hero-secondary i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(56, 189, 248, .12);
  color: var(--aureo-blue-soft);
  font-size: 8px;
  font-style: normal;
}

.hero-trust {
  margin-top: 42px;
  display: flex;
  gap: 32px;
}

.hero-trust span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-trust b { font-size: 17px; }
.hero-trust small { color: #7898ad; font-size: 9px; }

.hero-platform {
  position: relative;
  min-width: 0;
}

.preview-glow {
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background: radial-gradient(circle, rgba(56, 189, 248, .19), transparent 59%);
  filter: blur(18px);
}

.preview-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .2);
  border-radius: 22px;
  background: #071622;
  box-shadow: var(--aureo-shadow), inset 0 1px rgba(255, 255, 255, .04);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.preview-window > header {
  height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(125, 211, 252, .12);
  background: #0a1d2d;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}

.mini-brand span {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--aureo-blue-soft), var(--aureo-blue-strong));
  box-shadow: 0 0 24px rgba(56, 189, 248, .25);
}

.preview-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7e9caf;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .07em;
}

.preview-live i { width: 5px; height: 5px; box-shadow: 0 0 9px var(--aureo-green); }

.preview-avatar {
  width: 26px;
  height: 26px;
  margin-left: 13px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(56, 189, 248, .12);
  color: var(--aureo-blue-soft);
  font-size: 7px;
  font-weight: 900;
}

.preview-body {
  min-height: 360px;
  display: grid;
  grid-template-columns: 158px 1fr;
}

.preview-body > aside {
  padding: 18px 12px;
  border-right: 1px solid rgba(125, 211, 252, .1);
  background: #081925;
}

.preview-body > aside > small {
  margin-left: 7px;
  color: #628299;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
}

.preview-asset {
  margin-top: 9px;
  padding: 10px 8px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  gap: 7px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
}

.preview-asset.active {
  border-color: rgba(56, 189, 248, .17);
  background: rgba(56, 189, 248, .08);
}

.preview-asset > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #102b40;
  color: var(--aureo-blue-soft);
  font-size: 8px;
  font-weight: 900;
}

.preview-asset b,
.preview-asset strong {
  font-size: 7px;
}

.preview-asset b,
.preview-asset strong,
.preview-asset b small {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-asset b small {
  color: #5e7d91;
  font-size: 6px;
  font-weight: 500;
}

.preview-asset strong { text-align: right; }
.preview-asset strong em { color: var(--aureo-green); font-size: 6px; font-style: normal; }

.preview-chart {
  min-width: 0;
  padding: 17px 16px 14px;
}

.preview-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.preview-chart-head span,
.preview-chart-head strong {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-chart-head b { font-size: 12px; }
.preview-chart-head small { color: #64859a; font-size: 7px; }
.preview-chart-head strong { font-size: 11px; text-align: right; }
.preview-chart-head em { color: var(--aureo-green); font-size: 7px; font-style: normal; }

.chart-grid {
  position: relative;
  height: 220px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .08);
  border-radius: 12px;
  background-image:
    linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px);
  background-size: 100% 44px, 64px 100%;
}

.spark-bars {
  position: absolute;
  inset: 31px 17px 30px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.spark-bars i {
  position: relative;
  width: 5px;
  height: 22px;
  border-radius: 2px;
  background: var(--aureo-green);
  transform: translateY(12px);
}

.spark-bars i::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -10px;
  bottom: -9px;
  width: 1px;
  background: inherit;
}

.spark-bars i:nth-child(2n) { height: 34px; transform: translateY(4px); }
.spark-bars i:nth-child(3n) { height: 18px; transform: translateY(-12px); background: var(--aureo-red); }
.spark-bars i:nth-child(4n) { transform: translateY(-25px); }
.spark-bars i:nth-child(5n) { height: 42px; transform: translateY(-8px); }
.spark-bars i:nth-child(7n) { transform: translateY(22px); background: var(--aureo-red); }
.spark-bars i:nth-child(11n) { height: 50px; transform: translateY(-20px); }

.price-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 47%;
  border-top: 1px dashed rgba(56, 189, 248, .45);
}

.floating-price {
  position: absolute;
  right: 0;
  top: calc(47% - 9px);
  padding: 5px 7px;
  border-radius: 5px 0 0 5px;
  background: var(--aureo-blue);
  color: #04141e;
  font-size: 7px;
  font-weight: 900;
}

.preview-orders {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.preview-orders button {
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(125, 211, 252, .15);
  border-radius: 9px;
  background: rgba(56, 189, 248, .06);
  color: #a9c6d8;
  font-size: 7px;
  font-weight: 850;
}

.preview-orders button:first-child { border-color: rgba(113,168,251, .25); color: #a4c8fd; }
.preview-orders button:last-child { border-color: rgba(45, 212, 191, .3); color: #5eead4; }
.preview-orders b { color: #fff; }

.floating-stat {
  position: absolute;
  right: -22px;
  bottom: -25px;
  z-index: 3;
  min-width: 190px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(45, 212, 191, .23);
  border-radius: 14px;
  background: rgba(10, 31, 45, .94);
  box-shadow: 0 18px 45px rgba(0, 7, 18, .38);
  backdrop-filter: blur(14px);
}

.floating-stat > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 212, 191, .12);
  color: var(--aureo-green);
  font-style: normal;
}

.floating-stat span { display: flex; flex-direction: column; gap: 4px; }
.floating-stat small { color: #7190a5; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.floating-stat b { color: var(--aureo-green); font-size: 15px; }

.market-strip {
  border-top: 1px solid var(--aureo-line);
  border-bottom: 1px solid var(--aureo-line);
  background: rgba(9, 27, 42, .58);
  padding: 30px 20px;
  text-align: center;
}

.market-strip p {
  margin: 0 0 20px;
  color: #65889e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.market-strip div {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 5vw, 70px);
  flex-wrap: wrap;
}

.market-strip span {
  color: #b7d3e3;
  font-size: 12px;
  font-weight: 750;
}

.features-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 670px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin: 15px 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.section-heading p {
  margin: 0;
  color: var(--aureo-muted);
  font-size: 14px;
}

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

.feature-grid article {
  position: relative;
  min-height: 240px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--aureo-line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 42, 64, .7), rgba(8, 27, 42, .72));
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.feature-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, .35);
  background: linear-gradient(145deg, rgba(19, 55, 83, .86), rgba(8, 27, 42, .8));
}

.feature-grid article > i {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, .2);
  border-radius: 12px;
  background: rgba(56, 189, 248, .09);
  color: var(--aureo-blue-soft);
  font-size: 17px;
  font-style: normal;
}

.feature-grid article > small {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #45667d;
  font-size: 10px;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 35px 0 11px;
  font-size: 17px;
}

.feature-grid p {
  margin: 0;
  color: #7e9db1;
  font-size: 12px;
  line-height: 1.7;
}

.discipline-section,
.crm-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid var(--aureo-line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(16, 45, 69, .8), rgba(7, 24, 38, .9));
  box-shadow: var(--aureo-shadow);
}

.discipline-section {
  padding: 47px 50px;
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 48px;
  align-items: center;
}

.discipline-section h2 {
  margin: 12px 0 0;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.discipline-section p {
  margin: 0;
  color: #86a4b7;
  font-size: 12px;
  line-height: 1.72;
}

.discipline-section > a,
.crm-copy > a {
  color: var(--aureo-blue-soft);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.crm-section {
  margin-top: 100px;
  padding: 65px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 80px;
  align-items: center;
}

.crm-copy h2 {
  margin: 15px 0 20px;
  font-size: 42px;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.crm-copy > p {
  margin: 0;
  color: #86a5b9;
  font-size: 13px;
  line-height: 1.75;
}

.crm-copy ul {
  margin: 26px 0 31px;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.crm-copy li {
  color: #b3ccda;
  font-size: 11px;
  font-weight: 650;
}

.crm-copy li i {
  width: 21px;
  height: 21px;
  margin-right: 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(45, 212, 191, .1);
  color: var(--aureo-green);
  font-style: normal;
}

.crm-visual {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(125, 211, 252, .13);
  border-radius: 20px;
  background: rgba(5, 20, 32, .6);
}

.crm-node {
  min-height: 79px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 14px;
  background: #0d2639;
}

.crm-node > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #7dd3fc, #0ea5e9);
  color: #04141f;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.crm-node.vision > i { background: linear-gradient(145deg, #5eead4, #14b8a6); }
.crm-node span { display: flex; flex-direction: column; gap: 5px; }
.crm-node b { font-size: 11px; }
.crm-node small { color: #6e8da2; font-size: 8px; }
.crm-node strong { color: var(--aureo-green); font-size: 8px; }

.connector {
  height: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.connector i { width: 1px; height: 22px; background: var(--aureo-blue); }
.connector span { color: #66879c; font-size: 7px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.crm-metrics {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.crm-metrics span {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 10px;
  background: rgba(125, 211, 252, .05);
}

.crm-metrics small { color: #55768b; font-size: 6px; font-weight: 900; }
.crm-metrics b { font-size: 8px; }

.final-cta {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 100px auto;
  padding: 82px 30px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 27px;
  background: linear-gradient(135deg, #0f3955, #0a263b 58%, #071a29);
  box-shadow: var(--aureo-shadow);
  text-align: center;
}

.final-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: -350px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(56, 189, 248, .2);
  filter: blur(55px);
}

.final-cta h2 {
  position: relative;
  margin: 16px 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.final-cta p {
  margin: 0 auto 29px;
  color: #99b8ca;
  font-size: 13px;
}

.final-cta > a {
  position: relative;
  height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border-radius: 13px;
  background: linear-gradient(135deg, #a5e6ff, var(--aureo-blue));
  color: #04141f;
  font-size: 12px;
  font-weight: 900;
  transition: .2s ease;
}

.landing-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 45px;
  align-items: center;
  border-top: 1px solid var(--aureo-line);
}

.landing-footer > p {
  max-width: 520px;
  margin: 0;
  color: #66869a;
  font-size: 9px;
  line-height: 1.65;
}

.landing-footer > div { display: flex; gap: 18px; }
.landing-footer > div a { color: #88a8bb; font-size: 9px; font-weight: 750; }
.landing-footer > small { grid-column: 1 / -1; color: #45677d; font-size: 8px; }

@media (max-width: 960px) {
  .landing-nav { grid-template-columns: 1fr auto; }
  .landing-nav nav { display: none; }
  .hero-section { grid-template-columns: 1fr; gap: 70px; padding-top: 70px; }
  .hero-copy { max-width: 700px; }
  .hero-platform { max-width: 700px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .discipline-section { grid-template-columns: 1fr; gap: 23px; }
  .crm-section { grid-template-columns: 1fr; gap: 50px; padding: 48px; }
  .landing-footer { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 620px) {
  .landing-nav { width: calc(100% - 20px); height: 66px; margin-top: 10px; padding: 0 11px; border-radius: 16px; }
  .aureo-brand small { display: none; }
  .nav-login { display: none; }
  .nav-primary { height: 38px; padding: 0 11px; }
  .hero-section { width: calc(100% - 28px); min-height: auto; padding: 65px 0; }
  .hero-copy h1 { font-size: 45px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-trust { gap: 20px; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-body > aside { display: none; }
  .preview-window { transform: none; }
  .floating-stat { right: 8px; }
  .market-strip div { justify-content: flex-start; gap: 18px 28px; }
  .features-section { width: calc(100% - 28px); padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .discipline-section, .crm-section, .final-cta { width: calc(100% - 28px); }
  .discipline-section, .crm-section { padding: 30px; }
  .crm-copy h2 { font-size: 34px; }
  .final-cta { padding: 60px 22px; }
  .landing-footer { width: calc(100% - 28px); }
}

/* Shared product theme: one editable visual system for the public site,
   client portal and trading terminal. */
:root {
  --bg: #06131f;
  --surface: #0a1c2b;
  --surface2: #0d2335;
  --surface-2: #0d2335;
  --surface-3: #112c42;
  --line: rgba(125, 211, 252, .18);
  --line-soft: rgba(125, 211, 252, .11);
  --text: #eaf7ff;
  --muted: #8eacc2;
  --red: #71a8fb;
  --red-soft: rgba(113,168,251, .14);
  --green: #2dd4bf;
  --green-soft: rgba(45, 212, 191, .14);
  --blue: #38bdf8;
}

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

button,
a {
  transition: color .18s ease, background .18s ease, border-color .18s ease,
    box-shadow .18s ease, transform .18s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--aureo-blue-soft);
  outline-offset: 2px;
}

.candle-mark {
  width: 38px;
  height: 36px;
  border: 1px solid rgba(125, 211, 252, .25);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(56, 189, 248, .2), rgba(14, 165, 233, .03));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 8px 25px rgba(14, 165, 233, .12);
}

.candle-mark i { width: 5px; border-radius: 4px; background: var(--aureo-blue-soft); }
.candle-mark i:nth-child(1) { background: var(--aureo-blue); }
.candle-mark i:nth-child(2) { background: var(--aureo-cyan); }
.candle-mark i:nth-child(3) { background: #dff7ff; }

/* Public platform preview is intentionally non-interactive. */
.preview-orders > div {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(125, 211, 252, .17);
  border-radius: 8px;
  background: rgba(5, 20, 32, .8);
  color: #8daabd;
  font-size: 6px;
  font-weight: 900;
}

.preview-orders > div:first-child { border-color: rgba(113,168,251, .35); }
.preview-orders > div:last-child { border-color: rgba(45, 212, 191, .35); }
.preview-orders > div:first-child b { color: var(--aureo-red); }
.preview-orders > div:last-child b { color: var(--aureo-green); }

/* Login */
.login-body,
.portal-body {
  background:
    radial-gradient(circle at 8% 5%, rgba(56, 189, 248, .13), transparent 30rem),
    radial-gradient(circle at 91% 92%, rgba(34, 211, 238, .08), transparent 30rem),
    var(--aureo-navy);
  color: var(--aureo-ink);
}

.login-brand-panel {
  position: relative;
  border-color: var(--aureo-line);
  background:
    linear-gradient(90deg, rgba(6, 19, 31, .34), rgba(9, 27, 42, .78)),
    radial-gradient(circle at 28% 50%, rgba(56, 189, 248, .12), transparent 28rem);
}

.login-brand,
.portal-brand { gap: 12px; }
.login-brand b,
.portal-brand b { font-size: 17px; letter-spacing: -.02em; }
.login-brand small,
.portal-brand small { color: var(--aureo-blue-soft); font-size: 7px; }

.login-back,
.login-mobile-back {
  width: max-content;
  color: #9cc5dc;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.login-back:hover,
.login-mobile-back:hover { color: #fff; transform: translateX(-2px); }
.login-brand { margin-top: 34px; }
.login-mobile-back { display: none; margin-bottom: 28px; }

.login-message > span,
.content-heading > span,
.welcome-row > div > span {
  color: var(--aureo-blue-soft);
  font-size: 10px;
}

.login-message h1 { max-width: 760px; font-size: clamp(48px, 5.3vw, 78px); }
.login-message h1 em { color: var(--aureo-blue-soft); }
.login-message p { color: #9eb8ca; font-size: 15px; }
.login-points { color: #a7c0d1; font-size: 11px; gap: 28px; }
.login-points i { color: var(--aureo-green); }

.login-form-panel {
  background: linear-gradient(160deg, rgba(8, 25, 39, .7), rgba(4, 15, 25, .25));
}

.login-card {
  width: min(445px, 100%);
  padding: 39px;
  border-color: rgba(125, 211, 252, .22);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(14, 41, 61, .96), rgba(7, 24, 38, .98));
  box-shadow: 0 35px 100px rgba(0, 7, 18, .5), inset 0 1px rgba(255, 255, 255, .035);
}

.login-card header small { color: var(--aureo-blue-soft); font-size: 9px; }
.login-card h2 { margin-top: 10px; font-size: 30px; letter-spacing: -.035em; }
.login-card header p { color: #91aec1; font-size: 12px; line-height: 1.6; }
.login-card > label { gap: 9px; margin-bottom: 17px; color: #b0c9d8; font-size: 10px; }
.login-card input {
  height: 50px;
  padding: 0 14px;
  border-color: rgba(125, 211, 252, .18);
  border-radius: 10px;
  background: rgba(3, 15, 25, .72);
  font-size: 12px;
}
.login-card input:focus { border-color: var(--aureo-blue); box-shadow: 0 0 0 3px rgba(56, 189, 248, .1); }
.login-options { margin: 3px 0 22px; color: #7899ae; font-size: 9px; }
.login-options a { color: var(--aureo-blue-soft); text-decoration: none; font-weight: 750; }
.login-submit,
.primary-action {
  height: 47px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--aureo-blue-soft), var(--aureo-blue));
  box-shadow: 0 12px 28px rgba(14, 165, 233, .18);
  color: #03131e;
  font-size: 11px;
}
.login-submit:hover,
.primary-action:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(14, 165, 233, .26); }
.demo-credentials { margin-top: 20px; padding: 14px; border-color: rgba(125, 211, 252, .21); color: #a8c3d4; font-size: 9px; }
.demo-credentials b { color: var(--aureo-blue-soft); font-size: 8px; }
.legal-copy { color: #708fa4; font-size: 8px; }
.login-error { border-color: rgba(113,168,251, .42); background: rgba(13,39,78, .7); color: #c3dbff; font-size: 10px; }

/* Client portal */
.portal-sidebar {
  width: auto;
  padding: 27px 15px 15px;
  border-color: var(--aureo-line);
  background: linear-gradient(180deg, #071826, #06131f 70%);
  box-shadow: 16px 0 55px rgba(0, 8, 20, .12);
}

.portal-brand { padding-bottom: 34px; }
.portal-sidebar nav { gap: 5px; }
.portal-sidebar nav a {
  height: 46px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #92aec1;
  font-size: 10px;
}
.portal-sidebar nav a i { color: #78bedd; font-size: 15px; }
.portal-sidebar nav a:hover { background: rgba(56, 189, 248, .07); color: #eaf7ff; }
.portal-sidebar nav a.active {
  border-color: rgba(125, 211, 252, .18);
  background: linear-gradient(90deg, rgba(56, 189, 248, .17), rgba(56, 189, 248, .045));
  color: #fff;
  box-shadow: inset 3px 0 var(--aureo-blue);
}
.portal-sidebar nav a.active i { color: var(--aureo-blue-soft); }
.trade-link {
  height: 54px;
  border-color: rgba(56, 189, 248, .35);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, .2), rgba(14, 165, 233, .07));
}
.trade-link i { color: var(--aureo-blue-soft) !important; font-size: 18px; }
.portal-side-bottom form button { border-color: var(--aureo-line); color: #8faabd; font-size: 9px; }
.portal-side-bottom form button:hover { border-color: rgba(113,168,251, .35); color: var(--aureo-red); }

.portal-main { padding-left: 42px; padding-right: 42px; }
.portal-top { height: 88px; border-color: var(--aureo-line); }
.portal-top > div:first-child small { color: var(--aureo-blue-soft); font-size: 8px; }
.portal-top h1 { font-size: 21px; }
.portal-user b { font-size: 10px; }
.portal-user small { color: #829fb3; font-size: 8px; }
.portal-user > span {
  width: 39px;
  height: 39px;
  background: linear-gradient(135deg, var(--aureo-blue), #176ea7);
  box-shadow: 0 8px 22px rgba(14, 165, 233, .22);
  font-size: 9px;
}

.portal-content { padding-top: 48px; }
.content-heading h2 { font-size: 34px; }
.content-heading p,
.welcome-row p { color: #8fabbd; font-size: 11px; }
.welcome-row h2 { font-size: 32px; }
.terminal-cta {
  min-width: 280px;
  padding: 15px;
  border-color: rgba(56, 189, 248, .35);
  background: linear-gradient(135deg, rgba(56, 189, 248, .19), rgba(8, 31, 48, .86));
  box-shadow: 0 14px 36px rgba(0, 8, 20, .18);
}
.terminal-cta:hover { transform: translateY(-2px); border-color: rgba(125, 211, 252, .55); }
.terminal-cta > i { background: linear-gradient(135deg, var(--aureo-blue), var(--aureo-blue-strong)); color: #041521; }
.terminal-cta b { font-size: 10px; }
.terminal-cta small { color: #8daabc; font-size: 8px; }

.summary-cards { gap: 14px; }
.summary-cards article,
.status-grid article,
.overview-card,
.quick-card,
.cash-card,
.movement-card,
.history-card,
.portal-form,
.settings-card,
.account-detail-card {
  border-color: var(--aureo-line);
  background: linear-gradient(155deg, rgba(14, 40, 59, .92), rgba(8, 26, 40, .96));
  box-shadow: 0 16px 45px rgba(0, 8, 20, .14), inset 0 1px rgba(255, 255, 255, .025);
}
.summary-cards article { min-height: 126px; padding: 20px; border-radius: 14px; }
.summary-cards .primary-balance {
  border-color: rgba(56, 189, 248, .3);
  background: linear-gradient(135deg, rgba(24, 92, 132, .58), rgba(11, 35, 53, .94));
}
.summary-cards small,
.status-grid small,
.overview-card header small,
.quick-card header small { color: #83a7bc; font-size: 8px; }
.summary-cards b { font-size: 23px; }
.summary-cards span { color: #86a4b7; font-size: 9px; }
.summary-grid { gap: 14px; margin-top: 14px; }
.overview-card,
.quick-card { padding: 22px; border-radius: 14px; }
.overview-card h3,
.quick-card h3,
.movement-card h3,
.history-card h3 { font-size: 17px; }
.overview-card header a { color: var(--aureo-blue-soft); font-size: 9px; }
.portal-empty { border-color: rgba(125, 211, 252, .17); color: #7f9db1; }
.portal-empty b { color: #d4eaf7; font-size: 11px; }
.portal-empty p { font-size: 9px; }
.quick-card a { border-color: var(--aureo-line); }
.quick-card a:hover { padding-left: 6px; }
.quick-card a > i { background: rgba(56, 189, 248, .11); color: var(--aureo-blue-soft); }
.quick-card a b { font-size: 10px; }
.quick-card a small { color: #7f9db1; font-size: 8px; }

.portal-form label,
.cash-card > label { color: #a6c0d0; font-size: 10px; }
.portal-form input,
.select-setting select,
.cash-input {
  border-color: var(--aureo-line);
  background: rgba(3, 15, 25, .68);
  color: #eaf7ff;
}
.portal-form input:focus,
.select-setting select:focus,
.cash-input:focus-within { border-color: var(--aureo-blue); box-shadow: 0 0 0 3px rgba(56, 189, 248, .09); }
.status-grid { gap: 14px; }
.status-grid article > i { background: rgba(56, 189, 248, .1); color: var(--aureo-blue-soft); }
.status-grid h3 { font-size: 16px; }
.status-grid p { color: #809daf; font-size: 9px; }
.account-detail-card > div,
.available-balance,
.movement-list > div,
.select-setting,
.toggle-setting,
.overview-row { border-color: var(--aureo-line); }
.account-detail-card span,
.select-setting small,
.toggle-setting small { color: #819eb1; font-size: 9px; }
.account-detail-card b,
.select-setting b,
.toggle-setting b { font-size: 10px; }
.available-balance small { color: #82a6bb; font-size: 8px; }
.movement-list b,
.movement-list strong { font-size: 10px; }
.movement-list small { color: #7895a8; font-size: 8px; }
.list-empty { border-color: rgba(125, 211, 252, .17); color: #7897aa; font-size: 10px; }
.toggle-setting > i { background: #29465a; }
.toggle-setting input:checked + i { background: var(--aureo-blue-strong); }
.overview-head { color: #7699ae; font-size: 8px; }
.overview-row { font-size: 10px; }
.overview-row small { color: #7796a9; font-size: 8px; }
.portal-footer { color: #6f8da1; font-size: 8px; }
.portal-toast { background: #0b443e; color: #d9fff7; font-size: 10px; }

/* Trading terminal */
.terminal-shell {
  --bg: #05111c;
  --surface: #091a28;
  --surface-2: #0d2234;
  --surface-3: #112a3e;
  --line: rgba(125, 211, 252, .18);
  --line-soft: rgba(125, 211, 252, .1);
  --text: #eaf7ff;
  --muted: #8ca9bd;
  --red: #71a8fb;
  --red-soft: rgba(113,168,251, .15);
  --green: #2dd4bf;
  --green-soft: rgba(45, 212, 191, .14);
  --blue: #38bdf8;
  gap: 10px;
  background:
    radial-gradient(circle at 10% -15%, rgba(56, 189, 248, .14), transparent 27rem),
    radial-gradient(circle at 90% 110%, rgba(34, 211, 238, .07), transparent 28rem),
    var(--bg);
}

.terminal-topbar,
.market-sidebar,
.instrument-bar,
.panel-dark,
.account-sidebar {
  border-color: var(--line);
  background: linear-gradient(155deg, rgba(12, 34, 51, .97), rgba(7, 23, 36, .98));
  box-shadow: 0 14px 40px rgba(0, 7, 18, .17), inset 0 1px rgba(255, 255, 255, .025);
}

.terminal-topbar {
  height: 64px;
  grid-template-columns: 205px minmax(455px, 1fr) auto;
  padding-left: 14px;
  border-radius: 17px;
}
.terminal-brand { gap: 11px; }
.terminal-brand b { font-size: 14px; letter-spacing: -.02em; }
.terminal-brand small { color: var(--aureo-blue-soft); font-size: 7px; }
.top-metrics { height: 44px; gap: 7px; }
.top-metrics article {
  min-width: 104px;
  padding: 8px 11px;
  border-color: var(--line);
  border-radius: 11px;
  background: rgba(11, 35, 53, .68);
}
.top-metrics small { color: #7f9fb3; font-size: 7px; }
.top-metrics b { font-size: 11px; }
.top-metrics span { font-size: 7px; }
.utility-button,
.round-button,
.live-status,
.deposit-button {
  height: 37px;
  border-color: var(--line);
  background: rgba(16, 43, 63, .72);
  color: #c4ddeb;
  font-size: 9px;
}
.round-button { width: 37px; }
.round-button.small { width: 31px; height: 31px; }
.utility-button:hover,
.round-button:hover { border-color: rgba(125, 211, 252, .46); background: rgba(56, 189, 248, .1); color: #fff; }
.deposit-button {
  border: 0;
  padding: 0 15px;
  background: linear-gradient(135deg, var(--aureo-blue-soft), var(--aureo-blue));
  color: #04141f;
  box-shadow: 0 10px 23px rgba(14, 165, 233, .2);
}
.top-avatar,
.profile-card > span { background: linear-gradient(135deg, var(--aureo-blue), #176ea7); box-shadow: 0 8px 20px rgba(14, 165, 233, .18); }

.terminal-grid { height: calc(100vh - 98px); gap: 10px; }
.trade-workspace { gap: 10px; grid-template-rows: 68px minmax(225px, 1fr) 190px; }
.market-sidebar,
.account-sidebar,
.instrument-bar,
.terminal-chart,
.positions-panel { border-radius: 15px; }
.aside-title { padding-top: 2px; }
.aside-title b,
.account-heading b { color: #d8edf8; font-size: 9px; letter-spacing: .1em; }
.aside-title span { color: var(--aureo-blue-soft); font-size: 8px; }
.market-search {
  height: 42px;
  border-color: var(--line);
  background: rgba(3, 15, 25, .62);
}
.market-search span { color: #7198af; font-size: 16px; }
.market-search input { color: #e7f6ff; font-size: 10px; }
.market-search input::placeholder { color: #6f8da0; }
.market-tabs { gap: 6px; }
.market-tabs button {
  min-height: 28px;
  border-color: rgba(125, 211, 252, .14);
  background: rgba(13, 38, 57, .74);
  color: #89a7ba;
  font-size: 8px;
}
.market-tabs button.active {
  border-color: rgba(56, 189, 248, .5);
  background: rgba(56, 189, 248, .14);
  color: var(--aureo-blue-soft);
}
.market-row {
  min-height: 52px;
  border-color: transparent;
  color: #dceef8;
}
.market-row:hover { background: rgba(56, 189, 248, .06); }
.market-row.selected {
  border-color: rgba(56, 189, 248, .28);
  background: linear-gradient(90deg, rgba(56, 189, 248, .16), rgba(56, 189, 248, .035));
  box-shadow: inset 3px 0 var(--aureo-blue);
}
.market-row > span:nth-child(2) b,
.market-row > span:last-child b { font-size: 10px; }
.market-row small { color: #7392a6; font-size: 8px; }
.asset-logo {
  border-color: rgba(125, 211, 252, .22);
  background: linear-gradient(135deg, rgba(56, 189, 248, .2), rgba(14, 165, 233, .05));
  color: #c9efff;
}
.asset-logo img { width: 72%; height: 72%; display: block; object-fit: contain; }
.asset-logo.icon-brand img { width: 68%; height: 68%; }
.asset-logo.icon-crypto img { width: 86%; height: 86%; }
.asset-logo.icon-flags { width: 34px; border-radius: 11px; background: rgba(255,255,255,.08) !important; font-size: 12px; letter-spacing: -5px; padding-right: 4px; }
.asset-logo.large.icon-flags { width: 45px; font-size: 15px; }
.asset-logo.icon-flag,
.asset-logo.icon-commodity { background: rgba(255,255,255,.08) !important; font-size: 15px; }
.asset-logo.large.icon-flag,
.asset-logo.large.icon-commodity { font-size: 20px; }
.aside-foot { border-color: var(--line-soft); }
.aside-foot b { color: #91b0c2; font-size: 8px; }
.aside-foot small { color: #648499; font-size: 7px; }

.instrument-bar { padding-left: 13px; padding-right: 13px; }
.instrument-main h1 { font-size: 17px; letter-spacing: -.025em; }
.instrument-main small,
.instrument-quote small { color: #7f9eb2; font-size: 8px; }
.instrument-quote b { font-size: 17px; }
.instrument-quote span { font-size: 9px; }

.chart-toolbar { min-height: 42px; border-color: var(--line-soft); }
.timeframes button,
.tool-button,
.indicator-button,
.camera-button {
  min-width: 30px;
  min-height: 29px;
  border-radius: 7px;
  color: #91adbf;
  font-size: 9px;
}
.timeframes button:hover,
.tool-button:hover,
.indicator-button:hover,
.camera-button:hover { background: rgba(56, 189, 248, .08); color: #fff; }
.timeframes button.active {
  background: rgba(56, 189, 248, .17);
  color: var(--aureo-blue-soft);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .28);
}
#favoriteButton.active,
#favoritesOnly.active,
#indicatorToggle.active,
#chartType.active {
  border-color: rgba(56, 189, 248, .48);
  background: rgba(56, 189, 248, .14);
  color: var(--aureo-blue-soft);
}
.chart-loading { border-color: var(--line); background: rgba(5, 20, 32, .93); color: #a5c0d0; font-size: 9px; }
.live-price-tag { background: var(--aureo-blue); color: #03141f; font-size: 9px; }
.live-price-tag.provider { background: var(--aureo-cyan); color: #03141f; }
.quick-trade { gap: 8px; }
.quote-button {
  min-width: 102px;
  min-height: 43px;
  border-radius: 10px;
  background: rgba(5, 20, 32, .88);
}
.quote-button small { font-size: 7px; }
.quote-button b { font-size: 12px; }
.quote-button.sell { border-color: rgba(113,168,251, .55); }
.quote-button.buy { border-color: rgba(45, 212, 191, .55); }
.quote-button.sell:hover { background: rgba(113,168,251, .13); }
.quote-button.buy:hover { background: rgba(45, 212, 191, .13); }

.positions-head { border-color: var(--line-soft); }
.table-tabs button { color: #7796aa; font-size: 8px; }
.table-tabs button.active {
  border-color: rgba(56, 189, 248, .35);
  background: rgba(56, 189, 248, .12);
  color: var(--aureo-blue-soft);
}
.table-tabs button span {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  border-radius: 9px;
  background: rgba(56, 189, 248, .13);
  color: var(--aureo-blue-soft);
  font-size: 8px;
}
.terminal-empty { color: #7898ac; font-size: 9px; }
.position-head,
.order-history-head { color: #718fa2; font-size: 8px; }
.position-row,
.order-history-row { border-color: var(--line-soft); color: #bcd5e4; font-size: 9px; }
.position-row b,
.order-history-row b { font-size: 10px; }
.position-head,
.position-row {
  min-width: 790px;
  grid-template-columns: 1.2fr .72fr .78fr .88fr .88fr .9fr .92fr;
  gap: 14px;
}
.position-row { min-height: 46px; }
.position-row > span { min-width: 0; }
.position-row > span:first-child,
.position-row > span:nth-child(6) { display: flex; flex-direction: column; gap: 3px; }
.position-row > span:first-child small { overflow: hidden; color: #7595a9; text-overflow: ellipsis; white-space: nowrap; }
.side-pill { display: inline-flex; font-style: normal; }
.position-status { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.position-status > small { display: inline-flex; align-items: center; gap: 5px; color: var(--aureo-green); font-size: 7px; font-weight: 900; }
.position-status > small i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(45, 212, 191, .1); }
.position-row-new { animation: reveal-position 2.5s ease both; }
@keyframes reveal-position {
  0% { background: rgba(56, 189, 248, .3); box-shadow: inset 3px 0 var(--aureo-blue); }
  35% { background: rgba(56, 189, 248, .13); }
  100% { background: transparent; box-shadow: inset 0 0 transparent; }
}
.position-close {
  border-color: rgba(125, 211, 252, .25);
  background: rgba(56, 189, 248, .08);
  color: #bfe6f8;
  font-size: 8px;
}
.position-close:hover { border-color: rgba(113,168,251, .4); color: #c1daff; }

.account-heading small { color: #7593a7; font-size: 8px; }
.profile-card {
  border-color: var(--line);
  background: rgba(14, 39, 58, .7);
}
.profile-card > span { font-size: 8px; }
.profile-card b { font-size: 10px; }
.profile-card small { color: #7896aa; font-size: 8px; }
.account-nav a { height: 43px; color: #92aec0; font-size: 9px; }
.account-nav a:hover { background: rgba(56, 189, 248, .08); color: #fff; }
.account-nav i { color: var(--aureo-blue-soft); }
.demo-warning { background: rgba(56, 189, 248, .06); border: 1px solid rgba(125, 211, 252, .1); }
.demo-warning b { color: #98b8cb; font-size: 8px; }
.demo-warning p { color: #708da1; font-size: 8px; }
.reset-account,
.logout-button { border-color: var(--line); color: #8faabd; font-size: 8px; }
.reset-account:hover { border-color: rgba(125, 211, 252, .4); color: #d9f2ff; }
.logout-button:hover { border-color: rgba(113,168,251, .4); background: rgba(113,168,251, .07); }

.modal-backdrop { background: rgba(1, 10, 17, .76); }
.order-ticket {
  width: min(420px, 100%);
  border-color: rgba(125, 211, 252, .25);
  border-radius: 19px;
  background: linear-gradient(155deg, #0e2a3e, #071a29);
  box-shadow: 0 32px 90px rgba(0, 6, 15, .6), inset 0 1px rgba(255, 255, 255, .035);
  padding: 21px;
}
.order-ticket header small,
.order-asset small,
.order-ticket > label { color: #83a4b8; font-size: 8px; }
.order-ticket h2 { font-size: 20px; }
.close-modal { border-color: var(--line); background: rgba(56, 189, 248, .07); color: #b6d7e8; }
.buy-sell { height: 43px; background: rgba(3, 14, 24, .7); }
.buy-sell button { font-size: 10px; }
.order-types button {
  height: 34px;
  border-color: var(--line);
  background: rgba(3, 14, 24, .6);
  color: #849fb2;
  font-size: 9px;
}
.order-types button.active {
  border-color: rgba(56, 189, 248, .45);
  background: rgba(56, 189, 248, .14);
  color: var(--aureo-blue-soft);
}
.order-asset { border-color: var(--line); }
.order-asset b { font-size: 10px; }
.order-asset strong { font-size: 14px; }
.money-input,
.order-ticket select {
  border-color: var(--line);
  background: rgba(3, 14, 24, .68);
  color: #eaf7ff;
}
.order-info span { color: #85a3b6; font-size: 9px; }
.submit-order {
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--aureo-green), #16b9aa);
  color: #031613;
  font-size: 10px;
}
.order-ticket > p { color: #718fa4; font-size: 8px; line-height: 1.55; }
.toast { font-size: 10px; }

.terminal-shell.soft-theme {
  --bg: #0b2234;
  --surface: #102b41;
  --surface-2: #16364f;
  --surface-3: #1b405c;
  --line: rgba(164, 224, 252, .25);
  --line-soft: rgba(164, 224, 252, .15);
  background: linear-gradient(150deg, #0b2234, #102d43);
}

@media (max-width: 1120px) {
  .terminal-topbar { grid-template-columns: 205px 1fr; }
  .portal-main { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 980px) {
  .portal-sidebar { width: auto; }
  .portal-brand { padding-left: 6px; }
}

@media (max-width: 760px) {
  .terminal-topbar { min-height: 64px; }
  .trade-workspace,
  .terminal-shell.positions-collapsed .trade-workspace { grid-template-rows: 68px minmax(320px, 58vh) 210px; }
  .instrument-main h1 { font-size: 15px; }
  .login-mobile-back { display: inline-flex; }
  .position-head,
  .position-row { min-width: 720px; grid-template-columns: 1.15fr .7fr .8fr .9fr .9fr .85fr .9fr; }
  .position-head span:nth-child(2),
  .position-row span:nth-child(2) { display: initial; }
}

@media (max-width: 680px) {
  .portal-main { padding-left: 15px; padding-right: 15px; }
  .login-card { padding: 28px 23px; }
}
