/* Product-card rules from the original case-study stylesheet, scoped to this section. */

@font-face {
  font-family: Eina01;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Eina01-Regular.woff2) format("woff2");
}

@font-face {
  font-family: Eina01;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Eina01-SemiBold.woff2) format("woff2");
}

@font-face {
  font-family: Eina02-Bold;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Eina02-Bold.woff2) format("woff2");
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/geist-mono-v1-latin-regular.woff2) format("woff2");
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/geist-mono-v1-latin-500.woff2) format("woff2");
}

.how-it-works .trade-story-visual {
  position: relative;
  min-width: 0;
}

.how-it-works .authentic-trade-card {
  overflow: hidden;
  border: 1px solid rgba(112,161,171,.14);
  border-radius: 22px;
  background: #020a18;
  box-shadow: 0 34px 90px -50px rgba(21,231,204,.68);
}

.how-it-works .authentic-trade-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.2rem .7rem;
}

.how-it-works .authentic-trade-head img {
  width: 44px;
  height: 44px;
  border: 1px solid hsla(36,91%,79%,.45);
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

.how-it-works .authentic-trade-head strong {
  color: #f6f7fc;
  font-family: Eina01,sans-serif;
  font-size: 1.1rem;
}

.how-it-works .authentic-signal {
  color: #19d6bb;
  font-size: 1.15rem;
}

.how-it-works .authentic-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: .9rem 2rem 0;
  color: rgba(141,160,185,.74);
  text-align: center;
  font-size: .72rem;
}

.how-it-works .authentic-tabs b {
  position: relative;
  color: #f2f5fb;
  padding-bottom: .7rem;
}

.how-it-works .authentic-tabs b:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 4px);
  border: 4px solid transparent;
  border-top-color: #eef5fb;
}

.how-it-works .authentic-trade-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 2rem;
  margin-top: .7rem;
  padding: 2.2rem 2.4rem 2.6rem;
  background: radial-gradient(circle at 65% 30%,rgba(9,87,105,.16),transparent 46%);
}

.how-it-works .authentic-grade {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  --grade-gradient: conic-gradient(from 220deg,#94ec05 0 46%,#49dfbe 70%,#f1f5fc 70% 88%,transparent 88%);
  background: var(--grade-gradient);
}

.how-it-works .authentic-grade:before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #020a18;
}

.how-it-works .authentic-grade div {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.how-it-works .authentic-grade strong {
  color: #d7ff00;
  font-family: Eina02-Bold,sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.how-it-works .authentic-grade span {
  margin-top: .55rem;
  color: #9cabc1;
  font-size: .75rem;
}

.how-it-works .authentic-grade span b {
  color: #9bef12;
}

.how-it-works .authentic-thesis h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  color: #f1f4fa;
  font-family: Eina01,sans-serif;
  font-size: 1.45rem;
}

.how-it-works .authentic-direction-arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: #22c55e;
  color: #22c55e;
  filter: drop-shadow(0 0 7px rgba(34,197,94,.22));
}

.how-it-works .authentic-levels {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 1.8rem;
}

.how-it-works .authentic-levels div {
  padding: 0 1rem;
  border-right: 1px solid rgba(126,151,173,.14);
  text-align: center;
}

.how-it-works .authentic-levels div:first-child {
  padding-left: 0;
}

.how-it-works .authentic-levels div:last-child {
  border: 0;
}

.how-it-works .authentic-levels b {
  display: block;
  color: #f4f6fb;
  font-size: 1rem;
}

.how-it-works .authentic-levels span {
  display: block;
  margin-top: .28rem;
  color: #7f8da3;
  font-size: .73rem;
}

.how-it-works .authentic-levels div:nth-child(2) span {
  color: #46e2b8;
}

.how-it-works .authentic-thesis p {
  margin-top: 1.7rem;
  color: #b8c4d3;
  font-size: .77rem;
  line-height: 1.6;
}

.how-it-works .autopilot-story-card {
  padding: 1.4rem;
  border: 1px solid rgba(80,163,177,.17);
  border-radius: 24px;
  background: linear-gradient(150deg,#051420,#020914);
  box-shadow: 0 34px 90px -55px rgba(22,209,211,.68);
}

.how-it-works .autopilot-story-message {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .2rem .2rem 1.2rem;
}

.how-it-works .autopilot-story-message img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

.how-it-works .autopilot-story-message p {
  display: grid;
  gap: .35rem;
}

.how-it-works .autopilot-story-message strong {
  color: #f3f6fb;
  font-size: .9rem;
}

.how-it-works .autopilot-story-message span {
  color: rgba(169,192,200,.65);
  font-size: .7rem;
  line-height: 1.5;
}

.how-it-works .autopilot-story-governor {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(116,155,170,.13);
  border-radius: 18px;
  background: #030b17;
}

.how-it-works .autopilot-confidence {
  display: grid;
  place-items: center;
  border: 5px solid #40e0bc;
  border-left-color: #20aecd;
  border-radius: 50%;
}

.how-it-works .autopilot-confidence strong {
  color: #44ebc0;
}

.how-it-works .autopilot-confidence span {
  color: #687c90;
}

.how-it-works .autopilot-confidence span, .how-it-works .autopilot-target>span {
  font-family: Geist Mono,monospace;
  letter-spacing: .12em;
}

.how-it-works .autopilot-target>span {
  color: #31cab6;
  font-size: .57rem;
}

.how-it-works .autopilot-target>strong {
  display: block;
  margin-top: .35rem;
  color: #f3f5fa;
  font-size: 2rem;
}

.how-it-works .autopilot-progress {
  position: relative;
  height: 7px;
  margin-top: 1.55rem;
  border-radius: 8px;
  background: #0c1726;
}

.how-it-works .autopilot-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg,#29d3e4,#3be2ba);
}

