/* =========================================================
   DERIVATIVE TRADING
   SA HEDGE FUND
   ========================================================= */

/* =========================================================
   TOKENS
   ========================================================= */

.deriv-root {
  --navy: #0B1F33;
  --navy-deep: #071523;
  --navy-raise: #112A44;

  --gold: #C9A24D;
  --gold-dim: rgba(201, 162, 77, 0.28);
  --gold-dark: #9A7A34;

  --cream: #F3EFE7;
  --neutral: #F3F1ED;

  --on-navy: #F3EFE7;
  --on-navy-mute: #9FAFC2;

  --on-cream: #0B1F33;
  --on-cream-mute: #5A6579;

  --good: #5B8A6B;
  --warn: #B5502E;

  --max: 1220px;
  --gutter: clamp(20px, 4vw, 48px);
  --read: 720px;
}

/* =========================================================
   BASE
   ========================================================= */

.deriv-root,
.deriv-root * {
  box-sizing: border-box;
}

.deriv-root {
  background: var(--cream);
  color: var(--on-cream);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.deriv-root h1,
.deriv-root h2,
.deriv-root h3,
.deriv-root h4,
.deriv-root .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin: 0;
}

.deriv-root p {
  margin: 0;
}

.deriv-root a {
  color: inherit;
  text-decoration: none;
}

.deriv-root ::selection {
  background: var(--gold);
  color: var(--navy-deep);
}

.deriv-root table {
  border-collapse: collapse;
  width: 100%;
}

.deriv-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* =========================================================
   EYEBROW
   ========================================================= */

.deriv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.deriv-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-dark);
}

.deriv-eyebrow-light {
  color: var(--gold);
}

.deriv-eyebrow-light::before {
  background: var(--gold);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.deriv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  background: none;
}

.deriv-btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 500;
}

.deriv-btn-primary:hover {
  background: #dcb769;
}

.deriv-btn-line {
  border-bottom: 1px solid rgba(11, 31, 51, 0.25);
  padding: 0 0 4px;
  color: var(--on-cream);
}

.deriv-btn-line:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.deriv-btn-line-light {
  border-color: rgba(243, 239, 231, 0.35);
  color: var(--on-navy);
}

.deriv-btn-line-light:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.deriv-btn:hover .deriv-arrow {
  transform: translateX(3px);
}

.deriv-arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.deriv-section-head {
  max-width: 680px;
}

.deriv-section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
}

.deriv-lede {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--on-cream-mute);
  max-width: 66ch;
  margin-top: 16px;
}

/* =========================================================
   SITE NAV
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 21, 35, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 77, 0.18);
  color: #F3EFE7;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 48px);
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #F3EFE7;
}

.logo .idx {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #C9A24D;
  letter-spacing: 0.1em;
  border: 1px solid rgba(201, 162, 77, 0.28);
  padding: 3px 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 32px);
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9FAFC2;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #C9A24D;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #F3EFE7;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a[aria-current="page"] {
  color: #C9A24D;
}

.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-links .nav-cta {
  text-transform: none;
  letter-spacing: 0.02em;
  border: 1px solid rgba(201, 162, 77, 0.28);
  padding: 10px 18px;
  color: #C9A24D;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links .nav-cta:hover {
  background: #C9A24D;
  color: #071523;
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 162, 77, 0.3);
  background: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  width: 18px;
  height: 1px;
  background: #C9A24D;
  display: block;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: #071523;
  border-bottom: 1px solid rgba(201, 162, 77, 0.18);
  padding: 8px clamp(20px, 4vw, 48px) 20px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  padding: 14px 4px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(201, 162, 77, 0.1);
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #F3EFE7;
}

.mobile-drawer a[aria-current="page"] {
  color: #C9A24D;
}

.mobile-drawer .m-cta {
  color: #C9A24D;
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */

.deriv-crumbs {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201, 162, 77, 0.14);
}

