@import url("./site-nav.css");

:root {
  --ink: #171717;
  --ink-2: #2d2d2d;
  --muted: #69665f;
  --line: #dedbd2;
  --paper: #f8f5ec;
  --paper-2: #f1eee5;
  --cream: #fffdf7;
  --white: #ffffff;
  --yellow: #f4c900;
  --yellow-2: #ffe26a;
  --yellow-soft: #fff4b5;
  --navy: #151f4c;
  --blue-soft: #edf2fb;
  --red: #b64237;
  --red-soft: #f8e4e1;
  --green: #2f6a52;
  --green-soft: #e0f1e8;
  --amber: #8a6100;
  --amber-soft: #fff1c6;
  --shadow-sm: 0 12px 32px rgba(20, 20, 20, .08);
  --shadow-md: 0 22px 60px rgba(20, 20, 20, .13);
  --shadow-lg: 0 34px 90px rgba(20, 20, 20, .18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Archivo", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
/* min-width: 0 is load-bearing: the width/height attributes that prevent layout
   shift also give each image a min-content contribution equal to its intrinsic
   width, which would otherwise force grid and flex tracks wider than their
   container on narrow screens. */
img { max-width: 100%; min-width: 0; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; }

h1, h2 {
  margin: 0;
  color: inherit;
  font-family: "Archivo", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h3, h4 {
  margin: 0;
  color: inherit;
  font-family: "Archivo", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(23, 23, 23, .09);
  background: rgba(255, 253, 247, .92);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: normal;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #171300;
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(166, 132, 0, .22);
}
.btn-primary:hover { background: #ffd51d; }
.btn-light {
  color: var(--ink);
  border-color: rgba(23, 23, 23, .16);
  background: rgba(255, 255, 255, .88);
}
.btn-dark {
  color: #fff;
  border-color: #343434;
  background: #1b1b1b;
}

.eyebrow,
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow {
  padding: 8px 11px;
  border: 1px solid rgba(23, 23, 23, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(246, 201, 0, .16);
}
.crumb {
  margin-bottom: 18px;
  color: #77736c;
  letter-spacing: .04em;
  text-transform: none;
}
.crumb a { color: var(--ink); }
.kicker {
  margin-bottom: 15px;
  color: #887000;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.section-title {
  max-width: 850px;
  font-size: clamp(37px, 5vw, 62px);
}
.section-copy {
  max-width: 730px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}
.section { padding: 112px 0; }

/* Existing trade solution pages */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  background:
    radial-gradient(circle at 10% 10%, rgba(246, 201, 0, .18), transparent 28%),
    linear-gradient(180deg, #fffdf7 0%, #f6f2e8 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(23, 23, 23, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, .08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(47px, 6.2vw, 77px);
}
.hero-copy {
  max-width: 650px;
  margin-top: 24px;
  color: #504d47;
  font-size: clamp(17px, 2vw, 20px);
}
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.hero-proof span {
  padding: 7px 10px;
  border: 1px solid rgba(23, 23, 23, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  color: #57534c;
  font-size: 12px;
  font-weight: 760;
}
.hero-media {
  position: relative;
  min-height: 565px;
  padding: 0 28px 30px 0;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 22px 0 0 28px;
  border-radius: 26px;
  background: var(--yellow);
  transform: rotate(2deg);
  box-shadow: var(--shadow-md);
}
.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border: 1px solid #d2cdc2;
  border-radius: 24px;
  background: #ddd;
  box-shadow: var(--shadow-lg);
}
.photo-card > img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 12, .82), transparent 47%);
}
.photo-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
}
.photo-caption strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.photo-caption span {
  display: block;
  margin-top: 7px;
  color: #d2d2d2;
  font-size: 13px;
}
.hero-dashboard {
  position: absolute;
  z-index: 4;
  right: -8px;
  bottom: 0;
  width: min(335px, 68%);
  padding: 16px;
  border: 1px solid #d8d3c9;
  border-radius: 17px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-md);
}
.dash-top,
.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dash-top { padding: 3px 3px 12px; }
.dash-top strong { font-size: 13px; }
.risk-pill,
.status {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.risk-pill { color: var(--red); background: var(--red-soft); }
.status { color: #604f00; background: var(--yellow-soft); }
.dash-row {
  padding: 10px 4px;
  border-top: 1px solid #ece8df;
  color: #5d5952;
  font-size: 11px;
}
.dash-row span:last-child { color: var(--ink); font-weight: 850; }

.trade-nav {
  position: sticky;
  top: 76px;
  z-index: 50;
  overflow-x: auto;
  border-top: 1px solid #e4e0d7;
  border-bottom: 1px solid #e4e0d7;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
}
.trade-nav-row {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.trade-nav-row > span {
  margin-right: 8px;
  color: #7b766e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.trade-nav-row a {
  padding: 7px 10px;
  border-radius: 9px;
  color: #5d5952;
  font-size: 12px;
  font-weight: 800;
}
.trade-nav-row a:hover,
.trade-nav-row a.active { color: var(--ink); background: var(--yellow-soft); }

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 68px;
  align-items: end;
}
.pullquote {
  padding-left: 24px;
  border-left: 5px solid var(--yellow);
  color: #34322e;
  font-size: 19px;
  font-weight: 680;
}
.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 50px;
}
.risk-card {
  min-height: 255px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #faf8f2;
}
.risk-no {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 950;
}
.risk-card h3 { margin-top: 20px; font-size: 21px; line-height: 1.22; }
.risk-card p { margin-top: 12px; color: var(--muted); font-size: 14px; }

.workflow { color: #fff; background: var(--ink); }
.workflow .kicker { color: var(--yellow); }
.workflow .section-copy { color: #b7b7b7; }
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}
.step {
  min-height: 235px;
  padding: 24px;
  border: 1px solid #383838;
  border-radius: 18px;
  background: #222;
}
.step-no { color: var(--yellow); font-size: 11px; font-weight: 950; letter-spacing: .12em; }
.step h3 { margin-top: 18px; font-size: 24px; }
.step p { margin-top: 12px; color: #b9b9b9; font-size: 14px; }

.controls { background: var(--paper); }
.controls-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 66px;
  align-items: start;
}
.sticky { position: sticky; top: 148px; }
.control-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.control-row {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 22px;
  padding: 23px;
  border-bottom: 1px solid #e7e3da;
}
.control-row:last-child { border-bottom: 0; }
.control-phase { font-size: 14px; font-weight: 900; }
.control-items { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px 18px; }
.control-items span {
  position: relative;
  padding-left: 18px;
  color: #5e5a53;
  font-size: 13px;
}
.control-items span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--yellow);
}

