/* v22 · review pointers: the way in, liquid glass, the card left with the field right, compact real pages,
   a lone ring segment, a scene that plays itself, the tool as a numbered list, 3D corner icons. Loaded last. */

/* ---------- the way in: the intro opens on any scroll; a cue says so ---------- */
.intro__scroll { position: absolute; z-index: 3; right: var(--edge); bottom: clamp(18px, 3.4vh, 34px); display: flex; align-items: center; gap: 12px; padding: 8px 4px; border: 0; background: none; cursor: pointer; font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--text); opacity: 0; transition: opacity 1s var(--ease) 1.4s; }
.intro.is-in .intro__scroll { opacity: 1; }
.intro__scroll i { position: relative; flex: none; width: 22px; height: 36px; border: 1.5px solid currentColor; border-radius: 13px; opacity: .9; }
.intro__scroll i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green); animation: introWheel 1.7s cubic-bezier(.6, 0, .3, 1) infinite; }
.intro__scroll:hover span { color: var(--green); }
@keyframes introWheel { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .intro__scroll i::after { animation: none; } }

/* ---------- hero: the rented-growth card is liquid glass ---------- */
:root[data-theme] .rent {
  border: 0; border-radius: 30px; isolation: isolate;
  background: linear-gradient(155deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .1) 48%, rgba(255, 255, 255, .2));
  -webkit-backdrop-filter: blur(9px) saturate(1.9) brightness(1.06); backdrop-filter: blur(9px) saturate(1.9) brightness(1.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), inset 0 1.5px 1px -.5px rgba(255, 255, 255, .95), inset 0 -1px 1px -.5px rgba(255, 255, 255, .45),
    inset 0 0 28px -6px rgba(255, 255, 255, .6), 0 34px 70px -30px rgba(10, 44, 28, .34), 0 6px 16px -8px rgba(0, 0, 0, .12);
}
:root[data-theme] .rent.lg-on { backdrop-filter: url(#lg-rent) blur(5px) saturate(1.9) brightness(1.06); }
:root[data-theme="night"] .rent {
  background: linear-gradient(155deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 48%, rgba(255, 255, 255, .08)), rgba(10, 12, 12, .24);
  -webkit-backdrop-filter: blur(9px) saturate(1.5) brightness(.92); backdrop-filter: blur(9px) saturate(1.5) brightness(.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1.5px 1px -.5px rgba(255, 255, 255, .5), inset 0 -1px 1px -.5px rgba(255, 255, 255, .14),
    inset 0 0 26px -8px rgba(255, 255, 255, .22), 0 34px 70px -30px rgba(0, 0, 0, .75);
}
:root[data-theme="night"] .rent.lg-on { backdrop-filter: url(#lg-rent) blur(5px) saturate(1.5) brightness(.92); }
/* the rim catches the light where the pointer is */
.rent::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: radial-gradient(75% 75% at var(--lx, 14%) var(--ly, 0%), #fff, rgba(255, 255, 255, .28) 45%, rgba(255, 255, 255, .1) 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.rent::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 55% at var(--lx, 14%) var(--ly, 0%), rgba(255, 255, 255, .4), transparent 70%); }
:root[data-theme="night"] .rent::before { opacity: .55; }
:root[data-theme="night"] .rent::after { opacity: .3; }
:root[data-theme] .rent__chips li { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
:root[data-theme="night"] .rent__chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }

/* ---------- the six chapters (desktop): the real pages sit compact and tidy inside the glass ---------- */
@media (min-width: 761px) {
  :root .ownx .sc .rw { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: .9em; padding: 1.2em; perspective: none; transform-style: flat; }
  :root .ownx .sc .rw:has(> .shot:nth-child(4)) { grid-template-columns: 1fr 1fr; }
  :root .ownx .sc .rw:not(:has(> .shot:nth-child(3))) { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  :root .ownx .sc .rw .shot:first-child:nth-last-child(3) { grid-row: span 2; }
  :root .ownx .sc .rw:has(> .shot:nth-child(5)) { grid-template-columns: 1.2fr 1fr 1fr; }
  :root .ownx .sc .rw:has(> .shot:nth-child(5)) .shot:first-child { grid-row: span 2; }
  :root .ownx .sc .rw .shot { position: relative; left: auto; top: auto; width: auto; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
  :root .ownx .sc .rw .shot img { flex: 1 1 0; min-height: 0; height: auto; aspect-ratio: auto; object-fit: cover; object-position: left top; }
  :root .ownx .sc .rw .shot.pop, :root .ownx.is-3d .sc .rw .shot.pop:nth-child(n) { opacity: 0; transform: translateY(16px) scale(.97) !important; transition: opacity .5s, transform .7s cubic-bezier(.2, .9, .25, 1) !important; }
  :root .ownx .sc .rw .shot.pop.on, :root .ownx.is-3d .sc .rw .shot.pop.on:nth-child(n) { opacity: 1; transform: none !important; }
  :root .ownx.is-3d .sc .rw:not(.on) .shot.pop.on:nth-child(n) { opacity: 0; transform: translateY(-10px) scale(.98) !important; }
}

/* ---------- a buyer asks: the scene plays itself, no long scroll needed ---------- */
.decide { height: auto !important; }
.decide__stage { position: relative !important; height: auto !important; min-height: 100vh; min-height: 100svh; padding: 12vh 0; }

/* ---------- inside the tool: the five views as a numbered list beside the screen ---------- */
.tool__h { max-width: 26ch; }
@media (min-width: 1081px) {
  .tool__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); align-items: start; }
  .tool__notes.is-steps { order: -1; position: sticky; top: 96px; }
}
.tool__notes.is-steps { display: block; counter-reset: step; }
.tool__notes.is-steps .tool__note { position: relative; padding: 18px 0; border-top: 1px solid var(--line); cursor: pointer; animation: none; counter-increment: step; outline: none; }
.tool__notes.is-steps .tool__note:last-child { border-bottom: 1px solid var(--line); }
.tool__notes.is-steps .tool__k { display: flex; align-items: baseline; gap: 16px; margin: 0; color: var(--mute); transition: color .3s; }
.tool__notes.is-steps .tool__k::before { content: counter(step, decimal-leading-zero); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.tool__notes.is-steps .tool__note:hover .tool__k, .tool__notes.is-steps .tool__note:focus-visible .tool__k { color: var(--text); }
.tool__notes.is-steps .tool__note.is-on .tool__k { color: var(--green); }
.tool__notes.is-steps .tool__note > :not(.tool__k) { display: none; }
.tool__notes.is-steps .tool__note.is-on > :not(.tool__k) { display: block; animation: rise .5s var(--ease) both; }
.tool__notes.is-steps .tool__note h3 { margin: 14px 0 10px; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.05; }
.tool__notes.is-steps .tool__note p { font-size: 15.5px; line-height: 1.55; }
.tool__notes.is-steps .tool__use { margin-top: 12px; padding-top: 12px; }
/* while the views play by themselves, a thin line runs along the open step */
.tool.is-auto.is-seen .tool__notes.is-steps .tool__note.is-on::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--green); transform-origin: left; animation: toolTimer 7s linear both; }
@keyframes toolTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- the two corner buttons, as 3D objects ---------- */
.has-ic3d .key__lock, .has-ic3d .key__3d, .progress.has-ic3d svg { display: none !important; }
.progress.has-ic3d { padding: 0; }
.ic3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; border-radius: 50%; }
:root .key.has-ic3d, :root .progress.has-ic3d {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 1.5px 1px -.5px rgba(255, 255, 255, .95), inset 0 -1px 1px -.5px rgba(255, 255, 255, .4), 0 14px 30px -16px rgba(0, 0, 0, calc(1.8 * var(--sk) + .12));
}
:root[data-theme="night"] .key.has-ic3d, :root[data-theme="night"] .progress.has-ic3d {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1.5px 1px -.5px rgba(255, 255, 255, .4), 0 14px 30px -16px rgba(0, 0, 0, .8);
}

/* phones: the cue takes the bottom line, centred (the facts line is said again on the page) */
@media (max-width: 760px) {
  .intro__foot { display: none !important; }
  .intro__scroll { right: 50%; transform: translateX(50%); bottom: calc(14px + env(safe-area-inset-bottom)); }
}
