/* ============================================================
   ADVRTISE — daylight
   The page starts at night (renting leads, in the dark) and turns to
   day where the offer begins. This file holds:
     1. the day token set (scoped to .day, so night-core's components
        follow it without edits),
     2. the dawn band between the two halves,
     3. the Google review cards, the proof numbers row and the
        objections grid, which appear in both halves.
   Load after night.css.
   ============================================================ */

/* ---------------- 1. Day tokens ---------------- */
.day {
  --bg: #f4f0e8;
  --bg-deep: #ebe6dc;
  --panel: #fffdf9;
  --panel-2: #f8f4ec;
  --ink: #121214;
  --ink-2: #2b2b30;
  --ink-3: #4b4b52;
  --ink-4: #6b6b73;
  --ink-5: #86868d;
  --ink-6: #9c9ca3;
  --line: rgba(18, 18, 20, .1);
  --line-2: rgba(18, 18, 20, .07);
  --line-3: rgba(18, 18, 20, .14);
  --line-strong: rgba(18, 18, 20, .24);
  background: var(--bg);
  color: var(--ink);
  /* flow-root stops child margins collapsing through the wrapper, which
     would let the night body colour show as a stripe between blocks. */
  display: flow-root;
}
.day ::selection { background: var(--acc); color: #fff; }

/* Glow is a night effect. In daylight the orange carries itself. */
.day .disp .glow { text-shadow: 0 0 22px rgba(255, 90, 31, .16); }
.day .labrow b { text-shadow: none; }
.day .lbl .dot { box-shadow: 0 0 8px rgba(255, 90, 31, .6); }

.day .cbtn {
  box-shadow: 0 14px 34px -12px rgba(255, 90, 31, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.day .cbtn:hover {
  box-shadow: 0 20px 44px -12px rgba(255, 90, 31, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.day .cbtn.ghost { background: rgba(18, 18, 20, .04); }
.day .cbtn.ghost:hover { border-color: rgba(18, 18, 20, .5); }

.day .panel { box-shadow: 0 24px 60px -40px rgba(18, 18, 20, .35); }
.day .panel.own { box-shadow: 0 30px 70px -40px rgba(255, 90, 31, .5); }
.day .gpanel { background: radial-gradient(120% 140% at 50% 0%, rgba(255, 90, 31, .1), transparent 60%), var(--panel); }

.day .pc { background: linear-gradient(170deg, #fffdf9, #f8f4ec); }
.day .pc:hover { box-shadow: 0 24px 44px -28px rgba(18, 18, 20, .35); }

.day .fitrow .tk { box-shadow: none; }
.day .tl::before { background: rgba(18, 18, 20, .12); }
.day .tlrow::before { box-shadow: 0 0 10px rgba(255, 90, 31, .5); }

/* Conversion bars. These target the track, not .bar — .bar is the
   wrapper that holds the label and the track together. */
.day .bar-track { background: rgba(18, 18, 20, .05); border-color: rgba(18, 18, 20, .2); }
.day .bar.lo .bar-track i { background: rgba(18, 18, 20, .55); }
.day .bar.hi .bar-track i { box-shadow: 0 10px 24px -10px rgba(255, 90, 31, .7); }

.day .shot-bar { background: rgba(18, 18, 20, .03); }
.day .shot-bar s { background: rgba(18, 18, 20, .14); }
.day .shot-img::after { background: linear-gradient(to bottom, rgba(255, 253, 249, 0), var(--panel)); }
.day .proofgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* Partner marks are white-on-transparent. Flip them for paper. */
.day .partner-logo { filter: invert(1) brightness(.12); opacity: 1; }

.day .ftq-face { box-shadow: 0 20px 48px -24px rgba(18, 18, 20, .4); }
.day .closing-glow { background: radial-gradient(44% 46% at 50% 62%, rgba(255, 90, 31, .14), transparent 72%); }
.day .site-foot { border-top-color: var(--line); }

/* ---------------- 2. Dawn ----------------
   Sits between the night half and the day half. Everything is a
   background layer, so nothing clips at the band's edges: a tall sky
   gradient from the night ground colour to the paper colour, a soft
   glow rising through the bottom, and the last stars fading at the top. */
.dawn {
  position: relative; z-index: 1;
  height: clamp(460px, 52vw, 720px);
  margin-bottom: -1px;
  overflow: clip;
  background:
    radial-gradient(64% 30% at 50% 66%, rgba(255, 214, 170, .9) 0%, rgba(255, 150, 92, .7) 30%, rgba(255, 90, 31, .28) 52%, rgba(255, 90, 31, .1) 64%, rgba(255, 90, 31, .03) 72%, rgba(255, 90, 31, 0) 80%),
    linear-gradient(
      to bottom,
      #050506 0%,
      #070506 10%,
      #140c0b 22%,
      #2d1712 34%,
      #5a2a1b 45%,
      #a04a28 55%,
      #d8754a 62%,
      #e9966e 68%,
      #f0b592 73%,
      #f4cfb5 78%,
      #f4ddc9 83%,
      #f4e5d7 88%,
      #f4ebe0 92%,
      #f4eee5 96%,
      #f4f0e8 100%
    );
}
.dawn .stars {
  inset: 0 0 50% 0;
  opacity: .85;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 100%);
}
@media (max-width: 760px) {
  .dawn { height: clamp(340px, 90vw, 460px); }
}

/* ---------------- 2b. Night panels inside the day ----------------
   Once the page is in daylight, dark becomes the attention colour.
   .nite re-applies the night tokens to one rounded block, so anything
   inside it (panels, numbers, buttons) renders as it does at night. */
.nite {
  --bg: #050506;
  --bg-deep: #060608;
  --panel: #0b0b0d;
  --panel-2: #0a0a0c;
  --ink: #eceae3;
  --ink-2: #c9c6bd;
  --ink-3: #a7a49b;
  --ink-4: #8a877f;
  --ink-5: #6d6b63;
  --ink-6: #5d5b54;
  --line: rgba(236, 234, 227, .1);
  --line-2: rgba(236, 234, 227, .08);
  --line-3: rgba(236, 234, 227, .14);
  --line-strong: rgba(236, 234, 227, .22);
  background: var(--bg);
  color: var(--ink);
  border-radius: 28px;
  border: 1px solid rgba(255, 90, 31, .18);
  box-shadow: 0 40px 90px -50px rgba(18, 18, 20, .6);
}
.nite ::selection { background: var(--acc); color: var(--bg); }
.nite .disp .glow { text-shadow: 0 0 30px rgba(255, 90, 31, .45), 0 0 80px rgba(255, 90, 31, .25); }
.nite .cbtn { box-shadow: 0 0 30px rgba(255, 90, 31, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.nite .cbtn:hover { box-shadow: 0 0 50px rgba(255, 90, 31, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.nite .panel { box-shadow: none; }
.nite .panel.own { box-shadow: 0 0 44px rgba(255, 90, 31, .14); }

/* The conversion bars sit in a night band inside the day half, so the
   .day rules above reach them through the ancestor. Put night back.
   Equal specificity to those rules, so this has to stay below them. */
.nite .bar-track { background: rgba(236, 234, 227, .04); border-color: rgba(236, 234, 227, .22); }
.nite .bar.lo .bar-track i { background: rgba(236, 234, 227, .82); }
.nite .bar.hi .bar-track i { box-shadow: 0 0 28px rgba(255, 90, 31, .55); }

/* A full-width dark band with its own padding, for a section's key row. */
.band {
  position: relative;
  padding: clamp(40px, 4.4vw, 64px) clamp(26px, 3.4vw, 56px) clamp(44px, 4.6vw, 64px);
  overflow: clip;
}
.band::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(40% 40% at 50% 0%, rgba(255, 90, 31, .16), transparent 70%);
  pointer-events: none;
}
.band > * { position: relative; }
.band .nums { margin-top: 34px; }
.band .splitrow { margin-top: 0; }
.band .cta-block { margin-top: clamp(34px, 3.6vw, 48px); padding-top: 30px; border-top: 1px solid var(--line); }
.splitband { margin-top: 60px; }

/* The guarantee as a night panel on paper. */
.nite.gpanel .cta-block { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.nite.gpanel {
  border: 1px solid rgba(255, 90, 31, .45);
  background: radial-gradient(120% 140% at 50% 0%, rgba(255, 90, 31, .14), transparent 60%), var(--panel);
  box-shadow: 0 0 60px rgba(255, 90, 31, .16), 0 40px 90px -50px rgba(18, 18, 20, .7);
}

/* ---------------- Daybreak ----------------
   The headline that turns the page, straight under the dawn. */
.daybreak { padding-top: clamp(40px, 4vw, 64px); text-align: center; }
.daybreak h2 { margin: 18px auto 0; font-size: clamp(40px, 6.4vw, 100px); max-width: 980px; }
.daybreak .lede { margin: 24px auto 0; max-width: 680px; }
.daybreak + .sec { padding-top: clamp(80px, 7.5vw, 120px); }

/* ---------------- Dusk ----------------
   Mirror of the dawn at the foot of the page: paper back to the night
   ground colour, stars coming out through the lower half, and the
   closing panel sitting in the middle. The footer follows on night. */
.dusk {
  position: relative; z-index: 1;
  margin-top: -1px;
  padding: clamp(110px, 12vw, 190px) 0 clamp(70px, 8vw, 120px);
  overflow: clip;
  background:
    radial-gradient(60% 34% at 50% 48%, rgba(255, 150, 92, .5) 0%, rgba(255, 90, 31, .22) 45%, rgba(255, 90, 31, .06) 70%, rgba(255, 90, 31, 0) 82%),
    linear-gradient(
      to bottom,
      #f4f0e8 0%,
      #f4f0e8 10%,
      #f4eee5 15%,
      #f4e5d7 21%,
      #f4cfb5 28%,
      #f0b592 34%,
      #e9966e 40%,
      #d8754a 46%,
      #a04a28 54%,
      #5a2a1b 63%,
      #2d1712 72%,
      #140c0b 82%,
      #070506 91%,
      #050506 100%
    );
}
.dusk .stars {
  inset: 42% 0 0 0;
  opacity: .85;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
}
.dusk .closing-wrap { position: relative; margin: 0 auto; }
/* Inside the dusk the panel is flat night: no inner glows, no orange
   edge, so nothing fights the gradient behind it. */
.dusk .closing.nite {
  background: var(--bg);
  border-color: rgba(236, 234, 227, .08);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .85);
}
.dusk .closing-glow { display: none; }
@media (max-width: 760px) {
  .dusk { padding: 80px 0 56px; }
  .daybreak h2 { font-size: clamp(36px, 10vw, 56px); }
}

/* The closing CTA as a rounded night panel. */
.closing-wrap { margin-top: var(--sec-pad); }
.closing.nite {
  margin-top: 0;
  padding: clamp(70px, 7vw, 110px) 24px;
  border-radius: 28px;
  background:
    radial-gradient(42% 34% at 50% 100%, rgba(255, 90, 31, .18), transparent 70%),
    var(--bg);
}
.closing.nite .closing-glow { background: radial-gradient(44% 46% at 50% 62%, rgba(255, 90, 31, .18), transparent 72%); }
.closing.nite h2 { margin-top: 24px; font-size: clamp(34px, 5vw, 74px); }
.closing.nite .closing-in { max-width: 940px; }
.closing.nite .lede { max-width: 640px; }
@media (max-width: 760px) {
  .closing.nite { padding: 56px 18px; border-radius: 22px; }
  .band { padding: 30px 18px 34px; }
}

/* ---------------- 3a. Google review cards ----------------
   Every quote on the page is a verbatim excerpt from a public Google
   review of ADVRT, with a link to the review itself. Genuine beats
   surveyor-specific. */
.grev {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 22px 24px 20px;
  display: flex; flex-direction: column; gap: 14px;
  margin: 0;
}
.grev-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gicon { width: 20px; height: 20px; flex: 0 0 20px; }
.gstars { display: inline-flex; gap: 2px; color: #fbbc04; }
.gstars svg { width: 14px; height: 14px; fill: currentColor; }
.grev-meta {
  margin-left: auto;
  font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-5);
}
.grev blockquote {
  margin: 0;
  font-size: 15.5px; line-height: 1.62; font-weight: 500;
  color: var(--ink-2);
  text-wrap: pretty;
}
.grev figcaption {
  margin-top: auto;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-4);
}
.grev .av {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 90, 31, .14); color: var(--acc);
  border: 1px solid rgba(255, 90, 31, .35);
  font-size: 11px; letter-spacing: .04em;
}
.grev figcaption b { color: var(--ink); }
.grev figcaption a {
  margin-left: auto;
  color: var(--ink-5);
  text-decoration: underline; text-underline-offset: 3px;
  letter-spacing: .06em; white-space: nowrap;
}
.grev figcaption a:hover { color: var(--acc); }

/* One review on its own, between sections. */
.grev-strip { margin-top: clamp(44px, 4.6vw, 64px); display: flex; justify-content: center; }
.grev-strip .grev { width: min(820px, 100%); }
@media (min-width: 761px) {
  .grev-strip .grev { flex-direction: row; align-items: center; gap: 22px; padding: 20px 26px; }
  .grev-strip .grev-top { flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 8px; }
  .grev-strip .grev-meta { margin-left: 0; }
  .grev-strip blockquote { flex: 1 1 auto; }
  .grev-strip figcaption { flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
  .grev-strip figcaption a { margin-left: 0; }
}

/* A set of them. */
.grevgrid {
  margin-top: 46px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

/* The rating badge under the hero credit, and anywhere else it's useful. */
.grating {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(236, 234, 227, .16);
  background: rgba(12, 12, 14, .5);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-2);
  transition: border-color .2s, color .2s;
}
.grating:hover { border-color: rgba(255, 90, 31, .6); color: var(--ink); }
.grating .gicon { width: 18px; height: 18px; flex-basis: 18px; }
.grating b { color: var(--ink); font-weight: 850; }
.day .grating { border-color: var(--line-3); background: var(--panel); }

/* Small "also rated us on Google" line on the written testimonial. */
.ftq-google {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--ink-4);
}
.ftq-google .gicon { width: 14px; height: 14px; flex-basis: 14px; }
.ftq-google .gstars svg { width: 11px; height: 11px; }
.ftq-google a { text-decoration: underline; text-underline-offset: 3px; }
.ftq-google a:hover { color: var(--acc); }

/* ---------------- 3b. Proof numbers ---------------- */
.nums {
  margin-top: 46px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1024px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .nums { grid-template-columns: minmax(0, 1fr); } }
.num {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column;
}
.num b {
  font-weight: 850; font-stretch: 100%;
  font-size: clamp(48px, 4.6vw, 72px);
  line-height: .95; letter-spacing: -.03em;
  color: var(--acc);
  white-space: nowrap;
}
.num .what {
  margin-top: 14px;
  font-weight: 800; font-stretch: 104%;
  text-transform: uppercase;
  font-size: 15px; line-height: 1.3; letter-spacing: .01em;
  color: var(--ink);
}
.num .cost {
  margin-top: 10px;
  display: inline-flex; align-self: flex-start; align-items: center;
  min-height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 90, 31, .45);
  background: rgba(255, 90, 31, .08);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--acc);
}
.num .src {
  margin-top: auto; padding-top: 16px;
  font-size: 12.5px; font-weight: 600; line-height: 1.55;
  color: var(--ink-5);
}

/* ---------------- 3c. Objections ---------------- */
.objgrid {
  margin-top: 46px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) { .objgrid { grid-template-columns: minmax(0, 1fr); } }
.obj {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 28px 28px 26px 30px;
}
.obj::before {
  content: "\201C";
  position: absolute; left: 22px; top: 8px;
  font-size: 84px; line-height: 1;
  font-weight: 900; color: var(--acc); opacity: .35;
  pointer-events: none;
}
.obj h3 {
  position: relative;
  font-weight: 800; font-stretch: 104%;
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.25;
  letter-spacing: -.01em;
  padding-left: 30px;
  color: var(--ink);
}
.obj p {
  margin-top: 14px;
  font-size: 15.5px; line-height: 1.68; font-weight: 450;
  color: var(--ink-3);
}
.obj p + p { margin-top: 10px; }
.obj .ans {
  display: block; margin-top: 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--acc);
}

@media (max-width: 760px) {
  .grev { padding: 20px 18px 18px; }
  .grev-meta { margin-left: 0; width: 100%; }
  .grev figcaption { flex-wrap: wrap; }
  .grev figcaption a { margin-left: 0; width: 100%; padding-left: 44px; }
  .grevgrid, .nums, .objgrid { margin-top: 34px; }
  .obj { padding: 24px 20px 22px 22px; }
  .obj::before { left: 14px; top: 6px; font-size: 68px; }
  .obj h3 { padding-left: 26px; }
  .grating { margin-top: 18px; }
}
