/* HyperUnlock v4 homepage. Loads after base.css.
   Order of the page: three ways in, reviews, what you can check, how a session works, all prices, questions, contact. */

:root { color-scheme: dark; --section: clamp(4.5rem, 7vw, 7.5rem); --col-gap: clamp(2rem, 5vw, 6rem); --line: #2e2e2e; }
main { padding-bottom: var(--section); }
.section { padding-top: var(--section); }
h2 { font-size: var(--step-head); line-height: 1.05; }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; }
.section > h2, .head-row { margin-bottom: clamp(1.75rem, 3vw, 3rem); }
.stars { width: 108px; height: 20px; flex: none; color: var(--ok); }
.live { display: block; min-height: 1.4em; font-size: var(--step-small); color: var(--muted); }
.live[data-state="on"] { color: var(--ok); }
.live[data-state="part"] { color: var(--amber); }
.live[data-state="off"] { color: var(--off); }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #555; }
.dot[data-state="on"] { background: var(--ok); }
.dot[data-state="part"] { background: var(--amber); }
.dot[data-state="off"] { background: var(--off); }

/* ---------- first screen: what we do on the left, the three ways in on the right ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px var(--col-gap); align-items: center; padding-top: clamp(2rem, 4.5vw, 4.5rem); }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 2.9vw, 4.5rem); line-height: 1.03; letter-spacing: -0.03em; }
.hero h1 em { display: block; }
.lead { margin-top: 1.5rem; max-width: 44ch; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.45; color: var(--muted); }
.rating { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.desk h2 { font-size: var(--step-lead); margin-bottom: 16px; }
.doors { display: grid; gap: 6px; }
.door { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 4px 20px; padding: clamp(18px, 2vw, 28px) clamp(18px, 2vw, 30px); background: var(--surface); border-radius: var(--radius-sm); text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.door:first-child { border-radius: var(--radius) var(--radius) var(--radius-sm) var(--radius-sm); }
.door:last-child { border-radius: var(--radius-sm) var(--radius-sm) var(--radius) var(--radius); }
.door b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 1.05rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.door small { display: block; margin-top: 5px; font-size: 0.9375rem; color: var(--muted); }
.door-side { text-align: right; white-space: nowrap; }
.door-price { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.chev { color: var(--muted); transition: transform var(--t-hover) var(--ease-out); }
.door:hover, .door:focus-visible { background: var(--accent); color: var(--accent-ink); }
.door:hover small, .door:hover .live, .door:hover .chev, .door:focus-visible small, .door:focus-visible .live, .door:focus-visible .chev { color: var(--accent-ink); }
.door:hover .chev { transform: translateX(3px); }
.door:active { transform: scale(0.99); }
.desk-ask { margin-top: 16px; color: var(--muted); }

/* ---------- reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(22px, 2.4vw, 36px); background: var(--surface); border-radius: var(--radius); }
.quote blockquote { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.45; }
.quote blockquote::before { content: "“"; }
.quote blockquote::after { content: "”"; }
.quote figcaption { font-size: var(--step-small); color: var(--muted); }
.quote figcaption b { display: block; font-size: var(--step-body); font-weight: 600; color: var(--ink); }
.prints-title { margin: clamp(2.5rem, 4vw, 4rem) 0 16px; font-family: var(--font); font-size: var(--step-body); font-weight: 600; letter-spacing: 0; }
.prints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.prints img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
.prints p { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }

/* ---------- what you can check ---------- */
.checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gutter); }
.checks li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.checks h3 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.2; }
.checks p { color: var(--muted); max-width: 40ch; }
.checks a { margin-top: auto; }

/* ---------- how a session works ---------- */
.how-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px var(--col-gap); align-items: start; }
.steps { counter-reset: step; display: grid; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 6px 0; padding: 22px 0; }
.steps li + li { border-top: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.2; color: var(--accent); }
.steps h3 { font-size: var(--step-lead); line-height: 1.2; }
.steps p { grid-column: 2; max-width: 46ch; color: var(--muted); }
.how-pic img { width: 100%; border-radius: var(--radius-sm); }
.how-pic figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }

/* ---------- all prices ---------- */
.price-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.price-col { display: flex; flex-direction: column; padding: clamp(20px, 2vw, 32px); background: var(--surface); border-radius: var(--radius); }
.price-col h3 { display: flex; align-items: center; gap: 12px; font-size: var(--step-lead); line-height: 1.2; }
.price-col > .live { margin: 4px 0 14px 22px; }
.rows { display: grid; margin: 0 -12px 22px; }
.rows li + li { border-top: 1px solid var(--line); }
.rows a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 12px; border-radius: var(--radius-sm); text-decoration: none; transition: background-color var(--t-hover) ease; }
.rows a:hover { background: var(--surface-3); }
.rows b { font-weight: 600; }
.rows small { display: block; margin-top: 2px; font-size: var(--step-small); color: var(--muted); }
.rows .off { margin-left: 10px; font-size: var(--step-small); color: var(--off); }
.row-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-price del { margin-right: 4px; font-weight: 400; color: var(--muted); }
.price-col .button { align-self: flex-start; margin-top: auto; }
.price-note { margin-top: 20px; max-width: 80ch; font-size: var(--step-small); color: var(--muted); }

/* ---------- questions ---------- */
.faq-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px var(--col-gap); align-items: start; }
.faq-row h2 + p { margin-top: 14px; }

/* ---------- IMEI check and contact ---------- */
.reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px var(--col-gap); align-items: start; }
.reach h2 { margin-bottom: 12px; }
.contact { display: grid; margin-top: 28px; }
.contact div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 16px 0; }
.contact div + div { border-top: 1px solid var(--line); }
.contact dt { color: var(--muted); }
.imei-field { position: relative; margin-top: 28px; }
.imei-field input { width: 100%; height: 64px; padding: 0 76px 0 26px; background: var(--ink); color: var(--bg); border: 0; border-radius: var(--pill); font-size: 1.125rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.imei-field input::placeholder { color: #6a6a6a; letter-spacing: 0; }
.imei-field input:focus { outline: none; box-shadow: inset 0 0 0 2px #3d8fbd; } /* taste-skill-ignore: form focus ring */
#imei-btn { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); color: var(--ink); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
#imei-btn:hover { background: var(--accent); color: var(--accent-ink); }
#imei-btn:active { transform: scale(0.94); }
#imei-btn:disabled { opacity: 0.5; }
.imei-note { margin-top: 14px; color: var(--muted); font-size: var(--step-small); }
.cf-turnstile { margin-top: 14px; }
.imei-result { display: none; margin-top: 16px; padding: 16px 20px; background: var(--surface); border-radius: var(--radius-sm); }
.imei-result.visible { display: grid; gap: 6px; }
.imei-result-err { color: var(--off); }
.imei-result-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9375rem; }
.imei-result-key { color: var(--muted); }
.imei-result-val.good { color: var(--ok); }
.imei-result-val.warn { color: var(--amber); }
.cf-turnstile { margin-top: 16px; }

@media (max-width: 1100px) {
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-cols { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero, .how-row, .faq-row, .reach { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .checks { grid-template-columns: 1fr; }
  .prints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door { grid-template-columns: minmax(0, 1fr) 20px; }
  .door-side { grid-row: 2; display: flex; gap: 14px; align-items: baseline; text-align: left; }
  .door .chev { grid-row: 1 / span 2; grid-column: 2; }
  .imei-field input { height: 60px; }
  #imei-btn { width: 44px; height: 44px; }
}
