/* OPALHOOD home, layer 2 (loaded after home-opal.css):
   1. a calmer type scale: the hero and section titles were poster-sized, now they sit in one consistent scale;
   2. the extra sections: numbers, how it works, the tools, a receipt's anatomy, the comparison, the holder pass.
   Black page, white type, hairlines, the opal sheen only as an accent (borders on hover, small dots, step numbers). */

/* ---------- 1. type scale ---------- */
.hx__h { font-size: clamp(48px, min(6.4vw, calc((100vw - 480px) / 8.6)), 104px); line-height: 1.02; letter-spacing: -.036em; }
.wd, .cp { padding-bottom: clamp(70px, 7vw, 120px); }
.hx__h::before { content: 'Self-custody AI agent  \00B7  Robinhood Chain'; display: table; margin: 0 0 30px; padding: 9px 16px 9px 30px; border: 1px solid var(--o-line2); border-radius: 999px;
  background: radial-gradient(circle at 16px 50%, var(--o-live) 0 3.5px, transparent 4.5px), rgba(255, 255, 255, .04);
  font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: 0; color: var(--o-t2); white-space: pre; }
.hx__l2 { min-height: 1.05em; }
.hx__lead { font-size: 19px; line-height: 1.6; letter-spacing: -.2px; color: var(--o-t2); }
.hx__live { font-size: 15px; color: var(--o-t2); }
.bo__row li { font-size: 21px; letter-spacing: -.4px; padding: 0 34px; color: var(--o-t2); }
.h-label { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--o-t2); display: inline-flex; align-items: center; gap: 10px; }
.h-label::before, .h-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--o-iri); background-size: 600% 100%; flex: none; }
.wd__p { margin-top: 44px; max-width: 1120px; font-size: clamp(24px, 2.45vw, 37px); line-height: 1.32; letter-spacing: -.028em; }
.cp__t { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; font-weight: 500; }
.cp__it > a { padding: 22px 0; }
.cp__more p { font-size: 16px; }
.pf__info h3 { font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -.4px; }
.ab__h { font-size: clamp(23px, 2vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.lv__h { font-size: clamp(28px, 2.9vw, 42px); letter-spacing: -.035em; font-weight: 600; }
.wy__t { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.03em; font-weight: 600; }
.wy__it h3 { font-size: clamp(21px, 2vw, 29px); letter-spacing: -.03em; font-weight: 600; }
.fq__t { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.035em; font-weight: 600; }
.cl__h { font-size: clamp(30px, 3.1vw, 46px); letter-spacing: -.035em; font-weight: 600; }

/* ---------- shared bits for the new sections ---------- */
.h-sec-pad { padding: clamp(90px, 9vw, 150px) 0 0; }
.h-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: end; gap: 22px 64px; padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid var(--o-line); }
.h-eyebrow { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--o-t2); }
.h-title { margin: 0; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; color: var(--o-t); }
.h-sub { margin: 0; font-size: 17px; line-height: 1.6; color: var(--o-t2); }

.o-card { position: relative; isolation: isolate; border-radius: 18px; background: rgba(255, 255, 255, .022); }
.o-card::before, .o-card::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.o-card::before { background: var(--o-line); }
.o-card::after { background: var(--o-iri); opacity: 0; transition: opacity .45s var(--o-ease); }
.o-card[data-spot] { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -40%), rgba(255, 255, 255, .075), transparent 60%), rgba(255, 255, 255, .022); }
.o-card:hover::after, .o-card:focus-within::after { opacity: .9; }

.hm-js [data-rev] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--o-ease), transform 1.1s var(--o-ease); transition-delay: calc(var(--i, 0) * 80ms); }
.hm-js [data-rev].is-in { opacity: 1; transform: none; }

/* ---------- numbers ---------- */
.st { padding: 8px 0 clamp(80px, 8vw, 120px); }
.st__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--o-line); border-bottom: 1px solid var(--o-line); }
.st__c { display: flex; flex-direction: column; gap: 14px; padding: 34px 28px 32px; border-left: 1px solid var(--o-line); }
.st__c:first-child { border-left: 0; padding-left: 0; }
.st__k { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--o-t3); }
.st__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--o-live); box-shadow: 0 0 0 0 rgba(59, 227, 106, .5); animation: st-pulse 2.2s infinite; }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 227, 106, .45); } 70% { box-shadow: 0 0 0 9px rgba(59, 227, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 227, 106, 0); } }
.st__n { font-size: clamp(30px, 2.9vw, 44px); line-height: 1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--o-t); white-space: nowrap; }
.st__m { font-size: 13.5px; line-height: 1.45; color: var(--o-t3); }

