/* Bidoro: a printed list worked over with two markers. Black marker hides names, yellow highlighter picks one out. */
:root {
  --ink: #14204a;
  --ink-soft: #2b3768;
  --muted: #4c5470;
  --paper: #ffffff;
  --surface: #f3f4f7;
  --line: #dadde6;
  --hi: #ffe135;
  --font: "Atkinson Hyperlegible", system-ui, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--font); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--hi); }
::selection { background: var(--hi); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--hi); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons: ink, the color of the marker */
.btn { display: inline-flex; align-items: center; min-height: 3.1rem; padding: 0.7rem 1.4rem; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; box-shadow: inset 0 -5px 0 var(--hi); transition: box-shadow 0.18s ease, background 0.18s ease; }
.btn:hover { background: var(--ink-soft); box-shadow: inset 0 -8px 0 var(--hi); }
.btn-small { min-height: 2.6rem; padding: 0.45rem 1rem; font-size: 1rem; box-shadow: inset 0 -4px 0 var(--hi); }
.btn-ink { box-shadow: none; }
.btn-ink:hover { box-shadow: none; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.logo img { width: 124px; }
.top nav { display: flex; align-items: center; gap: 1.6rem; }
.top nav a:not(.btn) { font-weight: 700; text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 4px; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 var(--section); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); letter-spacing: -0.015em; max-width: 14ch; }
.lede { margin-top: 1.4rem; font-size: clamp(1.15rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 34rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; }
.hero-note { color: var(--muted); font-size: 1rem; max-width: 18rem; }

/* The answer card: the most characteristic thing in Bidoro's world */
.answer { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 3vw, 1.75rem); }
.ask { margin-left: auto; width: fit-content; max-width: 90%; background: var(--ink); color: #fff; padding: 0.7rem 1rem; border-radius: 14px 14px 4px 14px; font-weight: 700; line-height: 1.35; }
.picks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.picks li { display: flex; align-items: center; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 0.7rem 0.9rem; }
.redact { display: block; height: 0.95rem; width: var(--w); max-width: calc(100% - 4.5rem); background: var(--ink); border-radius: 2px; transform: skewX(-4deg); }
.stars { margin-left: auto; font-weight: 700; color: var(--muted); font-size: 0.95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.you { position: relative; margin-top: 0.9rem; border: 2px dashed #a3a9bb; border-radius: 8px; padding: 0.7rem 0.9rem; font-weight: 700; }
.you-text { position: relative; z-index: 1; }
.you::before { content: ""; position: absolute; left: 0.45rem; top: 50%; height: 1.55rem; width: 9.6rem; margin-top: -0.78rem; background: var(--hi); transform: skewX(-8deg) rotate(-1deg); border-radius: 3px; }
.answer figcaption { margin-top: 1.1rem; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

/* One moment: the answer arrives line by line, then the highlighter marks the empty slot */
@media (prefers-reduced-motion: no-preference) {
  .picks li { animation: arrive 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.25s + var(--i) * 0.14s); }
  .you { animation: arrive 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 1.15s both; }
  .you::before { transform-origin: left center; animation: swipe 0.55s cubic-bezier(0.3, 0.7, 0.2, 1) 1.55s both; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes swipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Findings */
.found { padding: var(--section) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; max-width: 24ch; }
.section-lede { margin-top: 1rem; color: var(--muted); max-width: 42rem; }
.facts { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.75rem); }
.facts li { border-top: 4px solid var(--ink); padding-top: 1.1rem; }
.facts h3 { font-size: 1.3rem; }
.facts p { margin-top: 0.6rem; color: var(--muted); }

/* How it works: a price list, read top to bottom */
.how { padding: var(--section) 0; }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: 0.25rem 1.5rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--hi); font-weight: 700; font-size: 1.15rem; }
.step-body h3 { font-size: 1.35rem; margin-top: 0.2rem; }
.step-body p { margin-top: 0.45rem; color: var(--muted); max-width: 40rem; }
.price { font-size: 1.6rem; font-weight: 700; text-align: right; white-space: nowrap; margin-top: 0.1rem; }
.price small { display: block; font-size: 0.9rem; font-weight: 400; color: var(--muted); }

/* Also */
.more { padding: 0 0 var(--section); }
.more-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(1.5rem, 3vw, 2.75rem); }
.more-item { border-left: 4px solid var(--hi); padding-left: 1.2rem; }
.more-item h3 { font-size: 1.3rem; }
.more-item p { margin-top: 0.6rem; color: var(--muted); }

/* Who */
.who { padding: var(--section) 0; border-top: 1px solid var(--line); }
.who-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 1.5rem clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.who p { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; max-width: 38rem; }

/* CTA band in highlighter yellow */
.cta { background: var(--hi); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta h2 { max-width: 20ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; }
.cta-mail { font-weight: 700; }

/* Footer */
.foot { background: var(--ink); color: #dfe3f0; padding: 3rem 0; font-size: 1rem; }
.foot a { color: #fff; }
.foot-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: start; }
.foot img { width: 124px; }
.fine { color: #aab1c9; font-size: 0.9rem; max-width: 18rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .more-grid, .who-grid { grid-template-columns: 1fr; }
  .foot-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .top nav a:not(.btn) { display: none; }
  .logo img { width: 104px; }
  .steps li { grid-template-columns: 2.75rem minmax(0, 1fr); }
  .price { grid-column: 2; text-align: left; margin-top: 0.6rem; }
  .price small { display: inline; margin-left: 0.3rem; }
  .hero-note { max-width: none; }
}
