/* ==========================================================================
   How it works (Views/Home/HowItWorks.cshtml) - Blush & Berry, light only.
   Loaded after the shared base (_BrandPageHead: landing.css, landing-pink.css,
   brand-page.css), which handles the palette remap and layout typography.
   Rules are `.hiw .x` so they outrank mypariva.css. Behaviour lives in
   wwwroot/js/how-it-works/.
   ========================================================================== */

/* ---------- Shared bits ---------- */
.hiw .hiw-label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-madder); }
.hiw .hiw-label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.hiw .hiw-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 46ch; }
.hiw .hiw-checks { display: flex; flex-direction: column; gap: 10px; }
.hiw .hiw-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--lp-ink-soft); }
.hiw .hiw-checks svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; padding: 2px; border-radius: 50%; color: var(--lp-surface); background: var(--lp-neem); }
.hiw .hiw-private { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: rgba(var(--lp-dusk-rgb), .1); color: var(--lp-dusk); font-size: 12px; font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   1. TRY IT FREE
   ========================================================================== */
.hiw .hiw-try { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--lp-paper-deep) 0%, var(--lp-paper) 100%); }
.hiw .hiw-try__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hiw .hiw-try__title { margin-top: 18px; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.hiw .hiw-try__title em { color: var(--lp-madder); font-weight: 400; }
.hiw .hiw-try__lede { margin-top: 18px; font-size: 18px; max-width: 34ch; }

.hiw .hiw-form { padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-paper); }
.hiw .hiw-form__fields { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.hiw .hiw-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hiw .hiw-field label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-ink-soft); }
.hiw .hiw-field input {
  width: 100%; min-width: 0; height: 56px; padding: 0 14px; font: 500 17px/1 var(--lp-sans); color: var(--lp-ink);
  background: var(--lp-paper); border: 1px solid var(--lp-line-strong); border-radius: 12px; -moz-appearance: textfield; appearance: none;
  transition: border-color .35s var(--lp-ease), box-shadow .35s var(--lp-ease), background-color .35s var(--lp-ease);
}
.hiw .hiw-field input::-webkit-outer-spin-button, .hiw .hiw-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hiw .hiw-field input[type="date"] { cursor: pointer; }
.hiw .hiw-field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; padding: 6px; border-radius: 6px; }
.hiw .hiw-field input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; background: rgba(var(--lp-madder-rgb), .08); }
.hiw .hiw-field input:hover { border-color: var(--lp-ink-soft); }
.hiw .hiw-field input:focus { outline: none; background: var(--lp-surface); border-color: var(--lp-madder); box-shadow: 0 0 0 4px rgba(var(--lp-madder-rgb), .14); }
.hiw .hiw-field input[aria-invalid="true"] { border-color: var(--lp-madder); background: rgba(var(--lp-madder-rgb), .04); box-shadow: 0 0 0 4px rgba(var(--lp-madder-rgb), .12); }

.hiw .hiw-stepper { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; height: 56px; border: 1px solid var(--lp-line-strong); border-radius: 12px; background: var(--lp-paper); transition: border-color .35s var(--lp-ease), box-shadow .35s var(--lp-ease); }
.hiw .hiw-stepper:hover { border-color: var(--lp-ink-soft); }
.hiw .hiw-stepper:focus-within { border-color: var(--lp-madder); box-shadow: 0 0 0 4px rgba(var(--lp-madder-rgb), .14); background: var(--lp-surface); }
.hiw .hiw-stepper input { height: 54px; border: 0; background: transparent; text-align: center; padding: 0 2px; font-variant-numeric: tabular-nums; box-shadow: none !important; }
.hiw .hiw-stepper input:focus { box-shadow: none; }
.hiw .hiw-stepper:has(input[aria-invalid="true"]) { border-color: var(--lp-madder); box-shadow: 0 0 0 4px rgba(var(--lp-madder-rgb), .12); }
.hiw .hiw-stepper button { height: 44px; width: 44px; margin: 0 auto; border: 0; border-radius: 10px; background: transparent; color: var(--lp-ink-soft); font-size: 20px; line-height: 1; cursor: pointer; transition: background-color .3s var(--lp-ease), color .3s var(--lp-ease), transform .2s var(--lp-ease); }
.hiw .hiw-stepper button:hover { background: rgba(var(--lp-madder-rgb), .08); color: var(--lp-madder); }
.hiw .hiw-stepper button:active { transform: scale(.92); }
.hiw .hiw-stepper button:disabled { opacity: .35; cursor: not-allowed; background: transparent; }