.advisor { background: #fff; }
.advisor-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 66px;
  align-items: center;
}
.advisor-photo {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 25px;
  background: #ddd;
  box-shadow: var(--shadow-md);
}
.advisor-photo > img { width: 100%; height: 620px; object-fit: cover; }
.photo-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 15px;
  color: #fff;
  background: rgba(18, 18, 18, .88);
  backdrop-filter: blur(12px);
}
.photo-note strong { display: block; font-size: 17px; }
.photo-note p { margin-top: 7px; color: #c7c7c7; font-size: 13px; }
.question-list { display: grid; gap: 10px; margin-top: 28px; }
.question {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #faf8f2;
  font-weight: 750;
}
.question b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--yellow);
}

.value-section { background: var(--yellow); }
.value-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 66px;
  align-items: start;
}
.value-list { display: grid; gap: 10px; }
.value-card {
  padding: 19px 20px;
  border: 1px solid rgba(23, 23, 23, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  font-size: 17px;
  font-weight: 850;
}
.value-card span {
  display: block;
  margin-bottom: 4px;
  color: #685400;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.platform-section { background: #fff; }
.platform-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 55px;
  align-items: center;
  margin-top: 42px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
}
.platform-copy h3 { font-size: 34px; }
.platform-copy p { margin-top: 15px; color: var(--muted); }
.platform-list { display: grid; gap: 9px; margin-top: 22px; }
.platform-list span {
  position: relative;
  padding-left: 23px;
  font-size: 14px;
  font-weight: 730;
}
.platform-list span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #806900;
  font-weight: 950;
}
.ui-card {
  overflow: hidden;
  padding: 17px;
  border: 1px solid #d9d5cb;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px 15px; }
.ui-top strong { font-size: 14px; }
.ui-top span { color: #777; font-size: 10px; }
.ui-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.metric { padding: 12px; border-radius: 11px; background: #f6f3eb; }
.metric small { display: block; color: #777; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.metric b { display: block; margin-top: 4px; font-size: 20px; }
.ui-list { display: grid; gap: 7px; margin-top: 10px; }
.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px;
  border: 1px solid #e5e1d8;
  border-radius: 10px;
  font-size: 11px;
}

.final-cta { padding: 40px 0 78px; background: #fff; }
.cta-shell {
  position: relative;
  overflow: hidden;
  padding: 66px;
  border-radius: 28px;
  color: #fff;
  background: #171717;
}
.cta-shell::after {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  right: -135px;
  top: -170px;
  border-radius: 50%;
  background: var(--yellow);
}
.cta-content { position: relative; z-index: 2; max-width: 780px; }
.cta-content h2 { font-size: clamp(38px, 5vw, 64px); }
.cta-content p { max-width: 660px; margin-top: 17px; color: #bdbdbd; font-size: 17px; }
.cta-shell .btn-light { color: #fff; border-color: #4a4a4a; background: #252525; }

/* Solutions hub */
.solution-hub {
  min-height: calc(100vh - 76px);
  padding: 84px 0 110px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgba(246, 201, 0, .13), transparent 32%),
    #151515;
}
.hub-head { max-width: 850px; }
.hub-head .eyebrow { color: #fff; border-color: #414141; background: #222; }
.hub-head h1 {
  margin-top: 25px;
  font-size: clamp(48px, 7vw, 78px);
}
.hub-head p { max-width: 760px; margin-top: 22px; color: #b9b9b9; font-size: 18px; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.hub-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  border-radius: 22px;
  background: #242424;
}
.hub-card > img { width: 100%; height: 440px; object-fit: cover; transition: transform .35s ease; }
.hub-card:hover > img { transform: scale(1.035); }
.hub-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, .97) 5%, rgba(10, 10, 10, .5) 62%, rgba(10, 10, 10, .1));
}
.hub-card-content { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; }
.hub-card h2 { font-size: 37px; }
.hub-card p { max-width: 610px; margin-top: 10px; color: #c3c3c3; font-size: 13px; }
.hub-link { display: inline-block; margin-top: 16px; color: var(--yellow); font-size: 13px; font-weight: 900; }

/* Shared footer */
footer { padding: 40px 0 48px; border-top: 1px solid #e5e1d8; background: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
footer .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
footer .brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; color: #6f6a62; font-size: 12px; }
.footer-links a:hover { color: var(--ink); }
.site-footer-rich { padding: 64px 0 36px; color: #fff; border-top: 0; background: #171717; }
.footer-rich-grid { display: grid; grid-template-columns: 1.1fr repeat(5, .75fr); gap: 38px; }
.footer-rich-brand p { max-width: 310px; margin-top: 14px; color: #aaa; font-size: 13px; }
.footer-rich-title { margin-bottom: 13px; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.footer-rich-list { display: grid; gap: 8px; color: #aaa; font-size: 13px; }
.footer-rich-list a:hover { color: var(--yellow); }
.footer-rich-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 23px; border-top: 1px solid #343434; color: #858585; font-size: 11px; }

/* Module and standard marketing pages */
.module-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
  background:
    radial-gradient(circle at 8% 10%, rgba(246, 201, 0, .21), transparent 29%),
    linear-gradient(180deg, #fffdf7 0%, #f5f1e7 100%);
}
.module-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(23, 23, 23, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.module-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 58px;
  align-items: center;
}
.module-hero h1,
.page-hero h1 {
  max-width: 790px;
  margin-top: 22px;
  font-size: clamp(48px, 6.4vw, 78px);
}
.module-hero-copy,
.page-hero-copy {
  max-width: 690px;
  margin-top: 23px;
  color: #504d47;
  font-size: 19px;
}
.module-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.module-summary span {
  padding: 7px 10px;
  border: 1px solid #ded9cd;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #5b5750;
  font-size: 12px;
  font-weight: 800;
}

.module-ui {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 17px;
  border: 1px solid #2d2d2d;
  border-radius: 25px;
  color: #fff;
  background: #181818;
  box-shadow: var(--shadow-lg);
}
.module-ui::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 32px 32px;
}
.module-ui-top,
.module-ui-body { position: relative; z-index: 2; }
.module-ui-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 3px 16px; }
.module-ui-top strong { font-size: 14px; }
.module-ui-top span { padding: 5px 8px; border-radius: 999px; color: #171300; background: var(--yellow); font-size: 9px; font-weight: 900; }
.module-ui-body { display: grid; grid-template-columns: 120px 1fr; min-height: 445px; overflow: hidden; border-radius: 17px; background: #f6f3eb; }
.module-ui-side { padding: 14px 10px; color: #b5b5b5; background: #202020; }
.module-ui-side b { display: block; margin-bottom: 13px; color: #fff; font-size: 10px; }
.module-ui-side span { display: block; margin-bottom: 5px; padding: 8px; border-radius: 8px; font-size: 9px; }
.module-ui-side span.active { color: #171300; background: var(--yellow); font-weight: 900; }
.module-ui-main { padding: 16px; color: var(--ink); }
.module-ui-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.module-ui-heading h3 { font-size: 20px; }
.module-ui-heading small { color: #777; font-size: 9px; }
.module-ui-button { padding: 7px 9px; border-radius: 8px; color: #171300; background: var(--yellow); font-size: 9px; font-weight: 900; }
.module-ui-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.module-ui-metric { padding: 10px; border: 1px solid #e3ded4; border-radius: 10px; background: #fff; }
.module-ui-metric small { display: block; color: #777; font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.module-ui-metric b { display: block; margin-top: 3px; font-size: 18px; }
.module-ui-table { display: grid; gap: 6px; margin-top: 10px; }
.module-ui-row { display: grid; grid-template-columns: 1.2fr .75fr auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid #e4dfd5; border-radius: 9px; background: #fff; font-size: 9px; }
.module-ui-row strong { font-size: 10px; }
.module-ui-row small { color: #777; }
.module-ui-tag { padding: 5px 7px; border-radius: 999px; color: #655200; background: var(--yellow-soft); font-size: 8px; font-weight: 900; }

.problem-band { padding: 100px 0; background: #fff; }
.problem-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 66px; align-items: end; }
.problem-statement { padding-left: 22px; border-left: 5px solid var(--yellow); color: #3b3935; font-size: 19px; font-weight: 700; }
.problem-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.problem-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.problem-card .card-icon,
.feature-card .card-icon,
.role-card .card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #171300;
  background: var(--yellow);
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.problem-card h3 { margin-top: 18px; font-size: 23px; }
.problem-card p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.feature-section { padding: 110px 0; background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 44px; }
.feature-card { min-height: 225px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.feature-card h3 { margin-top: 17px; font-size: 20px; }
.feature-card p { margin-top: 9px; color: var(--muted); font-size: 13px; }

.connected-workflow { padding: 110px 0; color: #fff; background: #171717; }
.connected-workflow .kicker { color: var(--yellow); }
.connected-workflow .section-copy { color: #b7b7b7; }
.process-line { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 45px; }
.process-line::before { content: ""; position: absolute; left: 7%; right: 7%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--yellow), rgba(246, 201, 0, .25)); }
.process-step { position: relative; z-index: 2; padding: 0 10px 19px; text-align: center; }
.process-step b { width: 57px; height: 57px; display: grid; place-items: center; margin: 0 auto; border: 7px solid #171717; border-radius: 17px; color: #171300; background: var(--yellow); font-size: 12px; }
.process-step h3 { margin-top: 16px; font-size: 18px; }
.process-step p { margin-top: 8px; color: #aaa; font-size: 12px; }

.role-section { padding: 110px 0; background: #fff; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 44px; }
.role-card { padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: #faf8f2; }
.role-card h3 { margin-top: 19px; font-size: 25px; }
.role-card p { margin-top: 10px; color: var(--muted); }
.role-outcome { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 850; }

.connection-section { padding: 100px 0; background: var(--yellow); }
.connection-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.connection-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.connection-link { display: grid; gap: 4px; padding: 18px; border: 1px solid rgba(23, 23, 23, .2); border-radius: 14px; background: rgba(255, 255, 255, .66); }
.connection-link strong { font-size: 16px; }
.connection-link span { color: #5e4c00; font-size: 12px; }
.connection-link:hover { background: #fff; }

/* Resource, about and demo pages */
.page-hero-inner { position: relative; z-index: 2; max-width: 920px; }
.page-hero.centered .page-hero-inner { margin-inline: auto; text-align: center; }
.page-hero.centered .page-hero-copy { margin-inline: auto; }
.page-hero.centered .hero-actions { justify-content: center; }
.page-hero.dark { color: #fff; background: #171717; }
.page-hero.dark::after { opacity: .08; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); }
.page-hero.dark .page-hero-copy { color: #bababa; }
.page-hero.dark .eyebrow { color: #fff; border-color: #404040; background: #222; }

.resource-section { padding: 96px 0; background: #fff; }
.resource-section.alt { background: var(--paper); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 38px; }
.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 305px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 20, 20, .035);
}
.resource-card.dark { color: #fff; border-color: #343434; background: #202020; }
.resource-card-label { color: #887000; font-size: 10px; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.resource-card.dark .resource-card-label { color: var(--yellow); }
.resource-card h2,
.resource-card h3 { margin-top: 16px; font-size: 25px; line-height: 1.18; }
.resource-card p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.resource-card.dark p { color: #aaa; }
.resource-card-link { margin-top: auto; padding-top: 22px; color: #6e5b00; font-size: 13px; font-weight: 900; }
.resource-card.dark .resource-card-link { color: var(--yellow); }
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.notice-box {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid #e3d9a6;
  border-radius: 15px;
  background: #fff8d9;
}
.notice-box .notice-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--yellow); font-weight: 950; }
.notice-box strong { display: block; }
.notice-box p { margin-top: 4px; color: #655c39; font-size: 13px; }

.story-grid { display: grid; gap: 18px; margin-top: 38px; }
.story-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.story-head { display: grid; grid-template-columns: 260px 1fr; min-height: 220px; }
.story-head img { width: 100%; height: 100%; object-fit: cover; }
.story-head-copy { padding: 28px; }
.story-badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #5e4d00; background: var(--yellow-soft); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.story-head h2 { margin-top: 15px; font-size: 31px; }
.story-head p { margin-top: 11px; color: var(--muted); }
.story-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
.story-column { padding: 22px; background: #faf8f2; }
.story-column h3 { font-size: 16px; }
.story-column p { margin-top: 8px; color: var(--muted); font-size: 13px; }

.library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 38px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.video-preview { position: relative; min-height: 230px; display: grid; place-items: center; padding: 25px; color: #fff; background: #1b1b1b; }
.video-preview::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 30px 30px; }
.play-icon { position: relative; z-index: 2; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: #171300; background: var(--yellow); box-shadow: 0 0 0 10px rgba(246, 201, 0, .14); }
.video-duration { position: absolute; z-index: 2; right: 13px; bottom: 12px; padding: 5px 7px; border-radius: 7px; color: #fff; background: rgba(0,0,0,.72); font-size: 10px; font-weight: 850; }
.video-copy { padding: 22px; }
.video-copy h2 { font-size: 24px; }
.video-copy p { margin-top: 9px; color: var(--muted); font-size: 13px; }
.video-copy details { margin-top: 15px; }
.video-copy summary { color: #6e5b00; font-size: 13px; font-weight: 900; cursor: pointer; }
.video-copy details ul { display: grid; gap: 6px; margin-top: 11px; padding-left: 18px; color: #5f5a53; font-size: 12px; }

.guide-list { display: grid; gap: 15px; margin-top: 38px; }
.guide-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.guide-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.guide-card h2 { font-size: 27px; }
.guide-card p { max-width: 760px; margin-top: 9px; color: var(--muted); }
.guide-meta { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: #655200; background: var(--yellow-soft); font-size: 10px; font-weight: 900; }
.guide-card details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.guide-card summary { font-weight: 900; cursor: pointer; }
.checklist { display: grid; gap: 9px; margin-top: 15px; list-style: none; }
.checklist li { position: relative; padding-left: 27px; color: #514d47; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; color: #171300; background: var(--yellow); font-size: 11px; font-weight: 950; }

.help-tools { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 32px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.help-search { min-height: 50px; padding: 0 15px; border: 1px solid #ddd8ce; border-radius: 11px; outline: none; }
.help-search:focus { border-color: #c3a000; box-shadow: 0 0 0 4px rgba(246,201,0,.16); }
.help-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 38px; }
.help-category { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.help-category h2 { font-size: 22px; }
.help-category p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.help-articles { display: grid; gap: 7px; margin-top: 15px; }
.help-articles details { padding: 11px 12px; border: 1px solid #e6e2d9; border-radius: 10px; background: #faf8f2; }
.help-articles summary { font-size: 13px; font-weight: 800; cursor: pointer; }
.help-articles details p { margin-top: 9px; color: #5d5952; font-size: 12px; }
.help-category.is-hidden { display: none; }

.timeline { position: relative; display: grid; gap: 16px; margin-top: 38px; }
.timeline::before { content: ""; position: absolute; left: 24px; top: 12px; bottom: 12px; width: 2px; background: #dfd9c9; }
.timeline-item { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 18px; }
.timeline-dot { position: relative; z-index: 2; width: 50px; height: 50px; display: grid; place-items: center; border: 7px solid var(--paper); border-radius: 50%; color: #171300; background: var(--yellow); font-size: 10px; font-weight: 950; }
.timeline-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #7b766e; font-size: 11px; }
.timeline-status { padding: 5px 8px; border-radius: 999px; color: #655200; background: var(--yellow-soft); font-weight: 900; }
.timeline-card h2 { margin-top: 12px; font-size: 27px; }
.timeline-card p { margin-top: 10px; color: var(--muted); }
.timeline-card ul { display: grid; gap: 7px; margin-top: 15px; padding-left: 20px; color: #57534c; }

.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 38px; }
.roadmap-column { padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.roadmap-column:nth-child(1) { box-shadow: inset 0 5px 0 var(--yellow); }
.roadmap-column:nth-child(2) { box-shadow: inset 0 5px 0 #7890c5; }
.roadmap-column:nth-child(3) { box-shadow: inset 0 5px 0 #b9b5ab; }
.roadmap-label { font-size: 11px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.roadmap-column h2 { margin-top: 12px; font-size: 29px; }
.roadmap-column > p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.roadmap-items { display: grid; gap: 9px; margin-top: 18px; }
.roadmap-item { padding: 13px; border: 1px solid #e7e3da; border-radius: 11px; background: #faf8f2; }
.roadmap-item strong { display: block; font-size: 13px; }
.roadmap-item span { display: block; margin-top: 4px; color: #706b63; font-size: 11px; }

.about-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 38px; }
.principle-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.principle-card b { color: #887000; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.principle-card h2 { margin-top: 13px; font-size: 25px; }
.principle-card p { margin-top: 10px; color: var(--muted); }

.news-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 38px; }
.news-feature,
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.news-feature img { width: 100%; height: 330px; object-fit: cover; }
.news-copy { padding: 26px; }
.news-date { color: #817000; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.news-copy h2 { margin-top: 13px; font-size: 31px; }
.news-copy p { margin-top: 11px; color: var(--muted); }
.news-side { display: grid; gap: 15px; }
.news-card { padding: 23px; }
.news-card h2 { margin-top: 12px; font-size: 23px; }
.news-card p { margin-top: 9px; color: var(--muted); font-size: 13px; }

.demo-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 58px; align-items: start; }
.demo-points { display: grid; gap: 12px; margin-top: 28px; }
.demo-point { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.demo-point b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--yellow); }
.demo-point h3 { font-size: 18px; }
.demo-point p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.demo-form { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 850; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #dcd7cd; border-radius: 10px; background: #fff; outline: none; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: #b99600; box-shadow: 0 0 0 4px rgba(246, 201, 0, .17); }
.form-note { margin-top: 13px; color: #777169; font-size: 11px; }
.form-success { display: none; margin-top: 14px; padding: 12px; border: 1px solid #b8d8c7; border-radius: 11px; color: #285a45; background: var(--green-soft); font-size: 13px; }
.form-success.is-visible { display: block; }

/* Article pages */
.article-hero { padding: 72px 0 55px; background: var(--paper); }
.article-hero-inner { max-width: 900px; }
.article-hero h1 { margin-top: 18px; font-size: clamp(43px, 6vw, 70px); }
.article-deck { max-width: 790px; margin-top: 20px; color: #514d47; font-size: 19px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 22px; color: #777169; font-size: 12px; font-weight: 750; }
.article-section { padding: 70px 0 100px; background: #fff; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 55px; align-items: start; }
.article-aside { position: sticky; top: 120px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.article-aside strong { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.article-aside nav { display: grid; gap: 8px; margin-top: 12px; }
.article-aside a { color: #666158; font-size: 12px; }
.article-aside a:hover { color: #6f5a00; }
.article-body { color: #34312c; }
.article-body h2 { margin: 44px 0 16px; font-size: 34px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 30px 0 12px; font-size: 23px; }
.article-body p { margin-top: 15px; font-size: 16px; line-height: 1.75; }
.article-body ul,
.article-body ol { display: grid; gap: 9px; margin-top: 16px; padding-left: 22px; }
.article-body blockquote { margin: 28px 0; padding: 20px 22px; border-left: 5px solid var(--yellow); background: var(--paper); font-size: 18px; font-weight: 750; }
.article-callout { margin-top: 28px; padding: 21px; border: 1px solid #dfd6a1; border-radius: 15px; background: #fff8d5; }
.article-callout strong { display: block; }
.article-callout p { margin-top: 7px; color: #5e5638; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .62s ease, transform .62s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .hero-grid,
  .module-hero-grid,
  .intro-grid,
  .controls-layout,
  .advisor-grid,
  .value-grid,
  .platform-shell,
  .problem-intro,
  .connection-layout,
  .demo-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 760px; margin-inline: auto; }
  .risk-grid,
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky { position: static; }
  .process-line { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-line::before { display: none; }
  .footer-rich-grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); }
  .resource-grid,
  .help-category-grid,
  .roadmap-grid,
  .about-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .section,
  .problem-band,
  .feature-section,
  .connected-workflow,
  .role-section,
  .connection-section,
  .resource-section { padding: 78px 0; }
  .hero,
  .module-hero,
  .page-hero { padding: 56px 0 58px; }
  .hero h1,
  .module-hero h1,
  .page-hero h1 { font-size: 48px; }
  .hero-media { min-height: 490px; padding-right: 0; }
  .hero-media::before { inset: 14px 0 -10px 0; }
  .photo-card,
  .photo-card > img { min-height: 460px; height: 460px; }
  .hero-dashboard { right: 8px; width: calc(100% - 32px); }
  .trade-nav { top: 70px; }
  .risk-grid,
  .workflow-grid,
  .feature-grid,
  .problem-cards,
  .role-grid,
  .process-line,
  .resource-grid,
  .library-grid,
  .help-category-grid,
  .roadmap-grid,
  .about-principles,
  .connection-links,
  .hub-grid { grid-template-columns: minmax(0, 1fr); }
  .control-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .control-items { grid-template-columns: minmax(0, 1fr); }
  .advisor-photo,
  .advisor-photo > img { min-height: 520px; height: 520px; }
  .platform-shell { padding: 24px; }
  .ui-metrics { grid-template-columns: minmax(0, 1fr); }
  .cta-shell { padding: 42px 25px; }
  .footer-grid,
  .footer-rich-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .footer-rich-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .module-ui { min-height: 480px; padding: 10px; }
  .module-ui-body { grid-template-columns: 82px 1fr; min-height: 430px; }
  .module-ui-side { padding-inline: 6px; }
  .module-ui-metrics { grid-template-columns: minmax(0, 1fr); }
  .module-ui-row { grid-template-columns: 1fr auto; }
  .module-ui-row > span:nth-child(2) { display: none; }
  .story-head { grid-template-columns: minmax(0, 1fr); }
  .story-head img { height: 240px; }
  .story-body { grid-template-columns: minmax(0, 1fr); }
  .guide-card-head { flex-direction: column; }
  .help-tools { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-field.full { grid-column: auto; }
  .article-section { padding-top: 50px; }
  .article-body h2 { font-size: 29px; }
}

@media (max-width: 520px) {
  .section-title { font-size: 37px; }
  .hero h1,
  .module-hero h1,
  .page-hero h1,
  .article-hero h1 { font-size: 42px; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .hero-media { min-height: 450px; }
  .photo-card,
  .photo-card > img { min-height: 420px; height: 420px; }
  .hero-dashboard { display: none; }
  .hub-card,
  .hub-card > img { min-height: 410px; height: 410px; }
  .module-ui-side { display: none; }
  .module-ui-body { grid-template-columns: minmax(0, 1fr); }
  .footer-rich-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline-item { grid-template-columns: 42px 1fr; gap: 12px; }
  .timeline-dot { width: 42px; height: 42px; }
}

@media print {
  .site-header,
  .site-footer-rich,
  footer,
  .hero-actions,
  .cta-actions,
  .final-cta,
  .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .resource-section,
  .article-section { padding: 20px 0; }
  .guide-card { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
