/* Homepage layout, infographics and CTA blocks.
   Layout idea: every H2 sits in a sticky left rail, the evidence sits in a wide right column. */

/* ---------- Hero: the SIM card ---------- */
.hero { padding: clamp(1.25rem, 3vw, 2.25rem) 0 clamp(2.5rem, 5vw, 4rem); }
.simcard { --cut: 72px; position: relative; background: var(--signal); color: var(--paper); padding: clamp(1.75rem, 4vw, 3.25rem); overflow: hidden; isolation: isolate; }
.simcard::before { display: none; content: ""; position: absolute; right: clamp(1.5rem, 6vw, 5.5rem); top: 3rem; width: 150px; height: 118px; background: url("../images/chip.svg") no-repeat center / contain; z-index: -1; pointer-events: none; }
@media (min-width: 980px) { .simcard::before { display: block; width: 200px; height: 158px; top: 2.6rem; right: 6.5rem; } }
.simcard__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 980px) { .simcard__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 3.5rem; } }
.simcard h1 { color: var(--paper); max-width: 15ch; margin-bottom: 1.4rem; }
.hl { background: var(--marker); color: var(--ink); padding: 0 0.14em; margin-inline: -0.02em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.simcard p { color: rgba(255, 255, 255, 0.93); max-width: 60ch; }
.simcard a:not(.btn) { color: var(--marker); }
.simcard a:not(.btn):hover { color: var(--ink); background: var(--marker); }
.hero__updated { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--paper); background: rgba(11, 16, 32, 0.28); padding: 0.4rem 0.8rem; margin: 0 0 1.4rem; max-width: none; }
.hero__updated .icon { width: 1.1em; height: 1.1em; color: var(--marker); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.crumbs { font-family: var(--font-mono); font-size: 0.78rem; color: rgba(255, 255, 255, 0.8); margin: 0 0 1.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; max-width: none; }

/* OTP message bubble (decorative) */
.hero__side { justify-self: center; width: 100%; max-width: 380px; }
.otp-card { background: var(--paper); color: var(--ink); border-radius: 26px 26px 26px 6px; padding: 1.25rem 1.25rem 1.4rem; position: relative; }
.otp-card__bar { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); margin-bottom: 0.9rem; }
.otp-card__bar .icon { color: var(--signal); width: 1.15em; height: 1.15em; }
.otp-card__bar span.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sms); margin-left: auto; }
.otp-card__msg { padding: 0; }
.otp-card p { color: var(--text); }
.otp-card__label { font-size: 1rem; color: var(--text); margin: 0 0 0.8rem; max-width: none; }
.otp-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.otp-cells li { font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.3rem, 4.2vw, 1.9rem); text-align: center; line-height: 1; padding: 0.8rem 0; border: 2px solid var(--ink); background: var(--mist); color: var(--ink); animation: cell-in 0.5s ease backwards; }
.otp-cells li:nth-child(2) { animation-delay: 0.08s; }
.otp-cells li:nth-child(3) { animation-delay: 0.16s; }
.otp-cells li:nth-child(4) { animation-delay: 0.24s; }
.otp-cells li:nth-child(5) { animation-delay: 0.32s; }
.otp-cells li:nth-child(6) { animation-delay: 0.4s; background: var(--marker); }
.otp-card__foot { display: flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--muted); max-width: none; }
.otp-card__foot .icon { color: var(--sms); width: 1.1em; height: 1.1em; }
.otp-card__cap { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255, 255, 255, 0.78); text-align: left; margin: 0.8rem 0 0; }
@keyframes cell-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Infographic A: data strip inside the card */
.statband { margin-top: clamp(2rem, 4vw, 3rem); border-top: 2px dotted rgba(255, 255, 255, 0.5); padding-top: 1.35rem; }
.statband__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.25rem; }
.stat { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; min-width: 0; }
.stat .icon { width: 26px; height: 26px; color: var(--marker); margin-bottom: 0.4rem; }
.stat__num { font-family: var(--font-mono); font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--marker); }
.stat__lbl { font-size: 0.92rem; color: rgba(255, 255, 255, 0.88); line-height: 1.35; }
.statband__cap { margin: 1.25rem 0 0; font-family: var(--font-mono); font-size: 0.74rem; color: rgba(255, 255, 255, 0.75); max-width: none; }
.stat:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .statband__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stat:last-child { grid-column: auto; }
}