.hiw .hiw-form__error { min-height: 22px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--lp-madder); }
.hiw .hiw-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.hiw .hiw-form__submit { min-height: 56px; padding: 0 28px; border-radius: 12px; font-size: 16px; }
.hiw .hiw-form__submit[aria-busy="true"] { pointer-events: none; }
.hiw .hiw-form__submit[aria-busy="true"] svg { animation: hiwNudge .9s var(--lp-ease) infinite; }
@keyframes hiwNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.hiw .hiw-form__note { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 220px; font-size: 13.5px; line-height: 1.45; }
.hiw .hiw-form__note svg { flex: 0 0 auto; color: var(--lp-dusk); }

@media (max-width: 960px) { .hiw .hiw-try__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .hiw .hiw-form__fields { grid-template-columns: 1fr 1fr; }
  .hiw .hiw-field--date { grid-column: 1 / -1; }
  .hiw .hiw-form__submit { width: 100%; }
}
@media (max-width: 360px) { .hiw .hiw-form__fields { grid-template-columns: 1fr; } }

/* ==========================================================================
   2. INTRO
   ========================================================================== */
.hiw .hiw-intro { padding: clamp(32px, 4vw, 56px) 0 clamp(24px, 3vw, 36px); }
.hiw .hiw-intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.hiw .hiw-intro h1 { margin-top: 16px; font-size: clamp(44px, 5.8vw, 84px); line-height: .98; letter-spacing: -.035em; }
.hiw .hiw-intro__side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 8px; }
@media (max-width: 860px) { .hiw .hiw-intro__grid { grid-template-columns: 1fr; align-items: start; } }

/* ==========================================================================
   3. WALKTHROUGH
   ========================================================================== */
.hiw .hiw-walk { padding: 0 0 clamp(72px, 9vw, 120px); }
.hiw .hiw-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-bottom: clamp(28px, 4vw, 48px); }
.hiw .hiw-steps button {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 88px; padding: 16px 16px 20px 0;
  text-align: left; border: 0; background: transparent; cursor: pointer; transition: color .4s var(--lp-ease);
}
.hiw .hiw-steps button + button { padding-left: 16px; }
.hiw .hiw-steps__n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--lp-ink-faint); font-variant-numeric: tabular-nums; transition: color .4s var(--lp-ease); }
.hiw .hiw-steps__k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-faint); }
.hiw .hiw-steps__t { font-family: var(--lp-serif); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.2; color: var(--lp-ink-soft); transition: color .4s var(--lp-ease); }
.hiw .hiw-steps button:hover .hiw-steps__t { color: var(--lp-ink); }
.hiw .hiw-steps button[aria-selected="true"] .hiw-steps__t { color: var(--lp-ink); }
.hiw .hiw-steps button[aria-selected="true"] .hiw-steps__n { color: var(--lp-madder); }
.hiw .hiw-steps__track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lp-line); pointer-events: none; }
.hiw .hiw-steps__fill { position: absolute; left: 0; top: -1px; height: 4px; width: 20%; border-radius: 2px; background: var(--lp-madder); transform-origin: left; will-change: transform; transition: transform .55s var(--lp-ease); }

.hiw .hiw-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.hiw .hiw-panel:focus-visible { outline-offset: 10px; }
.hiw .hiw-panel__copy { padding-top: 8px; }
.hiw .hiw-panel__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-soft); }
.hiw .hiw-panel__eyebrow span { padding: 5px 10px; border-radius: 999px; background: rgba(var(--lp-madder-rgb), .1); color: var(--lp-madder); letter-spacing: .08em; }
.hiw .hiw-panel h2 { margin-top: 18px; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.05; }
.hiw .hiw-panel__copy > p:not(.hiw-panel__eyebrow):not(.hiw-note) { margin-top: 16px; font-size: 17px; max-width: 50ch; }
.hiw .hiw-panel__copy > .hiw-checks { margin-top: 24px; }
.hiw .hiw-panel__demo { position: sticky; top: calc(var(--mp-nav-h, 96px) + 20px); }

