/* =========================================================================
   07 · Achievements ("At a Glance")  — Framer "ReachStats"
   08 · Trading Process ("How It Works") — Framer "ProcessSteps"
   ========================================================================= */

/* ---------- 07 · At a Glance ---------- */
.rs { width: min(1280px, 100%); color: #4A5568; }
.rs [data-rs] { opacity: 0; transform: translateY(24px); }
.rs.is-on [data-rs] { opacity: 1; transform: none; transition: opacity .8s ease var(--d), transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--d); }
.rs-head { margin-bottom: 40px; max-width: 720px; }
.rs-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: #A8843F; }
.rs-eyebrow i { width: 36px; height: 1px; background: #C8A96A; }
.rs-title { margin: 0; font-size: 44px; font-weight: 400; line-height: 1.1; letter-spacing: -.6px; color: #0B1B3F; }
.rs-title b { font-weight: inherit; color: #C8A96A; }
.rs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rs-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 190px; padding: 24px 24px 22px; border-radius: 18px;
  background: linear-gradient(160deg, color-mix(in srgb, #C8A96A 7%, transparent) 0%, #FFFFFF 45%, #FFFFFF 100%);
  border: 1px solid rgba(11, 27, 63, .08); box-shadow: 0 1px 2px rgba(11, 27, 63, .04); color: #0B1B3F;
}
.rs.is-on .rs-card { transition: opacity .8s ease var(--d), transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--d), box-shadow .4s ease, border-color .3s ease; }
.rs.is-on .rs-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(11, 27, 63, .35); }
.rs-card:not(.rs-feat):hover { border-color: color-mix(in srgb, #C8A96A 45%, transparent); }
.rs-feat { background: linear-gradient(150deg, #0B1B3F 0%, color-mix(in srgb, #0B1B3F 65%, #000) 100%); border-color: color-mix(in srgb, #C8A96A 30%, transparent); box-shadow: 0 24px 50px -28px rgba(11, 27, 63, .6); color: #FFFFFF; }
.rs-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #C8A96A, transparent); opacity: 0; transition: opacity .35s ease; }
.rs-feat .rs-line, .rs-card:hover .rs-line { opacity: 1; }
.rs-glow { position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #C8A96A 26%, transparent) 0%, transparent 70%); pointer-events: none; }
.rs-dots {
  position: absolute; top: 0; right: 0; width: 65%; height: 70%; background-image: radial-gradient(color-mix(in srgb, #C8A96A 40%, transparent) 1px, transparent 1.2px); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 70%); opacity: .7; pointer-events: none;
}
.rs-feat .rs-dots { background-image: radial-gradient(color-mix(in srgb, #C8A96A 45%, transparent) 1px, transparent 1.2px); opacity: .55; }
.rs-mark { position: absolute; right: -14px; bottom: -18px; opacity: .07; pointer-events: none; color: #0B1B3F; transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1); }
.rs-feat .rs-mark { opacity: .1; color: #C8A96A; }
.rs-card:hover .rs-mark { transform: rotate(-8deg) scale(1.08); }
.rs-mark svg { width: 120px; height: 120px; stroke-width: 1.1; }
.rs-ico {
  position: relative; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #A8843F;
  background: linear-gradient(145deg, color-mix(in srgb, #C8A96A 22%, transparent), color-mix(in srgb, #C8A96A 6%, transparent));
  border: 1px solid color-mix(in srgb, #C8A96A 30%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 14px -8px color-mix(in srgb, #C8A96A 70%, transparent);
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rs-feat .rs-ico { color: #C8A96A; background: linear-gradient(145deg, color-mix(in srgb, #C8A96A 30%, transparent), color-mix(in srgb, #C8A96A 8%, transparent)); border-color: color-mix(in srgb, #C8A96A 45%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 6px 14px -8px color-mix(in srgb, #C8A96A 70%, transparent); }
.rs-card:hover .rs-ico { transform: rotate(-6deg) scale(1.06); }
.rs-ico svg, .rs-mark svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.rs-ico svg { width: 18px; height: 18px; stroke-width: 1.7; }
.rs-spacer { flex: 1; min-height: 18px; }
.rs-num { position: relative; font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.rs-num small { font-size: .5em; color: #C8A96A; margin-left: 3px; vertical-align: .5em; font-weight: 600; letter-spacing: 0; }
.rs-label { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 500; }
.rs-feat .rs-label { opacity: .92; }
.rs-label i { width: 14px; height: 2px; border-radius: 2px; background: #C8A96A; flex-shrink: 0; transition: width .35s cubic-bezier(0.22, 1, 0.36, 1); }
.rs-card:hover .rs-label i { width: 24px; }
.rs-hl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 20px; padding: 16px 22px; border-radius: 18px; border: 1px solid rgba(11, 27, 63, .08); background: #FFFFFF; }
.rs-hl span { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: #0B1B3F; }
.rs-hl span::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: #C8A96A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- 08 · How It Works ---------- */
#process { gap: 40px; }
#process .sec-tag span { font-size: 14px; }
.pst { position: relative; width: min(1280px, 100%); }
.pst-track, .pst-fill { position: absolute; z-index: 0; border-radius: 2px; }
.pst-track { background: #EADFC8; }
.pst-fill { background: linear-gradient(90deg, rgba(200, 169, 106, .6), #C8A96A); box-shadow: 0 0 10px rgba(200, 169, 106, .4); transition: width .15s linear, height .15s linear; }
.pst.is-v .pst-fill { background: linear-gradient(180deg, rgba(200, 169, 106, .6), #C8A96A); }
.pst-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 32px; }
.pst-step { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pst-dot {
  position: relative; z-index: 1; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #F7F1E6; border: 1.5px solid rgba(200, 169, 106, .6); color: #C8A96A; font-size: 13px; font-weight: 700; letter-spacing: .5px; font-variant-numeric: tabular-nums;
  transition: background .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease, transform .3s ease;
}
.pst-step.is-on .pst-dot { background: #C8A96A; border-color: #C8A96A; color: #FFFFFF; box-shadow: 0 0 0 6px rgba(200, 169, 106, .13); }
.pst-step:hover .pst-dot { transform: scale(1.08); }
.pst-text { min-width: 0; opacity: .55; transition: opacity .4s ease; }
.pst-step.is-on .pst-text { opacity: 1; }
.pst-title { font-size: 18px; font-weight: 700; line-height: 1.3; color: #0F1B3D; transition: color .25s ease; }
.pst-step:hover .pst-title { color: #C8A96A; }
.pst-desc { margin-top: 6px; font-size: 15px; line-height: 1.6; color: #6B7280; }

/* tablet: 2 stat columns */
@media (max-width: 999.98px) {
  .rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* steps go vertical when each would get less than 170px (5 steps × 170 = 850px of content → ~1010px screen) */
@media (max-width: 1009.98px) {
  .pst-list { display: flex; flex-direction: column; gap: 32px; }
  .pst-step { flex-direction: row; gap: 20px; }
  .pst-text { flex: 1; padding-top: 10px; }
}
@media (max-width: 639.98px) {
  .rs-head { margin-bottom: 28px; }
  .rs-title { font-size: 32px; }
  .rs-grid { grid-template-columns: 1fr; }
  .rs-card { min-height: 0; padding: 22px 20px; }
  .rs-num { font-size: 36px; }
  .rs-mark svg { width: 96px; height: 96px; }
  .rs-hl { gap: 10px 18px; padding: 14px 16px; }
  .pst-list { gap: 22px; }
  .pst-step { gap: 14px; }
  .pst-dot { width: 36px; height: 36px; font-size: 11px; }
  .pst-step.is-on .pst-dot { box-shadow: 0 0 0 4px rgba(200, 169, 106, .13); }
  .pst-text { padding-top: 5px; }
  .pst-title { font-size: 16px; }
  .pst-desc { margin-top: 4px; font-size: 13.5px; }
}

/* ---------- 09 · Corporate Commitment (plain Framer layers) ---------- */
#commitment { gap: 40px; }
#commitment .sec-tag span { font-size: 14px; }
.cm { width: min(1280px, 100%); display: flex; align-items: flex-start; gap: 48px; }
.cm-left { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cm-left .sec-heading { width: auto; max-width: 583px; }
.cm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-pills span { padding: 8px 16px; border-radius: 20px; background: #F2ECDA; border: 1px solid #C8A96A; font-size: 13px; font-weight: 600; color: #71592F; white-space: nowrap; }
.cm-text { margin: 0; max-width: 583px; font-size: 16px; line-height: 26px; color: #454C55; }
.cm-card { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 8px; background: #FFFFFF; border: 1px solid #E4E6EA; }
.cm-card h3 { margin: 0; font-size: 28px; font-weight: 700; color: #C8A96A; }
.cm-card p { margin: 0; font-size: 15px; line-height: 24px; color: #454C55; }
.cm-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #C8A96A; }
.cm-badge svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: #C8A96A; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899.98px) {
  .cm { flex-direction: column; gap: 32px; }
  .cm-card { width: 100%; }
}
@media (max-width: 639.98px) {
  .cm-card { padding: 24px 20px; }
  .cm-card h3 { font-size: 24px; }
  .cm-text { font-size: 15px; line-height: 24px; }
}