.deriv-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 12px var(--gutter);
  max-width: var(--max);
  font-size: 0.76rem;
  color: var(--on-navy-mute);
}

.deriv-crumbs a {
  color: var(--on-navy-mute);
}

.deriv-crumbs a:hover {
  color: var(--gold);
}

.deriv-crumbs li[aria-current] {
  color: var(--gold);
}

.deriv-crumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: rgba(159, 175, 194, 0.4);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  border-top: 1px solid rgba(201, 162, 77, 0.18);
  padding: clamp(32px, 5vw, 48px) 0;
  background: #071523;
  color: #F3EFE7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner .fmark {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  color: #9FAFC2;
}

.footer-links a:hover {
  color: #C9A24D;
}

.footer-links a[aria-current="page"] {
  color: #C9A24D;
}

.footer-fine {
  font-size: 0.74rem;
  color: rgba(159, 175, 194, 0.5);
  margin-top: 20px;
  text-align: center;
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   ART LAYERS
   ========================================================= */

.deriv-art-dark,
.deriv-art-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deriv-art-light {
  z-index: 0;
}

/* =========================================================
   CARD GRIDS
   ========================================================= */

.deriv-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
}

.deriv-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
}

.deriv-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
}

.deriv-card {
  background: #fff;
  padding: clamp(22px, 2.4vw, 26px);
}

.deriv-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.deriv-card-icon svg {
  width: 16px;
  height: 16px;
}

.deriv-card h3 {
  font-size: 0.9rem;
  margin-bottom: 7px;
}

.deriv-card p {
  font-size: 0.8rem;
  line-height: 1.58;
  color: var(--on-cream-mute);
}

/* =========================================================
   FLOW
   ========================================================= */

.deriv-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.deriv-flow-node {
  font-size: 0.84rem;
  padding: 10px 16px;
  border: 1px solid rgba(201, 162, 77, 0.22);
}

.deriv-flow-node.on-dark {
  color: var(--on-navy);
  background: var(--navy-deep);
}

.deriv-flow-node.on-light {
  color: var(--on-cream);
  background: #fff;
  border-color: rgba(11, 31, 51, 0.14);
}

.deriv-flow-node.is-emphasis {
  font-weight: 500;
}

.deriv-flow-node.on-dark.is-emphasis {
  color: var(--gold);
  border-color: rgba(201, 162, 77, 0.4);
}

.deriv-flow-node.on-light.is-emphasis {
  color: var(--navy);
  border-color: var(--gold-dark);
  background: var(--cream);
}

.deriv-flow-sep {
  display: flex;
  align-items: center;
}

.deriv-flow-sep svg {
  width: 13px;
  height: 13px;
}

.deriv-flow-sep.on-dark {
  color: rgba(159, 175, 194, 0.4);
}

.deriv-flow-sep.on-light {
  color: rgba(11, 31, 51, 0.25);
}

/* =========================================================
   NUMBERED STEPS
   ========================================================= */

.deriv-steps {
  display: flex;
  gap: clamp(8px, 1.4vw, 16px);
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.deriv-step {
  flex: 1 1 calc(11.11% - 14px);
  min-width: 120px;
  position: relative;
  padding-top: 40px;
}

.deriv-step::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 1px;
}

.deriv-step:first-child::before {
  left: 50%;
}

.deriv-step:last-child::before {
  right: 50%;
}