/* Choice rows (region, setup fields, reminder types): buttons that drive the demo */
.hiw .hiw-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.hiw .hiw-index { display: flex; flex-direction: column; margin-top: 24px; border-top: 1px solid var(--lp-line); }
.hiw .hiw-choice__item, .hiw .hiw-index__item {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; cursor: pointer;
  font-size: 15px; line-height: 1.55; color: var(--lp-ink-soft); background: transparent;
  transition: background-color .4s var(--lp-ease), border-color .4s var(--lp-ease), color .4s var(--lp-ease), box-shadow .4s var(--lp-ease);
}
.hiw .hiw-choice__item { padding: 16px 18px; border: 1px solid var(--lp-line-strong); border-radius: 16px; }
.hiw .hiw-index__item { padding: 14px 16px 14px 20px; border: 0; border-bottom: 1px solid var(--lp-line); border-radius: 0; }
.hiw .hiw-index__item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--lp-madder); transform: scaleY(0); transition: transform .45s var(--lp-ease); }
.hiw .hiw-choice__k, .hiw .hiw-index__k { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-faint); transition: color .4s var(--lp-ease); }
.hiw .hiw-choice__item strong { color: var(--lp-ink); font-weight: 600; }
.hiw .hiw-choice__item:hover { border-color: var(--lp-ink-soft); }
.hiw .hiw-index__item:hover { background: rgba(var(--lp-madder-rgb), .04); }
.hiw .hiw-choice__item[aria-pressed="true"] { border-color: var(--lp-madder); background: var(--lp-surface); color: var(--lp-ink); box-shadow: 0 0 0 1px var(--lp-madder), 0 16px 32px -24px rgba(var(--lp-madder-rgb), .7); }
.hiw .hiw-index__item[aria-pressed="true"] { background: var(--lp-surface); color: var(--lp-ink); }
.hiw .hiw-index__item[aria-pressed="true"]::before { transform: scaleY(1); }
.hiw .hiw-choice__item[aria-pressed="true"] .hiw-choice__k, .hiw .hiw-index__item[aria-pressed="true"] .hiw-index__k { color: var(--lp-madder); }

.hiw .hiw-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: rgba(var(--lp-dusk-rgb), .07); font-size: 14.5px; line-height: 1.6; }
.hiw .hiw-note svg { flex: 0 0 auto; margin-top: 3px; color: var(--lp-dusk); }
.hiw .hiw-note span, .hiw .hiw-note strong { color: var(--lp-ink); }
.hiw .hiw-defs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 24px; border-top: 1px solid var(--lp-line); }
.hiw .hiw-defs div { padding: 14px 0; border-bottom: 1px solid var(--lp-line); }
.hiw .hiw-defs dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-madder); }
.hiw .hiw-defs dd { margin-top: 4px; font-size: 15px; color: var(--lp-ink-soft); }

