/* Hayma landing page. Loaded only by src/pages/hayma.html through its meta block
   ("stylesheet": "hayma.css"), after style.css, so it reads the shared tokens.
   The Hayma accent is --hayma (fill with white text) and --hayma-text (readable
   accent), defined in style.css next to the violet pair.
   The app illustrations (.hayma-phone, .hayma-chat, .hayma-scorecard) are
   role="img" with a text alternative. Their colours are fixed rather than
   themed, because they depict the app's own light screens.
   Mobile first, with the same 480, 768, and 1024 px steps as style.css. */

/* ---------------------------------------------------------------- scope */
.hayma .eyebrow { color: var(--hayma-text); }
.hayma .eyebrow::before { box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.16); }
.hayma .text-link { color: var(--hayma-text); }
.hayma :focus-visible { outline-color: var(--hayma-text); }

.btn-hayma { background: var(--hayma); color: #fff; }
.btn-hayma:hover { background: #115e59; }

.hayma-mark { display: block; width: 44px; height: 44px; flex: none; }

/* Shared icon tile and tick list */
.hayma-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--hayma-text);
}
.ink .hayma-icon { background: rgba(45, 212, 191, 0.12); }
.hayma-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hayma-ticks { display: grid; gap: var(--s2); }
.hayma-ticks li { position: relative; padding-left: 1.6rem; color: var(--text-muted); line-height: 1.55; }
/* A tick drawn in CSS, so it is never read out. */
.hayma-ticks li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.45em;
  width: 0.45rem;
  height: 0.75rem;
  border-right: 2px solid var(--hayma-text);
  border-bottom: 2px solid var(--hayma-text);
  transform: rotate(45deg);
}
.hayma-small { margin-top: var(--s5); color: var(--text-muted); font-size: var(--fs-small); }

/* ---------------------------------------------------------------- hero */
.hayma-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--s7) var(--s9); }
.hayma-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(34rem 26rem at 85% 30%, rgba(45, 212, 191, 0.18), transparent 70%),
    radial-gradient(36rem 26rem at 65% 100%, rgba(93, 63, 211, 0.3), transparent 70%);
}
.hayma-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.55), rgba(147, 123, 244, 0.6), transparent); }
.hayma-hero-layout { display: grid; gap: var(--s8); align-items: center; }

/* Mark and name on one row, centred on each other. Hayma stands alone, with no
   second "by" line, so there is no second grid row to leave a gap under it. */
.hayma-lockup { display: inline-flex; align-items: center; gap: var(--s3); }
.hayma-lockup .hayma-mark { width: 52px; height: 52px; }
.hayma-name { color: var(--on-dark); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }

.hayma-hero h1 { margin-top: var(--s6); font-size: var(--fs-display); line-height: 1.03; letter-spacing: -0.045em; }
.hayma-hero h1 span { display: block; color: var(--hayma-text); }
.hayma-hero-sub { max-width: 36rem; margin-top: var(--s5); color: var(--on-dark-muted); font-size: var(--fs-lead); }
.hayma-hero .btn-row { margin-top: var(--s6); }
.hayma-hero .text-link { color: var(--on-dark); text-decoration-color: rgba(255, 255, 255, 0.35); }
.hayma-hero .text-link:hover { text-decoration-color: currentColor; }

.hayma-status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s5);
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--on-dark);
  font-size: var(--fs-small);
  font-weight: 600;
}
.hayma-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18); }

.hayma-assure { display: grid; gap: var(--s3); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hayma-assure li { position: relative; padding-left: 1.6rem; color: var(--on-dark); font-size: 0.9375rem; font-weight: 550; line-height: 1.45; }
.hayma-assure li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.2em;
  width: 0.4rem;
  height: 0.7rem;
  border-right: 2px solid #2dd4bf;
  border-bottom: 2px solid #2dd4bf;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .hayma-hero-copy { animation: vx-rise 0.6s ease-out both; }
  .hayma-hero-visual { animation: vx-rise 0.8s ease-out 0.1s both; }
}

