:root {
  --ink: #19152F;
  --ink-soft: #2A2450;
  --emerald: #FF6B57;
  --mint: #F5B84B;
  --purple: #6C63FF;
  --paper: #FCFCF8;
  --muted: #6B7280;
  --white: #FCFCF8;
  --line-dark: rgba(252, 252, 248, 0.16);
  --line-light: #E8E5F8;
  --shadow: 0 24px 70px rgba(25, 21, 47, 0.12);
  --gradient-main: linear-gradient(135deg, #FF6B57 0%, #6C63FF 100%);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--ink);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo img {
  width: 192px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(252, 252, 248, 0.55);
  border-radius: 11px;
  background: var(--gradient-main);
  color: var(--paper);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

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

.brand-copy span {
  margin-top: 4px;
  color: rgba(25, 21, 47, 0.65);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  color: rgba(25, 21, 47, 0.78);
  font-size: 14px;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--mint);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(108, 99, 255, 0.32);
  border-radius: 999px;
  color: var(--purple);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  border-color: var(--emerald);
  background: rgba(255, 107, 87, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(25, 21, 47, 0.22);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: linear-gradient(rgba(245, 184, 75, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 184, 75, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black 0%, transparent 88%);
}

.hero-glow {
  position: absolute;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: -280px;
  right: -110px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.28), rgba(108, 99, 255, 0) 68%);
}

.hero-glow-two {
  bottom: -390px;
  left: 34%;
  background: radial-gradient(circle, rgba(255, 107, 87, 0.18), rgba(255, 107, 87, 0) 68%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  min-height: 790px;
  gap: 56px;
  padding-top: 62px;
}

.hero-content {
  max-width: 635px;
  padding-block: 70px 60px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--emerald);
}

.hero .eyebrow {
  color: var(--purple);
}

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

h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  max-width: 680px;
  margin-bottom: 23px;
  font-size: clamp(3.3rem, 6.5vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.065em;
}

h1::after {
  display: block;
  width: 68px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--emerald);
  content: "";
}

.hero-lead {
  max-width: 480px;
  margin-bottom: 20px;
  color: var(--purple);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 31px;
  color: rgba(25, 21, 47, 0.72);
  font-size: 17px;
}

.hero-text strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--emerald);
  box-shadow: 0 12px 30px rgba(255, 107, 87, 0.22);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--mint);
  box-shadow: 0 15px 35px rgba(255, 107, 87, 0.3);
}

.text-link {
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
}

.text-link span,
.card-link span,
.footer-back-top span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.text-link:hover span,
.card-link:hover span,
.footer-back-top:hover span {
  transform: translate(3px, -2px);
}