.deriv-step-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.deriv-step h3 {
  text-align: center;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.deriv-step p {
  text-align: center;
  font-size: 0.73rem;
  line-height: 1.5;
}

.deriv-step.on-dark::before {
  background: rgba(201, 162, 77, 0.2);
}

.deriv-step.on-dark .deriv-step-marker {
  background: var(--navy-deep);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
}

.deriv-step.on-dark h3 {
  color: var(--on-navy);
}

.deriv-step.on-dark p {
  color: var(--on-navy-mute);
}

.deriv-step.on-light::before {
  background: rgba(11, 31, 51, 0.16);
}

.deriv-step.on-light .deriv-step-marker {
  background: var(--navy);
  color: var(--gold);
}

.deriv-step.on-light h3 {
  color: var(--on-cream);
}

.deriv-step.on-light p {
  color: var(--on-cream-mute);
}

/* =========================================================
   RISK DISCLAIMER
   ========================================================= */

.deriv-disclaimer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 162, 77, 0.16);
  border-bottom: 1px solid rgba(201, 162, 77, 0.16);
  padding: 16px 0;
}

.deriv-disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.deriv-disclaimer svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--gold);
  margin-top: 2px;
}

.deriv-disclaimer p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--on-navy-mute);
}

.deriv-disclaimer strong {
  color: var(--on-navy);
  font-weight: 600;
}

/* =========================================================
   01 HERO
   ========================================================= */

.deriv-hero {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(60px, 8.5vw, 100px) 0 0;
  overflow: hidden;
}

.deriv-hero-art {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.deriv-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--gutter) clamp(48px, 6vw, 64px);
}

.deriv-hero .deriv-eyebrow {
  justify-content: center;
}

.deriv-hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.deriv-hero-statement {
  font-size: 1.16rem;
  line-height: 1.55;
  color: var(--on-navy);
  max-width: 44ch;
  margin: 0 auto 16px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

.deriv-hero-sub {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--on-navy-mute);
  max-width: 62ch;
  margin: 0 auto 34px;
}

.deriv-hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.deriv-hero-diagram {
  position: relative;
  max-width: 760px;
  margin: clamp(40px, 5.5vw, 56px) auto 0;
}

.deriv-hero-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   02 WHY USE DERIVATIVES
   ========================================================= */

.deriv-why {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-why .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 660px;
}

.deriv-why .deriv-eyebrow {
  justify-content: center;
}

.deriv-why .deriv-grid-3 {
  max-width: 1160px;
  margin: 0 auto;
}

.deriv-why-statement {
  max-width: 640px;
  margin: clamp(40px, 5vw, 48px) auto 0;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--on-cream);
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.1);
  padding: clamp(24px, 2.8vw, 30px);
}

/* =========================================================
   03 WHAT ARE DERIVATIVES
   ========================================================= */

.deriv-basics {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(64px, 9vw, 100px) 0;
}

.deriv-basics-art {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

.deriv-basics .deriv-wrap {
  position: relative;
  text-align: center;
  max-width: 820px;
}

.deriv-basics .deriv-eyebrow {
  justify-content: center;
}

.deriv-basics h2 {
  color: var(--on-navy);
  margin-bottom: 16px;
}

.deriv-basics p.deriv-lede-light {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--on-navy-mute);
  max-width: 66ch;
  margin: 0 auto clamp(36px, 4.5vw, 44px);
}

.deriv-basics-flow {
  margin-bottom: clamp(28px, 3.5vw, 34px);
}

.deriv-basics-underlyings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.deriv-basics-underlyings span {
  font-size: 0.78rem;
  color: var(--on-navy-mute);
  border: 1px solid rgba(201, 162, 77, 0.2);
  padding: 8px 14px;
}

/* =========================================================
   04 TYPES
   ========================================================= */

.deriv-types {
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-types .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 660px;
}

.deriv-types .deriv-eyebrow {
  justify-content: center;
}

.deriv-types .deriv-grid-4 {
  max-width: 1160px;
  margin: 0 auto;
}

.deriv-types-note {
  max-width: 680px;
  margin: clamp(32px, 4vw, 40px) auto 0;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--on-cream-mute);
}

/* =========================================================
   05 FUTURES VS OPTIONS
   ========================================================= */

.deriv-compare {
  background: var(--neutral);
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-compare .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 660px;
}

.deriv-compare .deriv-eyebrow {
  justify-content: center;
}

.deriv-compare-table {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.12);
}