/* The product frame used by every demo */
.hiw .hiw-app { position: relative; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 22px; box-shadow: var(--lp-shadow-lift); overflow: hidden; }
.hiw .hiw-app__bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--lp-line); background: var(--lp-paper); font-size: 12.5px; font-weight: 600; color: var(--lp-ink-soft); }
.hiw .hiw-app__dots { display: inline-flex; gap: 6px; }
.hiw .hiw-app__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--lp-ink-rgb), .14); }
.hiw .hiw-app__body { position: relative; padding: clamp(18px, 2.6vw, 28px); min-height: 380px; }
.hiw .hiw-app__title { font-family: var(--lp-serif); font-size: 22px; line-height: 1.2; color: var(--lp-ink); }
.hiw .hiw-app__hint { margin-top: 14px; font-size: 13px; text-align: center; }
.hiw .hiw-mock-field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--lp-line-strong); border-radius: 12px; background: var(--lp-paper); transition: border-color .4s var(--lp-ease), box-shadow .4s var(--lp-ease), background-color .4s var(--lp-ease); }
.hiw .hiw-mock-field > span:first-child { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-ink-faint); }
.hiw .hiw-mock-field em { text-transform: none; letter-spacing: 0; font-weight: 500; font-style: normal; }
.hiw .hiw-mock-field b { font-size: 16px; font-weight: 500; color: var(--lp-ink); }
.hiw .hiw-mock-field b i { font-style: normal; margin-right: 8px; padding-right: 8px; border-right: 1px solid var(--lp-line-strong); color: var(--lp-ink-soft); }
.hiw .hiw-mock-field__empty { color: var(--lp-ink-faint) !important; }
.hiw .hiw-dots { letter-spacing: .15em; }
.hiw .hiw-mock-btn { width: 100%; height: 50px; margin-top: 18px; border: 0; border-radius: 12px; background: var(--lp-action); color: var(--lp-action-text); font-size: 15.5px; font-weight: 600; cursor: pointer; transition: background-color .4s var(--lp-ease), transform .2s var(--lp-ease); }
.hiw .hiw-mock-btn:hover { background: var(--lp-action-hover); }
.hiw .hiw-mock-btn:active { transform: scale(.98); }
.hiw .hiw-mock-link { display: block; margin: 10px auto 0; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--lp-madder); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Step 1: registration */
.hiw [data-demo="register"][data-region="india"] [data-only="global"],
.hiw [data-demo="register"][data-region="global"] [data-only="india"] { display: none; }
.hiw [data-demo="register"][data-stage="form"] [data-reg-otp],
.hiw [data-demo="register"][data-stage="otp"] [data-reg-form] { display: none; }
.hiw .hiw-reg__otp { padding-top: 24px; text-align: center; }
.hiw .hiw-otp { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.hiw .hiw-otp span { display: grid; place-items: center; width: 44px; height: 54px; border: 1px solid var(--lp-line-strong); border-radius: 10px; background: var(--lp-paper); font: 600 22px/1 var(--lp-sans); color: var(--lp-ink); font-variant-numeric: tabular-nums; transition: border-color .3s var(--lp-ease), background-color .3s var(--lp-ease); }
.hiw .hiw-otp span.is-filled { border-color: var(--lp-madder); background: var(--lp-surface); }

/* Step 2: setup */
.hiw .hiw-setup { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; }
.hiw .hiw-setup__ring { position: relative; width: 150px; aspect-ratio: 1; }
.hiw .hiw-setup__ring svg { width: 100%; height: 100%; display: block; }
.hiw .hiw-setup__track { stroke: rgba(var(--lp-ink-rgb), .08); }
.hiw .hiw-setup__period { stroke: var(--lp-madder); transition: stroke-dasharray .5s var(--lp-ease), stroke-dashoffset .5s var(--lp-ease); }
.hiw .hiw-setup__fertile { stroke: var(--lp-turmeric); transition: stroke-dasharray .5s var(--lp-ease), stroke-dashoffset .5s var(--lp-ease); }
.hiw .hiw-setup__len { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; color: var(--lp-ink-soft); }
.hiw .hiw-setup__len b { font: 500 40px/1 var(--lp-serif); color: var(--lp-ink); font-variant-numeric: tabular-nums; }
.hiw .hiw-setup__fields .hiw-mock-field:first-child { margin-top: 0; }
.hiw [data-demo="setup"] [data-field].is-focus { border-color: var(--lp-madder); background: var(--lp-surface); box-shadow: 0 0 0 4px rgba(var(--lp-madder-rgb), .12); }
.hiw .hiw-mini-stepper { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hiw .hiw-mini-stepper button { width: 36px; height: 36px; border: 1px solid var(--lp-line-strong); border-radius: 10px; background: var(--lp-surface); font-size: 18px; line-height: 1; cursor: pointer; transition: background-color .3s var(--lp-ease), border-color .3s var(--lp-ease); }
.hiw .hiw-mini-stepper button:hover { border-color: var(--lp-madder); color: var(--lp-madder); }
.hiw .hiw-mini-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.hiw .hiw-mini-stepper b { font-variant-numeric: tabular-nums; }

/* Step 3: consent */
.hiw .hiw-consent__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: c; }
.hiw .hiw-consent__steps li { counter-increment: c; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; border: 1px solid var(--lp-line); font-size: 12.5px; line-height: 1.45; color: var(--lp-ink-faint); transition: background-color .45s var(--lp-ease), border-color .45s var(--lp-ease), color .45s var(--lp-ease); }
.hiw .hiw-consent__steps li::before { content: counter(c); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--lp-ink-rgb), .08); font-size: 11.5px; font-weight: 700; color: var(--lp-ink-soft); transition: background-color .45s var(--lp-ease), color .45s var(--lp-ease); }
.hiw .hiw-consent__steps li b { font-size: 13.5px; font-weight: 600; color: var(--lp-ink-soft); }
.hiw .hiw-consent__steps li span { color: inherit; }
.hiw .hiw-consent__steps li.is-done { color: var(--lp-ink-soft); }
.hiw .hiw-consent__steps li.is-done::before { background: var(--lp-neem); color: var(--lp-surface); }
.hiw .hiw-consent__steps li.is-now { border-color: var(--lp-madder); background: rgba(var(--lp-madder-rgb), .05); color: var(--lp-ink-soft); }
.hiw .hiw-consent__steps li.is-now::before { background: var(--lp-madder); color: var(--lp-surface); }
.hiw .hiw-consent__steps li.is-now b, .hiw .hiw-consent__steps li.is-done b { color: var(--lp-ink); }
.hiw .hiw-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--lp-line); border-radius: 14px; background: var(--lp-paper); }
.hiw .hiw-person__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lp-clay-soft); color: var(--lp-madder-deep); font-family: var(--lp-serif); font-size: 18px; }
.hiw .hiw-person__who { display: flex; flex-direction: column; min-width: 0; }
.hiw .hiw-person__who b { font-size: 15px; font-weight: 600; color: var(--lp-ink); }
.hiw .hiw-person__who span { font-size: 12.5px; color: var(--lp-ink-soft); }
.hiw .hiw-person__status { margin-left: auto; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(var(--lp-turmeric-ink-rgb), .12); color: var(--lp-turmeric-ink); transition: background-color .45s var(--lp-ease), color .45s var(--lp-ease); }
.hiw [data-state="accepted"] .hiw-person__status { background: rgba(var(--lp-neem-rgb), .16); color: var(--lp-neem-ink); }
.hiw .hiw-switch { display: flex; align-items: center; gap: 12px; margin-top: 14px; min-height: 44px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--lp-ink); }
.hiw .hiw-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hiw .hiw-switch__track { position: relative; width: 48px; height: 28px; border-radius: 999px; background: rgba(var(--lp-ink-rgb), .18); transition: background-color .4s var(--lp-ease); }
.hiw .hiw-switch__thumb { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-surface); box-shadow: 0 2px 6px rgba(var(--lp-ink-rgb), .3); transition: transform .45s cubic-bezier(.34, 1.4, .64, 1); }
.hiw .hiw-switch input:checked + .hiw-switch__track { background: var(--lp-neem); }
.hiw .hiw-switch input:checked + .hiw-switch__track .hiw-switch__thumb { transform: translateX(20px); }
.hiw .hiw-switch input:focus-visible + .hiw-switch__track { outline: 2px solid var(--lp-madder); outline-offset: 3px; }
.hiw .hiw-consent__out { margin-top: 12px; min-height: 140px; }
.hiw .hiw-consent__paused { padding: 14px 16px; border: 1px dashed var(--lp-line-strong); border-radius: 14px; font-size: 14px; text-align: center; }

