/* ──────────────────────────────────────────────────────────────────────────
   /design-review/ — the $499 human review landing page.

   Loaded on top of main.css, which already supplies the tokens, the header
   and the footer. Everything here is prefixed .dr- so it cannot leak into
   another page, and every colour comes from a main.css variable so the page
   cannot drift off-brand when the palette moves.
   ────────────────────────────────────────────────────────────────────── */

.dr {
    --dr-col: 1080px;
}

.dr-wrap {
    max-width: var(--dr-col);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dr-wrap-narrow { max-width: 720px; }

.dr h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.dr h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.45rem;
}

.dr p { color: var(--ink-soft); }

.dr-sub {
    font-size: 1.05rem;
    color: var(--mute);
    max-width: 62ch;
    margin-bottom: 2.25rem;
}

.dr-note {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--mute);
}

.dr-note a, .dr-faq a, .dr-price-fine a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ────────────────────────────── Bands ─────────────────────────────── */

.dr-band { padding: 4.5rem 0; }
.dr-band-warm {
    background: var(--cream-2);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

/* ────────────────────────────── Hero ──────────────────────────────── */

.dr-hero {
    padding: 4.5rem 0 4rem;
    background:
        radial-gradient(1200px 400px at 50% -10%, var(--red-glow), transparent 70%),
        var(--cream);
    text-align: center;
}

.dr-eyebrow {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red-deep);
    background: rgba(176, 32, 32, 0.07);
    border: 1px solid rgba(176, 32, 32, 0.18);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.5rem;
}

.dr-hero h1 {
    font-size: clamp(2.1rem, 5.2vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 900;
    max-width: 22ch;
    margin: 0 auto 1.25rem;
}

.dr-lede {
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto 2rem;
}

.dr-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.dr-hero-note { font-size: 0.88rem; color: var(--mute); }

.dr-ticks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
    margin-top: 2.25rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.dr-tick {
    color: var(--ok);
    font-weight: 700;
    margin-right: 0.25rem;
}

/* ────────────────────────────── Buttons ───────────────────────────── */

.dr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--red);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    transition: background 0.15s, transform 0.15s;
}

.dr-btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.dr-btn:active { transform: none; }
.dr-btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

.dr-btn-ghost {
    background: transparent;
    color: var(--red);
    border: 1.5px solid var(--line);
    box-shadow: none;
}
.dr-btn-ghost:hover { background: rgba(176, 32, 32, 0.05); border-color: var(--red); }

.dr-btn-wide { width: 100%; }

/* ─────────────────────── The four deliverables ────────────────────── */

.dr-deliverables {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    counter-reset: none;
}

.dr-deliverables li {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.6rem 1.5rem;
    box-shadow: var(--shadow-1);
}

.dr-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.dr-deliverables p { font-size: 0.96rem; }

/* ────────────────────── Insurance / the ledger ─────────────────────── */

.dr-two {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.dr-two p { margin-bottom: 1rem; }
.dr-two p:last-child { margin-bottom: 0; }

.dr-ledger {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.dr-ledger-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
}

.dr-ledger-row span { color: var(--mute); }
.dr-ledger-row strong { font-family: var(--mono); font-size: 0.95rem; white-space: nowrap; }

.dr-ledger-total {
    border-bottom: none;
    background: rgba(176, 32, 32, 0.05);
}
.dr-ledger-total span { color: var(--ink); font-weight: 600; }
.dr-ledger-total strong { color: var(--red-deep); font-size: 1.25rem; }

/* ────────────────────────────── Cards ─────────────────────────────── */

.dr-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.dr-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-1);
}

.dr-card p { font-size: 0.95rem; }

/* ───────────────────────────── Compare ────────────────────────────── */

.dr-compare {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.dr-compare-col {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-1);
}

.dr-compare-featured {
    border: 2px solid var(--red);
    box-shadow: var(--shadow-2);
}

.dr-badge {
    position: absolute;
    top: -0.7rem;
    left: 1.75rem;
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.dr-compare-col ul {
    list-style: none;
    margin: 1rem 0 1.75rem;
    flex: 1;
}

.dr-compare-col li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.dr-compare-col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--line);
}

.dr-compare-featured li::before { background: var(--red); }

/* ────────────────────────────── Steps ─────────────────────────────── */

.dr-steps {
    list-style: none;
    counter-reset: dr-step;
    display: grid;
    gap: 1.5rem;
    max-width: 760px;
}