/* ---------- how it works ---------- */
.hw__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: hw; }
.hw__st { display: flex; flex-direction: column; min-height: 330px; padding: 28px 26px 26px; }
.hw__n { font-family: var(--o-mono); font-size: 13px; font-weight: 600; letter-spacing: .02em; background: var(--o-iri); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hw__st h3 { margin: 46px 0 12px; font-size: 23px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.hw__st p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--o-t2); }
.hw__st code { margin-top: auto; padding-top: 24px; font-family: var(--o-mono); font-size: 11.5px; line-height: 1.5; color: var(--o-t3); }
.hw__st::before { background: linear-gradient(90deg, var(--o-line2), var(--o-line)); }

/* ---------- tools ---------- */
.tl__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tl__c > a { display: flex; flex-direction: column; height: 100%; min-height: 236px; padding: 26px 26px 24px; color: var(--o-t); text-decoration: none; }
.tl__c--wide { grid-column: span 2; }
.tl__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.tl__ic { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--o-line2); border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--o-t); transition: border-color .4s, background .4s; }
.tl__ic svg { width: 21px; height: 21px; }
.tl__c:hover .tl__ic { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .07); }
.tl__code { font-family: var(--o-mono); font-size: 11.5px; color: var(--o-t3); }
.tl__c h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.tl__c p { margin: 0; max-width: 560px; font-size: 14.5px; line-height: 1.6; color: var(--o-t2); }
.tl__rd { margin: 22px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--o-line2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.tl__rd div { display: flex; gap: 12px; min-width: 0; font-family: var(--o-mono); font-size: 11.5px; line-height: 1.5; }
.tl__rd dt { flex: none; width: 52px; color: var(--o-t3); }
.tl__rd dd { margin: 0; color: var(--o-t); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; color: var(--o-t3); transition: color .35s, gap .45s var(--o-ease); }
.tl__go svg { width: 15px; height: 15px; }
.tl__c:hover .tl__go { color: var(--o-t); gap: 10px; }

/* ---------- receipt anatomy ---------- */
.rc__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px; align-items: start; }
.rc__dl { margin: 0; }
.rc__row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 18px 14px; margin: 0 -14px; border-bottom: 1px solid var(--o-line); border-radius: 10px; cursor: default; outline: none; transition: background .3s; }
.rc__row:first-child { border-top: 1px solid var(--o-line); }
.rc__row dt code { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border: 1px solid var(--o-line2); border-radius: 999px; font-family: var(--o-mono); font-size: 12px; color: var(--o-t); transition: border-color .3s; }
.rc__row dd { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.rc__row dd b { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.rc__row dd span { font-size: 14.5px; line-height: 1.55; color: var(--o-t3); transition: color .3s; }
.rc__row.is-hot { background: rgba(255, 255, 255, .045); }
.rc__row.is-hot dt code { border-color: transparent; background: var(--o-iri) border-box; background-size: 300% 100%; color: #0A0A0A; }
.rc__row.is-hot dd span { color: var(--o-t2); }
.rc__win { position: sticky; top: calc(var(--o-nav) + 20px); border: 1px solid var(--o-line2); border-radius: 18px; background: #0D0D0D; overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9); }
.rc__bar { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--o-line); }
.rc__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.rc__bar span { margin-left: 10px; font-family: var(--o-mono); font-size: 12px; color: var(--o-t3); }
.rc__pre { margin: 0; padding: 26px 26px 22px; overflow: hidden; font-family: var(--o-mono); font-size: 12.5px; line-height: 1.85; color: var(--o-t3); white-space: pre-wrap; word-break: break-all; }
.rc__ln { display: inline; padding: 2px 6px; margin: 0 -6px; border-radius: 6px; outline: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background .3s, color .3s; }
.rc__ln.is-hot { background: rgba(255, 255, 255, .08); color: var(--o-t); }
.rc__kk { font-weight: 500; color: var(--o-t); }
.rc__s { font-style: normal; color: rgba(255, 255, 255, .58); }
.rc__ln.is-hot .rc__s { color: #F5E27A; }
.rc__nm { font-style: normal; color: #A58BFF; }
.rc__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px 18px 26px; border-top: 1px solid var(--o-line); }
.rc__ok { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--o-t2); }
.rc__ok svg { width: 18px; height: 18px; color: var(--o-live); }

/* ---------- comparison ---------- */
.vs__t { border-top: 1px solid var(--o-line); }
.vs__r { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 1.2fr); border-bottom: 1px solid var(--o-line); }
.vs__r > span { padding: 22px 24px; font-size: 16px; line-height: 1.5; }
.vs__k { padding-left: 0 !important; color: var(--o-t3); font-size: 15px !important; }
.vs__a { position: relative; color: var(--o-t); background: rgba(255, 255, 255, .03); }
.vs__b { color: var(--o-t3); }
.vs__r--h > span { padding-top: 18px; padding-bottom: 18px; font-size: 14px !important; font-weight: 600; color: var(--o-t2); }
.vs__r--h .vs__a { color: var(--o-t); }
.vs__r--h .vs__a::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--o-iri); background-size: 300% 100%; }
.vs__r:not(.vs__r--h) .vs__a::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--o-line); }
.vs__r:not(.vs__r--h):hover .vs__a { background: rgba(255, 255, 255, .06); }