/* ---------- Sections: sticky rail + evidence column ---------- */
.section { padding: clamp(2.75rem, 5vw, 4.5rem) 0; }
.section > .container { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4rem); border-top: 4px solid var(--ink); padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.section--white { background: var(--mist); }
.section--paper { background: var(--mist); }
.section__head { margin-bottom: 1.5rem; }
.section__head h2 { max-width: 20ch; }
.icon--xl { width: 52px; height: 52px; padding: 12px; background: var(--ink); color: var(--marker); margin-bottom: 1.1rem; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); stroke-width: 1.9; }
.plus62 { display: inline-block; font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; background: var(--marker); color: var(--ink); padding: 0.5rem 0.9rem; margin-bottom: 1.1rem; line-height: 1; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
@media (min-width: 1000px) {
  .section > .container { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .section__head { grid-column: 1; grid-row: 1 / span 60; align-self: start; position: sticky; top: calc(var(--header-h) + 28px); margin-bottom: 0; }
  .section > .container > :not(.section__head) { grid-column: 2; }
  .section > .container > .section__head ~ :first-of-type { margin-top: 0; }
}
.section .container > *:first-child { margin-top: 0; }

/* ---------- Ranking ---------- */
.table--rank { min-width: 0; font-size: 0.93rem; }
.table--rank th, .table--rank td { padding: 0.8rem 0.65rem; }
.table--rank thead th { white-space: normal; font-size: 0.68rem; }
.table--wide { min-width: 600px; }
.table--rank tbody tr:first-child th, .table--rank tbody tr:first-child td { background: var(--marker); border-bottom-color: var(--ink); }
.table--rank tbody tr:first-child:hover th, .table--rank tbody tr:first-child:hover td { background: #ffe666; }
.mono-badge { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: var(--marker); font-family: var(--font-mono); font-size: 0.78rem; margin-right: 0.6rem; vertical-align: middle; }

.rank-list { list-style: none; counter-reset: rank; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.9rem; max-width: none; }
.rank-card { counter-increment: rank; position: relative; background: var(--paper); border-top: 4px solid var(--ink); padding: 1.3rem 1.4rem 1.3rem 5.6rem; }
.rank-card::before { content: counter(rank); position: absolute; left: 1.25rem; top: 0.85rem; font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -0.06em; color: var(--ink); }
.rank-card--first { background: var(--signal); color: rgba(255, 255, 255, 0.95); border-top-color: var(--marker); --cut: 28px; }
.rank-card--first strong { color: var(--paper); }
.rank-card--first::before { color: var(--marker); }
.rank-card .badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--marker); color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; padding: 0.25rem 0.6rem; margin-bottom: 0.7rem; letter-spacing: 0.03em; text-transform: uppercase; }
.rank-card .badge .icon { width: 1.1em; height: 1.1em; }
.rank-card p { margin: 0; max-width: none; }

/* Infographic B: loyalty ladder as filled leader rows */
.ladder { margin-top: 2rem; background: var(--paper); border-top: 4px solid var(--ink); padding: 1.5rem 1.5rem 1.35rem; }
.ladder__title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.6rem; max-width: none; letter-spacing: -0.02em; }
.ladder__title .icon { color: var(--signal); }
.ladder__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.ladder__row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0.7rem; padding: 0.55rem 0.8rem; background: linear-gradient(90deg, var(--signal-tint) var(--w), transparent var(--w)); font-size: 1rem; }
.ladder__row:last-child { background: linear-gradient(90deg, var(--marker) var(--w), transparent var(--w)); }
.ladder__amt { font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem; color: var(--ink); min-width: 4.4rem; }
.ladder__track { border-bottom: 3px dotted var(--ink); height: 0.8em; opacity: 0.55; }
.ladder__bar { display: none; }
.ladder__val { font-family: var(--font-display); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.ladder__cap { margin: 1.1rem 0 0; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); max-width: none; line-height: 1.55; }

