/* webuycompute — monochrome design system. Black, white, greys only. */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --muted: #555555;
  --faint: #888888;
  --line: #e2e2e2;
  --line-2: #cccccc;
  --line-strong: #000000;
  --wash: #f6f6f6;
  --wash-2: #efefef;
  --maxw: 1040px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 50; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo .mark { display: block; color: var(--ink); }
.logo .name { font-size: 18px; font-weight: 400; letter-spacing: -0.02em; }
.logo .name b { font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a.current { color: var(--ink); }
.nav .btn-sm { color: var(--paper); }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; line-height: 1; padding: 4px; }

@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 24px; }
  .nav .btn-sm { margin: 8px 24px; text-align: center; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; font-size: 15px; font-weight: 600;
  font-family: inherit; color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer;
  text-decoration: none; text-align: center; line-height: 1.2;
}
.btn:hover { background: #222; }
.btn.block { display: block; width: 100%; }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.ghost:hover { background: var(--wash); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 5px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
.btn-sm:hover { background: #222; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section.tight { padding: 44px 0; }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
h1 { font-size: 42px; line-height: 1.12; margin: 0 0 14px; font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 18px; margin: 0 0 6px; font-weight: 600; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 620px; }
p.small { font-size: 13px; color: var(--faint); }

@media (max-width: 600px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .section { padding: 48px 0; }
}

/* ---------- Hero + wizard ---------- */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* single centered column above the fold */
.hero-col { margin: 0 auto; text-align: center; }
.hero-col h1 { font-size: 46px; font-weight: 400; margin-bottom: 28px; }
.hero-col h1 b { font-weight: 700; }
.hero-col .value-strip { margin-top: 30px; }
@media (max-width: 600px) { .hero-col h1 { font-size: 32px; } .hero { padding: 40px 0; } }

/* wizard — clean floating fields, no card chrome */
.wizard { max-width: 480px; margin: 0 auto; text-align: left; }
.wizard-body { }
.wizard .field { margin-bottom: 14px; }
.wizard select, .wizard input { padding: 16px; font-size: 17px; border-radius: 8px; }
.wizard .btn { padding: 17px; font-size: 16px; border-radius: 8px; }
#bar[hidden], #headnote[hidden] { display: none; }

.pill { display: inline-block; border: 1px solid var(--line-2); border-radius: 100px;
  padding: 5px 13px; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }

/* ---------- Value strip (struck fees) ---------- */
.value-strip { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap;
  font-size: 14px; color: var(--ink); }
.value-strip s { color: var(--faint); }
.value-strip b { font-weight: 600; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* metric cells */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric { background: var(--paper); padding: 22px; }
.metric .n { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.metric .l { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; }
.step-col { border-top: 2px solid var(--ink); padding-top: 12px; }
.step-col .k { font-size: 12px; color: var(--faint); }
.step-col h3 { font-size: 15px; margin: 2px 0 5px; }
.step-col p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 8px 0 8px 30px; font-size: 15px; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 15px;
  width: 8px; height: 14px; border: solid var(--ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg); }

/* ---------- Sample valuation card ---------- */
.quote-sample { max-width: 540px; margin: 0 auto; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.quote-sample .head { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.quote-sample .fig { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.quote-sample .rows { padding: 16px 24px; }
.qrow { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.qrow .k { color: var(--muted); }
.qrow.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 600; font-size: 16px; }
.quote-sample .foot { padding: 14px 24px; background: var(--wash); font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 17px;
  font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 680px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
label { display: block; font-size: 14px; margin-bottom: 6px; font-weight: 500; }
label .hint { font-weight: 400; color: var(--muted); }
select, input, textarea {
  width: 100%; padding: 13px 14px; font-size: 16px; font-family: inherit;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius); appearance: none;
}
textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.tag-input { display: flex; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.tag-input .tag { background: var(--ink); color: var(--paper); padding: 0 13px; font-size: 11px;
  letter-spacing: 0.5px; display: flex; align-items: center; }
.tag-input input { border: 0; border-radius: 0; }
.tag-input input:focus { outline: none; }

/* ---------- Date picker (wizard) ---------- */
.date {
  border: 1px solid var(--line-strong); border-radius: 5px; padding: 10px 4px;
  text-align: center; font-size: 12px; cursor: pointer; background: var(--paper);
  font-family: inherit; color: var(--ink); line-height: 1.3;
}
.date span { display: block; font-size: 14px; font-weight: 600; }
.date:hover { background: var(--wash); }
.date.sel { background: var(--ink); color: var(--paper); }
.date.sel span { color: var(--paper); }

/* wizard step visibility */
.step { display: none; }
.step.active { display: block; }
.fig { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 4px 0 2px; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0; font-size: 13px; color: var(--faint); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 32px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { font-size: 13px; color: var(--ink); margin: 0 0 12px; font-weight: 600; }
.foot-grid a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid var(--line); padding-top: 20px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.prose { max-width: 720px; }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 40px; }

/* ============================================================
   Landing hero (email-first) + funnel
   ============================================================ */

.hero-sub { font-size: 20px; color: var(--muted); margin: 0 0 30px; }
@media (max-width: 600px) { .hero-sub { font-size: 17px; } }

.start-form { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 0 auto; }
.start-form input {
  width: 100%; padding: 17px 18px; font-size: 17px; border-radius: 9px; border: 1.5px solid var(--line-strong);
  text-align: center;
}
.start-form input::placeholder { color: var(--faint); }
.start-form .btn { width: 100%; border-radius: 9px; padding: 17px; font-size: 16px; }

.microcopy { font-size: 13px; color: var(--faint); margin: 12px 0 0; }

/* ---- Funnel overlay ---- */
.funnel { display: none; position: fixed; inset: 0; background: var(--paper); z-index: 200; overflow-y: auto; }
body.funnel-on .funnel { display: block; }
body.funnel-on { overflow: hidden; }
/* hide everything else while in the funnel */
body.funnel-on .site-header,
body.funnel-on main.landing,
body.funnel-on footer.landing { display: none; }

.funnel-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 460px; margin: 0 auto; padding: 16px 20px 0;
}
.funnel-top .logo .name { font-size: 15px; }
.fnav {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); color: var(--ink); font-size: 16px; cursor: pointer; line-height: 1;
}
.fnav:hover { background: var(--wash); }

.funnel-progress { max-width: 460px; margin: 16px auto 0; padding: 0 20px; }
.funnel-progress span { display: block; height: 3px; background: var(--ink); width: 0; border-radius: 2px; transition: width .3s ease; }

.funnel-stage { max-width: 460px; margin: 0 auto; padding: 40px 20px 80px; }

.fstep { display: none; }
.fstep.active { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.fq { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.02em; }
.fhint { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.fstep .field { margin-bottom: 16px; }
.fstep .btn.block { margin-top: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flash { outline: 2px solid #000 !important; animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---- selectable tiles ---- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.tile {
  padding: 20px 16px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 500;
  font-family: inherit; cursor: pointer; text-align: left;
}
.tile:hover { background: var(--wash); }
.tile.sel { background: var(--ink); color: var(--paper); }

/* ---- result screen ---- */
.reyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.rfig { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 8px; }
.rconf { margin: 0 0 24px; }
.rbreak { border-top: 1px solid var(--line); margin-bottom: 18px; }
.rrow { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rrow span:first-child { color: var(--muted); }
.rrow s { color: var(--faint); }
.rsave { border: 1px solid var(--ink); border-radius: 10px; padding: 16px 18px; margin-bottom: 24px; }
.rsave-head { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.rsave .rrow { border-bottom: 1px solid var(--line); }
.rsave .rrow:last-child { border-bottom: 0; padding-bottom: 0; }

.done-badge {
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-size: 26px; margin: 8px auto 16px;
}

/* funnel date grid container */
.funnel .dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
@media (max-width: 460px) { .funnel .dates { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Section rhythm + visual weight
   ============================================================ */

/* remove per-section hairlines; use background alternation for rhythm */
.landing .section { border-bottom: 0; }
.section-wash { background: var(--wash); }

/* dark feature section (quote example) */
.section-dark { background: #101010; color: #ffffff; }
.section-dark h2, .section-dark .center-title { color: #ffffff; }
.center-eyebrow { text-align: center; color: #9a9a9a; }
.center-title { text-align: center; margin-bottom: 28px; }

/* lift the quote-sample as the page's focal card */
.section-dark .quote-sample {
  background: var(--paper); color: var(--ink);
  border: 0; box-shadow: 0 24px 60px rgba(0,0,0,.4); border-radius: 14px;
}
.section-dark .quote-sample .fig { font-size: 38px; }

/* stronger hero presence */
.hero { padding: 76px 0 64px; }
.hero-col h1 { font-size: 50px; }
@media (max-width: 600px) { .hero-col h1 { font-size: 33px; } .hero { padding: 44px 0; } }

/* value strip a touch bolder, sits on a divider */
.hero-col .value-strip { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }

/* section headings centered feel a bit stronger on feature section */
.section-dark .foot { background: #f0f0f0; }