/* ---------- holder pass ---------- */
.tp__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tp__c { display: flex; flex-direction: column; padding: 30px 28px 30px; }
.tp__n { font-size: 15px; font-weight: 600; color: var(--o-t2); }
.tp__a { margin-top: 30px; font-size: clamp(34px, 3vw, 46px); line-height: 1; font-weight: 500; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.tp__u { margin-top: 10px; font-size: 13.5px; color: var(--o-t3); }
.tp__c ul { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--o-line); display: flex; flex-direction: column; gap: 12px; }
.tp__c li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--o-t2); }
.tp__c li svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--o-t); }
.tp__c--hi::after { opacity: .9; }
.tp__note { margin: 26px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--o-t3); }
.tp__note a { color: var(--o-t); text-underline-offset: 3px; }
.tp + .fq { padding-top: clamp(90px, 9vw, 150px); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hx__h { font-size: clamp(46px, calc((100vw - 400px) / 8.4), 96px); }
  .hw__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw__st { min-height: 290px; }
  .tl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st__c:nth-child(3) { border-left: 0; padding-left: 0; }
  .st__c:nth-child(n + 3) { border-top: 1px solid var(--o-line); }
}
@media (max-width: 991px) {
  .hx__h { font-size: clamp(40px, 8.6vw, 76px); }
  .hx__h::before { margin-bottom: 22px; }
  .hx__l2 { min-height: 2.1em; }
  .h-sec { grid-template-columns: 1fr; padding-bottom: 30px; margin-bottom: 32px; }
  .rc__in { grid-template-columns: 1fr; }
  .rc__win { position: relative; top: 0; }
  .tp__grid { grid-template-columns: 1fr; }
  .vs__r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs__k { grid-column: 1 / -1; padding: 18px 0 0 !important; }
  .vs__r--h .vs__k { display: none; }
  .vs__r > span.vs__a, .vs__r > span.vs__b { padding: 10px 16px 18px; font-size: 15px; }
  .vs__r--h > span.vs__a, .vs__r--h > span.vs__b { padding: 16px; }
}
@media (max-width: 600px) {
  .hx__h { font-size: clamp(38px, 10.6vw, 54px); letter-spacing: -.04em; }
  .hx__h::before { font-size: 12.5px; padding: 8px 13px 8px 27px; background: radial-gradient(circle at 14px 50%, var(--o-live) 0 3px, transparent 4px), rgba(255, 255, 255, .04); }
  .hx__lead { font-size: 17px; }
  .wd__p { font-size: 23px; }
  .cp__t { font-size: 27px; }
  .h-title { font-size: 31px; }
  .h-sub { font-size: 16px; }
  .hw__grid, .tl__grid { grid-template-columns: 1fr; }
  .tl__c--wide { grid-column: auto; }
  .tl__rd { grid-template-columns: 1fr; }
  .st__grid { grid-template-columns: 1fr; }
  .st__c, .st__c:nth-child(3) { border-left: 0; padding-left: 0; padding-right: 0; }
  .st__c + .st__c { border-top: 1px solid var(--o-line); }
  .rc__row { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
  .rc__pre { padding: 20px 18px; font-size: 11.5px; }
  .bo__row li { font-size: 18px; padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-js [data-rev] { opacity: 1; transform: none; transition: none; }
  .st__dot { animation: none; }
}