/* ---------- CTA blocks ---------- */
.cta-band { position: relative; background: var(--signal); color: rgba(255, 255, 255, 0.95); padding: clamp(2.25rem, 5vw, 3.5rem) 0; overflow: hidden; isolation: isolate; margin: 0; }
.cta-band::after { display: none; content: ""; position: absolute; right: -40px; bottom: -48px; width: 230px; height: 182px; background: url("../images/chip.svg") no-repeat center / contain; opacity: 0.2; z-index: -1; }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.08; color: var(--paper); margin: 0 0 0.6rem; letter-spacing: -0.035em; max-width: none; }
.cta-band p { margin: 0; max-width: 58ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
@media (min-width: 860px) { .cta-band::after { display: block; } .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.cta-band--final { background: var(--ink); }
.cta-band--final::after { opacity: 0.2; }
.cta-card { --cut: 24px; margin: 2.25rem 0 0; background: var(--marker); color: var(--ink); padding: 1.5rem 1.6rem; display: grid; gap: 1rem; align-items: center; }
.cta-card .cta-title { color: var(--ink); font-size: 1.55rem; margin-bottom: 0.3rem; }
.cta-card p { margin: 0; max-width: 56ch; }
.cta-card .btn--primary { background: var(--ink); color: var(--marker); border-color: var(--ink); }
.cta-card .btn--primary:hover { background: var(--signal); border-color: var(--signal); color: var(--paper); }
@media (min-width: 720px) { .cta-card { grid-template-columns: 1fr auto; } }

/* ---------- Process lists ---------- */
.steps3, .numbered { list-style: none; counter-reset: nm; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: 0; max-width: none; border-top: 2px solid var(--ink); }
.steps3 li, .numbered li { counter-increment: nm; position: relative; padding: 0.95rem 0.5rem 0.95rem 3.6rem; border-bottom: 1px dotted var(--ink); background: transparent; }
.steps3 li::before, .numbered li::before { content: counter(nm); position: absolute; left: 0.2rem; top: 0.85rem; width: 34px; height: 34px; background: var(--ink); color: var(--marker); font-family: var(--font-mono); font-weight: 500; font-size: 0.9rem; display: grid; place-items: center; }

/* Infographic C: 5-step stepper */
.stepper { list-style: none; counter-reset: st; margin: 1.75rem 0 2.5rem; padding: 0; display: grid; gap: 0; max-width: none; }
.stepper li { counter-increment: st; position: relative; padding: 0 0 1.4rem 5rem; min-height: 68px; }
.stepper li:last-child { padding-bottom: 0; }
.stepper li::before { content: ""; position: absolute; left: 25px; top: 54px; bottom: 0; border-left: 3px dotted var(--ink); }
.stepper li:last-child::before { display: none; }
.stepper__ico { position: absolute; left: 0; top: 0; width: 52px; height: 52px; background: var(--ink); color: var(--marker); display: grid; place-items: center; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.stepper__ico .icon { width: 24px; height: 24px; }
.stepper li:last-child .stepper__ico { background: var(--signal); color: var(--paper); }
.stepper li::after { content: counter(st); position: absolute; left: 36px; top: -9px; min-width: 24px; height: 24px; background: var(--marker); color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; display: grid; place-items: center; }
.stepper__txt { display: block; background: var(--paper); border-top: 3px solid var(--ink); padding: 0.9rem 1.1rem; font-size: 1.02rem; }

/* Checklist and prohibited rows */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0; max-width: none; border-top: 2px solid var(--ink); }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 0.95rem 0.25rem; border-bottom: 1px dotted var(--ink); }
.checklist .icon { color: var(--sms); margin-top: 0.2rem; width: 1.35em; height: 1.35em; }

.verdict { --cut: 26px; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; background: var(--paper); border-top: 6px solid var(--signal); padding: 1.35rem 1.5rem; margin-bottom: 1.6rem; max-width: none; }
.verdict .icon { width: 34px; height: 34px; color: var(--signal); }
.verdict p { margin: 0; max-width: none; font-size: 1.1rem; }

.ban-grid { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 0; max-width: none; border-top: 2px solid var(--ink); }
.ban-grid li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1rem 0.25rem; border-bottom: 1px dotted var(--ink); }
.ban-grid .icon { width: 30px; height: 30px; padding: 5px; background: var(--marker); color: var(--ink); margin-top: 0.1rem; }
.note { border-left: 6px solid var(--marker); padding-left: 1rem; color: var(--muted); max-width: 68ch; }

/* Infographic D: refund timeline as a message thread */
.timeline { margin-top: 2rem; background: var(--paper); border-top: 4px solid var(--ink); padding: 1.5rem; }
.timeline__title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); margin: 0 0 1.25rem; display: flex; align-items: center; gap: 0.6rem; max-width: none; letter-spacing: -0.02em; }
.timeline__title .icon { color: var(--signal); }
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; max-width: none; }
.t-node { position: relative; max-width: 82%; padding: 0.8rem 1rem 0.9rem; background: var(--mist); border-radius: 20px 20px 20px 4px; justify-self: start; }
.t-node:first-child { justify-self: end; background: var(--signal); color: var(--paper); border-radius: 20px 20px 4px 20px; }
.t-node:first-child .t-node__when { color: var(--marker); }
.t-node--end { background: var(--marker); }
.t-node__dot { display: none; }
.t-node__when { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; color: var(--signal-deep); display: block; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 0.15rem; }
.t-node__what { margin: 0; max-width: none; }
.timeline__cap { margin: 1.25rem 0 0; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); max-width: none; }
@media (max-width: 600px) { .t-node { max-width: 94%; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.7rem; max-width: none; margin-top: 0; }
.faq details { --cut: 16px; background: var(--paper); border-top: 3px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; line-height: 1.3; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #f5f7ff; }
.faq summary .icon { transition: transform 0.2s ease; color: var(--signal); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] { border-top-color: var(--signal); }
.faq__a { padding: 0 1.2rem 1.2rem; }
.faq__a p { margin: 0; max-width: 64ch; }

/* ---------- Bullets for cluster pages ---------- */
.bullets { padding-left: 1.2rem; margin: 0 0 1.25rem; max-width: 68ch; }
.bullets li { margin-bottom: 0.4rem; }
.bullets li::marker { color: var(--signal); }
.prose--solo { display: block; }
.prose--solo h1 { margin-bottom: 1.25rem; }

/* Cluster page hero is the same card, single column */
.hero--page .simcard h1 { max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.hero--page .simcard__grid { grid-template-columns: 1fr; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Photos (Unsplash, self-hosted) */
.photo { --cut: 28px; margin: 1.75rem 0; max-width: none; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-top: 6px solid var(--ink); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); background: var(--line); }