.hiw .hiw-bubble { padding: 14px 16px 10px; border-radius: 16px 16px 16px 4px; background: var(--lp-clay-soft); box-shadow: 0 16px 32px -24px rgba(var(--lp-ink-rgb), .6); }
.hiw .hiw-bubble b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-madder-deep); }
.hiw .hiw-bubble p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--lp-ink); }
.hiw .hiw-bubble span { display: block; margin-top: 6px; font-size: 11.5px; text-align: right; color: var(--lp-ink-soft); }

/* Step 4: daily log */
.hiw .hiw-log__group + .hiw-log__group { margin-top: 16px; }
.hiw .hiw-log__k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-faint); }
.hiw .hiw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hiw .hiw-chips button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lp-line-strong); background: var(--lp-surface); font-size: 14px; color: var(--lp-ink); cursor: pointer; transition: background-color .35s var(--lp-ease), color .35s var(--lp-ease), border-color .35s var(--lp-ease), transform .2s var(--lp-ease); }
.hiw .hiw-chips button:hover { border-color: var(--lp-madder); }
.hiw .hiw-chips button:active { transform: scale(.96); }
.hiw .hiw-chips button[aria-pressed="true"] { background: var(--lp-madder); border-color: var(--lp-madder); color: var(--lp-surface); }
.hiw .hiw-log__entry { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--lp-paper); border: 1px solid var(--lp-line); }
.hiw .hiw-log__entry p { font-family: var(--lp-serif); font-size: 18px; color: var(--lp-ink); }