.hero-signature {
  margin: 47px 0 0;
  color: rgba(25, 21, 47, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 515px;
  isolation: isolate;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 50%;
  transform: rotate(-27deg);
}

.orbit-one {
  top: 7%;
  right: 7%;
  width: 88%;
  height: 56%;
}

.orbit-two {
  top: 23%;
  right: -2%;
  width: 97%;
  height: 53%;
  border-color: rgba(255, 107, 87, 0.32);
  transform: rotate(26deg);
}

.orbit-three {
  top: 28%;
  right: 13%;
  width: 72%;
  height: 49%;
  border-style: dashed;
  border-color: rgba(245, 184, 75, 0.26);
  transform: rotate(-49deg);
}

.visual-core {
  position: absolute;
  top: 40%;
  left: 49%;
  z-index: 3;
  display: grid;
  width: 190px;
  height: 190px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(252, 252, 248, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(108, 99, 255, 0.34), rgba(25, 21, 47, 0.95) 62%);
  box-shadow: 0 0 0 16px rgba(255, 107, 87, 0.05), 0 0 70px rgba(108, 99, 255, 0.22);
  transform: translate(-50%, -50%);
}

.core-label {
  color: rgba(252, 252, 248, 0.58);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.core-value {
  margin-top: 8px;
  color: var(--mint);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.core-dot {
  width: 6px;
  height: 6px;
  margin-top: 13px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 6px rgba(255, 107, 87, 0.14);
}

.trajectory {
  position: absolute;
  inset: 5% -2% 5% -1%;
  z-index: 2;
  overflow: visible;
}

.trajectory-shadow,
.trajectory-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trajectory-shadow {
  stroke: rgba(255, 107, 87, 0.16);
  stroke-width: 13;
}

.trajectory-line {
  stroke: var(--emerald);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(255, 107, 87, 0.82));
}

.trajectory-point {
  fill: var(--ink);
  stroke: var(--mint);
  stroke-width: 3;
}

.visual-caption {
  position: absolute;
  z-index: 4;
  padding: 7px 10px;
  border: 1px solid rgba(252, 252, 248, 0.2);
  border-radius: 7px;
  background: rgba(25, 21, 47, 0.78);
  color: rgba(252, 252, 248, 0.76);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caption-one { top: 14%; left: 2%; }
.caption-two { right: 3%; bottom: 20%; }
.caption-three { bottom: 4%; left: 19%; }

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

.trust-section {
  padding: 118px 0 103px;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(0, 1fr);
  gap: 11%;
}

.eyebrow-dark {
  color: var(--emerald);
}

h2 {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4.05rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.trust-copy {
  max-width: 560px;
  padding-top: 0;
}

.projects-intro,
.section-heading > p {
  color: var(--muted);
  font-size: 17px;
}

.projects-title-accent { color: #5146CB; }
.projects-intro { max-width: 470px; margin: 26px 0 24px; }
.projects-next { display: inline-flex; align-items: center; gap: 6px; color: #5146CB; }
#vos-projets { scroll-margin-top: 24px; }

.trust-points {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.trust-point {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.trust-point-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #FFE3DC;
  color: #973321;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.trust-point:nth-child(2) .trust-point-number { background: #E8E5F8; color: #5146CB; }
.trust-point:nth-child(3) .trust-point-number { background: #FCE9C6; color: #745019; }
.trust-point h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; letter-spacing: -0.025em; }
.trust-point p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.expertise-section {
  padding: 0 0 128px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 47px;
}

.section-heading h2 {
  max-width: 540px;
}

.section-heading > p {
  max-width: 270px;
  margin-bottom: 5px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.expertise-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 27px 24px 25px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.expertise-card:hover {
  border-color: rgba(255, 107, 87, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.expertise-card-accent {
  border-color: rgba(108, 99, 255, 0.42);
  background: linear-gradient(155deg, rgba(245, 184, 75, 0.18), rgba(252, 252, 248, 0.9));
}

.card-number {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.card-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin: 41px 0 24px;
  place-items: center;
  border: 1px solid rgba(255, 107, 87, 0.35);
  border-radius: 13px;
  color: var(--emerald);
  font-size: 24px;
  line-height: 1;
}

.expertise-card h3 {
  max-width: 190px;
  margin-bottom: 13px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.expertise-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.card-link {
  margin-top: auto;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 700;
}

.method-section {
  padding: 126px 0 132px;
  background: var(--ink);
  color: var(--paper);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 13%;
}

.method-intro {
  max-width: 480px;
}

.method-intro h2 {
  margin-bottom: 25px;
}

.method-intro > p:last-child {
  max-width: 370px;
  color: rgba(252, 252, 248, 0.65);
  font-size: 17px;
}

.method-steps {
  border-top: 1px solid var(--line-dark);
}

.method-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  padding: 29px 0 32px;
  border-bottom: 1px solid var(--line-dark);
}

.step-number {
  color: var(--emerald);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.method-step h3 {
  margin-bottom: 7px;
  color: var(--mint);
  font-size: 23px;
  letter-spacing: -0.04em;
}

.method-step p {
  max-width: 390px;
  margin-bottom: 0;
  color: rgba(252, 252, 248, 0.64);
  font-size: 15px;
}

.detail-section,
.security-section,
.about-section {
  padding: 126px 0;
}

.detail-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  align-items: start;
  gap: 13%;
}

.detail-layout-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
}

.detail-intro {
  max-width: 500px;
}

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

.detail-intro > p:not(.eyebrow) {
  max-width: 455px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.text-link-dark {
  color: var(--emerald);
}

.detail-points {
  border-top: 1px solid var(--line-light);
}

.detail-point {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 27px 0 29px;
  border-bottom: 1px solid var(--line-light);
}

.detail-point-number {
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.detail-point h3 {
  margin-bottom: 8px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.detail-point p {
  max-width: 410px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.detail-layout-dark .detail-intro > p:not(.eyebrow),
.detail-point-dark p {
  color: rgba(252, 252, 248, 0.66);
}

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

.detail-point-dark h3 {
  color: var(--mint);
}

.detail-point-dark .detail-point-number {
  color: var(--emerald);
}

.robot-panel {
  --coral: var(--emerald);
  min-height: 510px;
  padding: 27px;
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 30px;
  background: radial-gradient(circle at 88% 2%, rgba(255, 107, 87, 0.15), transparent 29%), linear-gradient(145deg, rgba(108, 99, 255, 0.14), rgba(252, 252, 248, 0.94) 66%);
  box-shadow: 0 22px 55px rgba(25, 21, 47, 0.12);
  overflow: hidden;
}

.robot-dashboard-head,
.robot-dashboard-title,
.robot-chart-meta,
.robot-chart-legend,
.robot-signals article,
.robot-rule {
  display: flex;
  align-items: center;
}

.robot-dashboard-head {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.robot-panel-header {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 5px rgba(255, 107, 87, 0.14);
}

.robot-dashboard-tag,
.robot-live,
.signal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(108, 99, 255, 0.19);
  border-radius: 999px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.robot-dashboard-title {
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.robot-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.robot-dashboard-title strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.04em;
}

.robot-live {
  gap: 6px;
  border-color: rgba(16, 185, 129, 0.25);
  color: #08794f;
  white-space: nowrap;
}

.robot-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.13);
}

.robot-chart-wrap {
  margin: 26px 0 22px;
  padding: 15px 16px 12px;
  border: 1px solid rgba(25, 21, 47, 0.1);
  border-radius: 20px;
  background: rgba(252, 252, 248, 0.58);
}

.robot-chart-meta,
.robot-chart-legend {
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.robot-chart-meta strong {
  color: var(--purple);
  font-size: 14px;
}

.robot-chart {
  display: block;
  width: 100%;
  height: 162px;
  margin-top: 4px;
  overflow: visible;
}

.robot-chart-grid path {
  fill: none;
  stroke: rgba(25, 21, 47, 0.08);
  stroke-width: 1;
}

.robot-chart-area {
  fill: url(#robot-chart-fill);
}

.robot-chart-path {
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  stroke-dasharray: 900;
  stroke-dashoffset: 0;
}

.robot-chart-point {
  fill: var(--coral);
  stroke: var(--paper);
  stroke-width: 4;
  transform-origin: 442px 101px;
}

.robot-chart-legend {
  justify-content: flex-start;
  gap: 19px;
  padding-top: 5px;
  font-size: 12px;
  flex-wrap: wrap;
}

.legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
}

.legend-dot-purple { background: var(--purple); }
.legend-dot-coral { background: var(--coral); }

.robot-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.robot-signals article {
  display: block;
  min-height: 70px;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 10px;
  border: 1px solid rgba(25, 21, 47, 0.1);
  border-radius: 15px;
  background: rgba(252, 252, 248, 0.62);
}

.signal-number {
  display: block;
  margin-bottom: 7px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.robot-signals article div {
  min-width: 0;
}

.robot-signals strong,
.robot-signals small {
  display: block;
}

.robot-signals strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.robot-signals small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.signal-pill {
  display: none;
}

.signal-pill-coral { color: var(--coral); border-color: rgba(255, 107, 87, 0.25); }

.robot-rule {
  gap: 10px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(25, 21, 47, 0.13);
}

.robot-rule-mark {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 17px;
}

.robot-rule p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.robot-rule strong { color: var(--ink); }

.robot-panel > p {
  max-width: 440px;
  margin-bottom: 20px;
  color: rgba(25, 21, 47, 0.72);
  font-size: 16px;
}

.robot-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

#robot-trading .detail-layout,
.robot-article .article-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 6%;
}

.robot-article .article-hero h1 {
  font-size: clamp(2.65rem, 4.8vw, 4.3rem);
}

.robot-article .article-content [id] { scroll-margin-top: 110px; }

/* Retained for any older markup that may still use the three-stage flow. */
.robot-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 58px 0 30px;
}

.robot-flow span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(25, 21, 47, 0.16);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.robot-flow i {
  color: var(--emerald);
  font-size: 20px;
  font-style: normal;
}

.about-section {
  background: linear-gradient(160deg, var(--paper) 22%, var(--mint) 100%);
}

.about-layout {
  align-items: end;
}

.about-copy {
  max-width: 570px;
}

.about-copy p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 17px;
}

.about-copy .button {
  margin-top: 14px;
}

.contact-section {
  padding: 100px 0;
  background: var(--paper);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 65px 70px;
  border-radius: var(--radius-lg);
  background: var(--gradient-main);
  color: var(--paper);
  box-shadow: 0 20px 55px rgba(255, 107, 87, 0.22);
}

.contact-card .eyebrow {
  margin-bottom: 20px;
  color: var(--ink);
}

.contact-card .eyebrow-line {
  background: var(--ink);
}

.contact-card h2 {
  max-width: 640px;
  margin-bottom: 20px;
}

.contact-card p:not(.eyebrow) {
  max-width: 555px;
  margin-bottom: 0;
  color: rgba(25, 21, 47, 0.78);
  font-size: 17px;
}

.contact-action {
  display: grid;
  min-width: 225px;
  justify-items: start;
  gap: 10px;
}

.contact-label,
.contact-email {
  color: rgba(25, 21, 47, 0.68);
  font-size: 12px;
}

.contact-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-light {
  background: var(--ink);
  color: var(--paper);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--ink-soft);
}

.article-hero {
  padding: 185px 0 92px;
  background:
    radial-gradient(circle at 82% 15%, rgba(108, 99, 255, 0.18), transparent 31%),
    radial-gradient(circle at 12% 80%, rgba(255, 107, 87, 0.13), transparent 32%),
    var(--paper);
}

.security-section.article-hero {
  color: var(--ink);
}

.article-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.64fr);
  align-items: end;
  gap: 10%;
}

.article-hero h1 {
  max-width: 760px;
  margin: 18px 0 24px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.article-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

.article-hero-card {
  min-height: 255px;
  padding: 30px;
  border: 1px solid rgba(108, 99, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(252, 252, 248, 0.74);
  box-shadow: var(--shadow);
}

.article-hero-card .card-index {
  display: block;
  margin-bottom: 56px;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-hero-card strong {
  display: block;
  max-width: 270px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.article-hero-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.article-body {
  padding: 100px 0 130px;
  background: var(--paper);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  gap: 88px;
}

.article-content {
  max-width: 720px;
}

.article-content > p:first-child {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.5;
}

.article-content h2 {
  margin-top: 58px;
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.08;
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 21px;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 17px;
}

.article-content ul {
  margin: 18px 0 28px;
  padding-left: 22px;
}

.article-content li + li {
  margin-top: 9px;
}

.article-callout {
  margin: 34px 0;
  padding: 25px 28px;
  border-left: 4px solid var(--emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(135deg, rgba(255, 107, 87, 0.11), rgba(108, 99, 255, 0.1));
}

.article-callout p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.article-table {
  margin: 25px 0 30px;
  border-top: 1px solid var(--line-light);
}

.article-table-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-light);
}

.article-table-row strong {
  color: var(--ink);
}

.article-table-row span {
  color: var(--muted);
}

.article-aside {
  position: sticky;
  top: 28px;
  padding: 25px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.article-aside h2 {
  margin-bottom: 18px;
  font-size: 17px;
}

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

.article-aside a {
  color: var(--muted);
  font-size: 14px;
}

.article-aside a:hover,
.article-aside a:focus-visible {
  color: var(--purple);
}

.article-note {
  margin-top: 58px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: var(--muted);
  font-size: 13px;
}

.article-back {
  display: inline-flex;
  margin-top: 37px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

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

.footer-main {
  min-height: 116px;
}

.brand-footer {
  padding: 8px 12px;
  border-radius: 13px;
  background: var(--paper);
}

.brand-footer img {
  width: 192px;
  height: auto;
}

.footer-main > p {
  margin: 0;
  color: rgba(252, 252, 248, 0.58);
  font-size: 14px;
}

.footer-back-top {
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  min-height: 68px;
  border-top: 1px solid var(--line-dark);
  color: rgba(252, 252, 248, 0.46);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.disclaimer {
  max-width: 540px;
  text-align: right;
}

@media (max-width: 1000px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    gap: 25px;
  }

  h1 {
    font-size: clamp(3rem, 6.5vw, 4.7rem);
  }

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

  .expertise-card {
    min-height: 290px;
  }
}

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

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

  body.js-enabled .menu-toggle {
    display: flex;
  }

  body:not(.js-enabled) .header-inner {
    flex-wrap: wrap;
  }

  body.js-enabled .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid rgba(252, 252, 248, 0.2);
    border-radius: 16px;
    background: rgba(25, 21, 47, 0.97);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
    visibility: hidden;
  }

  body.js-enabled .site-nav {
    color: rgba(252, 252, 248, 0.8);
  }

  body.js-enabled .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  body.js-enabled .site-nav a {
    padding: 12px 13px;
  }

  body.js-enabled .site-nav .nav-cta {
    justify-content: space-between;
    margin-top: 4px;
  }

  body:not(.js-enabled) .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    font-size: 12px;
    padding-bottom: 10px;
  }

  body:not(.js-enabled) .site-nav .nav-cta {
    padding: 8px 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    display: block;
    min-height: auto;
    padding-top: 130px;
  }

  .hero-content {
    padding: 35px 0 8px;
  }

  h1 {
    max-width: 640px;
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-visual {
    min-height: 370px;
    margin-top: 15px;
  }

  .visual-core {
    width: 145px;
    height: 145px;
  }

  .core-value {
    font-size: 22px;
  }

  .visual-caption {
    font-size: 9px;
  }

  .trust-section,
  .method-section {
    padding-block: 82px;
  }

  .trust-layout,
  .method-layout,
  .detail-layout,
  .about-layout {
    display: block;
  }

  .trust-copy {
    padding-top: 30px;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading > p {
    margin-top: 21px;
  }

  .expertise-section {
    padding-bottom: 82px;
  }

  .method-steps {
    margin-top: 42px;
  }

  .detail-intro {
    margin-bottom: 43px;
  }

  .robot-flow {
    margin-top: 43px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-card {
    display: block;
    padding: 37px 27px;
  }

  .contact-action {
    margin-top: 30px;
  }

  .article-hero {
    padding-top: 135px;
  }

  .article-hero-layout,
  .article-layout {
    display: block;
  }

  .article-hero-card {
    margin-top: 42px;
  }

  .article-content {
    max-width: none;
  }

  .article-aside {
    position: static;
    margin-top: 55px;
  }

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

  .footer-main {
    justify-content: center;
    padding-block: 32px;
  }

  .footer-bottom {
    padding-block: 24px;
  }

  .disclaimer {
    text-align: left;
  }
}

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

  .brand-logo img,
  .brand-footer img {
    width: 164px;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-signature {
    max-width: 280px;
    line-height: 1.8;
  }

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

  .expertise-card {
    min-height: 270px;
  }

  .method-step {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .contact-card h2 {
    font-size: 2.4rem;
  }

  .article-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .article-table-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Homepage motion and reviews. Articles keep their existing layout. */
.home-page .hero-lead { margin-bottom: 34px; }
.home-page .hero-visual { pointer-events: none; }
.home-page .visual-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--paper);
  border-color: var(--line-light);
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(25, 21, 47, 0.1);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
.home-page .visual-caption b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E8E5F8;
  color: #5146CB;
  font-size: 12px;
}
.home-page .caption-two b { background: #FFE3DC; color: #973321; }
.home-page .caption-three b { background: #FCE9C6; color: #745019; }
.home-page .detail-points { display: grid; gap: 14px; border: 0; }
.home-page .detail-point {
  padding: 25px;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: #FFFFFF;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.home-page .detail-point-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #F0EDFF;
  color: #5146CB;
  font-size: 14px;
}
.home-page .detail-point-dark { background: #251F41; border-color: #44395E; }
.home-page .detail-point-dark .detail-point-number { background: #3C304F; color: var(--mint); }
.home-page .trust-point {
  padding: 24px 22px;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--emerald);
  border-radius: 18px;
  background: #FFFFFF;
}
.home-page .trust-point:nth-child(2) { border-left-color: var(--purple); }
.home-page .trust-point:nth-child(3) { border-left-color: var(--mint); }

.reviews-section {
  padding: 90px 0;
  overflow: hidden;
  border-block: 1px solid var(--line-light);
  background: linear-gradient(125deg, #F1EEFF 0%, var(--paper) 65%, #FFF0EA 100%);
}
.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}
.reviews-heading h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.reviews-heading h2 em { color: #5146CB; font-weight: 500; }
.reviews-intro { max-width: 340px; }
.reviews-intro > p:first-child { margin-bottom: 15px; font-size: 18px; }
.reviews-demo { margin: 0; color: #646071; font-size: 14px; line-height: 1.5; }
.reviews-demo strong { display: block; margin-bottom: 5px; color: var(--ink); }
.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: none;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent;
  padding-block: 10px 24px;
}
.reviews-track:focus-visible { outline-offset: 6px; }
.reviews-section.is-enhanced .reviews-track { scrollbar-width: none; }
.reviews-section.is-enhanced .reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 460px;
  padding: 28px;
  border: 1px solid #DDD9EC;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 12px 20px rgba(25, 21, 47, 0.035);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.review-card-purple { background: #5146CB; border-color: #5146CB; color: #FFFFFF; }
.review-card-gold { background: #FBE8BB; border-color: #F1D7A0; }
.review-card-coral { background: #FFE1D9; border-color: #F4CEC4; }
.review-card-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.review-topic { font-size: 13px; font-weight: 600; }
.review-sample { display: table; margin-top: 10px; padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; }
.review-quote { height: 48px; font-family: Georgia, serif; font-size: 72px; line-height: 1; opacity: 0.4; }
.review-card blockquote {
  margin: 24px 0 30px;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.015em;
}
.review-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-portrait {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background-color: var(--line-light);
  background-image: url("assets/portraits-demo-30.png");
  background-size: 600% 500%;
  background-position: var(--portrait-x) var(--portrait-y);
  background-repeat: no-repeat;
}
.review-card footer strong { display: block; font-size: 16px; font-weight: 600; }
.review-card footer div > span { display: block; font-size: 13px; margin-top: 3px; }
.review-card footer small { display: block; font-size: 12px; margin-top: 3px; }
.reviews-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.reviews-controls[hidden] { display: none; }
.reviews-navigation { display: flex; align-items: center; gap: 10px; }
.reviews-position { margin-right: 12px; color: #646071; font-size: 14px; font-variant-numeric: tabular-nums; }
.reviews-position [data-review-position] { color: var(--ink); font-weight: 700; }
.reviews-play, .reviews-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #CFC9E2;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.reviews-play { gap: 10px; padding: 10px 18px; font-size: 14px; }
.reviews-arrow { width: 46px; font-size: 24px; }
.reviews-arrow[data-review-next] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.reviews-play:hover, .reviews-arrow:hover { background: #5146CB; color: #FFFFFF; border-color: #5146CB; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-page .detail-point:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: var(--shadow); }
  .review-card:hover { transform: translateY(-5px); box-shadow: 0 14px 24px rgba(25, 21, 47, 0.1); }
}
@media (prefers-reduced-motion: no-preference) {
  .robot-article .robot-chart-path,
  .robot-panel.reveal-arriving .robot-chart-path { animation: robot-scan 2.2s 300ms ease-out both; }
  .robot-article .robot-chart-point,
  .robot-panel.reveal-arriving .robot-chart-point { animation: robot-point-pulse 2s 2.2s ease-in-out 2; }
  .home-page .hero-content > * { animation: zelos-enter 750ms both; }
  .home-page .hero-content h1 { animation-delay: 80ms; }
  .home-page .hero-lead { animation-delay: 160ms; }
  .home-page .hero-actions { animation-delay: 240ms; }
  .home-page .hero-signature { animation-delay: 320ms; }
  .home-page .trajectory-line { stroke-dasharray: 1; animation: zelos-draw 2.6s ease-in-out both; }
  .home-page .visual-core { animation: zelos-core 4.8s ease-in-out; }
  .home-page .visual-caption { animation: zelos-float 4.5s ease-in-out both; }
  .home-page .caption-two { animation-delay: 150ms; }
  .home-page .caption-three { animation-delay: 300ms; }
  .home-page .hero-glow-one { animation: zelos-glow 4.8s ease-in-out; }
  .home-page .reveal-arriving { animation: zelos-enter 700ms both; }
}
@keyframes zelos-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zelos-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes zelos-core { 50% { transform: translate(-50%, calc(-50% - 12px)); box-shadow: 0 0 0 28px rgba(108, 99, 255, 0.05), 0 0 100px rgba(108, 99, 255, 0.3); } }
@keyframes zelos-float { 0% { opacity: 0; transform: translateY(14px); } 20%, 100% { opacity: 1; transform: translateY(0); } 60% { transform: translateY(-10px); } }
@keyframes zelos-glow { 50% { transform: translate(-60px, 30px) scale(1.1); } }
@keyframes robot-scan { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@keyframes robot-point-pulse { 50% { transform: scale(1.25); } }

@media (min-width: 761px) and (max-width: 1150px) {
  .header-inner { gap: 15px; }
  .site-nav { gap: 14px; font-size: 13px; }
  .brand-logo { flex: 0 0 155px; }
  .site-nav .nav-cta { padding: 10px; }
}
@media (max-width: 1000px) {
  #robot-trading .detail-layout,
  .robot-article .article-hero-layout { grid-template-columns: 1fr; gap: 36px; }
  #robot-trading .detail-intro { max-width: 650px; margin-bottom: 0; }
  #robot-trading .detail-intro > p:not(.eyebrow) { max-width: 600px; }
  .robot-panel { min-width: 0; width: 100%; }
  .review-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .robot-panel { min-height: auto; padding: 22px; border-radius: 24px; }
  .robot-dashboard-title { align-items: flex-start; flex-direction: column; gap: 13px; }
  .robot-chart-wrap { margin-top: 21px; padding-inline: 11px; }
  .robot-chart { height: 132px; }
  .robot-signals { grid-template-columns: 1fr; }
  .robot-signals article { display: flex; min-height: 58px; align-items: center; }
  .signal-number { margin-bottom: 0; }
  .signal-pill { display: inline-flex; margin-left: auto; }
  .reviews-section { padding-block: 60px; }
  .reviews-heading { display: block; margin-bottom: 28px; }
  .reviews-intro { margin-top: 24px; }
  .review-card { flex-basis: 92%; padding: 22px; min-height: 460px; }
  .review-card blockquote { font-size: 16px; }
  .reviews-position { margin-right: 3px; }
  .reviews-navigation { gap: 7px; }
  .home-page .visual-caption { padding: 10px; gap: 8px; font-size: 12px; }
  .home-page .visual-caption b { width: 24px; height: 24px; }
  .home-page .detail-point { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; }
}

@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;
  }
}