/* ---------------------------------------------------------------- phone illustration */
.hayma-hero-visual { position: relative; width: 100%; max-width: 24rem; margin-inline: auto; }
.hayma-phone {
  position: relative;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  background: linear-gradient(160deg, #2b2739, #121019);
  box-shadow: 0 40px 90px rgba(4, 3, 10, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.vp-screen {
  display: grid;
  gap: 10px;
  padding: 20px 14px 14px;
  border-radius: 32px;
  background: #f4f6f9;
  color: #16141c;
  font-size: 13px;
  line-height: 1.4;
}
.vp-screen p { margin: 0; }
.vp-top { display: flex; align-items: center; gap: 10px; padding-inline: 4px; }
.vp-mark { width: 30px; height: 30px; flex: none; }
.vp-greet { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.vp-date { color: #5b5866; font-size: 12px; }
.vp-tag { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: #e0f2f1; color: #115e59; font-size: 11px; font-weight: 700; white-space: nowrap; }

.vp-card { display: grid; gap: 8px; padding: 12px; border: 1px solid #e3e6ec; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.vp-wellness { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.vp-ring { width: 64px; height: 64px; }
.vp-ring-track { fill: none; stroke: #e6f4f3; stroke-width: 7; }
.vp-ring-fill { fill: none; stroke: #0f766e; stroke-width: 7; stroke-linecap: round; }
.vp-ring text { fill: #16141c; font: 700 18px var(--font); }
.vp-label { color: #5b5866; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.vp-strong { font-size: 14px; font-weight: 700; }
.vp-muted { color: #5b5866; font-size: 12px; }
.vp-row { display: flex; align-items: center; gap: 8px; }
.vp-row p { flex: 1; font-weight: 600; }
.vp-row p span { color: #5b5866; font-weight: 500; }
.vp-head p { flex: 1; }
.vp-count { flex: none !important; color: #0f766e; font-weight: 700; }
.vp-pill { width: 22px; height: 12px; flex: none; border-radius: 999px; }
.vp-pill-a { background: linear-gradient(90deg, #f8fafc 50%, #93c5fd 50%); border: 1px solid #cbd5e1; }
.vp-pill-b { background: #fde68a; border: 1px solid #f59e0b; }
.vp-pill-c { background: #fecaca; border: 1px solid #f87171; }
.vp-done { color: #15803d; font-size: 12px; font-weight: 700; }
.vp-btn { padding: 3px 10px; border-radius: 999px; background: #0f766e; color: #fff; font-size: 12px; font-weight: 700; }
.vp-insight { border-color: #c7ebe8; background: linear-gradient(135deg, #effaf9, #fff); }
.vp-source { justify-self: start; padding: 2px 8px; border-radius: 999px; background: #e0f2f1; color: #115e59; font-size: 11px; font-weight: 600; }
.vp-ask { padding: 11px 14px; border-radius: 999px; background: linear-gradient(90deg, #0f766e, #4f46e5); color: #fff; font-weight: 650; text-align: center; }

/* Floating cards beside the phone. Tucked in on phones, overhanging from 480. */
.hayma-float {
  display: none;
  position: absolute;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(27, 24, 38, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: var(--on-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hayma-float p { margin: 0; }
.vf-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(45, 212, 191, 0.14); color: #2dd4bf; }
.vf-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vf-label { color: #b9b4c5; font-size: 11px; font-weight: 600; }
.vf-value { font-size: 13px; font-weight: 700; }
.vf-note { color: #2dd4bf; font-size: 11px; font-weight: 600; }
.vf-score { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#f5b83d 0 74%, rgba(255, 255, 255, 0.12) 74% 100%); color: #fff; font-size: 13px; font-weight: 800; position: relative; }
.vf-score::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #1b1826; z-index: -1; }
.vf-score { isolation: isolate; }
.hayma-float-a { top: 23%; left: -2.5rem; }
.hayma-float-b { bottom: 14%; right: -2.25rem; }

/* ---------------------------------------------------------------- moments */
.hayma-moments { display: grid; gap: var(--s4); }
.hayma-moments li {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.hayma-quote { color: var(--text); font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.4; }
.hayma-moments li p:last-child { margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.9375rem; }

/* ---------------------------------------------------------------- features */
.hayma-features { display: grid; gap: var(--s4); }
.hayma-features .card { gap: var(--s4); }
.hayma-features h3 { font-size: 1.25rem; }

/* ---------------------------------------------------------------- advisor */
.hayma-advisor-layout { display: grid; gap: var(--s7); align-items: start; }
.hayma-how { display: grid; gap: var(--s5); counter-reset: how; }
.hayma-how li { position: relative; padding-left: 3.25rem; counter-increment: how; }
.hayma-how li::before {
  content: counter(how, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--hayma-text);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hayma-how h3 { padding-top: 0.3rem; font-size: 1.125rem; }
.hayma-how p { margin-top: var(--s1); color: var(--text-muted); }

.hayma-chat {
  overflow: hidden;
  border: 1px solid #e3e6ec;
  border-radius: var(--r-panel);
  background: #f4f6f9;
  color: #16141c;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: var(--shadow-panel);
}
.hayma-chat p { margin: 0; }
.vc-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #e3e6ec; background: #fff; font-weight: 700; }
.vc-sees { padding: 12px 18px; border-bottom: 1px solid #e3e6ec; background: #fbfcfd; }
.vc-sees-label { margin-bottom: 8px !important; color: #5b5866; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.vc-sees ul { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-sees li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border: 1px solid #d9dde4; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; }
/* Toggle drawn in CSS: on is filled teal with the knob right, off is grey. */
.vc-sees li::before { content: ''; width: 22px; height: 13px; border-radius: 999px; background: radial-gradient(circle at 15.5px 6.5px, #fff 4.5px, transparent 5px), #0f766e; }
.vc-sees li.off { color: #6b6876; text-decoration: line-through; }
.vc-sees li.off::before { background: radial-gradient(circle at 6.5px 6.5px, #fff 4.5px, transparent 5px), #b8bcc6; }
.vc-body { display: grid; gap: 12px; padding: 18px; }
.vc-user { justify-self: end; max-width: 85%; padding: 10px 14px; border-radius: 18px 18px 6px 18px; background: #4f46e5; color: #fff; }
.vc-answer { display: grid; gap: 8px; max-width: 94%; padding: 12px 14px; border: 1px solid #e3e6ec; border-radius: 6px 18px 18px 18px; background: #fff; }
.vc-cite { display: inline-block; padding: 0 7px; border-radius: 999px; background: #e0f2f1; color: #115e59; font-size: 11.5px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.vc-action { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #c7ebe8; border-radius: 16px; background: #effaf9; }
.vc-action > div { flex: 1 1 12rem; }
.vc-action-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #0f766e; color: #fff; }
.vc-action-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vc-action-title { font-size: 13px; font-weight: 700; }
.vc-action-note { color: #5b5866; font-size: 12px; }
.vc-confirm, .vc-dismiss { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.vc-confirm { background: #0f766e; color: #fff; }
.vc-dismiss { border: 1px solid #d9dde4; background: #fff; color: #3f3c48; }

.hayma-modes-title { margin-top: var(--s8); font-size: var(--fs-h3); }
.hayma-modes { display: grid; gap: var(--s4); margin-top: var(--s5); }
.hayma-modes > li { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); border: 1px solid var(--line); border-top: 3px solid var(--hayma-text); border-radius: 18px; background: var(--surface); }
.hayma-modes > li > p:not(.hayma-mode-name) { color: var(--text-muted); }
.hayma-mode-name { color: var(--text); font-size: 1.125rem; font-weight: 700; }

/* ---------------------------------------------------------------- hayma score */
.hayma-score-layout { display: grid; gap: var(--s7); align-items: center; }
.hayma-score-layout h2 { margin-top: var(--s4); }
.hayma-score-layout .lead { margin-top: var(--s4); max-width: 38rem; }
.hayma-facts { display: grid; gap: var(--s4); margin-top: var(--s6); }
.hayma-facts > div { padding-top: var(--s3); border-top: 2px solid var(--hayma-text); }
.hayma-facts dt { color: var(--text); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hayma-facts dd { margin-top: var(--s1); color: var(--text-muted); font-size: var(--fs-small); }
.hayma-points-title { margin-top: var(--s6); color: var(--text); font-weight: 650; }
.hayma-points { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.hayma-points li { display: inline-flex; align-items: center; gap: var(--s2); padding: 0.35rem 0.5rem 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: var(--fs-small); font-weight: 600; }
.hayma-points span { padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--hayma); color: #fff; font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; }

.hayma-scorecard { display: grid; gap: 18px; padding: 22px; border: 1px solid #e3e6ec; border-radius: var(--r-panel); background: #fff; color: #16141c; box-shadow: var(--shadow-panel); }
.hayma-scorecard p { margin: 0; }
.vs-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; }
.vs-ring { width: 120px; height: 120px; }
.vs-track { fill: none; stroke: #f3ead6; stroke-width: 10; }
.vs-fill { fill: none; stroke: #e0a21b; stroke-width: 10; stroke-linecap: round; }
.vs-num { fill: #16141c; font: 800 28px var(--font); letter-spacing: -0.02em; }
.vs-of { fill: #5b5866; font: 600 11px var(--font); }
.vs-level { color: #8a5a00; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.vs-next { color: #5b5866; font-size: 13px; }
.vs-delta { margin-top: 8px !important; display: inline-block; padding: 4px 10px; border-radius: 10px; background: #dcfce7; color: #14532d; font-size: 12.5px; font-weight: 650; }
.vs-bars { display: grid; gap: 10px; }
.vs-bars li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.vs-bars i { position: relative; height: 8px; border-radius: 999px; background: #eef0f4; overflow: hidden; }
.vs-bars i::after { content: ''; position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #0f766e, #2dd4bf); }
.vs-bars .w52::after { width: 52%; }
.vs-bars .w64::after { width: 64%; }
.vs-bars .w70::after { width: 70%; }
.vs-bars .w72::after { width: 72%; }
.vs-bars .w88::after { width: 88%; }
.vs-bars .w90::after { width: 90%; }
.vs-tip { padding-top: 14px !important; border-top: 1px solid #eef0f4; color: #3f3c48; font-size: 13px; }

/* ---------------------------------------------------------------- privacy (ink) */
.hayma-privacy .eyebrow-on-dark { color: #2dd4bf; }
.hayma-trust { display: grid; gap: var(--s4); }
.hayma-trust li { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: rgba(255, 255, 255, 0.03); }
.hayma-trust h3 { font-size: 1.125rem; }
.hayma-trust p { color: var(--on-dark-muted); }
.hayma-compliance {
  display: grid;
  gap: var(--s5);
  margin-top: var(--s7);
  padding: var(--s6) var(--s5);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--r-panel);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(93, 63, 211, 0.12));
}
.hayma-compliance .panel-label { color: #2dd4bf; }
.hayma-compliance p:not(.panel-label) { color: var(--on-dark); }
.hayma-compliance .panel-label + p { margin-top: var(--s3); }
.hayma-compliance > div:last-child p { color: var(--on-dark-muted); }
.hayma-compliance .text-link { margin-top: var(--s3); color: #2dd4bf; }

/* ---------------------------------------------------------------- real life */
.hayma-life { display: grid; gap: var(--s5); }
.hayma-life-panel { padding: var(--s6) var(--s5); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow-sm); }
.hayma-life-panel h3 { margin-bottom: var(--s4); }
.hayma-region { display: flex; align-items: flex-start; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--text); font-weight: 600; }
.hayma-region svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--hayma-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- try Hayma */
.hayma-try-section { padding-block: var(--s8); }
.hayma-try {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: var(--s7);
  padding: var(--s7) var(--s5);
  border-radius: var(--r-panel);
  background: linear-gradient(135deg, #0b3f3b 0%, #12102a 55%, #2a1d6b 100%);
  color: var(--on-dark);
}
.hayma-try::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(28rem 20rem at 10% 0%, rgba(45, 212, 191, 0.22), transparent 70%); }
.hayma-try h2 { margin-top: var(--s5); color: var(--on-dark); }
.hayma-try-copy > p { margin-top: var(--s4); max-width: 34rem; color: #d3cfdc; font-size: var(--fs-lead); }
.hayma-try .btn-row { margin-top: var(--s6); }
.hayma-try-email { color: var(--on-dark); font-weight: 650; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 4px; }
.hayma-try-email:hover { text-decoration-color: currentColor; }
.hayma-try-note { margin-top: var(--s4); color: #d3cfdc; font-size: var(--fs-small); }
.hayma-try-steps { display: grid; gap: var(--s4); align-content: center; }
.hayma-try-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s4); padding: var(--s4); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.05); }
.hayma-try-steps span { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #2dd4bf; color: #0b0b10; font-weight: 800; }
.hayma-try-steps h3 { color: var(--on-dark); font-size: 1.0625rem; }
.hayma-try-steps p { margin-top: var(--s1); color: #d3cfdc; font-size: 0.9375rem; }
.hayma-try :focus-visible { outline-color: #2dd4bf; }

/* ---------------------------------------------------------------- disclaimer */
.hayma-disclaimer { padding-block: var(--s5); border-top: 1px solid var(--line); }
.hayma-disclaimer p { max-width: var(--measure); color: var(--text-muted); font-size: var(--fs-small); }
.hayma .faq .text-link { display: inline; }

/* ---------------------------------------------------------------- v3 additions */
/* Shared sprite icons (layout.html) inside Hayma components take the teal. */
.hayma .icon { color: var(--hayma-text); }

/* How it works: three steps straight after the hero. */
.hayma-steps-band { padding-block: var(--s7); border-bottom: 1px solid var(--line); background: var(--surface); }
.hayma-steps { display: grid; gap: var(--s5); counter-reset: zstep; }
.hayma-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s4); align-items: start; counter-increment: zstep; }
.hayma-step-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(15, 118, 110, 0.1); }
.hayma-step-icon::after { content: counter(zstep); position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--hayma); color: #fff; font-size: 11px; font-weight: 800; }
.hayma-steps h3 { font-size: 1.125rem; }
.hayma-steps p { margin-top: var(--s1); color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; }

/* Feature tour: alternating rows, each a moment, an answer, and a drawn screen. */
.hayma-tour { display: grid; gap: var(--s8); }
.hayma-tour-row { display: grid; gap: var(--s6); align-items: center; }
.hayma-tour-copy > * + * { margin-top: var(--s4); }
.hayma-tour-copy h3 { font-size: var(--fs-h3); }
.hayma-tour-copy > p:not(.hayma-quote) { color: var(--text-muted); }
.hayma-tour-copy .hayma-quote { padding-left: var(--s4); border-left: 3px solid var(--hayma-text); color: var(--text-muted); font-size: 1.0625rem; font-style: italic; font-weight: 550; }
.hayma-tour-copy .hayma-ticks li { color: var(--text); }

/* A drawn app screen in the demo's light UI, the same in both colour schemes. */
.zm {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(160deg, #2b2739, #121019);
  box-shadow: var(--shadow-panel);
}
.zm-screen { display: grid; gap: 10px; padding: 16px 14px 14px; border-radius: 22px; background: #f4f6f9; color: #16141c; font-size: 13px; line-height: 1.4; }
.zm-screen p { margin: 0; }
.zm-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-inline: 4px; font-size: 15px; font-weight: 700; }
.zm-title span { color: #5b5866; font-size: 12px; font-weight: 600; }
.zm-chart { width: 100%; height: auto; }
.zm-chart .band { fill: #e0f2f1; }
.zm-chart .axis { stroke: #e3e6ec; stroke-width: 1; }
.zm-chart .line { fill: none; stroke: #5b5866; stroke-width: 2; }
.zm-chart .pt { fill: #fff; stroke: #16141c; stroke-width: 2; }
.zm-chart .pt-flag { fill: #fff; stroke: #b91c1c; stroke-width: 2.5; }
.zm-chart text { fill: #5b5866; font: 600 11px var(--font); }
.zm-chart .val { fill: #16141c; font: 700 12px var(--font); }
.zm-chart .val-flag { fill: #b91c1c; font: 700 12px var(--font); }
.zm-note { color: #5b5866; font-size: 12px; }
.zm-flag { color: #b91c1c; font-weight: 700; }
.zm-list { display: grid; gap: 6px; }
.zm-list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #e3e6ec; border-radius: 12px; background: #fff; font-weight: 600; }
.zm-list li > :last-child { margin-left: auto; }
.zm-meta { color: #5b5866; font-size: 12px; font-weight: 500; white-space: nowrap; }
.zm-doc { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: #e0f2f1; color: #115e59; font-size: 10px; font-weight: 800; }
.zm-actions { display: flex; gap: 6px; margin-left: auto; }
.zm-chip { padding: 3px 9px; border: 1px solid #d9dde4; border-radius: 999px; background: #fff; color: #3f3c48; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.zm-chip-on { border-color: #0f766e; background: #0f766e; color: #fff; }
.zm-banner { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #c7ebe8; border-radius: 14px; background: #effaf9; }
.zm-banner p:first-child { flex: 1; font-weight: 600; }
.zm-streak { display: inline-flex; align-items: center; gap: 6px; color: #115e59; font-size: 12px; font-weight: 700; }
.zm-summary-label { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #ede9fb; color: #432d98; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.zm-cite { display: inline-block; padding: 0 7px; border-radius: 999px; background: #e0f2f1; color: #115e59; font-size: 11px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.zm-q { padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px dashed #c4c8d0; font-weight: 600; }
.zm-ecard { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #e3e6ec; }
.zm-ecard-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid #b91c1c; color: #b91c1c; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.zm-ecard dl { display: grid; gap: 6px; }
.zm-ecard dt { color: #5b5866; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.zm-ecard dd { font-weight: 650; }
.zm-qr { width: 84px; height: 84px; align-self: start; }
.zm-qr path { fill: #16141c; }

/* Coach and journal: compact cards under the tour. */
.hayma-extras { display: grid; gap: var(--s4); margin-top: var(--s8); }
.hayma-extras li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s4); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.hayma-extras h3 { font-size: 1.125rem; }
.hayma-extras p { margin-top: var(--s1); color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; }

/* Ask Hayma principles and the one place its limits are spelled out. */
.hayma-principles { display: grid; gap: var(--s4); }
.hayma-principles li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s4); align-items: start; }
.hayma-principles h3 { padding-top: 0.2rem; font-size: 1.125rem; }
.hayma-principles p { margin-top: var(--s1); color: var(--text-muted); }
.hayma-limits { margin-top: var(--s6); padding: var(--s5); border: 1px solid var(--line-strong); border-left: 3px solid var(--hayma-text); border-radius: var(--r-card); background: var(--surface); }
.hayma-limits p:first-child { color: var(--text); font-weight: 700; }
.hayma-limits p + p { margin-top: var(--s2); color: var(--text-muted); }

/* Made for real life: icon tiles inside the two panels. */
.hayma-tiles { display: grid; gap: var(--s3); }
.hayma-tiles li { display: flex; align-items: flex-start; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r-control); background: var(--paper); color: var(--text); font-size: 0.9375rem; font-weight: 550; line-height: 1.45; }
.hayma-tiles .icon { width: 22px; height: 22px; margin-top: 1px; }

/* ---------------------------------------------------------------- 480 */
@media (min-width: 480px) {
  .hayma-hero-visual { padding-inline: var(--s6); }
  .hayma-float { display: flex; }
  .hayma-float-a { left: -0.5rem; }
  .hayma-float-b { right: -0.5rem; }
  .hayma-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- 768 */
@media (min-width: 768px) {
  .hayma-moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hayma-features, .hayma-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hayma-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hayma-life { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hayma-life-panel { padding: var(--s7) var(--s6); }
  .hayma-compliance { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding: var(--s7) var(--s6); align-items: center; }
  .hayma-try { padding: var(--s8) var(--s7); }
  .hayma-features .card, .hayma-trust li { padding: var(--s6); }
  .hayma-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
  .hayma-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hayma-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hayma-limits { padding: var(--s6); }
}

/* ---------------------------------------------------------------- 1024 */
@media (min-width: 1024px) {
  .hayma-hero { padding-block: var(--s8) var(--s9); }
  .hayma-hero-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s8); }
  .hayma-hero-visual { max-width: 27rem; }
  .hayma-float-a { left: -3rem; }
  .hayma-float-b { right: -2.5rem; }
  .hayma-moments { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hayma-features, .hayma-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hayma-advisor-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s8); }
  .hayma-score-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s9); }
  .hayma-try { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
  .hayma-tour { gap: var(--s9); }
  .hayma-tour-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s9); }
  .hayma-tour-row:nth-child(even) .hayma-tour-copy { order: 2; }
  .hayma-trust:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- forced colours */
@media (forced-colors: active) {
  .hayma-phone, .vp-card, .hayma-chat, .hayma-scorecard, .hayma-moments li, .hayma-modes > li, .hayma-trust li, .hayma-compliance, .hayma-life-panel, .hayma-try, .hayma-try-steps li, .hayma-float, .zm, .zm-list li, .zm-ecard, .hayma-extras li, .hayma-limits, .hayma-tiles li { border: 1px solid CanvasText; }
  .vs-bars i::after { background: CanvasText; }
}