.deriv-compare-table thead th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(11, 31, 51, 0.12);
}

.deriv-compare-table tbody td {
  padding: 16px 20px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--on-cream);
  border-bottom: 1px solid rgba(11, 31, 51, 0.08);
  vertical-align: top;
}

.deriv-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.deriv-compare-table tbody td:first-child {
  color: var(--on-cream-mute);
  width: 32%;
}

/* =========================================================
   06 POSITION ANATOMY
   ========================================================= */

.deriv-anatomy {
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-anatomy .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 660px;
}

.deriv-anatomy .deriv-eyebrow {
  justify-content: center;
}

.deriv-anatomy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
  max-width: 1160px;
  margin: 0 auto;
}

.deriv-anatomy-card {
  background: #fff;
  padding: clamp(20px, 2.2vw, 24px);
}

.deriv-anatomy-card.is-risk {
  background: var(--navy);
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 16px;
}

.deriv-anatomy-card.is-risk h3,
.deriv-anatomy-card.is-risk span {
  color: var(--gold);
}

.deriv-anatomy-card.is-risk p {
  color: var(--on-navy-mute);
}

.deriv-anatomy-card span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 6px;
}

.deriv-anatomy-card h3 {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.deriv-anatomy-card p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--on-cream-mute);
}

/* =========================================================
   07 LEVERAGE
   ========================================================= */

.deriv-leverage {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(72px, 10vw, 116px) 0;
}

.deriv-leverage-art {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
}

.deriv-leverage .deriv-wrap {
  position: relative;
  max-width: 820px;
  text-align: center;
}

.deriv-leverage .deriv-eyebrow {
  justify-content: center;
}

.deriv-leverage h2 {
  color: var(--on-navy);
  margin-bottom: 16px;
}

.deriv-leverage p.deriv-lede-light {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--on-navy-mute);
  max-width: 64ch;
  margin: 0 auto clamp(16px, 2vw, 20px);
}

.deriv-leverage-warn {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--on-navy);
  margin-bottom: clamp(40px, 5vw, 48px);
}

.deriv-leverage-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 360px;
  margin: 0 auto clamp(40px, 5vw, 48px);
}

.deriv-leverage-flow-node {
  width: 100%;
  text-align: center;
  font-size: 0.86rem;
  color: var(--on-navy);
  background: var(--navy-deep);
  border: 1px solid rgba(201, 162, 77, 0.22);
  padding: 12px 18px;
}

.deriv-leverage-flow-arrow {
  color: var(--gold);
  padding: 6px 0;
}

.deriv-leverage-flow-arrow svg {
  width: 14px;
  height: 14px;
}

.deriv-leverage-statement {
  background: var(--navy-deep);
  border: 1px solid rgba(201, 162, 77, 0.24);
  padding: clamp(26px, 3.2vw, 34px);
  max-width: 600px;
  margin: 0 auto;
}

.deriv-leverage-statement p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--gold);
}

/* =========================================================
   08 OPTIONS
   ========================================================= */

.deriv-options {
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-options .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 660px;
}

.deriv-options .deriv-eyebrow {
  justify-content: center;
}

.deriv-options-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
  max-width: 840px;
  margin: 0 auto clamp(36px, 4.5vw, 44px);
}

.deriv-options-pair-card {
  background: #fff;
  padding: clamp(28px, 3.2vw, 34px);
}

.deriv-options-pair-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.deriv-options-pair-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--on-cream-mute);
}

.deriv-options-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.deriv-options-terms span {
  font-size: 0.78rem;
  color: var(--on-cream-mute);
  border: 1px solid rgba(11, 31, 51, 0.15);
  padding: 8px 14px;
}

/* =========================================================
   09 PAYOFF
   ========================================================= */

