/* Grubzy marketing site */
:root {
  --red: #d7192a; --red-dark: #8f0f1b; --maroon: #4a0a11; --cream: #fff7f2; --ink: #25161a;
  --muted: #6f5f63; --line: #ecd9d4; --card: #ffffff; --alt: #fdece6; --ok: #1a7f46;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root { --cream: #1c1214; --ink: #f6e9e6; --muted: #b9a3a6; --line: #3c282c; --card: #261a1d; --alt: #231619; --red: #f0333f; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--cream); color: var(--ink); }
a { color: var(--red); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); line-height: 1.05; margin: .3em 0 .4em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); margin: 0 0 .3em; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; }
.sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.6em; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 1em; }
.lead { font-size: 1.2rem; max-width: 40rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--red-dark); color: #fff; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem; }
.nav nav { display: flex; align-items: center; gap: 16px; }
.nav nav a { color: #fff; text-decoration: none; font-size: .95rem; }
.nav nav a.btn { background: #fff; color: var(--red-dark); }
@media (max-width: 640px) { .nav nav a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--red); }
.btn.small { padding: 6px 14px; font-size: .9rem; }
.btn.big { padding: 14px 26px; font-size: 1.05rem; }
.btn.ghost { background: transparent; color: var(--red); }
.btn.light { background: #fff; color: var(--red-dark); border-color: #fff; }
.btn.outline { background: transparent; color: #fff; border-color: #fff; }
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.cta.left { margin-top: 1.8em; }

/* hero */
.hero { background: linear-gradient(160deg, var(--maroon), var(--red-dark) 55%, var(--red)); color: #fff; padding: 56px 0 64px; }
.hero .btn.ghost { color: #fff; border-color: #fff; }
.hero .fine { color: #ffd9d4; }
.pill { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); padding: 4px 14px; border-radius: 999px; font-size: .9rem; margin: 0; }

/* facts */
.facts { background: var(--card); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr; } }
.fact { text-align: center; padding: 22px 8px; }
.fact b { display: block; font-size: 2.4rem; color: var(--red); line-height: 1.1; }
.fact span { color: var(--muted); }

/* blocks */
.block { padding: 60px 0; }
.block.alt { background: var(--alt); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p:last-child { margin-bottom: 0; }

/* comparison */
.compare { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.crow { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr; border-top: 1px solid var(--line); }
.crow:first-child { border-top: 0; }
.crow > div { padding: 12px 14px; }
.chead { font-weight: 700; background: var(--alt); }
.chead small { font-weight: 400; color: var(--muted); }
.us { background: rgba(215, 25, 42, .08); }
.us b { color: var(--red); }
.crow > div:first-child { font-weight: 600; }
@media (max-width: 600px) { .crow { grid-template-columns: 1fr 1fr; } .crow > div:first-child { grid-column: 1 / -1; padding-bottom: 0; } .chead > div:first-child { display: none; } }

/* steps */
.steps { list-style: none; counter-reset: s; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 64px; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps p { margin: 0; color: var(--muted); }
.rules ul { margin: 0; padding-left: 1.2em; }
.rules li { margin: .35em 0; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
details p { color: var(--muted); }

/* final + footer */
.final { background: var(--maroon); color: #fff; text-align: center; padding: 56px 0; }
.final .lead { margin: 0 auto; }
.final .cta { justify-content: center; }
footer { text-align: center; padding: 22px 0 28px; color: var(--muted); font-size: .9rem; }
footer p { margin: 0 0 6px; }
.powered a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-decoration: none; }
.powered b { color: var(--ink); font-weight: 800; }
.powered img { display: block; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* middleman emphasis */
.tagline { font-size: 1.35rem; font-weight: 700; margin: 0 0 .6em; color: #ffd9d4; }
.middleman { background: var(--card); border-bottom: 1px solid var(--line); padding: 60px 0; }
.flows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .flows { grid-template-columns: 1fr; } }
.flow { border-radius: var(--radius); padding: 22px; border: 2px solid var(--line); }
.flow ol { margin: 0; padding-left: 1.3em; }
.flow li { margin: .5em 0; }
.flow.bad { background: var(--alt); }
.flow.bad li b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.flow.good { border-color: var(--red); background: rgba(215, 25, 42, .08); }
.flow.good li b { color: var(--red); }

/* pricing */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.price div { background: var(--card); border: 2px solid var(--red); border-radius: var(--radius); padding: 16px 8px; text-align: center; }
.price b { display: block; font-size: 2.2rem; color: var(--red); line-height: 1.1; }
.price span { color: var(--muted); font-size: .95rem; }
@media (max-width: 520px) { .price { grid-template-columns: 1fr; } }
.price small { font-size: .8rem; }
