/* komputah.com home, 31 Oct. Direction: "the sentence is the layout".
   The KOMPUTAH name carries Kursor in place of its O; each section after is a short statement with its proof.
   Kept from the brand: Bricolage Grotesque and Inter, KOMPUTAH green, the Kursor mascot, the wordmark. */

.hm-hero, .hm-try, .hm-features, .hm-office, .hm-team, .hm-proof, .hm-price, .hm-cta { position: relative; }
.hm-h2 { font-family: var(--f-display); font-size: clamp(40px, 5vw, 76px); font-weight: 700; letter-spacing: -0.042em; line-height: 0.98; color: var(--ink); max-width: 16ch; }
.hm-sub { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.hm-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 17px; color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: color 0.2s, text-underline-offset 0.25s var(--ease); }
.hm-link:hover { text-underline-offset: 8px; }
.hm-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-ink { --lip: #000; background: var(--ink); color: var(--bg); }
.btn-ink:hover { opacity: 0.86; }

/* Hero: the name, with Kursor standing in for the O. */
.hm-hero { display: flex; padding: 0; }
.hm-hero-in { display: flex; flex-direction: column; min-height: calc(100svh - 72px); padding: 24px 0 48px; }
.hm-name-line { display: flex; align-items: baseline; flex-wrap: wrap; margin: auto 0; font-family: var(--f-display); font-size: clamp(64px, 12.4vw, 192px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.92; color: var(--ink); }
.hm-word { display: inline-flex; align-items: baseline; white-space: nowrap; }
.hm-o { position: relative; display: inline-block; width: 0.84em; height: 0.74em; margin: 0 0.04em 0 0.02em; align-self: baseline; transform: translateY(0.02em); }
.hm-o .kursor { position: absolute; left: 0.04em; bottom: -0.04em; width: 0.86em; height: auto; }
.hm-ai { align-self: center; margin-left: 0.22em; padding: 0.1em 0.2em 0.12em; border-radius: 0.16em; background: var(--accent); color: var(--on-accent); font-family: var(--f-body); font-size: 0.34em; font-weight: 700; letter-spacing: 0; line-height: 1; transform: translateY(-0.08em); }
.hm-hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px; }
.hm-lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); max-width: 44ch; letter-spacing: -0.01em; }

