/* SYV (/sack-your-voicemail) only. The v1 DEBOX layout for the tradie ad landing page (its copy is frozen), moved here
   from debox.css when v2 put the rest of the site on rg-site.css, plus v2 type (Inter, lighter tight headings). */

:root { --dx-paper: #fbf8f3; --dx-glow: rgba(180, 65, 28, .10); --dx-shadow: 0 40px 80px -40px rgba(28, 25, 23, .35), 0 2px 6px rgba(28, 25, 23, .06); }
body { background: #fff; }
.dx-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.dx-narrow { max-width: 50rem; }
.dx-center { text-align: center; }
.dx-band { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.dx-paper { background: var(--dx-paper); }

/* Type: one display family, big and tight, with an italic accent phrase (Sophiie pattern, Ringroo words). */
.dx-display, .dx-h2 { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; margin: 0 0 1.25rem; }
.dx-display { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.dx-h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.dx-display em, .dx-h2 em { font-style: italic; font-weight: 800; }
.dx-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--stone); max-width: 38rem; }
.dx-center .dx-lede { margin-left: auto; margin-right: auto; }
.dx-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.dx-eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--ink); }
.dx-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.dx-link:hover { color: var(--cta); }

/* Buttons: softer corners, a little lift; colours unchanged (ironbark = press here). */
a.bg-cta, button.bg-cta { border-radius: 12px !important; box-shadow: 0 10px 24px -12px rgba(180, 65, 28, .7) !important; }
.lf-listen { border-radius: 999px !important; border-width: 1.5px !important; padding: .7rem 1.2rem !important; }

/* ── HERO (CSS only: the markup is frozen byte-for-byte). Centred headline, form under it, the photo as a wide
      banner below: the Sophiie hero rhythm. ───────────────────────────────────────────────────────────────── */
.lf-hero { background: radial-gradient(70% 55% at 50% 0%, var(--dx-glow), transparent 70%), linear-gradient(180deg, var(--dx-paper) 0%, #fff 75%) !important; border-bottom: 0 !important; }
.lf-hero > .max-w-6xl > .grid { display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 0 !important; padding-bottom: 0 !important; }
.lf-hero > .max-w-6xl > .grid > div { width: 100%; max-width: 46rem; display: flex; flex-direction: column; align-items: center; }
.lf-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem) !important; line-height: 1 !important; letter-spacing: -0.035em !important; max-width: 15ch; margin-left: auto; margin-right: auto; }
.lf-hero h1 + p { font-size: clamp(1.15rem, 1.8vw, 1.4rem) !important; max-width: 36rem !important; margin-left: auto; margin-right: auto; }
.lf-hero [data-offer-line] { max-width: 36rem !important; margin-left: auto; margin-right: auto; color: var(--ink-2); }
.lf-hero .lf-eyebrow { justify-content: center; }
.lf-hero .lf-form { width: 100%; max-width: 34rem !important; text-align: left; border: 1px solid var(--line) !important; border-radius: 22px !important; box-shadow: var(--dx-shadow); padding: 1.5rem !important; margin-left: auto; margin-right: auto; }
.lf-hero [data-trust-chips] { justify-content: center; }
.lf-hero .lf-photo { width: 100%; max-width: 72rem; margin: 3.5rem auto 0; border: 0; border-radius: 28px; overflow: hidden; position: relative; background: var(--line); box-shadow: var(--dx-shadow); }
.lf-hero .lf-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 768px) { .lf-hero .lf-photo img { aspect-ratio: 21 / 9; } }
.lf-hero .lf-photo figcaption { position: absolute; right: .75rem; bottom: .75rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.85); padding: .25rem .7rem; }
/* Landing page hero (/sack-your-voicemail) shares the same structure. */
.lf-hero .lf-hero-cta, .lf-hero .grid > div > a { align-self: center; }

/* ── HOW IT WORKS: three big numbered steps on hairline dividers, then the text as one product shot. ─────── */
.dx-steps { background: transparent !important; border-top: 0 !important; }
.dx-steps .dx-head { margin-bottom: 3rem; }
.dx-steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 768px) { .dx-steps-row { grid-template-columns: repeat(3, 1fr); gap: 0; } .dx-steps-row > li { padding: 0 2rem; border-left: 1px solid var(--line); } .dx-steps-row > li:first-child { border-left: 0; padding-left: 0; } }
.dx-step-num { display: block; font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: 3.5rem; line-height: 1; letter-spacing: -0.04em; color: var(--ink); margin-bottom: .9rem; }
.dx-steps-row h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: .4rem; }
.dx-steps-row p { color: var(--stone); line-height: 1.55; }
.dx-sms-stage { display: flex; justify-content: center; margin-top: 3.5rem; padding: 3rem 1rem; border-radius: 28px; background: radial-gradient(60% 80% at 50% 100%, var(--dx-glow), transparent 70%), var(--dx-paper); }
.dx-sms-stage .lf-sms { margin: 0; width: 100%; max-width: 24rem; border: 0; border-radius: 22px; box-shadow: var(--dx-shadow); padding: 1rem 1rem 1.1rem; }
.dx-steps .dx-note { text-align: center; max-width: 40rem; margin: 2rem auto 0; font-size: .85rem; color: var(--stone); line-height: 1.6; }

