/* ==========================================================================
   HowMuchIsItWorth.co — design system
   Palette: ink navy (trust) · emerald (money/action) · amber (value reveal)
   Mobile-first throughout.
   ========================================================================== */

:root {
  --ink: #0B2239;        /* deep navy — headings, footer */
  --ink-soft: #33465c;
  --text: #253549;
  --muted: #5d7085;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --green: #0E9F6E;      /* primary action */
  --green-dark: #0b7f58;
  --green-soft: #e4f6ee;
  --gold: #F5A623;       /* value highlight */
  --gold-soft: #fdf3df;
  --red: #d64545;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 34, 57, .08);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--green-dark); }
img { max-width: 100%; height: auto; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.container-narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(14,159,110,.35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:disabled { background: #a9c8bb; box-shadow: none; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 14px rgba(245,166,35,.35); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }

/* ---------- Header: floating pill (liinks-style) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: .7rem 1rem 0;
  pointer-events: none; /* only the pill itself captures clicks */
}
.header-pill {
  pointer-events: auto;
  width: min(1120px, 100%);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(11,34,57,.07);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(11,34,57,.10);
  padding: .5rem .6rem .5rem 1.1rem;
  min-height: 58px;
  position: relative;
}
body { padding-top: 86px; }
/* The strip behind the floating header matches the hero tint — no white band */
body::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 86px; background: #f3faf6; z-index: -1;
}
section[id], #valuator { scroll-margin-top: 110px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 32px; width: auto; display: block; }
.main-nav { display: none; align-items: center; gap: 1.35rem; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.nav-cta, .nav-cta:hover { color: #fff; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4.5px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); border: 0; cursor: pointer;
}
.nav-toggle span { width: 17px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.nav-open .main-nav {
  display: flex; flex-direction: column; align-items: flex-start;
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: #fff; border: 1px solid rgba(11,34,57,.07);
  border-radius: 22px;
  padding: 1.1rem 1.4rem 1.3rem; gap: .95rem;
  box-shadow: 0 16px 40px rgba(11,34,57,.14);
}
@media (min-width: 880px) {
  .site-header { padding-top: 1.1rem; }
  body { padding-top: 118px; }
  body::before { height: 118px; }
  .header-pill { min-height: 72px; padding: .65rem .75rem .65rem 1.6rem; }
  .brand img { height: 42px; }
  .main-nav { display: flex; gap: 1.6rem; }
  .main-nav a { font-size: 1rem; }
  .nav-cta { padding: .68rem 1.5rem; font-size: .98rem; }
  .nav-toggle { display: none; }
}
@media (max-width: 420px) {
  .nav-cta { padding: .5rem .8rem; font-size: .82rem; }
  .brand img { height: 27px; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #f3faf6 0%, #ffffff 100%); padding: 1.6rem 0 3rem; }
/* Mobile: headline → tool (the thing they came for) → supporting points */
.hero-grid {
  display: grid; gap: 1.4rem;
  grid-template-areas: "copy" "tool" "points";
}
.hero-copy { grid-area: copy; }
.hero-grid .tool-card { grid-area: tool; }
.hero-points { grid-area: points; }
.eyebrow { font-weight: 600; color: var(--green-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.lead { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--ink-soft); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: .6rem; }

/* ---------- Icons ---------- */
.ico { flex: none; vertical-align: -0.22em; }
.ico-green { color: var(--green); }
.tool-fineprint .ico { vertical-align: -0.18em; margin-right: .15rem; }
@media (min-width: 880px) {
  .hero { padding: 3.2rem 0 4rem; }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    grid-template-areas: "copy tool" "points tool";
    align-items: start; column-gap: 3rem; row-gap: 1.6rem;
  }
  .hero-copy { align-self: end; }
}

/* ---------- Tool card ---------- */
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 1.3rem; min-height: 330px;
}
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  border: 2px dashed #bcd8cb; border-radius: var(--radius);
  background: var(--green-soft); padding: 2.1rem 1rem; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--green); background: #d8f1e5; }
.dropzone strong { color: var(--ink); font-family: var(--font-display); }
.dz-btns { display: flex; gap: .6rem; justify-content: center; margin-top: .9rem; flex-wrap: wrap; }
.dz-btn { display: inline-flex; align-items: center; gap: .45rem; background: #fff; color: var(--ink);
  border: 1.5px solid var(--line, #d8e4dd); border-radius: 999px; padding: .6rem 1.15rem;
  font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
.dz-btn:hover { border-color: var(--green); }
.dz-btn-cam { background: var(--green); color: #fff; border-color: var(--green);
  box-shadow: 0 5px 14px rgba(14,159,110,.3); }

/* "How much is it worth — by category" SEO content band */
.kw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem; margin-top: 1.6rem; }
.kw-card { background: #fff; border: 1px solid var(--line, #e3eae7); border-radius: 16px;
  padding: 1.15rem 1.2rem; box-shadow: 0 4px 14px rgba(11,34,57,.05); }
.kw-card h3 { font-size: 1.02rem; margin: 0 0 .45rem; color: var(--ink, #122b3f); }
.kw-card p { font-size: .9rem; line-height: 1.55; color: var(--mut, #55707f); margin: 0 0 .6rem; }
.kw-card a { font-weight: 700; font-size: .9rem; }
.golden-rule { background: #EAF6F1; border: 1.5px solid #cfe8dd; border-radius: 18px;
  padding: 1.4rem 1.5rem; margin-top: 1.6rem; }
.golden-rule h3 { margin: 0 0 .6rem; color: var(--ink, #122b3f); }
.golden-rule p { margin: 0 0 .7rem; line-height: 1.65; }
.golden-rule p:last-child { margin-bottom: 0; }
.dropzone span { color: var(--muted); font-size: .85rem; }
.preview-wrap { position: relative; margin-top: .9rem; }
.preview-wrap img { width: 100%; max-height: 260px; object-fit: contain; border-radius: var(--radius); background: var(--bg-alt); }
.preview-remove {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px;
  border-radius: 50%; border: 0; background: rgba(11,34,57,.75); color: #fff; cursor: pointer; font-size: .85rem;
}
#noteInput {
  width: 100%; margin-top: .7rem; padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .95rem; resize: vertical; color: var(--text);
}
#noteInput:focus { outline: 2px solid var(--green); border-color: transparent; }
.tool-row { margin-top: .9rem; }
#catSelect {
  width: 100%; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .93rem; color: var(--text); background: #fff;
}
#catSelect:focus { outline: 2px solid var(--green); border-color: transparent; }
.human-check {
  margin-top: .9rem; background: var(--gold-soft); border: 1px solid #f0ddb2;
  border-radius: 10px; padding: .8rem .9rem;
}
.human-check label { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .5rem; }
.human-check input {
  width: 100%; padding: .55rem .8rem; border: 1px solid #e3cf9a; border-radius: 8px; font: inherit;
}
.human-check input:focus { outline: 2px solid var(--gold); border-color: transparent; }
#valuateBtn { width: 100%; margin-top: .9rem; }
.tool-fineprint { text-align: center; color: var(--muted); font-size: .8rem; margin: .8rem 0 0; }

/* ---------- Staged progress ---------- */
.progress-top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
#progressThumb {
  width: 58px; height: 58px; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-alt);
  animation: thumb-pulse 2.2s ease-in-out infinite;
}
@keyframes thumb-pulse { 50% { box-shadow: 0 0 0 7px rgba(14,159,110,.12); } }
.progress-headline { min-width: 0; }
.progress-step { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; margin: 0; }
.progress-substep { color: var(--muted); font-size: .84rem; margin: .1rem 0 0; }
.progress-barwrap { height: 9px; background: var(--bg-alt); border-radius: 9px; overflow: hidden; }
.progress-bar {
  height: 100%; width: 0; border-radius: 9px;
  background: linear-gradient(90deg, var(--green), #15c98d);
  position: relative; transition: width .25s linear;
}
.progress-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.progress-meta { display: flex; justify-content: space-between; align-items: center; margin: .45rem 0 1.1rem; font-size: .8rem; color: var(--muted); }
.progress-meta #progressPct { font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.progress-live { display: inline-flex; align-items: center; gap: .35rem; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block;
  animation: live-blink 1.3s ease-in-out infinite;
}
@keyframes live-blink { 50% { opacity: .3; } }
.progress-steps { list-style: none; display: flex; justify-content: space-between; padding: 0; margin: 0 0 1.1rem; position: relative; }
.progress-steps::before { content: ''; position: absolute; top: 8px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.progress-steps li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600; color: var(--muted); flex: 1;
}
.pstep-dot {
  width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); z-index: 1; transition: .25s;
}
.progress-steps li.active { color: var(--green-dark); }
.progress-steps li.active .pstep-dot { border-color: var(--green); box-shadow: 0 0 0 5px rgba(14,159,110,.15); }
.progress-steps li.done { color: var(--ink-soft); }
.progress-steps li.done .pstep-dot {
  border-color: var(--green); background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='m5 13 4.5 4.5L19 8'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}
.progress-tip {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: .65rem .9rem; font-size: .83rem; color: var(--ink-soft);
  text-align: center; margin: 0 0 .9rem; transition: opacity .25s; min-height: 2.6em;
}
.progress-cancel {
  background: none; border: 0; color: var(--muted); font: inherit; font-size: .83rem;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.progress-cancel:hover { color: var(--red); }

/* result */
.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; }
.result-head h3 { font-size: 1.15rem; margin: 0; }
.confidence { flex: none; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .6rem; border-radius: 999px; }
.confidence-high { background: var(--green-soft); color: var(--green-dark); }
.confidence-medium { background: var(--gold-soft); color: #9a6a0a; }
.confidence-low { background: #fdeaea; color: var(--red); }
.value-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #16405f 100%);
  border-radius: var(--radius); color: #fff; text-align: center;
  padding: 1.1rem 1rem; margin: .9rem 0;
}
.value-banner .value-mid { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.value-banner .value-range { font-size: .9rem; opacity: .85; margin-top: .2rem; }
.result-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--muted); margin-bottom: .7rem; }
.result-summary { font-size: .95rem; }
.result-flag { border-radius: 10px; padding: .7rem .9rem; font-size: .9rem; margin: .7rem 0; }
.flag-ai { background: var(--gold-soft); border: 1px solid #f3dcae; }
.flag-info { background: var(--bg-alt); border: 1px solid var(--line); }
.comps { margin: .8rem 0 0; }
.comps h4, .tips h4 { font-family: var(--font-display); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin: 0 0 .4rem; }
.comps ul, .tips ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.comps li, .tips li { margin-bottom: .3rem; }
.comps .comp-source { color: var(--muted); font-size: .82rem; }
.result-actions { display: flex; gap: .7rem; margin-top: 1.1rem; }
.result-actions .btn { flex: 1; padding: .75rem .5rem; font-size: .95rem; }
.result-error { text-align: center; padding: 2.2rem 1rem; }
.result-error p { color: var(--red); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--bg-alt); }
.section-sub { color: var(--muted); max-width: 56ch; margin-bottom: 2rem; }
.center .section-sub { margin-inline: auto; }

.trust-strip { background: var(--ink); color: #fff; padding: 1.1rem 0; }
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.4rem; }
.trust-row div { display: flex; flex-direction: column; }
.trust-row strong { font-family: var(--font-display); font-size: .95rem; color: var(--gold); }
.trust-row span { font-size: .8rem; opacity: .85; }
@media (min-width: 880px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }

.steps-grid { display: grid; gap: 1.2rem; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 10px rgba(11,34,57,.04); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: .8rem;
}
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Category product cards (e-commerce style) ---------- */
.pcard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.pcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.pcard:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-tile {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--fg);
  background:
    radial-gradient(90% 85% at 85% 12%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(120% 110% at 15% 100%, var(--t2), transparent 70%),
    linear-gradient(145deg, var(--t1), var(--t2));
}
.pcard-tile::before {
  content: ''; position: absolute; width: 104px; height: 104px; border-radius: 50%;
  background: rgba(255,255,255,.45); box-shadow: 0 8px 22px rgba(11,34,57,.10);
}
.pcard-tile .ico { position: relative; }
.pcard-body { display: flex; flex-direction: column; gap: .22rem; padding: .85rem .95rem 1rem; }
.pcard-name { font-family: var(--font-display); font-weight: 700; font-size: .96rem; line-height: 1.25; }
.pcard-blurb { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.pcard-link {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .45rem; font-size: .82rem; font-weight: 700; color: var(--green-dark);
}
.pcard:hover .pcard-link { text-decoration: underline; }
@media (min-width: 880px) {
  .pcard-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .pcard-body { padding: 1rem 1.15rem 1.2rem; }
  .pcard-name { font-size: 1.05rem; }
  .pcard-blurb { font-size: .86rem; }
}

.why-grid { display: grid; gap: 2rem; }
.why-honest { font-weight: 600; color: var(--ink); }
.why-compare { display: grid; gap: 1rem; align-content: start; }
.compare-card { border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.compare-card h3 { margin-bottom: .6rem; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .93rem; }
.compare-them { background: var(--bg-alt); border: 1px solid var(--line); color: var(--muted); }
.compare-us { background: var(--green-soft); border: 1px solid #bfe6d5; }
@media (min-width: 880px) { .why-grid { grid-template-columns: 1.1fr 1fr; align-items: center; } }

/* Marquee — continuous horizontal scroll, pauses on hover */
.marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: .9rem; padding-right: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-group[aria-hidden] { display: none; }
}
.recent-card {
  flex: none; width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.recent-card h3 { font-size: .92rem; margin-bottom: .5rem; min-height: 2.6em; }
.recent-range { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: .15rem; }
.recent-mid { font-size: .83rem; color: var(--muted); margin: 0; }
.recent-mid strong { color: var(--green-dark); }

.faq-item { border-bottom: 1px solid var(--line); padding: .35rem 0; }
.faq-item summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 600;
  color: var(--ink); padding: .75rem 0; list-style: none; position: relative; padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: .3rem; color: var(--green); font-size: 1.3rem; line-height: 1; top: .7rem; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--ink-soft); padding-bottom: .9rem; margin: 0; }
.faq-more { margin-top: 1.4rem; }

.section-dark { background: var(--ink); color: #fff; }
.section-dark h2 { color: #fff; }
.app-teaser-row { display: grid; gap: 1.4rem; align-items: center; }
.app-teaser-row p { opacity: .85; margin: 0 0 1rem; }
@media (min-width: 720px) { .app-teaser-row { grid-template-columns: 1fr auto; } }

/* App store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: .7rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1px solid rgba(255,255,255,.35); border-radius: 10px;
  padding: .5rem .95rem; color: #fff;
}
.store-badge small { display: block; font-size: .62rem; opacity: .75; letter-spacing: .02em; line-height: 1.2; }
.store-badge strong { display: block; font-family: var(--font-display); font-size: .95rem; line-height: 1.2; }
.store-badges-light .store-badge { border-color: var(--line); color: var(--ink); }

.section-cta { background: linear-gradient(180deg, #ffffff, #eef7f2); }

/* ---------- Content pages ---------- */
.page-hero { background: linear-gradient(180deg, #f3faf6, #fff); padding: 2.6rem 0 1.8rem; }
.page-hero .lead { max-width: 64ch; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.tips-box { background: var(--green-soft); border: 1px solid #bfe6d5; border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.tips-box h2, .tips-box h3 { margin-top: 0; }
.inline-cta {
  display: grid; gap: 1rem; background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 1.6rem; margin: 2rem 0; text-align: center;
}
.inline-cta strong { font-family: var(--font-display); font-size: 1.2rem; }

/* blog */
.post-list { display: grid; gap: 1rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.post-card a { text-decoration: none; color: var(--ink); }
.post-card time { color: var(--muted); font-size: .83rem; }
.post-body { max-width: 760px; margin-inline: auto; }
.post-body img { border-radius: var(--radius); }

/* ---------- Result overlay ---------- */
.voverlay { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-start; justify-content: center; }
.voverlay-scrim { position: absolute; inset: 0; background: rgba(11,34,57,.6); backdrop-filter: blur(4px); }
.voverlay-panel {
  position: relative; width: min(860px, 100%); max-height: 100dvh; overflow-y: auto;
  background: #fff; padding: 1.4rem 1.2rem 2rem;
  animation: vo-in .3s ease;
  overscroll-behavior: contain;
}
@keyframes vo-in { from { opacity: 0; transform: translateY(26px); } }
@media (min-width: 720px) {
  .voverlay { padding: 2.2rem 1rem; align-items: center; }
  .voverlay-panel { border-radius: 24px; max-height: calc(100dvh - 4rem); padding: 2rem 2.2rem 2.4rem; box-shadow: 0 30px 80px rgba(11,34,57,.35); }
}
.vo-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.16); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.vo-close:hover { background: rgba(255,255,255,.3); }
.vo-close-dark { background: var(--bg-alt); color: var(--ink); }
.vo-close-dark:hover { background: var(--line); }
.vo-progress { max-width: 460px; margin: 1.6rem auto .6rem; }
.vo-message { max-width: 430px; margin: 2.2rem auto 1rem; text-align: center; }
.vo-message h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.vo-message p { color: var(--ink-soft); margin-bottom: 1.3rem; }

/* Compact mode: progress / confirm / messages — centered card with dimmed
   backdrop on EVERY screen size (mobile included). */
.voverlay.vo-compact { align-items: center; padding: 1.1rem; }
.voverlay.vo-compact .voverlay-panel {
  width: min(500px, 100%); max-height: 88dvh; height: auto;
  border-radius: 22px; padding: 1.7rem 1.4rem 1.5rem;
  box-shadow: 0 30px 80px rgba(11,34,57,.35);
}

/* Confirmation step */
.vo-confirm { max-width: 440px; margin: .4rem auto 0; }
.vo-confirm-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 .9rem; }
.vo-confirm-item { display: flex; gap: .95rem; align-items: center; margin-bottom: 1rem; }
.vo-confirm-item img { width: 86px; height: 86px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); flex: none; }
.vo-confirm-label { margin: 0; color: var(--muted); font-size: .82rem; }
.vo-confirm-name { margin: .15rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink); line-height: 1.3; }
.vo-confirm-meta { margin: 0; color: var(--muted); font-size: .85rem; }
.vo-confirm input[type=text] {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .93rem; margin-bottom: .9rem;
}
.vo-confirm input[type=text]:focus { outline: 2px solid var(--green); border-color: transparent; }
.vo-confirm-actions { display: flex; flex-direction: column; gap: .55rem; }
.vo-confirm-actions .btn { width: 100%; }

/* Human gate (in-popup) */
.vo-human { max-width: 360px; margin: 1.4rem auto .8rem; text-align: center; }
.vo-human-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--green-soft); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
}
.vo-human h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.vo-human p { color: var(--muted); font-size: .92rem; margin: 0 0 .4rem; }
.vo-human-q { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink) !important; margin: .6rem 0 1rem !important; }
.vo-human-err { color: var(--red) !important; font-weight: 600; }
#humanGateInput {
  width: 100%; padding: .75rem 1rem; text-align: center;
  border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 1.1rem;
  margin-bottom: .8rem;
}
#humanGateInput:focus { outline: 2px solid var(--green); border-color: transparent; }
.vo-human .btn { width: 100%; }

/* Refine + rating widgets */
.vo-refine-row { display: flex; gap: .55rem; }
.vo-refine-row input {
  flex: 1; min-width: 0; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .9rem;
}
.vo-refine-row input:focus { outline: 2px solid var(--green); border-color: transparent; }
.vo-refine-row .btn { padding: .65rem 1.1rem; font-size: .9rem; }
@media (max-width: 480px) { .vo-refine-row { flex-direction: column; } }
.rate-stars { display: flex; gap: .25rem; }
.rate-stars button {
  background: none; border: 0; cursor: pointer; font-size: 1.9rem; line-height: 1;
  color: #d4dde6; padding: .1rem; transition: transform .1s, color .1s;
}
.rate-stars button:hover { transform: scale(1.15); }
.rate-stars button.on { color: var(--gold); }
#rateComment {
  width: 100%; margin-top: .6rem; padding: .65rem .85rem;
  border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .9rem; resize: vertical;
}
#rateComment:focus { outline: 2px solid var(--green); border-color: transparent; }
.vo-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #16405f 70%, #1b4f3f 100%);
  border-radius: 18px; color: #fff; text-align: center; padding: 1.8rem 1.2rem 1.5rem;
}
.vo-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin: 0 0 .3rem; }
.vo-value { font-family: var(--font-display); font-size: clamp(2.4rem, 8vw, 3.4rem); font-weight: 800; color: var(--gold); margin: 0; line-height: 1.05; }
.vo-range { font-size: .95rem; opacity: .88; margin: .4rem 0 .9rem; }
.vo-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.vo-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .74rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2);
}
.vo-chip-high { background: rgba(14,159,110,.35); border-color: rgba(14,159,110,.6); }
.vo-chip-medium { background: rgba(245,166,35,.3); border-color: rgba(245,166,35,.55); }
.vo-chip-low { background: rgba(214,69,69,.3); border-color: rgba(214,69,69,.55); }
.vo-actions { display: flex; gap: .6rem; margin: 1rem 0 1.2rem; flex-wrap: wrap; }
.vo-actions .btn { flex: 1 1 auto; padding: .7rem 1rem; font-size: .9rem; min-width: 130px; }
.vo-tabs { display: flex; gap: .2rem; border-bottom: 2px solid var(--line); margin-bottom: 1.2rem; }
.vo-tab {
  background: none; border: 0; cursor: pointer; font: inherit;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--muted);
  padding: .6rem .9rem; border-bottom: 3px solid transparent; margin-bottom: -2px;
  display: inline-flex; align-items: center; gap: .4rem;
}
.vo-tab:hover { color: var(--ink); }
.vo-tab.active { color: var(--green-dark); border-bottom-color: var(--green); }
.vo-count {
  font-size: .7rem; background: var(--green-soft); color: var(--green-dark);
  border-radius: 999px; padding: .1rem .45rem; font-family: var(--font-body);
}
.vo-grid { display: grid; gap: .9rem; margin-bottom: .9rem; }
@media (min-width: 640px) { .vo-grid { grid-template-columns: 1fr 1fr; } }
.vo-widget { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: .9rem; }
.vo-grid .vo-widget { margin-bottom: 0; }
.vo-widget h4 {
  font-family: var(--font-display); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin: 0 0 .55rem;
}
.vo-widget p { margin: 0; font-size: .93rem; }
.vo-widget-sm p { font-weight: 600; color: var(--ink); }
.vo-note { display: block; color: var(--muted); font-size: .82rem; margin-top: .3rem; }
.conf-row { display: flex; align-items: center; gap: .7rem; }
.conf-row strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.conf-meter { flex: 1; height: 9px; background: var(--bg-alt); border-radius: 9px; overflow: hidden; }
.conf-fill { height: 100%; border-radius: 9px; transition: width .8s ease; }
.conf-high { background: var(--green); }
.conf-medium { background: var(--gold); }
.conf-low { background: var(--red); }
.vo-item-row { display: flex; gap: .8rem; align-items: center; }
.vo-item-row strong { display: block; font-size: .95rem; line-height: 1.3; }
.vo-thumb { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex: none; }
.vo-list { margin: 0; padding-left: 1.1rem; font-size: .92rem; }
.vo-list li { margin-bottom: .35rem; }
.vo-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.vo-sources a, .vo-source-static {
  display: flex; align-items: center; gap: .7rem; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem;
  text-decoration: none; color: var(--ink);
}
.vo-sources a:hover { border-color: var(--green); background: #fbfefc; }
.vo-source-title { font-weight: 600; font-size: .9rem; flex: 1; }
.vo-source-meta { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.vo-source-meta strong { color: var(--green-dark); }
.vo-ext { color: var(--muted); flex: none; }
.vo-photo {
  display: block; max-width: 100%; max-height: 340px; margin: 0 auto 1rem;
  border-radius: 14px; border: 1px solid var(--line);
}

/* ---------- Cookie consent bar ---------- */
.cookie-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70;
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 14px 40px rgba(11,34,57,.18);
  padding: .9rem 1.1rem;
  animation: modal-in .3s ease;
}
.cookie-bar p { margin: 0; font-size: .83rem; color: var(--ink-soft); line-height: 1.5; }
.cookie-actions { display: flex; flex-direction: column; gap: .4rem; flex: none; }
.cookie-actions .btn { white-space: nowrap; }
@media (min-width: 720px) {
  .cookie-bar { left: auto; right: 1.4rem; bottom: 1.4rem; max-width: 500px; }
}
@media (max-width: 480px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { flex-direction: row; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- Modal (app waitlist) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11,34,57,.55); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; width: min(430px, 100%);
  background: #fff; border-radius: 20px; padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: 0 24px 60px rgba(11,34,57,.3);
  animation: modal-in .22s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.modal-card p { color: var(--ink-soft); font-size: .93rem; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--ink); cursor: pointer;
}
.modal-close:hover { background: var(--line); }
#notifyForm { display: flex; gap: .55rem; margin-top: 1rem; }
#notifyEmail {
  flex: 1; min-width: 0; padding: .72rem .9rem;
  border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .95rem;
}
#notifyEmail:focus { outline: 2px solid var(--green); border-color: transparent; }
#notifyForm .btn { padding: .72rem 1.25rem; font-size: .92rem; }
.modal-msg { margin: 1rem 0 0; font-weight: 600; font-size: .92rem; }
.modal-msg-ok { color: var(--green-dark); }
.modal-msg-err { color: var(--red); }
@media (max-width: 480px) {
  #notifyForm { flex-direction: column; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7d4e2; padding: 2.8rem 0 1.4rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 1.8rem; }
.footer-logo { height: 44px; width: auto; }
.footer-brand p { font-size: .88rem; margin: .6rem 0 0; }
.footer-privacy { color: #9fb3c8; }
.site-footer h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .7rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .45rem; }
.site-footer nav a { color: #c7d4e2; text-decoration: none; font-size: .9rem; }
.site-footer nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; }
.footer-bottom p { font-size: .8rem; color: #8fa3b8; margin: 0; }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