.deriv-payoff {
  background: var(--neutral);
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-payoff .deriv-section-head {
  margin: 0 auto clamp(16px, 2vw, 20px);
  text-align: center;
  max-width: 660px;
}

.deriv-payoff .deriv-eyebrow {
  justify-content: center;
}

.deriv-payoff-label {
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: clamp(36px, 4.5vw, 44px);
}

.deriv-payoff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.deriv-payoff-card {
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.12);
  padding: clamp(22px, 2.6vw, 28px);
}

.deriv-payoff-card h3 {
  font-size: 0.92rem;
  margin-bottom: 12px;
  text-align: center;
}

.deriv-payoff-card svg {
  width: 100%;
  height: auto;
  display: block;
}

.deriv-payoff-card p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--on-cream-mute);
  text-align: center;
  margin-top: 10px;
}

/* =========================================================
   10 GREEKS
   ========================================================= */

.deriv-greeks {
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-greeks .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 660px;
}

.deriv-greeks .deriv-eyebrow {
  justify-content: center;
}

.deriv-greeks-diagram {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(40px, 5vw, 48px);
}

.deriv-greeks-diagram svg {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.deriv-greeks .deriv-grid-4 {
  max-width: 1000px;
  margin: 0 auto;
}

.deriv-greek-card {
  background: #fff;
  padding: clamp(20px, 2.2vw, 24px);
  text-align: center;
}

.deriv-greek-symbol {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.deriv-greek-card h3 {
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.deriv-greek-card p {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--on-cream-mute);
}

/* =========================================================
   11 VOLATILITY
   ========================================================= */

.deriv-volatility {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-volatility-art {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.deriv-volatility-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.deriv-volatility h2 {
  color: var(--on-navy);
  margin-bottom: 16px;
}

.deriv-volatility-copy p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--on-navy-mute);
  max-width: 52ch;
  margin-bottom: 14px;
}

.deriv-volatility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.deriv-volatility-tags span {
  font-size: 0.76rem;
  color: var(--on-navy);
  border: 1px solid rgba(201, 162, 77, 0.22);
  padding: 7px 12px;
}

.deriv-volatility-statement {
  background: var(--navy-deep);
  border: 1px solid rgba(201, 162, 77, 0.2);
  padding: clamp(28px, 3.2vw, 36px);
  position: relative;
}

.deriv-volatility-statement::before {
  content: '"';
  position: absolute;
  top: 4px;
  left: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--gold-dim);
  line-height: 1;
}

.deriv-volatility-statement p {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--on-navy);
}

/* =========================================================
   12 HEDGING VS SPECULATION
   ========================================================= */

.deriv-hedge-vs {
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-hedge-vs .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 680px;
}

.deriv-hedge-vs .deriv-eyebrow {
  justify-content: center;
}

.deriv-hedge-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
  max-width: 920px;
  margin: 0 auto clamp(40px, 5vw, 48px);
}

.deriv-hedge-vs-card {
  background: #fff;
  padding: clamp(26px, 3vw, 32px);
}

.deriv-hedge-vs-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.deriv-hedge-vs-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.deriv-hedge-vs-node {
  font-size: 0.82rem;
  color: var(--on-cream);
  border: 1px solid rgba(11, 31, 51, 0.14);
  padding: 10px 14px;
  text-align: center;
}

.deriv-hedge-vs-arrow {
  text-align: center;
  color: var(--gold-dark);
  padding: 6px 0;
  font-size: 0.8rem;
}

.deriv-hedge-vs-note {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--on-cream-mute);
}

/* =========================================================
   13 POSITION SIZING
   ========================================================= */

.deriv-sizing {
  background: var(--neutral);
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-sizing .deriv-section-head {
  margin: 0 auto clamp(20px, 2.5vw, 24px);
  text-align: center;
  max-width: 680px;
}

.deriv-sizing .deriv-eyebrow {
  justify-content: center;
}

.deriv-sizing-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto clamp(32px, 4vw, 40px);
}

.deriv-sizing-rail span {
  font-size: 0.8rem;
  color: var(--on-cream);
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.14);
  padding: 9px 15px;
}