/* ── STATEMENT band (voicemail problem). ───────────────────────────────────────────────────────────────── */
.dx-statement { background: var(--dx-paper); }
.dx-statement .dx-lede { margin-bottom: 2.25rem; color: var(--ink-2); }

/* ── RING-ME block (CSS only): an inset dark panel with a warm glow instead of a hard full-width box. ─── */
section[data-number-cta] { margin: 0 .75rem; border-radius: 28px; padding: clamp(3.5rem, 7vw, 6rem) 0 !important;
  background: radial-gradient(60% 70% at 85% 0%, rgba(180, 65, 28, .45), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(31, 78, 121, .45), transparent 70%), var(--ink) !important; }
@media (min-width: 768px) { section[data-number-cta] { margin: 0 1.5rem; } }
section[data-number-cta] > div { text-align: center; }
section[data-number-cta] h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem) !important; letter-spacing: -0.03em; line-height: 1.02 !important; }
section[data-number-cta] form, section[data-number-cta] #numcta-status { margin-left: auto; margin-right: auto; }
section[data-number-cta] label { text-align: left; }
section[data-number-cta] input { border-radius: 14px !important; border: 0 !important; }

/* ── WHO IT'S FOR: the trades as one big line of type, not a row of pills. ───────────────────────────── */
.dx-split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .dx-split { grid-template-columns: 5fr 7fr; gap: 4.5rem; } }
.dx-trade-list { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1.5rem; }
.dx-trade-list span:not(:last-child)::after { content: " /"; color: var(--line); font-weight: 700; }
.dx-trade-list .dx-muted { color: var(--stone); font-style: italic; }

/* ── SAMPLE CALL: copy on the left, the call as one product shot on the right. ─────────────────────────── */
.dx-feature { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .dx-feature { grid-template-columns: 5fr 7fr; gap: 4.5rem; } }
.dx-shot { background: #fff; border-radius: 28px; padding: 1rem; box-shadow: var(--dx-shadow); border: 1px solid rgba(217, 210, 198, .6); }
.dx-shot-stage { padding: clamp(1rem, 3vw, 2.5rem); border-radius: 32px; background: radial-gradient(70% 70% at 70% 30%, var(--dx-glow), transparent 70%), var(--dx-paper); }
.dx-shot .dx-transcript { margin-top: .75rem; padding: .5rem .25rem 0; }

/* ── CALCULATOR: a statement + one dark button; the open calculator is the only panel. ─────────────────── */
#roi.dx-roi { background: var(--dx-paper) !important; border: 0 !important; }
#roi [data-track="roi-expand-home"] { background: var(--ink); color: #fff !important; text-decoration: none !important; padding: .95rem 1.4rem; border-radius: 12px; font-size: 1rem; }
#roi [data-track="roi-expand-home"]:hover { background: var(--ink-2); }
#roi [data-roi-calculator] { border: 0 !important; border-radius: 24px !important; box-shadow: var(--dx-shadow); padding: clamp(1.25rem, 3vw, 2.5rem) !important; }
#roi [data-roi-calculator] > div:last-child { background: var(--dx-paper) !important; border: 0 !important; border-radius: 18px !important; }

/* ── WHAT YOU CAN COUNT ON: numbered list on hairlines, asymmetric with a sticky heading. ───────────────── */
@media (min-width: 1024px) { .dx-sticky { position: sticky; top: 7rem; } }
.dx-numlist { list-style: none; margin: 0; padding: 0; counter-reset: dx; }
.dx-numlist > li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.dx-numlist > li:last-child { border-bottom: 1px solid var(--line); }
.dx-numlist .dx-n { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--stone); padding-top: .2rem; }
.dx-numlist h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important; font-weight: 800 !important; letter-spacing: -0.02em; line-height: 1.15; }
.dx-numlist p { color: var(--stone); line-height: 1.6; }
.dx-numlist .dx-small { font-size: .85rem; margin-top: .6rem; }

#trust .dx-h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }

