/* Styles for the Crypto Gains catalog entry and product page. */
.crypto-gains {
  --gains-teal: #144753;
  --gains-deep: #103b45;
  --gains-ink: #476068;
  --gains-orange: #e59646;
  --gains-line: #dce6e7;
  --gains-tint: #f0f6f6;
  background: #fff;
  color: var(--gains-ink);
}

.crypto-gains-teaser,
.crypto-gains > div[lang] {
  font-family: var(--font-family, Roboto), sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.crypto-gains .container,
.crypto-gains .crypto-gains-teaser-inner {
  width: min(1170px, calc(100% - 60px));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.crypto-gains :is(h1, h2, h3, p, dl, dd) {
  margin: 0;
}

.crypto-gains :is(h1, h2, h3) {
  color: var(--gains-teal);
}

.crypto-gains h2:not(.page-title) {
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 38px;
}

.crypto-gains h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.crypto-gains a {
  color: var(--gains-teal);
}

.crypto-gains a:focus-visible {
  outline: 2px solid #266776;
  outline-offset: 4px;
}

.crypto-gains .eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: .8125rem;
  letter-spacing: .88px;
  text-transform: uppercase;
}

.crypto-gains .text-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.crypto-gains .orange-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--gains-orange);
  color: #19333a;
  text-align: center;
}

.crypto-gains .orange-btn:hover {
  background: #f1a758;
  color: #19333a;
  text-decoration: none;
}

.crypto-gains :is(.section, .quote-wrap)[id] {
  scroll-margin-top: 85px;
}

.crypto-gains .crypto-gains-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5.4vw, 95px);
  padding-block: clamp(38px, 5.2vw, 80px);
}

.crypto-gains .crypto-gains-teaser-copy .eyebrow {
  color: #925016;
  margin-bottom: 17px;
}

.crypto-gains .crypto-gains-teaser-copy h2 {
  overflow-wrap: break-word;
}

.crypto-gains .crypto-gains-teaser-intro {
  max-width: 58ch;
  margin-top: 22px;
  color: #5a6269;
}

.crypto-gains .crypto-gains-learn {
  margin-top: 30px;
  min-height: 56px;
  padding-inline: 29px;
}