.deriv-sizing-statement {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--on-cream);
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.1);
  padding: clamp(24px, 2.8vw, 30px);
}

/* =========================================================
   14 RISK FRAMEWORK
   ========================================================= */

.deriv-risk {
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-risk .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 660px;
}

.deriv-risk .deriv-eyebrow {
  justify-content: center;
}

.deriv-risk .deriv-grid-4 {
  max-width: 1160px;
  margin: 0 auto;
}

/* =========================================================
   15 COMMON MISTAKES
   ========================================================= */

.deriv-mistakes {
  background: var(--neutral);
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-mistakes .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 680px;
}

.deriv-mistakes .deriv-eyebrow {
  justify-content: center;
}

.deriv-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
  max-width: 920px;
  margin: 0 auto;
}

.deriv-mistake-item {
  background: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--on-cream);
}

.deriv-mistake-item svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--warn);
}

/* =========================================================
   16 BEHAVIOURAL FINANCE
   ========================================================= */

.deriv-behaviour {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(68px, 9.5vw, 108px) 0;
}

.deriv-behaviour-art {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
}

.deriv-behaviour .deriv-section-head {
  position: relative;
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 680px;
}

.deriv-behaviour .deriv-eyebrow {
  justify-content: center;
}

.deriv-behaviour h2 {
  color: var(--on-navy);
}

.deriv-behaviour-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 162, 77, 0.14);
  border: 1px solid rgba(201, 162, 77, 0.14);
  max-width: 1080px;
  margin: 0 auto clamp(36px, 4.5vw, 44px);
}

.deriv-behaviour-card {
  background: var(--navy-deep);
  padding: clamp(22px, 2.4vw, 26px);
}

.deriv-behaviour-card h3 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.deriv-behaviour-card p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--on-navy-mute);
}

.deriv-behaviour-statement {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--on-navy);
}

/* =========================================================
   17 EVALUATION FRAMEWORK
   ========================================================= */

.deriv-evalframework {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 10vw, 112px) 0;
}

.deriv-evalframework-art {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

.deriv-evalframework .deriv-section-head {
  position: relative;
  margin: 0 auto clamp(48px, 6vw, 60px);
  text-align: center;
  max-width: 680px;
}

.deriv-evalframework .deriv-eyebrow {
  justify-content: center;
}

/* =========================================================
   18 PERSPECTIVE
   ========================================================= */

.deriv-perspective {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(72px, 10vw, 116px) 0;
  text-align: center;
}

.deriv-perspective-art {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
}

.deriv-perspective .deriv-wrap {
  position: relative;
  max-width: 760px;
}

.deriv-perspective .deriv-eyebrow {
  justify-content: center;
}

.deriv-perspective h2 {
  color: var(--on-navy);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.35;
  margin-bottom: 20px;
}

.deriv-perspective p.deriv-lede-light {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--on-navy-mute);
  max-width: 64ch;
  margin: 0 auto clamp(32px, 4vw, 40px);
}

.deriv-perspective-statement {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--gold);
  max-width: 56ch;
  margin: 0 auto;
}

/* =========================================================
   19 AUDIENCE
   ========================================================= */

.deriv-audience {
  background: var(--neutral);
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-audience .deriv-section-head {
  margin: 0 auto clamp(44px, 5.5vw, 56px);
  text-align: center;
  max-width: 680px;
}

.deriv-audience .deriv-eyebrow {
  justify-content: center;
}

.deriv-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
  max-width: 1000px;
  margin: 0 auto;
}

.deriv-audience-col {
  background: #fff;
  padding: clamp(26px, 3vw, 32px);
}

.deriv-audience-col.is-caution {
  background: var(--navy);
}