.how-it-works .autopilot-progress b {
  position: absolute;
  top: -23px;
  left: 54%;
  color: #54dc31;
  font-family: Geist Mono,monospace;
  font-size: .55rem;
}

.how-it-works .autopilot-progress b:after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% - 5px);
  border: 5px solid transparent;
  border-top-color: #46ca31;
}

.how-it-works .autopilot-confidence {
  position: relative;
  display: flex;
  width: 125px;
  height: 125px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 0;
  border-radius: 0;
}

.how-it-works .autopilot-confidence svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.how-it-works .autopilot-confidence circle {
  fill: none;
  stroke-width: 4;
}

.how-it-works .autopilot-confidence .autopilot-ring-track {
  stroke: #263247;
}

.how-it-works .autopilot-confidence .autopilot-ring-value {
  stroke: #47b827;
  stroke-linecap: round;
  stroke-dasharray: 82 100;
}

.how-it-works .autopilot-confidence strong {
  color: #47b827;
  font-family: Eina01,sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
}

.how-it-works .autopilot-confidence span {
  margin-top: .45rem;
  color: rgba(148,163,184,.52);
  font-family: Eina01,sans-serif;
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.how-it-works .autopilot-progress .autopilot-trail-marker {
  top: -28px;
  display: flex;
  align-items: center;
  flex-direction: column;
  transform: translateX(-50%);
  font-family: Eina01,sans-serif;
}

.how-it-works .autopilot-progress .autopilot-trail-marker span {
  color: #47b827;
  font-size: .58rem;
  font-weight: 700;
  line-height: 1;
}

.how-it-works .autopilot-progress .autopilot-trail-marker em {
  width: 14px;
  height: 13px;
  margin-top: .28rem;
  background: #47b827;
  clip-path: polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);
}

.how-it-works .autopilot-progress .autopilot-trail-marker:after {
  display: none;
}

.how-it-works .autopilot-trail-action {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .85rem;
  margin: 1.2rem auto 0;
  width: 78%;
  padding: .85rem 1rem;
  border: 1px solid rgba(40,206,193,.16);
  border-radius: 14px;
  background: #04121e;
  opacity: 0;
  transform: translateY(20px);
}

.how-it-works .autopilot-trail-action b {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem .65rem;
  border: 1px solid rgba(45,215,201,.22);
  border-radius: 9px;
  color: #36cbbb;
  background: rgba(27,151,144,.1);
  font-size: .67rem;
}

.how-it-works .autopilot-trail-action b svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.how-it-works .autopilot-trail-action span {
  color: #d5e1e4;
  font-size: .66rem;
}

@media (max-width:980px) {
  .how-it-works .trade-story-visual {
    width: 100%;
    max-width: 720px;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-trade-head {
    padding: .85rem .9rem .55rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-trade-head img {
    width: 38px;
    height: 38px;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-trade-head strong {
    font-size: .9rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-tabs {
    padding: .75rem .6rem 0;
    font-size: .62rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-trade-body {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.5rem 1rem 2rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-grade {
    width: 170px;
    height: 170px;
    margin: auto;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-thesis {
    text-align: center;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-thesis h4 {
    font-size: 1.1rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-levels {
    margin-top: 1.25rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-levels div {
    padding: 0 .4rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-levels b {
    font-size: .82rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-levels span {
    font-size: .62rem;
  }
}

@media (max-width:640px) {
  .how-it-works .authentic-thesis p {
    margin-top: 1.25rem;
  }
}

@media (max-width:640px) {
  .how-it-works .autopilot-story-card {
    padding: .85rem;
  }
}

@media (max-width:640px) {
  .how-it-works .autopilot-story-governor {
    grid-template-columns: 105px 1fr;
    gap: .85rem;
    padding: 1rem .75rem;
  }
}

@media (max-width:640px) {
  .how-it-works .autopilot-confidence {
    width: 95px;
    height: 95px;
    border-width: 4px;
  }
}

@media (max-width:640px) {
  .how-it-works .autopilot-confidence strong {
    font-size: 1.22rem;
  }
}

@media (max-width:640px) {
  .how-it-works .autopilot-target>strong {
    font-size: 1.55rem;
  }
}

@media (max-width:640px) {
  .how-it-works .autopilot-trail-action {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: .8rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .how-it-works .autopilot-progress i, .how-it-works .autopilot-trail-action {
    animation: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  .how-it-works .autopilot-trail-action {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  .how-it-works .autopilot-progress i {
    width: 72%;
  }
}