/* Step 5: dashboard + notification */
.hiw .hiw-dash .hiw-app__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 20px; align-items: center; }
.hiw .hiw-dash__cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.hiw .hiw-dash__cal span { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--lp-ink); transition: opacity .45s var(--lp-ease), transform .45s var(--lp-ease), box-shadow .45s var(--lp-ease); }
.hiw .hiw-dash__cal .period { background: var(--lp-madder); color: var(--lp-surface); }
.hiw .hiw-dash__cal .fertile { background: rgba(var(--lp-turmeric-rgb), .55); }
.hiw .hiw-dash__cal .ovul { background: var(--lp-turmeric); font-weight: 700; }
.hiw .hiw-dash__cal span.is-dim { opacity: .35; }
.hiw .hiw-dash__cal span.is-ping { box-shadow: 0 0 0 2px var(--lp-surface), 0 0 0 4px var(--lp-ink); }
.hiw .hiw-dash__k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-faint); margin-bottom: 8px; }
.hiw .hiw-dash__phone { padding: 14px; border-radius: 18px; background: var(--lp-ink); }
.hiw .hiw-dash__phone .hiw-dash__k { color: rgba(var(--lp-paper-rgb), .7); }

@media (max-width: 960px) {
  /* Compact step pills that scroll sideways: number badge + title, the active step filled berry. */
  .hiw .hiw-steps { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--lp-gutter); scrollbar-width: none; margin-left: calc(var(--lp-gutter) * -1); margin-right: calc(var(--lp-gutter) * -1); padding: 4px var(--lp-gutter) 8px; }
  .hiw .hiw-steps::-webkit-scrollbar { display: none; }
  .hiw .hiw-steps button, .hiw .hiw-steps button + button { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 6px; border: 1px solid var(--lp-line-strong); border-radius: 999px; background: var(--lp-surface); scroll-snap-align: start; transition: background-color .3s var(--lp-ease), border-color .3s var(--lp-ease), color .3s var(--lp-ease); }
  .hiw .hiw-steps__n { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--lp-paper-deep); color: var(--lp-ink-soft); font-size: 12.5px; letter-spacing: 0; }
  .hiw .hiw-steps__k { display: none; }
  .hiw .hiw-steps__t { font-family: var(--lp-sans); font-size: 14.5px; font-weight: 600; white-space: nowrap; color: var(--lp-ink-soft); }
  .hiw .hiw-steps button[aria-selected="true"] { border-color: var(--lp-madder); background: var(--lp-madder); box-shadow: 0 8px 18px -12px rgba(var(--lp-madder-rgb), .9); }
  .hiw .hiw-steps button[aria-selected="true"] .hiw-steps__n { background: var(--lp-surface); color: var(--lp-madder); }
  .hiw .hiw-steps button[aria-selected="true"] .hiw-steps__t { color: var(--lp-surface); }
  .hiw .hiw-steps button:focus-visible { outline: 2px solid var(--lp-madder); outline-offset: 2px; }
  .hiw .hiw-steps__track { display: none; }
  .hiw .hiw-panel { grid-template-columns: 1fr; }
  .hiw .hiw-panel__demo { position: static; }
}
@media (max-width: 560px) {
  .hiw .hiw-choice, .hiw .hiw-defs { grid-template-columns: 1fr; }
  .hiw .hiw-setup { grid-template-columns: 1fr; justify-items: center; }
  .hiw .hiw-setup__fields { width: 100%; }
  .hiw .hiw-consent__steps { grid-template-columns: 1fr; }
  .hiw .hiw-dash .hiw-app__body { grid-template-columns: 1fr; }
  .hiw .hiw-app__body { min-height: 0; }
  .hiw .hiw-otp { gap: 6px; }
  .hiw .hiw-otp span { width: 38px; height: 48px; }
}