.deriv-audience-col h3 {
  font-size: 0.98rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deriv-audience-col.is-caution h3 {
  color: var(--gold);
}

.deriv-audience-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deriv-audience-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--on-cream-mute);
  padding: 9px 0;
  border-top: 1px solid rgba(11, 31, 51, 0.08);
}

.deriv-audience-col li:first-of-type {
  border-top: none;
}

.deriv-audience-col.is-caution li {
  color: var(--on-navy-mute);
  border-top-color: rgba(201, 162, 77, 0.12);
}

.deriv-audience-col li svg {
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 3px;
}

.deriv-audience-col:not(.is-caution) li svg {
  color: var(--good);
}

.deriv-audience-col.is-caution li svg {
  color: var(--gold);
}

.deriv-audience-note {
  max-width: 640px;
  margin: clamp(32px, 4vw, 40px) auto 0;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--on-cream-mute);
}

/* =========================================================
   20 PROCESS
   ========================================================= */

.deriv-process {
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-process .deriv-section-head {
  margin: 0 auto clamp(48px, 6vw, 56px);
  text-align: center;
  max-width: 660px;
}

.deriv-process .deriv-eyebrow {
  justify-content: center;
}

.deriv-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
  max-width: 1160px;
  margin: 0 auto;
}

.deriv-process-card {
  background: #fff;
  padding: clamp(20px, 2.2vw, 24px);
}

.deriv-process-card span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 10px;
}

.deriv-process-card h3 {
  font-size: 0.88rem;
  margin-bottom: 7px;
}

.deriv-process-card p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--on-cream-mute);
}

/* =========================================================
   21 RESEARCH & EDUCATION
   ========================================================= */

.deriv-research {
  background: var(--neutral);
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-research .deriv-section-head {
  margin: 0 0 clamp(12px, 1.6vw, 16px);
}

.deriv-research-note {
  font-size: 0.86rem;
  color: var(--on-cream-mute);
  margin-bottom: clamp(36px, 4.5vw, 48px);
  max-width: 62ch;
}

.deriv-research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(11, 31, 51, 0.1);
  border: 1px solid rgba(11, 31, 51, 0.1);
}

.deriv-research-card {
  background: #fff;
  padding: clamp(22px, 2.6vw, 26px);
  display: flex;
  flex-direction: column;
}

.deriv-research-card .deriv-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.deriv-research-card h3 {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--on-cream-mute);
}

.deriv-research-card p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--on-cream-mute);
  flex: 1;
  margin-bottom: 14px;
}

.deriv-soon {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-cream-mute);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.deriv-soon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-cream-mute);
}

/* =========================================================
   22 FAQ
   ========================================================= */

.deriv-faq {
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-faq .deriv-wrap {
  max-width: var(--read);
}

.deriv-faq .deriv-section-head {
  margin-bottom: clamp(36px, 5vw, 48px);
}

.deriv-faq-list {
  border-top: 1px solid rgba(11, 31, 51, 0.12);
}

.deriv-faq-item {
  border-bottom: 1px solid rgba(11, 31, 51, 0.12);
}

.deriv-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--on-cream);
}

.deriv-faq-item summary::-webkit-details-marker {
  display: none;
}

.deriv-faq-item[open] .deriv-chevron {
  transform: rotate(180deg);
}

.deriv-chevron {
  transition: transform 0.25s ease;
  color: var(--gold-dark);
  flex: none;
}

.deriv-faq-item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-cream-mute);
  max-width: 66ch;
  padding: 0 2px 18px;
}

/* =========================================================
   23 RELATED SERVICES
   ========================================================= */

.deriv-related {
  background: var(--neutral);
  padding: clamp(64px, 9vw, 104px) 0;
}

.deriv-related .deriv-section-head {
  margin: 0 auto clamp(20px, 2.5vw, 24px);
  text-align: center;
  max-width: 680px;
}

.deriv-related .deriv-eyebrow {
  justify-content: center;
}

.deriv-related-group {
  margin-bottom: clamp(28px, 3.5vw, 34px);
}