/* ── THE DEAL: big checked lines on hairlines, no boxed rows. ──────────────────────────────────────────── */
.dx-checks { list-style: none; margin: 0 0 2.25rem; padding: 0; }
.dx-checks > li { position: relative; padding: 1.1rem 0 1.1rem 2.6rem; border-top: 1px solid var(--line); font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.dx-checks > li:last-child { border-bottom: 1px solid var(--line); }
.dx-checks > li::before { content: "✓"; position: absolute; left: 0; top: 1.05rem; font-size: 1.35rem; color: var(--success); }
.dx-close { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }

/* ── PRICING (CSS only: markup frozen). One joined panel, hairline columns, Growth raised. ─────────────── */
#pricing { background: var(--dx-paper) !important; }
#pricing h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem) !important; letter-spacing: -0.03em; }
#pricing .grid { gap: 1rem !important; }
#pricing .grid > div { border: 0 !important; border-radius: 24px !important; box-shadow: 0 1px 0 rgba(28,25,23,.04); }
#pricing .grid > div.border-ink { outline: 2px solid var(--ink); box-shadow: var(--dx-shadow) !important; }
@media (min-width: 768px) {
  #pricing .grid { gap: 0 !important; align-items: stretch !important; background: #fff; border-radius: 28px; padding: .5rem; box-shadow: 0 1px 0 rgba(28,25,23,.05); }
  #pricing .grid > div { box-shadow: none; }
  #pricing .grid > div:not(.border-ink) + div:not(.border-ink), #pricing .grid > div.border-ink + div { border-left: 0 !important; }
}
#pricing .grid > div.border-ink .absolute { z-index: 2; top: -.9rem !important; }
#pricing .grid > div.border-ink .absolute span { border-radius: 999px; display: inline-block; }
#pricing .grid > div.border-ink { position: relative; z-index: 1; }
#pricing a.border-2 { border-radius: 12px !important; border-width: 1.5px !important; border-color: var(--ink) !important; }

/* ── FAQ: quieter rules, open item gets a soft fill. ───────────────────────────────────────────────────── */
#faq .divide-y { border-top: 0 !important; border-bottom: 0 !important; }
#faq details { padding-left: 1.25rem !important; padding-right: 1.25rem !important; transition: background .2s; }
#faq details[open] { background: var(--dx-paper); border-radius: 18px; border-top-color: transparent !important; }
#faq details[open] + details { border-top-color: transparent !important; }
#faq h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem) !important; letter-spacing: -0.03em; }

/* ── FINAL CTA: an inset, softly glowing light panel above the footer (CSS only; the Sophiie close). ──── */
section.lf-final { margin: 0 .75rem clamp(3rem, 6vw, 5rem); border-radius: 28px; padding: clamp(4rem, 9vw, 7rem) 0 !important;
  background: radial-gradient(60% 90% at 50% 0%, rgba(180, 65, 28, .22), transparent 70%), radial-gradient(50% 70% at 50% 100%, rgba(31, 78, 121, .10), transparent 70%), var(--dx-paper) !important; }
@media (min-width: 768px) { section.lf-final { margin: 0 1.5rem clamp(3rem, 6vw, 5rem); } }
section.lf-final h2 { color: var(--ink) !important; font-size: clamp(2.6rem, 5.6vw, 4.5rem) !important; letter-spacing: -0.035em; line-height: 1 !important; }
section.lf-final p { color: var(--ink-2) !important; }
section.lf-final a:not(.bg-cta) { color: var(--ink) !important; }
section.lf-final > div { max-width: 52rem !important; }

/* Sticky mobile bar: match the new corners. */
#sticky-cta { border-top: 0 !important; box-shadow: 0 -10px 30px -12px rgba(28,25,23,.25); }
#sticky-cta a { border-radius: 12px !important; }
.dx-wrap.dx-band { padding-left: 1.5rem; padding-right: 1.5rem; }

/* v2 type on SYV, so it matches the rest of the site. */
body { font-family: var(--v2-font, 'Inter', system-ui, sans-serif); }
.dx-display, .dx-h2, .lf-hero h1 { font-family: var(--v2-font, 'Inter', system-ui, sans-serif) !important; font-weight: 500 !important; letter-spacing: -0.035em !important; }
.dx-display em, .dx-h2 em { font-weight: 500; }
.dx-steps-row h3, .dx-numlist h3, #faq summary { font-family: var(--v2-font, 'Inter', system-ui, sans-serif); font-weight: 600; letter-spacing: -0.01em; }
.lf-hero .lf-eyebrow { font-family: var(--v2-font, 'Inter', system-ui, sans-serif); }
.lf-hero a.bg-cta, a.bg-cta { border-radius: 10px !important; }
#faq h2 { font-family: var(--v2-font, "Inter", system-ui, sans-serif) !important; font-weight: 500 !important; letter-spacing: -0.035em; }