.crypto-gains .service-banner { background: #eaf5f8; }
.crypto-gains .service-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); align-items: center; padding: 34px 0 37px; }
.crypto-gains .service-intro > p:not(.service-license) { max-width: 53ch; margin: 21px 0 24px; }
.crypto-gains .report-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(100%, 530px);
  min-width: 0;
  min-height: 235px;
  aspect-ratio: 1.57;
  margin-inline: auto;
  color: var(--gains-teal);
}
.crypto-gains .report-orbit {
  position: absolute;
  z-index: -1;
  inset: 10% 8% 14% 8%;
  border: 1px solid #b6d5dc;
  border-radius: 50%;
  transform: rotate(-11deg);
}
.crypto-gains .report-orbit::before, .crypto-gains .report-orbit::after {
  content: '';
  position: absolute;
  inset: 10% -6%;
  border: 1px solid #c7e0e5;
  border-radius: 50%;
}
.crypto-gains .report-orbit::before { transform: rotate(23deg); }
.crypto-gains .report-orbit::after { transform: rotate(-20deg); }
.crypto-gains .report-sheet-behind {
  position: absolute;
  inset: 11% 23% 12% 31%;
  border-radius: 15px;
  background: #c9e0e5;
  transform: rotate(6deg);
}
.crypto-gains .report-sheet {
  position: relative;
  width: 52%;
  margin-left: 6%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #14475312;
  border-radius: 15px;
  box-shadow: 0 14px 28px #1447531c, 0 3px 9px #1447530f;
}
.crypto-gains .report-sheet-heading {
  padding: clamp(11px, 1.35vw, 19px) clamp(13px, 1.65vw, 23px);
  background: var(--gains-teal);
  color: #fff;
  font-size: clamp(.8125rem, 1.32vw, 1.125rem);
  font-weight: 600;
}
.crypto-gains .report-sheet-body { padding: clamp(12px, 1.65vw, 23px); padding-bottom: clamp(24px, 2.5vw, 35px); }
.crypto-gains .report-chart-label { font-size: .75rem; font-weight: 600; }
.crypto-gains .report-chart {
  position: relative;
  height: clamp(45px, 5.1vw, 69px);
  margin-top: 8px;
  background: repeating-linear-gradient(to bottom, #dfebee 0 1px, transparent 1px 33.33%);
}
.crypto-gains .report-chart-line {
  position: absolute;
  inset: 0;
  background: var(--gains-orange);
  clip-path: polygon(2% 78%, 15% 59%, 29% 66%, 47% 33%, 61% 44%, 80% 16%, 98% 21%, 98% 26%, 80% 21%, 61% 49%, 47% 38%, 29% 71%, 15% 64%, 2% 83%);
}
.crypto-gains .report-chart span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--gains-orange);
}
.crypto-gains .report-chart span:nth-of-type(1) { left: 2%; top: 80.5%; }
.crypto-gains .report-chart span:nth-of-type(2) { left: 47%; top: 35.5%; }
.crypto-gains .report-chart span:nth-of-type(3) { left: 98%; top: 23.5%; }
.crypto-gains .report-sample-rows { display: grid; gap: 10px; margin-top: 12px; }
.crypto-gains .report-sample-rows span {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, #d6e7ea 0 58%, transparent 58% 84%, #a8c8ce 84%);
}
.crypto-gains .report-sample-rows span:nth-child(2) { background: linear-gradient(to right, #d6e7ea 0 73%, transparent 73% 84%, #a8c8ce 84%); }
.crypto-gains .report-sample-rows span:nth-child(3) { background: linear-gradient(to right, #d6e7ea 0 47%, transparent 47% 84%, #a8c8ce 84%); }
.crypto-gains .report-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #1447530d;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px #14475318;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.crypto-gains .report-badge-file { top: 30%; left: 8%; }
.crypto-gains .report-badge-cost { right: 5%; bottom: 16%; }
.crypto-gains .report-badge-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 6px;
  background: #e0f0f2;
}
.crypto-gains .report-badge-file .report-badge-icon { background: #fff0dc; color: #9b4c00; }
.crypto-gains .report-file-icon { width: 8px; height: 10px; border: 1px solid currentColor; border-radius: 1px; }
.crypto-gains .report-check-icon { width: 11px; height: 6px; border: solid var(--gains-teal); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.crypto-gains .service-license { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; color: var(--gains-teal); font-size: .875rem; }
.crypto-gains .service-license svg { flex: 0 0 auto; }
.crypto-gains .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.crypto-gains .section-links { display: flex; gap: 14px 30px; flex-wrap: wrap; border-block: 1px solid var(--gains-line); padding: 17px 0; }
.crypto-gains .section-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.crypto-gains .section { padding-block: clamp(42px, 6vw, 75px); }
.crypto-gains .split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 7vw, 88px); align-items: start; }
.crypto-gains .split > div:first-child > p { margin-top: 15px; max-width: 47ch; }
.crypto-gains .report-panel { background: var(--gains-tint); padding: 27px 30px; border-radius: 15px; }
.crypto-gains .tick-list { padding: 0; margin: 16px 0 0; list-style: none; }
.crypto-gains .tick-list li { display: flex; gap: 12px; padding: 8px 0; }
.crypto-gains .tick-list li::before { content: '✓'; color: var(--gains-teal); font-weight: 700; }
.crypto-gains .law-section { background: var(--gains-tint); }
.crypto-gains .law-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 20px 45px; }
.crypto-gains .law-heading .eyebrow { color: var(--gains-teal); }
.crypto-gains .law-facts { display: grid; grid-template-columns: .9fr .9fr 1.2fr; gap: 15px; margin: 23px 0; }
.crypto-gains .law-facts div { border-top: 3px solid var(--gains-orange); background: #fff; padding: 19px 20px; border-radius: 0 0 8px 8px; }
.crypto-gains .law-facts dt { color: var(--gains-teal); font-size: 1.85rem; font-weight: 300; line-height: 38px; }
.crypto-gains .law-facts dd { margin-top: 8px; max-width: 30ch; }
.crypto-gains .law-note { display: grid; gap: 9px; }
.crypto-gains .records { margin: 0; padding: 0; list-style: none; }
.crypto-gains .records li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gains-line);
}
.crypto-gains .records li:first-child { padding-top: 3px; }
.crypto-gains .record-check { color: #1e6d7f; font-size: 1.125rem; font-weight: 700; line-height: 1.15; }
.crypto-gains .records p { margin-top: 4px; }
.crypto-gains .quote-wrap { padding-bottom: 58px; }
.crypto-gains .quote-panel { display: grid; grid-template-columns: 1fr .58fr; align-items: center; gap: 28px 50px; background: var(--gains-deep); color: #dce9ed; padding: clamp(24px, 4.4vw, 50px); border-radius: 18px; }
.crypto-gains .quote-panel h2 { color: #fff; }
.crypto-gains .quote-panel p { margin-top: 12px; max-width: 58ch; }
.crypto-gains .quote-contact { display: grid; justify-items: start; gap: 8px; border-left: 1px solid #ffffff47; padding-left: clamp(20px, 3.2vw, 40px); }
.crypto-gains .quote-contact span { font-size: .875rem; }
.crypto-gains .quote-contact .phone { color: #fff; font-size: 1.5rem; font-weight: 600; }
.crypto-gains .quote-contact .orange-btn { margin-top: 4px; }

/* Keep the catalog illustration slightly rounded against the white background. */
.crypto-gains-teaser .report-art::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 8% 1% 8% 1%;
  border-radius: 48% 52% 36% 30% / 60% 62% 38% 34%;
  background: linear-gradient(135deg, #f7fbfb, #d4e6e7);
  transform: rotate(-6deg);
}

.crypto-gains-teaser .report-orbit {
  border-style: dashed;
}

.crypto-gains .service-intro h1 {
  overflow-wrap: break-word;
  text-align: left;
}

.crypto-gains .service-license svg {
  width: 18px;
  height: 18px;
}

.crypto-gains .section-links a {
  font-weight: 600;
}

.crypto-gains .quote-contact .phone:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 930px) {
  .crypto-gains .container,
  .crypto-gains .crypto-gains-teaser-inner {
    width: calc(100% - 48px);
  }
}

@media (max-width: 1024px) {
  .crypto-gains .crypto-gains-teaser-intro {
    font-size: 15px;
  }
}

@media (max-width: 735px) {
  .crypto-gains .container,
  .crypto-gains .crypto-gains-teaser-inner {
    width: calc(100% - 36px);
  }

  .crypto-gains .service-hero,
  .crypto-gains .crypto-gains-teaser-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-block: 28px;
  }

  .crypto-gains .crypto-gains-teaser-intro {
    margin-top: 16px;
  }

  .crypto-gains :is(.crypto-gains-teaser-copy, .service-intro, .section, .quote-panel) {
    text-align: center;
  }

  .crypto-gains :is(.actions, .service-license, .section-links) {
    justify-content: center;
  }

  .crypto-gains .crypto-gains-learn {
    min-height: 48px;
    margin-top: 20px;
    padding-inline: 24px;
  }

  .crypto-gains .service-intro > p:not(.service-license) {
    margin: 15px auto 18px;
  }

  .crypto-gains .crypto-gains-teaser-intro,
  .crypto-gains .split > div:first-child > p,
  .crypto-gains .law-facts dd,
  .crypto-gains .quote-panel p {
    margin-inline: auto;
  }

  .crypto-gains .service-intro h1.page-title,
  .crypto-gains .crypto-gains-teaser-copy h2.page-title {
    font-size: 2rem;
    text-align: center;
  }

  .crypto-gains .service-intro h1.page-title {
    line-height: 1.3;
  }

  .crypto-gains .report-art {
    width: min(100%, 410px);
  }

  .crypto-gains .report-badge-file {
    top: 56%;
    left: 0;
  }

  .crypto-gains .report-badge-cost {
    right: 0;
  }

  .crypto-gains .section-links {
    gap: 9px 18px;
  }

  .crypto-gains :is(.split, .law-heading, .quote-panel) {
    grid-template-columns: minmax(0, 1fr);
  }

  .crypto-gains .law-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .crypto-gains .law-facts > div:last-child {
    grid-column: 1 / -1;
  }

  .crypto-gains .law-facts div {
    padding: 14px;
    overflow-wrap: anywhere;
  }

  .crypto-gains .tick-list li {
    display: block;
  }

  .crypto-gains .tick-list li::before {
    margin-inline-end: .4em;
  }

  .crypto-gains .records li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .crypto-gains .quote-contact {
    justify-items: center;
    border-left: 0;
    border-top: 1px solid #ffffff47;
    padding: 18px 0 0;
  }

  .crypto-gains .quote-wrap {
    padding-bottom: 39px;
  }
}

@media (max-width: 400px) {
  .crypto-gains .law-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 370px) {
  .crypto-gains .container,
  .crypto-gains .crypto-gains-teaser-inner {
    width: calc(100% - 28px);
  }

  .crypto-gains .report-badge {
    gap: 5px;
    padding: 5px 7px;
  }

  .crypto-gains .service-intro h1.page-title,
  .crypto-gains .crypto-gains-teaser-copy h2.page-title {
    font-size: 1.75rem;
  }

  .crypto-gains .report-badge-icon {
    width: 19px;
    height: 19px;
  }
}