.deriv-related-group:last-child {
  margin-bottom: 0;
}

.deriv-related-group-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  display: block;
  margin-bottom: 14px;
}

.deriv-related-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto;
}

.deriv-related-rail a {
  font-size: 0.84rem;
  color: var(--on-cream);
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.14);
  padding: 10px 16px;
}

.deriv-related-rail a:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

/* =========================================================
   24 FINAL CTA
   ========================================================= */

.deriv-cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(72px, 10vw, 120px) 0;
  text-align: center;
}

.deriv-cta-art {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.deriv-cta .deriv-wrap {
  position: relative;
  max-width: 680px;
}

.deriv-cta-rule {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 32px;
}

.deriv-cta h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin-bottom: 18px;
  line-height: 1.32;
  color: var(--on-navy);
}

.deriv-cta p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--on-navy-mute);
  margin-bottom: 36px;
}

.deriv-cta-actions {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.deriv-cta-fine {
  margin-top: 28px;
  font-size: 0.74rem;
  line-height: 1.7;
  color: rgba(159, 175, 194, 0.7);
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   WHATSAPP / STICKY CTA
   ========================================================= */

.deriv-wa-icon {
  width: 16px;
  height: 16px;
}

.deriv-sticky-cta {
  display: none;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .deriv-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .deriv-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .deriv-anatomy-card.is-risk {
    grid-column: span 2;
  }

  .deriv-options-pair {
    grid-template-columns: 1fr;
  }

  .deriv-payoff-grid {
    grid-template-columns: 1fr;
  }

  .deriv-volatility-grid {
    grid-template-columns: 1fr;
  }

  .deriv-hedge-vs-grid {
    grid-template-columns: 1fr;
  }

  .deriv-behaviour-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deriv-audience-grid {
    grid-template-columns: 1fr;
  }

  .deriv-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deriv-research-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deriv-mistakes-grid {
    grid-template-columns: 1fr;
  }

  .deriv-steps {
    flex-wrap: wrap;
  }

  .deriv-step {
    flex: 1 1 calc(25% - 14px);
    margin-bottom: 24px;
  }

  .deriv-compare-table {
    display: block;
    overflow-x: hidden;
  }

  .deriv-compare-table thead {
    display: none;
  }

  .deriv-compare-table,
  .deriv-compare-table tbody,
  .deriv-compare-table tr,
  .deriv-compare-table td {
    display: block;
    width: 100%;
  }

  .deriv-compare-table tr {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(11, 31, 51, 0.1);
  }

  .deriv-compare-table tr:last-child {
    border-bottom: none;
  }

  .deriv-compare-table td {
    padding: 4px 0;
    border-bottom: none;
  }

  .deriv-compare-table td:first-child {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-dark);
    width: auto;
  }

  .deriv-sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: rgba(7, 21, 35, 0.97);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(201, 162, 77, 0.22);
  }

  .deriv-sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    font-size: 0.82rem;
    color: var(--on-navy);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .deriv-sticky-cta a:first-child {
    border-right: 1px solid rgba(201, 162, 77, 0.18);
    color: var(--gold);
    font-weight: 500;
  }

  .deriv-root {
    padding-bottom: 56px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .deriv-grid-4,
  .deriv-grid-3,
  .deriv-grid-2,
  .deriv-anatomy-card.is-risk,
  .deriv-behaviour-grid,
  .deriv-process-grid,
  .deriv-research-grid {
    grid-template-columns: 1fr;
  }

  .deriv-step {
    flex: 1 1 100%;
  }

  .deriv-hero-actions,
  .deriv-cta-actions,
  .deriv-flow,
  .deriv-sizing-rail,
  .deriv-basics-underlyings,
  .deriv-options-terms,
  .deriv-related-rail {
    flex-direction: column;
    align-items: center;
  }

  .deriv-anatomy-card.is-risk {
    flex-direction: column;
    align-items: flex-start;
  }
}