/* The line you can type into: your business, and Kursor's morning for it. */
.hm-try { padding: 120px 0 140px; background: var(--bg-2); }
.hm-type { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 0.28em; margin: 0 0 44px; font-family: var(--f-display); font-size: clamp(44px, 6.6vw, 104px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; color: var(--ink); min-width: 0; }
.hm-type label { flex: none; color: var(--ink-3); }
.hm-type input { flex: 1; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: inherit; letter-spacing: inherit; caret-color: var(--accent); outline: none; text-overflow: ellipsis; }
.hm-type input:focus-visible { outline: none; box-shadow: inset 0 -0.06em 0 var(--accent); } /* focus ring, not a shadow. taste-skill-ignore */
.hm-try-note { grid-column: 1; margin-bottom: 16px; font-size: 17px; color: var(--ink-2); }
.hm-answer { grid-column: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 640px; }
.hm-answer li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'who tap' 'what tap'; align-items: center; gap: 4px 18px; padding: 18px 20px 18px 22px; border-radius: 22px; background: var(--surface); animation: hm-row 0.55s var(--ease) backwards; }
.hm-answer li:nth-child(2) { animation-delay: 70ms; } .hm-answer li:nth-child(3) { animation-delay: 140ms; }
@keyframes hm-row { from { opacity: 0; transform: translateY(14px); } }
.hm-who { grid-area: who; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hm-answer b { grid-area: what; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.hm-tap { grid-area: tap; display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.hm-examples { grid-column: 2; grid-row: 2 / span 2; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hm-examples::before { content: 'Or try'; font-size: 15px; color: var(--ink-3); margin-bottom: 4px; }
.hm-examples button { border: 0; background: none; padding: 6px 0; font: 600 19px/1.3 var(--f-body); color: var(--ink); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.hm-examples button:hover, .hm-examples button[aria-pressed="true"] { text-decoration-color: var(--accent); color: var(--accent-ink); }
.hm-examples button:active { transform: scale(0.97); }

/* Features: a statement, then rows with their screens at the right margin, each a different size. */
.hm-features { padding: 200px 0 120px; }
.hm-feat-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 64px; margin-bottom: 140px; }
.hm-feat-head .hm-h2 { grid-column: 1 / -1; max-width: none; }
.hm-feat-head .hm-sub { grid-column: 2; }
.hm-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px 64px; align-items: start; margin-bottom: 120px; }
.hm-row:last-child { margin-bottom: 0; }
.hm-row-text { padding-top: 12px; position: sticky; top: 120px; }
.hm-row-text h3 { font-family: var(--f-display); font-size: clamp(28px, 2.9vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 16px; }
.hm-row-text p { font-size: 18px; line-height: 1.55; color: var(--ink); max-width: 34ch; }
.hm-shot { margin: 0; justify-self: end; border-radius: 26px; overflow: hidden; background: var(--surface-2); }
.hm-shot img { width: 100%; height: auto; }
.r-a .hm-shot { width: 78%; } .r-b .hm-shot { width: 100%; } .r-c .hm-shot { width: 86%; } .r-d .hm-shot { width: 94%; }

/* Kursor Desk */
.hm-office { padding: 120px 0 160px; }
.hm-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.hm-split .hm-h2 { max-width: none; }
.hm-office .ko { box-shadow: none; border: 0; } /* selected ring. taste-skill-ignore */
.hm-office .ko-card small { color: var(--ink-2); }

/* Your page: a green field, the line at the left, the phones at the right. */
.hm-pages { position: relative; overflow: hidden; padding: 160px 0; background: #EBC796; color: #16120C; }
.hm-pages-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; min-height: 72svh; }
.hm-pages-text { display: flex; flex-direction: column; gap: 32px; }
.hm-poster { margin: 0; font-family: var(--f-display); font-size: clamp(56px, 6vw, 96px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.9; color: #ffffff; }
.hm-pages-note { max-width: 34ch; font-size: 19px; line-height: 1.5; color: #16120C; }
.hm-prints { position: relative; height: clamp(520px, 52vw, 720px); }
.hm-print { position: absolute; margin: 0; width: 44%; padding: 8px; border-radius: 30px; background: #ffffff; transition: transform 0.45s var(--ease); }
.hm-print img { width: 100%; height: auto; border-radius: 22px; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; }
.hm-print.p1 { left: 4%; top: 6%; transform: rotate(-8deg); z-index: 2; }
.hm-print.p2 { left: 40%; top: 0; transform: rotate(6deg); z-index: 1; }
.hm-print.p3 { right: -4%; bottom: -10%; width: 30%; transform: rotate(-3deg); z-index: 3; }
.hm-print:hover { transform: rotate(0deg) scale(1.02); z-index: 4; }
/* Team: the statement, a phone at the left, the list pushed right. */
.hm-team { padding: 200px 0 160px; }
.hm-indent { padding-left: 3vw; max-width: 20ch; }
.hm-team-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 6fr); align-items: end; margin-top: 96px; }
.hm-team-pic { grid-column: 1; margin: 0; border-radius: 26px; overflow: hidden; background: var(--surface-2); }
.hm-team-pic img { width: 100%; height: auto; }
.hm-table { grid-column: 3; display: flex; flex-direction: column; gap: 22px; }
.hm-table-word { font-size: 15px; color: var(--ink-3); }
.hm-table dl { margin: 0; display: grid; gap: 22px; }
.hm-table dl > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; align-items: baseline; }
.hm-table dt { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.hm-table dd { margin: 0; font-size: 17px; color: var(--ink-2); line-height: 1.45; }
.hm-table dl > div:nth-child(4) { margin-top: 22px; }

/* Proof: the names, one lit at a time, and the people beside them. */
.hm-proof { padding: 140px 0 160px; background: var(--bg-2); }
.hm-proof-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px 80px; align-items: start; }
.hm-names { margin-top: 40px; font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 650; letter-spacing: -0.025em; line-height: 1.3; color: var(--ink-3); max-width: 26ch; }
.hm-name { color: var(--ink-3); transition: color 0.4s var(--ease); }
.hm-name.lit, .no-js .hm-name { color: var(--ink); }
.hm-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.hm-people li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: start; }
.hm-people img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.hm-people li > span { display: flex; flex-direction: column; gap: 2px; font-size: 17px; line-height: 1.45; }
.hm-people b { font-size: 19px; }
.hm-people small { font-size: 15px; color: var(--ink-2); }
.hm-people .hm-link { min-height: 36px; font-size: 15px; }

/* Price as a sentence. */
.hm-price { min-height: 80svh; display: flex; align-items: center; padding: 140px 0; }
.hm-price .wrap { display: flex; flex-direction: column; gap: 64px; }
.hm-price-line { font-family: var(--f-display); font-size: clamp(52px, 8.2vw, 128px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.98; max-width: 11em; }
.hm-tag { display: inline-block; padding: 0 0.15em; border-radius: 0.14em; background: var(--accent); color: var(--on-accent); line-height: 1.04; }
.hm-price-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px; }
.hm-price-foot p { font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 42ch; }

/* The last sentence has a blank for your email. */
.hm-cta { padding: 160px 0 180px; background: var(--bg-2); }
.hm-cta-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.2em 0.3em; font-family: var(--f-display); font-size: clamp(40px, 6vw, 92px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.hm-cta-fields { display: inline-flex; align-items: center; gap: 0.24em; }
.hm-cta-h { margin: 0; font: inherit; letter-spacing: inherit; }
.hm-cta-fields input { width: 8.4em; max-width: 100%; height: 1.12em; padding: 0 0.32em; border: 0; border-radius: 0.24em; background: var(--surface); color: var(--ink); font: inherit; font-size: 0.62em; letter-spacing: -0.03em; outline: none; transition: box-shadow 0.2s; }
.hm-cta-fields input::placeholder { color: var(--ink-3); }
.hm-cta-fields input:focus { box-shadow: inset 0 0 0 3px var(--accent); } /* focus ring. taste-skill-ignore */
.hm-cta-fields button { height: 1.12em; padding: 0 0.4em; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: inherit; font-size: 0.62em; letter-spacing: -0.03em; cursor: pointer; transition: transform 0.2s var(--ease), opacity 0.2s; }
.hm-cta-fields button:hover { opacity: 0.9; }
.hm-cta-fields button:active { transform: scale(0.96); }
.hm-cta-note { margin-top: 28px; font-size: 17px; color: var(--ink-2); }

/* Entrances: hidden only when motion is welcome and the script is running. */
@media (prefers-reduced-motion: no-preference) {
  .js .hm-word > *, .js .hm-ai { animation: hm-up 0.9s var(--ease) backwards; }
  .js .hm-word > :nth-child(2) { animation-delay: 60ms; } .js .hm-word > :nth-child(3) { animation-delay: 120ms; } .js .hm-ai { animation-delay: 220ms; }
  .js .hm-hero-foot > * { animation: hm-up 0.9s var(--ease) 320ms backwards; }
  .js .hm-hero-foot > :nth-child(2) { animation-delay: 400ms; }
  @keyframes hm-up { from { opacity: 0; transform: translateY(28px); } }
  .js .hm-shot { clip-path: inset(100% 0 0 0 round 26px); transition: clip-path 1.1s var(--ease); }
  .js .hm-shot img { transform: scale(1.12); transition: transform 1.3s var(--ease); }
  .js .hm-row.in .hm-shot { clip-path: inset(0 0 0 0 round 26px); }
  .js .hm-row.in .hm-shot img { transform: none; }
  .js .hm-pages .hm-print { opacity: 0; translate: 0 60px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease), transform 0.45s var(--ease); }
  .js .hm-pages.in .hm-print { opacity: 1; translate: 0 0; }
  .js .hm-pages.in .p2 { transition-delay: 0.12s, 0.12s, 0s; } .js .hm-pages.in .p3 { transition-delay: 0.24s, 0.24s, 0s; }
  .hm-o .kursor { animation: hm-float 4.6s ease-in-out infinite; }
  @keyframes hm-float { 50% { translate: 0 -0.03em; } }
}
@media (prefers-reduced-motion: reduce) { .hm-answer li { animation: none; } }

@media (max-width: 960px) {
  .hm-feat-head, .hm-split, .hm-row { grid-template-columns: 1fr; }
  .hm-row-text { position: static; }
  .hm-feat-head .hm-sub { grid-column: 1; }
  .hm-proof-in { grid-template-columns: 1fr; }
  .hm-shot, .r-a .hm-shot, .r-b .hm-shot, .r-c .hm-shot, .r-d .hm-shot { width: 100%; justify-self: stretch; }
  .hm-team-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
  .hm-table { grid-column: 2; }
}
@media (max-width: 720px) {
  .hm-hero { min-height: calc(100svh - 64px); padding: 24px 0 40px; }
  .hm-sub, .hm-row-text p, .hm-names, .hm-pages-note, .hm-price-foot p, .hm-h2, .hm-indent { max-width: none; }
  .hm-name-line { font-size: 16.2vw; line-height: 0.95; row-gap: 0.14em; justify-content: center; }
  .hm-ai { margin-left: 0; font-size: 0.4em; }
  .hm-hero-foot { grid-template-columns: 1fr; margin-top: 36px; gap: 24px; }
  .hm-lead { font-size: 19px; max-width: none; }
  .hm-try { padding: 88px 0 96px; }
  .hm-type { font-size: 9.4vw; gap: 0.24em; margin-bottom: 28px; }
  .hm-type input { width: auto !important; flex: 1; }
  .hm-answer li { grid-template-columns: 1fr; grid-template-areas: 'who' 'what' 'tap'; padding: 16px 18px; gap: 6px; }
  .hm-tap { justify-self: start; margin-top: 6px; }
  .hm-examples { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .hm-examples::before { flex-basis: 100%; }
  .hm-examples button { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); font-size: 16px; text-decoration: none; }
  .hm-features { padding: 120px 0 80px; }
  .hm-feat-head { margin-bottom: 72px; }
  .hm-row { gap: 22px; margin-bottom: 72px; }
  .hm-shot { border-radius: 18px; }
  .hm-office { padding: 72px 0 96px; }
  .hm-pages { padding: 96px 0 72px; }
  .hm-pages-in { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hm-poster { font-size: 16vw; }
  .hm-pages-note { font-size: 17px; }
  .hm-prints { height: 112vw; }
  .hm-print { width: 52%; border-radius: 22px; padding: 6px; }
  .hm-print img { border-radius: 17px; }
  .hm-print.p1 { left: 0; } .hm-print.p2 { left: auto; right: 0; }
  .hm-print.p3 { display: none; }
  .hm-team { padding: 120px 0 96px; }
  .hm-indent { padding-left: 0; }
  .hm-team-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .hm-table { grid-column: 1; }
  .hm-team-pic { width: 70%; justify-self: end; order: 2; }
  .hm-table dl > div { grid-template-columns: 1fr; gap: 2px; }
  .hm-table dl > div:nth-child(4) { margin-top: 0; }
  .hm-proof { padding: 96px 0 112px; }
  .hm-names { font-size: 24px; }
  .hm-price { min-height: 0; padding: 112px 0; }
  .hm-price .wrap { gap: 40px; }
  .hm-price-line { font-size: 10.6vw; }
  .hm-price-foot { grid-template-columns: 1fr; }
  .hm-price-foot p { font-size: 17px; }
  .hm-price-foot .btn { width: 100%; }
  .hm-cta { padding: 112px 0 120px; }
  .hm-cta-line { font-size: 12vw; }
  .hm-cta-fields { display: flex; width: 100%; flex-basis: 100%; font-size: 16px; gap: 8px; margin-top: 12px; }
  .hm-cta-fields input { flex: 1 1 0; min-width: 0; width: 0; height: 52px; font-size: 18px; border-radius: 999px; padding: 0 18px; letter-spacing: 0; }
  .hm-cta-fields button { flex: none; height: 52px; font-size: 17px; padding: 0 24px; letter-spacing: 0; }
  .hm-cta-note { font-size: 15px; }
}

/* 31 Oct, round 2: money in the hero, Malaysia's businesses, then the solution. */
.hm-hero-in { min-height: calc(100svh - 72px); padding: 32px 0 48px; justify-content: center; gap: 48px; }
.hm-hero .hm-name-line { margin: 0; font-size: clamp(64px, 10.6vw, 170px); }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 64px; align-items: center; }
.hm-hero-text { display: flex; flex-direction: column; gap: 32px; padding-bottom: 8px; }

.hm-money { display: flex; flex-direction: column; gap: 16px; padding: 26px 28px 22px; border-radius: 30px; background: #0B0C0E; color: #F2EFE9; }
.hm-m-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; color: rgba(238, 246, 241, 0.78); }
.hm-m-live { display: inline-flex; align-items: center; gap: 8px; color: #EBC796; }
.hm-m-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #EBC796; animation: hm-live 1.6s ease-in-out infinite; }
@keyframes hm-live { 50% { opacity: 0.35; } }
.hm-m-total { margin: 0; font-family: var(--f-display); font-size: clamp(44px, 4.6vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-m-total b { font-weight: inherit; }
.hm-m-sub { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 15px; color: rgba(238, 246, 241, 0.78); }
.hm-m-sub b { color: #EBC796; }
.hm-m-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.hm-m-bars i { position: relative; width: 14px; height: var(--h); border-radius: 4px; background: rgba(126, 226, 168, 0.32); transform-origin: bottom; }
.hm-m-bars i:last-child { background: #EBC796; }
.hm-m-bars em { position: absolute; bottom: -18px; left: 50%; translate: -50% 0; font-style: normal; font-size: 13px; color: rgba(238, 246, 241, 0.6); }
.hm-m-feed { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.hm-m-feed li { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: rgba(238, 246, 241, 0.06); }
.hm-m-feed li.new { animation: hm-in-row 0.6s var(--ease); background: rgba(126, 226, 168, 0.14); transition: background 1.6s ease 0.8s; }
.hm-m-feed li.settle { background: rgba(238, 246, 241, 0.06); }
@keyframes hm-in-row { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }
.hm-m-kind { font-size: 13.5px; font-weight: 600; color: #EBC796; }
.hm-m-what { display: flex; flex-direction: column; min-width: 0; }
.hm-m-what b { font-size: 15.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-m-what small { font-size: 13.5px; color: rgba(238, 246, 241, 0.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-m-amt { font-size: 16px; font-variant-numeric: tabular-nums; color: #ffffff; }
.hm-m-total.bump b { display: inline-block; animation: hm-bump 0.5s var(--ease); }
@keyframes hm-bump { 40% { transform: translateY(-3px); color: #EBC796; } }

.hm-stats { padding: 140px 0; background: #FF7A2E; color: #16120C; }
.hm-stats .hm-h2 { color: #16120C; max-width: none; }
.hm-stat-list { margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.hm-stat-list dt { font-family: var(--f-display); font-size: clamp(44px, 4.8vw, 76px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-stat-list dd { margin: 14px 0 0; font-size: 17px; line-height: 1.45; color: #16120C; max-width: 24ch; }
.hm-source { margin-top: 56px; font-size: 14px; color: rgba(22, 18, 12, 0.86); }
.hm-source a { text-decoration: underline; text-underline-offset: 3px; }

.hm-biz { padding: 160px 0 120px; }
.hm-biz .hm-split { margin-bottom: 48px; }
.hm-biz .stage, .hm-biz .pov-stage { box-shadow: none; } /* taste-skill-ignore */
.hm-drow { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.hm-demo .ui { box-shadow: none; } /* taste-skill-ignore */
.hm-team .hm-split { margin-bottom: 48px; }
.hm-team .ui { box-shadow: none; } /* taste-skill-ignore */

@media (max-width: 960px) {
  .hm-hero-grid { grid-template-columns: 1fr; }
  .hm-stat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hm-hero-in { gap: 32px; min-height: 0; padding: 32px 0 64px; }
  .hm-hero .hm-name-line { font-size: 16.2vw; }
  .hm-money { padding: 20px 18px 18px; border-radius: 24px; }
  .hm-m-feed li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .hm-m-kind { grid-column: 1 / -1; }
  .hm-m-bars { display: none; }
  .hm-stats { padding: 96px 0; }
  .hm-stat-list { margin-top: 48px; gap: 32px 20px; }
  .hm-stat-list dd { font-size: 15px; }
  .hm-biz { padding: 112px 0 80px; }
}
@media (prefers-reduced-motion: reduce) { .hm-m-live::before, .hm-m-feed li.new { animation: none; } }
.hm-biz .pov-text .h3 { font-size: clamp(26px, 2.4vw, 34px); }
.hm-team .hm-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 960px) { .hm-drow, .hm-team .hm-split { grid-template-columns: 1fr; } }

/* 31 Oct, round 3: one app. The hero is a dark field; eight tools fly into one phone. */
.hm-hero { background: #111214; color: #F2EFE9; overflow: hidden; }
.hm-hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 48px; align-items: center; min-height: calc(100svh - 72px); padding: 48px 0 64px; }
.hm-hero-text { gap: 28px; padding: 0; }
.hm-title { font-family: var(--f-display); font-size: clamp(44px, 4.5vw, 66px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.96; color: #ffffff; max-width: 8em; }
.hm-hero .hm-lead { color: rgba(242, 247, 244, 0.86); font-size: clamp(18px, 1.4vw, 21px); max-width: 44ch; }
.hm-hero .hm-link { color: #EBC796; }
.btn-mint { --lip: #c2561a; background: #FF7A2E; color: #140904; }
.btn-mint:hover { background: #FF8C47; }
.hm-tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: rgba(242, 247, 244, 0.38); }
.hm-tools li { transition: color 0.5s var(--ease); }
.hm-tools li::after { content: '·'; margin: 0 0.5em; color: rgba(242, 247, 244, 0.3); }
.hm-tools li:last-child::after { content: none; }
.hm-tools li.lit, .no-js .hm-tools li { color: #ffffff; }

/* The office footage, in the Kursor section. */
.hm-office-vid { margin: 0; }
.hm-vid { display: block; width: 100%; height: auto; border-radius: 28px; background: #f3f1ee; }
.hm-vid-cap { margin-top: 16px; max-width: 56ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.hm-ph { position: relative; z-index: 1; width: min(380px, 100%); padding: 22px 20px 20px; border-radius: 40px; background: #17181B; color: #F2EFE9; border: 8px solid #2A2C30; font-size: 15px; line-height: 1.35; }
.hm-ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: rgba(242, 247, 244, 0.6); }
@keyframes hm-bump-dark { 40% { transform: translateY(-3px); } }

/* The flight: tiles land in the phone, each lighting its row and its word. */
@media (prefers-reduced-motion: no-preference) {
  .js .hm-hero-text > * { animation: hm-up 0.9s var(--ease) backwards; }
  .js .hm-hero-text > :nth-child(2) { animation-delay: 90ms; } .js .hm-hero-text > :nth-child(3) { animation-delay: 180ms; } .js .hm-hero-text > :nth-child(4) { animation-delay: 270ms; }
  .js .hm-ph { animation: hm-up 1s var(--ease) 0.2s backwards; }
}

/* I run: the typed line at the left, the morning on a dark phone at the right. */
.hm-try { background: #0B0C0E; color: #F2EFE9; padding: 140px 0; }
.hm-try-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 64px; align-items: center; }
.hm-try-text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hm-try .hm-type { margin: 0; color: #ffffff; font-size: clamp(36px, 4.6vw, 70px); flex-wrap: wrap; }
.hm-try .hm-type input { flex: 1 1 100%; width: 100% !important; }
.hm-try .hm-type label { color: rgba(242, 247, 244, 0.42); }
.hm-try .hm-type input { color: #ffffff; caret-color: #EBC796; }
.hm-try .hm-type input:focus-visible { box-shadow: inset 0 -0.06em 0 #EBC796; } /* focus ring. taste-skill-ignore */
.hm-try .hm-try-note { margin: 0; font-size: 18px; color: rgba(242, 247, 244, 0.78); max-width: 40ch; }
.hm-try .hm-examples { grid-column: auto; grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 8px; align-self: start; }
.hm-try .hm-examples::before { content: none; }
.hm-try .hm-examples button { min-height: 42px; padding: 0 16px; border-radius: 999px; background: #1E2023; color: #F2EFE9; font-size: 15.5px; text-decoration: none; }
.hm-try .hm-examples button:hover, .hm-try .hm-examples button[aria-pressed="true"] { background: #EBC796; color: #0B0C0E; }
.hm-try-phone { display: grid; justify-items: center; }
.hm-ph-dark { width: min(380px, 100%); padding: 22px 16px 18px; }
.hm-try .hm-answer, .dm-morning .hm-answer { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; max-width: none; }
.hm-try .hm-answer li, .dm-morning .hm-answer li { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'who' 'what' 'tap'; gap: 4px; padding: 14px 16px; border-radius: 18px; background: rgba(242, 247, 244, 0.07); color: #ffffff; }
.hm-try .hm-who, .dm-morning .hm-who { display: flex; align-items: center; gap: 8px; color: rgba(242, 247, 244, 0.7); font-size: 13px; }
.hm-try .hm-who::before, .dm-morning .hm-who::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.hm-try .hm-answer b, .dm-morning .hm-answer b { font-size: 16.5px; line-height: 1.3; }
.hm-try .hm-tap, .dm-morning .hm-tap { justify-self: start; margin-top: 8px; min-height: 36px; background: #FF7A2E; color: #140904; font-size: 14px; }

@media (max-width: 960px) {
  .hm-hero-in { grid-template-columns: 1fr; }
  .hm-stage { min-height: clamp(560px, 100vw, 720px); }
  .hm-try-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hm-hero-in { padding: 40px 0 56px; gap: 36px; min-height: 0; }
  .hm-title { font-size: 12.5vw; max-width: none; }
  .hm-vid { aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 50%; border-radius: 22px; }
  .hm-stage { min-height: 150vw; }
  .hm-app { width: 196px; font-size: 12px; transform: translate(calc(-50% + var(--x) * 1.3vw), calc(-50% + var(--y) * 2.1vw)) rotate(var(--r)); }
  .hm-ph { width: min(300px, 86%); padding: 16px 14px 14px; border-width: 6px; border-radius: 32px; }
  .hm-ph-hi { font-size: 20px; margin: 14px 0 10px; }
  .hm-ph-list { gap: 4px; grid-template-columns: 1fr; } .hm-ph-list li { padding: 7px 10px; }
  .hm-ph-list small { font-size: 12px; }
  .hm-ph { width: min(300px, 86%); padding: 16px 14px 14px; border-width: 6px; border-radius: 32px; }
  .hm-try { padding: 96px 0; }
  .hm-try .hm-type { font-size: 10vw; }
  .hm-try .hm-examples button { background: #1E2023; }
  .hm-ph-dark { width: 100%; }
}
/* On a phone the ten chips run in two rows that scroll sideways, so the picker stays one glance tall. */
@media (max-width: 640px) {
  .hm-biz .pov-tabs { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: max-content; gap: 8px 8px; justify-content: start; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; margin: 0 -20px 26px; padding: 0 20px 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent); }
  .hm-biz .pov-tabs button { scroll-snap-align: start; white-space: nowrap; }
}

.hm-more { margin-top: 36px; max-width: 60ch; font-size: 18px; line-height: 1.5; color: var(--ink); }

/* 31 Oct, round 4: eight apps on a desk, then one. The windows are real fragments; they fly into the phone. */
.hm-stage { position: relative; display: grid; place-items: center; min-height: clamp(600px, 80svh, 780px); }
.hm-apps { position: absolute; inset: 0; }
.hm-app { position: absolute; left: 50%; top: 50%; z-index: calc(2 + var(--i)); width: 250px; padding: 12px 14px 14px; border-radius: 16px; background: #F6F4F0; color: #0B0C0E; font-size: 13px; line-height: 1.35; transform: translate(calc(-50% + var(--x) * 0.42vw), calc(-50% + var(--y) * 0.62svh)) rotate(var(--r)); will-change: transform, opacity; }
.ap-name { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; color: #0B0C0E; }
.ap-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ap-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name tag' 'sub tag'; column-gap: 8px; padding: 7px 9px; border-radius: 10px; background: #ffffff; }
.ap-rows b { grid-area: name; font-weight: 600; } .ap-rows span { grid-area: sub; font-size: 12px; color: #5A5B60; }
.ap-tag, .ap-amt { grid-area: tag; align-self: center; font-style: normal; font-weight: 600; font-size: 12px; }
.ap-tag { padding: 3px 8px; border-radius: 999px; background: #F3E6D2; color: #7A5A2E; } .ap-tag.warn { background: #fde7c9; color: #8a4b00; }
.ap-amt { font-variant-numeric: tabular-nums; }
.ap-total { margin: 10px 0 0; display: flex; justify-content: space-between; font-weight: 700; }
.ap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ap-cols small { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; color: #5A5B60; }
.ap-cols p { margin: 0 0 4px; padding: 6px 7px; border-radius: 8px; background: #ffffff; font-size: 11.5px; line-height: 1.25; }
.ap-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ap-slots li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 8px; align-items: center; padding: 6px 8px; border-radius: 9px; background: #dfe9ff; }
.ap-slots li.free { background: #ffffff; color: #5A5B60; } .ap-slots li.free b { font-weight: 500; }
.ap-slots span { font-size: 12px; color: #5A5B60; font-variant-numeric: tabular-nums; }
.ap-site { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: #ffffff; }
.ap-site-h { margin: 0; font-family: var(--f-display); font-size: 17px; font-weight: 700; letter-spacing: -0.03em; }
.ap-site p { margin: 0; font-size: 12px; color: #5A5B60; }
.ap-btn { justify-self: start; padding: 6px 12px; border-radius: 999px; background: #FF7A2E; color: #140904; font-size: 12px; font-weight: 600; }
.ap-site-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; } .ap-site-tiles i { display: block; height: 30px; border-radius: 6px; background: #ece8e3; }
.ap-chat { display: grid; gap: 6px; }
.ap-chat p { margin: 0; padding: 8px 10px; border-radius: 12px 12px 12px 4px; background: #ffffff; font-size: 12.5px; max-width: 92%; }
.ap-chat p.me { justify-self: end; border-radius: 12px 12px 4px 12px; background: #FF7A2E; color: #140904; }
.ap-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ap-ledger div { padding: 7px 9px; border-radius: 10px; background: #ffffff; } .ap-ledger small { display: block; font-size: 11.5px; color: #5A5B60; } .ap-ledger b { font-size: 14px; font-variant-numeric: tabular-nums; }
.ap-profit { grid-column: 1 / -1; background: #F3E6D2; } .ap-profit b { color: #7A5A2E; }
.ap-bars { margin-top: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; height: 34px; align-items: end; }
.ap-bars i { display: block; height: var(--h); border-radius: 3px; background: #FF7A2E; }
.hm-ph { position: relative; z-index: 20; width: min(380px, 100%); padding: 22px 20px 20px; border-radius: 40px; background: #17181B; color: #F2EFE9; border: 8px solid #2A2C30; font-size: 15px; line-height: 1.35; }
.hm-ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: rgba(242, 247, 244, 0.6); }
.hm-ph-hi { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: #ffffff; }
.hm-ph-hi .kface { width: 30px; height: 30px; flex: none; }
.hm-ph-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hm-ph-list li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 14px; background: rgba(242, 247, 244, 0.06); min-width: 0; }
.hm-ph-list li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.hm-ph-list b { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.hm-ph-list small { font-size: 12px; color: rgba(242, 247, 244, 0.64); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-ph-i { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 9px; background: #EBC796; color: #0B0C0E; }
.hm-ph-money { margin-top: 12px; padding: 16px 16px 14px; border-radius: 22px; gap: 8px; background: #EBC796; color: #0B0C0E; }
.hm-ph-money .hm-m-head { color: rgba(11, 21, 16, 0.7); }
.hm-ph-money .hm-m-total { font-size: 34px; }
.hm-ph-money .hm-m-feed { margin-top: 4px; gap: 6px; }
.hm-ph-money .hm-m-feed li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px 10px; border-radius: 12px; background: rgba(11, 21, 16, 0.08); }
.hm-ph-money .hm-m-feed li.new { background: rgba(11, 21, 16, 0.2); }
.hm-ph-money .hm-m-feed li.settle { background: rgba(11, 21, 16, 0.08); }
.hm-ph-money .hm-m-kind { display: none; }
.hm-ph-money .hm-m-what b { font-size: 14px; } .hm-ph-money .hm-m-what small { color: rgba(11, 21, 16, 0.68); font-size: 12.5px; }
.hm-ph-money .hm-m-amt { font-size: 14.5px; color: #0B0C0E; }
.hm-ph .hm-m-live { color: #EBC796; }
.hm-ph-money .hm-m-total.bump b { animation-name: hm-bump-dark; }

/* Entrance: the eight windows pile up one by one; on .go they fly to the centre and the phone takes over. */
.js .hm-app { opacity: 0; }
.js .hm-hero .hm-ph { opacity: 0; }
.no-js .hm-apps { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .hm-hero.play .hm-app { animation: hm-app-in 0.7s var(--ease) calc(0.2s + var(--i) * 0.22s) forwards; }
  @keyframes hm-app-in { from { opacity: 0; transform: translate(calc(-50% + var(--x) * 0.42vw), calc(-50% + var(--y) * 0.62svh + 40px)) rotate(var(--r)) scale(0.96); } to { opacity: 1; transform: translate(calc(-50% + var(--x) * 0.42vw), calc(-50% + var(--y) * 0.62svh)) rotate(var(--r)) scale(1); } }
  .js .hm-hero.go .hm-app { animation: hm-app-go 0.9s cubic-bezier(0.7, 0, 0.2, 1) calc(var(--i) * 0.08s) forwards; }
  @keyframes hm-app-go { from { opacity: 1; transform: translate(calc(-50% + var(--x) * 0.42vw), calc(-50% + var(--y) * 0.62svh)) rotate(var(--r)) scale(1); } to { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.18); } }
  .js .hm-hero.go .hm-ph { animation: hm-ph-in 0.9s var(--ease) 1s forwards; }
  @keyframes hm-ph-in { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: scale(1); } }
  .js .hm-ph-list li { opacity: 0; translate: 0 10px; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); transition-delay: calc(1.5s + var(--i) * 0.12s); }
  .js .hm-hero.go .hm-ph-list li { opacity: 1; translate: 0 0; }
  .js .hm-ph-money { opacity: 0; translate: 0 12px; transition: opacity 0.7s var(--ease) 2.7s, translate 0.7s var(--ease) 2.7s; }
  .js .hm-hero.go .hm-ph-money { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hm-apps { display: none; }
  .js .hm-ph, .js .hm-hero.go .hm-ph { opacity: 1; }
}
.js .hm-hero.still .hm-ph, .js .hm-hero.still .hm-ph-list li, .js .hm-hero.still .hm-ph-money { opacity: 1; translate: 0 0; transition: none; animation: none; }
.js .hm-hero.still .hm-apps { display: none; }
@media (max-width: 960px) { .hm-app { transform: translate(calc(-50% + var(--x) * 0.55vw), calc(-50% + var(--y) * 0.5svh)) rotate(var(--r)); } }

/* ---------- The board: one board per trade, on a titanium stage. One card moves each turn, then the trade changes. */
.hm-cur { display: inline-block; width: 0.09em; height: 0.78em; margin-left: 0.08em; vertical-align: -0.04em; background: var(--accent); border-radius: 1px; }
.hb-stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: #0b0c0e; color: #f2efe9; overflow: hidden; }
.hb-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 460px at 85% 0%, #1e2023, transparent 70%); }
.hb-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.08; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hb-stage .hm-h2 { color: #f2efe9; }
.hb-stage .hm-sub { color: #a19d95; margin-top: 18px; font-size: 18px; }
.hb-list { list-style: none; margin: 28px 0 0; padding: 0; }
.hb-list li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.hb-list button { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; width: 100%; padding: 12px 0; border: 0; background: none; color: #a19d95; font: inherit; font-size: 14.5px; line-height: 1.45; text-align: left; cursor: pointer; transition: color 0.25s; }
.hb-list button b { color: #f2efe9; font-weight: 600; transition: color 0.25s; }
.hb-list button:hover b { color: #fff; }
.hb-list button[aria-pressed="true"] b { color: #ff9a62; }
.hb-list button[aria-pressed="true"] { color: #d9d4cb; }
.hb-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.hb-board { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; align-items: start; transition: opacity 0.35s var(--ease); }
.hb-board.swap { opacity: 0; }
.hb-col { min-width: 0; background: #17181b; border-radius: 16px; padding: 8px; min-height: 340px; transition: background 0.25s, box-shadow 0.25s; }
.hb-col.over { background: color-mix(in srgb, #ff7a2e 10%, #17181b); box-shadow: inset 0 0 0 2px rgba(255, 122, 46, 0.6); }
.hb-col h4 { display: flex; justify-content: space-between; margin: 6px 6px 10px; font: 700 13.5px var(--f-body); letter-spacing: 0; color: #f2efe9; }
.hb-col h4 span { font-weight: 500; color: #8f8b84; }
.hb-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hb-card { min-width: 0; overflow: hidden; position: relative; background: #1f2124; border-radius: 12px; padding: 10px 11px; font-size: 12.5px; color: #a19d95; line-height: 1.35; }
.hb-card b { display: block; font-size: 14px; color: #f2efe9; font-weight: 650; }
.hb-card span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-card p { display: flex; justify-content: space-between; gap: 6px; margin: 7px 0 0; }
.hb-card strong { color: #f2efe9; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb-card em { font-style: normal; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-card em.late { color: #ff9a62; font-weight: 600; }
.hb-card.lift { z-index: 3; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55); }
.hb-card.ghost { opacity: 0.25; }
@media (max-width: 960px) {
  .hb-stage { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
  .hb-fig { margin: 0 calc(-1 * clamp(32px, 5vw, 64px)); overflow-x: auto; scrollbar-width: none; padding: 0 clamp(32px, 5vw, 64px) 6px; }
  .hb-fig::-webkit-scrollbar { display: none; }
  .hb-board { grid-template-columns: repeat(var(--n, 4), 62vw); width: max-content; }
  .hb-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 24px calc(-1 * clamp(32px, 5vw, 64px)) 0; padding: 0 clamp(32px, 5vw, 64px); }
  .hb-list::-webkit-scrollbar { display: none; }
  .hb-list li + li { border: 0; }
  .hb-list button { display: block; padding: 8px 14px; border-radius: 999px; background: #1f2124; white-space: nowrap; }
  .hb-list button span { display: none; }
  .hb-list button[aria-pressed="true"] { background: #f2efe9; }
  .hb-list button[aria-pressed="true"] b { color: #140904; }
  .hb-col { min-height: 260px; }
}

/* ---------- Money: three panels. The deck turns, the bills count down, the bars grow once. */
.hmo .hm-sub { margin-top: 18px; }
.hmo-three { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.hmo-p { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 360px; padding: 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.hmo-p h3 { font: 700 16px var(--f-body); letter-spacing: -0.01em; }
.hmo-lab { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-3); }
.hmo-p.dark { background: #0b0c0e; border-color: #0b0c0e; color: #f2efe9; }
.hmo-p.dark h3 { color: #f2efe9; }
.hmo-p.dark .hmo-lab { color: #a19d95; }
.hmo-p.dark::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.08; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hmo-deck { position: relative; flex: 1; min-height: 200px; margin-top: 18px; perspective: 1000px; }
.hmo-card { position: absolute; left: 6%; top: 18px; width: 82%; aspect-ratio: 1.586; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s; }
.hmo-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 40%, transparent 60%); }
.hmo-card span { position: relative; font-size: 12.5px; font-weight: 600; }
.hmo-card span small { display: block; font-size: 11px; font-weight: 500; opacity: 0.6; margin-top: 1px; }
.hmo-card b { position: relative; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hmo-card.ti { background: linear-gradient(135deg, #2a2c30, #0b0c0e 60%); color: #f2efe9; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.hmo-card.ti span { color: #ebc796; }
.hmo-card.ch { background: linear-gradient(135deg, #f0d6ad, #d6ac70 70%); color: #140904; }
.hmo-card.ch span { color: #6b4a1e; }
.hmo-card.cr { background: #f2efe9; color: #111214; }
.hmo-card.cr span { color: #a67a3c; }
.hmo-card[data-pos="0"] { transform: translate(14px, 0) rotate(2deg); z-index: 3; }
.hmo-card[data-pos="1"] { transform: translate(0, 20px) rotate(-3deg) scale(0.95); z-index: 2; }
.hmo-card[data-pos="2"] { transform: translate(-12px, 40px) rotate(-7deg) scale(0.9); z-index: 1; }
.hmo-card.fly { transform: translate(120px, -30px) rotate(14deg) scale(0.96) !important; opacity: 0; z-index: 4; }
.hmo-big { display: block; margin: 18px 0 10px; font-family: var(--f-display); font-size: clamp(34px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hmo-bills { list-style: none; margin: auto 0 0; padding: 0; }
.hmo-bills li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hmo-bills em { font-style: normal; color: var(--ink-3); white-space: nowrap; }
.hmo-bills em.late { color: #c84a2a; font-weight: 600; }
.hmo-bills em.hmo-soon { color: var(--accent-ink); font-weight: 600; }
.hmo-bars { display: flex; gap: 6px; align-items: flex-end; height: 130px; margin-top: auto; }
.hmo-bars i { flex: 1; height: var(--h); border-radius: 5px; background: var(--surface-3); transform-origin: bottom; }
.hmo-bars i.y { background: var(--gold); }
.hmo-bars i.or { background: var(--accent); }
.js .hmo-bars i { transform: scaleY(0); }
.js .hmo-bars.in i { transform: scaleY(1); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 60ms); }
@media (max-width: 960px) {
  .hmo-three { grid-template-columns: minmax(0, 1fr); }
  .hmo-p { min-height: 0; }
  .hmo-deck { min-height: 230px; }
  .hmo-bars { height: 110px; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-board, .hmo-card { transition: none; }
  .js .hmo-bars i { transform: none; }
}
.fsec-board { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); margin: clamp(28px, 4vw, 44px) 0 0; }
.fsec-board .hb-list { margin-top: 0; }
@media (max-width: 960px) { .fsec-board { grid-template-columns: minmax(0, 1fr); } }
.hmo-three + .points-fold, .hmo-three + .points { margin-top: clamp(28px, 4vw, 44px); }