.hiw .hiw-walk__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(28px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--lp-line); }
.hiw .hiw-walk__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--lp-line-strong); background: transparent; font-size: 15px; font-weight: 600; color: var(--lp-ink); cursor: pointer; transition: background-color .35s var(--lp-ease), color .35s var(--lp-ease), border-color .35s var(--lp-ease); }
.hiw .hiw-walk__btn:hover:not(:disabled) { border-color: var(--lp-madder); color: var(--lp-madder); }
.hiw .hiw-walk__btn--next { background: var(--lp-ink); border-color: var(--lp-ink); color: var(--lp-surface); }
.hiw .hiw-walk__btn--next:hover:not(:disabled) { background: var(--lp-madder); border-color: var(--lp-madder); color: var(--lp-surface); }
.hiw .hiw-walk__btn:disabled { opacity: .4; cursor: not-allowed; }
.hiw .hiw-walk__count { font-size: 14px; color: var(--lp-ink-soft); }
.hiw .hiw-walk__count b { color: var(--lp-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .hiw .hiw-walk__count { display: none; } .hiw .hiw-walk__btn { flex: 1 1 0; justify-content: center; padding: 0 12px; } }

/* ==========================================================================
   4. VIDEO (YouTube Short, kept at its native 9:16)
   ========================================================================== */
.hiw .hiw-video { padding: clamp(72px, 9vw, 120px) 0; background: linear-gradient(180deg, var(--lp-paper) 0%, var(--lp-paper-deep) 30%, var(--lp-paper-deep) 70%, var(--lp-paper) 100%); }
.hiw .hiw-video__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 7vw, 120px); align-items: center; }
.hiw .hiw-video h2 { margin-top: 18px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; }
.hiw .hiw-video__copy > p:not(.hiw-label) { margin-top: 16px; font-size: 18px; max-width: 40ch; }
.hiw .hiw-video__steps { margin-top: 32px; border-top: 1px solid var(--lp-line-strong); max-width: 520px; }
.hiw .hiw-video__steps button { display: flex; align-items: baseline; gap: 18px; width: 100%; min-height: 52px; padding: 12px 0; text-align: left; border: 0; border-bottom: 1px solid var(--lp-line); background: transparent; font-family: var(--lp-serif); font-size: 19px; color: var(--lp-ink); cursor: pointer; transition: color .35s var(--lp-ease), padding-left .35s var(--lp-ease); }
.hiw .hiw-video__steps button span { font-family: var(--lp-sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--lp-madder); }
.hiw .hiw-video__steps button:hover { color: var(--lp-madder); padding-left: 6px; }
.hiw .hiw-video__frame { width: clamp(260px, 26vw, 340px); aspect-ratio: 9 / 16; border-radius: 28px; padding: 10px; background: var(--lp-ink); box-shadow: var(--lp-shadow-lift); }
.hiw .hiw-video__frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 20px; background: #000; }
@media (max-width: 820px) {
  .hiw .hiw-video__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }
  .hiw .hiw-video__copy { display: contents; }
  .hiw .hiw-video__copy > * { justify-self: stretch; }
  .hiw .hiw-video__frame { order: 1; margin-top: 28px; }
  .hiw .hiw-video__steps { order: 2; width: 100%; }

  .hiw .hiw-video__frame { width: min(100%, 320px); }
}

/* ==========================================================================
   5. BEHIND THE SCENES
   ========================================================================== */
.hiw .hiw-behind { padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.hiw .hiw-behind h2 { margin-top: 18px; font-size: clamp(32px, 4vw, 54px); max-width: 18ch; }
.hiw .hiw-behind__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--lp-ink); }
.hiw .hiw-behind__cols > div { padding: 28px clamp(16px, 3vw, 36px) 8px 0; }
.hiw .hiw-behind__cols > div + div { padding-left: clamp(16px, 3vw, 36px); border-left: 1px solid var(--lp-line); }
.hiw .hiw-glyph { width: 44px; height: 44px; fill: none; stroke: var(--lp-madder); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hiw .hiw-glyph .fill { fill: var(--lp-madder); stroke: none; }
.hiw .hiw-behind h3 { margin-top: 18px; font-size: clamp(22px, 2.2vw, 28px); }
.hiw .hiw-behind__cols p { margin-top: 10px; font-size: 15.5px; }
@media (max-width: 820px) {
  .hiw .hiw-behind__cols { grid-template-columns: 1fr; }
  .hiw .hiw-behind__cols > div, .hiw .hiw-behind__cols > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--lp-line); }
}