.dr-steps li {
    counter-increment: dr-step;
    position: relative;
    padding-left: 3.25rem;
}

.dr-steps li::before {
    content: counter(dr-step);
    position: absolute;
    left: 0;
    top: -0.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--red);
    color: var(--red-deep);
    font-family: var(--mono);
    font-size: 0.88rem;
    font-weight: 700;
}

.dr-steps p { font-size: 0.96rem; }

/* ─────────────────────────── Not-for list ─────────────────────────── */

.dr-nope {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.75rem;
    margin-top: 0.5rem;
}

.dr-nope li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.96rem;
    color: var(--ink-soft);
}

.dr-nope li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

/* ────────────────────────────── Price ─────────────────────────────── */

.dr-price {
    background: #fff;
    border: 2px solid var(--red);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-3);
    text-align: center;
}

.dr-price-head { margin-bottom: 1.5rem; }

.dr-price-amount {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink);
}

.dr-price-unit {
    font-size: 0.95rem;
    color: var(--mute);
    margin-top: 0.4rem;
}

.dr-price-list {
    list-style: none;
    text-align: left;
    margin-bottom: 1.75rem;
    display: grid;
    gap: 0.55rem;
}

.dr-price-list li {
    font-size: 0.96rem;
    color: var(--ink-soft);
}

.dr-price-fine {
    margin-top: 1rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--mute);
}

/* ─────────────────────────────── Form ────────────────────────────────
   The address field here is NOT the scan input. See the comment in
   layouts/design-review/single.html before adding anything that makes it
   behave like one. */

.dr-band-ask { scroll-margin-top: 80px; }

.dr-field { margin-bottom: 1.1rem; }

.dr-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.dr-req, .dr-opt {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-left: 0.4rem;
}
.dr-req { color: var(--red); }
.dr-opt { color: var(--mute); }

.dr input[type="text"],
.dr input[type="email"],
.dr input[type="tel"],
.dr select,
.dr textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dr textarea { resize: vertical; line-height: 1.5; }

.dr input:focus,
.dr select:focus,
.dr textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.dr input[disabled], .dr select[disabled], .dr textarea[disabled] {
    background: var(--cream-2);
    color: var(--mute);
}

.dr-url-wrap {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dr-url-wrap:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.dr-url-prefix {
    display: flex;
    align-items: center;
    padding: 0 0.1rem 0 0.85rem;
    font-family: var(--mono);
    font-size: 0.92rem;
    color: var(--mute);
    background: #fff;
}

.dr-url-wrap input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 0.25rem;
}

.dr-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
}

.dr-hint {
    margin-top: 0.45rem;
    font-size: 0.84rem;
    color: var(--mute);
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.dr-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dr-error, .dr-ok {
    display: none;
    margin-top: 0.85rem;
    font-size: 0.93rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
}

.dr-error.is-visible {
    display: block;
    color: var(--red-deep);
    background: rgba(176, 32, 32, 0.07);
    border: 1px solid rgba(176, 32, 32, 0.22);
}

.dr-ok.is-visible {
    display: block;
    color: #15603a;
    background: rgba(30, 122, 68, 0.08);
    border: 1px solid rgba(30, 122, 68, 0.22);
    font-weight: 600;
}

/* ─────────────────────────────── FAQ ─────────────────────────────── */

.dr-faq { display: grid; gap: 0.6rem; }

.dr-faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.95rem 1.2rem;
}

.dr-faq summary {
    cursor: pointer;
    font-weight: 650;
    font-size: 0.98rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.dr-faq summary::-webkit-details-marker { display: none; }

.dr-faq summary::after {
    content: "+";
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
}

.dr-faq details[open] summary::after { content: "–"; }

.dr-faq details p {
    margin-top: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ───────────────────────────── Narrow ───────────────────────────── */

@media (max-width: 860px) {
    .dr-deliverables,
    .dr-cards,
    .dr-compare,
    .dr-nope { grid-template-columns: 1fr; }

    .dr-two { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 560px) {
    .dr-band { padding: 3.25rem 0; }
    .dr-hero { padding: 3rem 0 2.75rem; }
    .dr-row { grid-template-columns: 1fr; }
    .dr-price { padding: 1.5rem 1.25rem; }
    .dr-price-amount { font-size: 2.6rem; }
    .dr-ticks { flex-direction: column; align-items: flex-start; text-align: left; }
}
