/* How it works (Manny, 2026-11-15; bones B, after AngelList; approved and locked). A light ground after the dark lead magnets: the
   one-time Foundation as a wide setup panel (navy left, its six parts right), then Core, Plus and Max as three
   cards, each drawing its week in reach (sky) and sell (IGM blue) as How we do it does. hiw.js fills the weeks as
   the cards arrive; without motion they stand filled. No prices. */
.hiw { background: var(--surface); color: var(--text); }
.hiw-in { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 56px); }

.hiw-head { max-width: 760px; }
.hiw-k { margin: 0 0 14px; font: 600 14px/1 var(--font-body); color: var(--igm-blue); letter-spacing: .02em; }
.hiw-h2 { margin: 0; font: 700 clamp(34px, 4.4vw, 62px)/1.04 var(--font-head); letter-spacing: -.022em; }
.hiw-sub { margin: 20px 0 0; max-width: 52ch; font-size: 19px; line-height: 1.45; color: var(--muted); }

.hiw-step { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 700 13px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--sky); }
.hiw-step span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: var(--navy); font-size: 13px; letter-spacing: 0; }
.hiw-step--pk { margin-top: clamp(40px, 5vw, 56px); color: var(--igm-blue); }
.hiw-step--pk span { background: var(--igm-blue); color: #fff; }

/* 1. The Foundation */
.hiw-found { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(32px, 4vw, 48px); border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--border); }
.hiw-found-l { padding: clamp(28px, 3.4vw, 44px); color: #fff; background: radial-gradient(120% 90% at 0% 0%, #134B78 0%, #0D2B45 60%); }
.hiw-found-l h3 { margin: 14px 0 0; font: 700 clamp(28px, 3vw, 40px)/1.08 var(--font-head); letter-spacing: -.02em; }
.hiw-found-l > p:not(.hiw-step) { margin: 12px 0 0; max-width: 34ch; font-size: 17px; line-height: 1.5; color: var(--dark-muted); }
.hiw-btn { margin-top: 26px; }
.hiw-found-r { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: clamp(14px, 2vw, 22px) clamp(20px, 2.6vw, 36px); list-style: none; counter-reset: f; }
.hiw-found-r li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.hiw-found-r li:last-child { border-bottom: 0; }
.hiw-found-r li::before { counter-increment: f; content: counter(f); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--pale-blue); color: var(--deep-blue); font: 800 14px/1 var(--font-head); }
.hiw-found-r b { font: 700 17px/1.25 var(--font-head); }
.hiw-found-r span { margin-top: 2px; font-size: 15px; line-height: 1.4; color: var(--muted); }

/* 2. The packages */
.hiw-pks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 16px; margin-top: 24px; }
.hiw-pk { position: relative; padding: clamp(24px, 2.6vw, 32px); border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.hiw-pk--mid { border: 2px solid var(--igm-blue); box-shadow: 0 24px 50px -30px rgba(0,126,187,.55); }
.hiw-tag { position: absolute; top: -13px; left: 24px; margin: 0; padding: 5px 12px; border-radius: 99px; background: var(--igm-blue); color: #fff; font: 700 12px/1.2 var(--font-head); }
.hiw-pk h3 { margin: 0; font: 800 clamp(28px, 2.6vw, 36px)/1 var(--font-head); letter-spacing: -.02em; }
.hiw-pk-line { margin: 8px 0 0; font-size: 16px; line-height: 1.4; color: var(--muted); }

.hiw-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 22px; }
.hiw-week .d { display: grid; place-items: end center; height: 64px; padding-bottom: 8px; border-radius: 10px; background: #F1F4F7; border: 1px dashed #D5DEE6; font: 700 12px/1 var(--font-head); color: #9AA7B1; transform-origin: bottom center; }
.hiw-week .d.is-reach { background: var(--sky); border: 0; color: var(--navy); }
.hiw-week .d.is-sell { background: var(--igm-blue); border: 0; color: #fff; }
.hiw-week .d.is-alt { border: 0; color: #fff; background: linear-gradient(135deg, var(--igm-blue) 0 50%, var(--sky) 50% 100%); }

.hiw-rows { margin: 20px 0 0; }
.hiw-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.hiw-rows dt { font-size: 15px; color: var(--muted); }
.hiw-rows dd { margin: 0; font: 800 18px/1 var(--font-head); color: var(--text); white-space: nowrap; }

.hiw-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.hiw-key span { display: inline-block; width: 14px; height: 14px; margin-right: -10px; border-radius: 4px; vertical-align: -2px; }
.hiw-key .is-reach { background: var(--sky); }
.hiw-key .is-sell { background: var(--igm-blue); }
.hiw-key .is-alt { background: linear-gradient(135deg, var(--igm-blue) 0 50%, var(--sky) 50% 100%); }

.hiw-all { margin-top: clamp(28px, 3.4vw, 40px); padding: clamp(22px, 2.6vw, 30px); border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.hiw-all-h { margin: 0; font: 700 18px/1.2 var(--font-head); }
.hiw-all ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.hiw-all li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font: 600 14.5px/1.2 var(--font-body); }
.hiw-all li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #22A06B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hiw-add { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

@media (min-width: 981px) {
  .hiw-found { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .hiw-found-l { display: flex; flex-direction: column; justify-content: center; }
  .hiw-found-r { grid-template-columns: 1fr 1fr; column-gap: 28px; align-content: center; }
  .hiw-found-r li:nth-last-child(2) { border-bottom: 0; }
  .hiw-pks { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