/* ==========================================================================
   6. MORE INSIDE: feature index
   ========================================================================== */
.hiw .hiw-more { padding: clamp(24px, 3vw, 40px) 0 clamp(72px, 9vw, 120px); }
.hiw .hiw-more__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.hiw .hiw-more__head h2 { margin-top: 18px; font-size: clamp(32px, 4vw, 54px); }
.hiw .hiw-more__head > p { font-size: 17px; max-width: 44ch; }
.hiw .hiw-more__body { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.hiw .hiw-more__tabs { position: sticky; top: calc(var(--mp-nav-h, 96px) + 20px); display: flex; flex-direction: column; border-top: 1px solid var(--lp-line-strong); }
.hiw .hiw-more__tabs button { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 12px 4px; text-align: left; border: 0; border-bottom: 1px solid var(--lp-line); background: transparent; font-family: var(--lp-serif); font-size: 20px; color: var(--lp-ink-soft); cursor: pointer; transition: color .35s var(--lp-ease), padding-left .35s var(--lp-ease); }
.hiw .hiw-more__tabs button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-madder); transform: scale(0); transition: transform .35s var(--lp-ease); }
.hiw .hiw-more__tabs button:hover { color: var(--lp-ink); }
.hiw .hiw-more__tabs button[aria-selected="true"] { color: var(--lp-ink); padding-left: 10px; }
.hiw .hiw-more__tabs button[aria-selected="true"]::after { transform: scale(1); }
.hiw .hiw-feature { padding: clamp(24px, 3.4vw, 44px); border-radius: 22px; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-paper); }
.hiw .hiw-feature h3 { font-size: clamp(26px, 2.6vw, 36px); }
.hiw .hiw-feature > p:not(.hiw-feature__k) { margin-top: 16px; font-size: 16.5px; line-height: 1.7; }
.hiw .hiw-feature__k { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--lp-line); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-madder) !important; }
.hiw .hiw-feature .hiw-checks { margin-top: 14px; }
@media (max-width: 900px) {
  .hiw .hiw-more__head, .hiw .hiw-more__body { grid-template-columns: minmax(0, 1fr); }
  .hiw .hiw-more__tabs { position: static; flex-direction: row; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 0; margin: 0 calc(var(--lp-gutter) * -1); padding: 0 var(--lp-gutter) 4px; }
  .hiw .hiw-more__tabs::-webkit-scrollbar { display: none; }
  .hiw .hiw-more__tabs button { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--lp-line-strong); border-radius: 999px; font-family: var(--lp-sans); font-size: 14.5px; font-weight: 600; scroll-snap-align: start; }
  .hiw .hiw-more__tabs button::after { display: none; }
  .hiw .hiw-more__tabs button[aria-selected="true"] { padding-left: 16px; background: var(--lp-ink); border-color: var(--lp-ink); color: var(--lp-surface); }
}

/* ==========================================================================
   7. CLOSING CTA
   ========================================================================== */
.hiw .hiw-cta { padding: clamp(72px, 9vw, 128px) 0; background: linear-gradient(180deg, var(--lp-paper) 0%, var(--lp-clay-soft) 45%, var(--lp-clay-soft) 70%, var(--lp-surface) 100%); text-align: center; }
.hiw .hiw-cta__inner { display: flex; flex-direction: column; align-items: center; }
.hiw .hiw-cta h2 { margin-top: 20px; font-size: clamp(42px, 6vw, 88px); line-height: 1; letter-spacing: -.035em; }
.hiw .hiw-cta h2 em { color: var(--lp-madder); font-weight: 400; }
.hiw .hiw-cta__sub { margin-top: 22px; font-size: 18px; max-width: 52ch; }
.hiw .hiw-cta__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; }
.hiw .hiw-cta__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--lp-ink); }
.hiw .hiw-cta__trust svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; color: var(--lp-surface); background: var(--lp-neem); }
.hiw .hiw-cta__act { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; }
.hiw .hiw-cta__signin { font-size: 15px; }
.hiw .hiw-cta__signin a { color: var(--lp-madder); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hiw .hiw-cta__signin a:hover { color: var(--lp-madder-deep); }

