/* ReturnDashboards marketing page. One loud colour, lots of air, big plain words.
   System fonts only: the site's CSP allows nothing but its own files. */
:root {
  --ink: #141414;
  --muted: #5f5b55;
  --paper: #fffdf8;
  --card: #ffffff;
  --rule: #ece7dd;
  --accent: #ff5a1f;
  --accent-ink: #ffffff;
  --accent-soft: #ffe6dc;
  --ok: #1f8a4c;
  --sans: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Charter, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2efe9;
    --muted: #a9a49b;
    --paper: #121110;
    --card: #1b1a18;
    --rule: #2b2926;
    --accent: #ff6b35;
    --accent-ink: #120a06;
    --accent-soft: #3a1d11;
    --ok: #4cc27f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 19px/1.65 var(--serif);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--accent-ink); }

/* Header */
.top {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.mark b { font-weight: 800; }
.mark-tile {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
  font-size: 17px;
}

/* Layout */
main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { max-width: 720px; padding: 64px 0; border-bottom: 1px solid var(--rule); }
section:last-child { border-bottom: 0; }

h1, h2 { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; margin: 12px 0 28px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; margin: 0 0 18px; }
p { margin: 0 0 16px; }
.lede { font-size: 22px; color: var(--muted); max-width: 34em; }
.hl {
  color: var(--accent);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.pull {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  margin-top: 24px;
}

/* Hero */
.hero { padding-top: 48px; padding-bottom: 56px; }

.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.cta-note { font-family: var(--sans); font-size: 15px; color: var(--muted); }

/* Before / after, top to bottom: the return as a thick stack, then the real pages of its summary */
.before-after { max-width: 760px; padding-top: 24px; }
.ba-label {
  font: 800 13px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.ba-after .ba-label { color: var(--accent); }
.ba-caption { font-size: 17px; color: var(--muted); margin: 44px 0 0; max-width: 30em; }
.ba-caption-top { margin: 0 0 24px; }
.ba-sample { font: 14px/1.4 var(--sans); color: var(--muted); margin: 18px 0 0; }
.ba-arrow { font: 800 48px/1 var(--sans); color: var(--accent); margin: 32px 0 8px; }
.ba-time { font: 800 clamp(28px, 3.4vw, 38px)/1.1 var(--sans); letter-spacing: -0.03em; margin: 0 0 36px; }

/* The stack: the return's own Form 1040 on top, its thickness drawn with layered edges */
.stack { position: relative; width: min(100%, 340px); transform: rotate(-1.5deg); }
.stack img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid #d9d4ca;
  border-radius: 3px;
  box-shadow:
    2px 2px 0 #f3efe7, 3px 3px 0 #d9d4ca, 5px 5px 0 #f3efe7, 6px 6px 0 #d9d4ca,
    8px 8px 0 #f3efe7, 9px 9px 0 #d9d4ca, 11px 11px 0 #f3efe7, 12px 12px 0 #d9d4ca,
    14px 14px 0 #f3efe7, 15px 15px 0 #d9d4ca, 17px 17px 0 #f3efe7, 18px 18px 0 #d9d4ca,
    20px 20px 0 #f3efe7, 21px 21px 0 #d9d4ca, 23px 23px 0 #f3efe7, 24px 24px 0 #d9d4ca,
    26px 26px 0 #f3efe7, 27px 27px 0 #cfc9bd, 32px 40px 44px -12px rgba(0, 0, 0, 0.35);
}
.stack-count {
  display: none;                     /* the GIF draws its own counter; shown only with the still image below */
  position: absolute;
  right: -18px;
  bottom: -12px;
  background: var(--ink);
  color: var(--paper);
  font: 800 16px/1 var(--sans);
  padding: 11px 15px;
  border-radius: 999px;
  transform: rotate(1.5deg);
}

/* The summary's real pages, as paper */
.pdf-pages img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

/* The Dashboard, full width */
.dash-section { max-width: none; }
.dash-section > p:not(.pull):not(.ba-sample) { max-width: 720px; }
.dash-section .pull { max-width: 720px; }
.dash-img {
  display: block;
  width: 100%;
  margin-top: 28px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.3);
}

/* Band: a full-width tinted strip for the problem statement */
.band { max-width: 720px; }

/* Steps: numbered tiles */
.steps { max-width: none; }
.steps ol {
  list-style: none;
  counter-reset: step;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 20px;
  font-size: 17px;
  line-height: 1.5;
}
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font: 800 16px/1 var(--sans);
}
.steps li strong { display: block; font-family: var(--sans); font-size: 18px; margin-bottom: 4px; letter-spacing: -0.01em; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border-radius: 999px;
  font: 700 17px/1 var(--sans);
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 24px -12px var(--accent);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px var(--accent); }
.button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.button-small { padding: 10px 18px; font-size: 15px; box-shadow: none; }
.button-outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.button-outline:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.top-actions { display: flex; gap: 10px; align-items: center; }
html { scroll-behavior: smooth; }
#contact { scroll-margin-top: 16px; }
.top-actions .button { white-space: nowrap; }
@media (max-width: 520px) { .top { flex-wrap: wrap; row-gap: 14px; } .top-actions .button-small { padding: 9px 14px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.button-invert { background: var(--paper); color: var(--accent); box-shadow: none; }

/* Close: the one loud block on the page */
.close {
  max-width: none;
  margin: 48px 0 0;
  padding: 64px 56px;
  border: 0;
  border-radius: 24px;
  background: var(--accent);
  color: var(--accent-ink);
}
.close h2 { font-size: clamp(36px, 5vw, 56px); }
.close p { font-size: 21px; max-width: 32em; opacity: 0.95; }
.close .button { margin-top: 12px; }

/* Contact form, inside the close block */
.contact-form { display: grid; gap: 14px; max-width: 40em; margin-top: 20px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font: 600 15px/1.3 var(--sans); }
.contact-form .opt { font-weight: 400; opacity: 0.85; }
.contact-form input, .contact-form textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border: 0; border-radius: 10px;
  background: var(--paper); color: var(--ink); font: 17px/1.4 var(--sans);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.close .form-note { font-size: 15px; margin: 0; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.close .form-actions .button { margin-top: 0; }
.form-status { font: 600 16px/1.4 var(--sans); }

footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 14px/1.4 var(--sans);
}
.foot-tag { font-weight: 700; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .stack-count { display: block; }
  .button, .button:hover { transition: none; transform: none; }
  .stack { transform: none; }
}

@media (max-width: 900px) {
  .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  main, .top, footer { padding-left: 16px; padding-right: 16px; }
  section { padding: 44px 0; }
  .lede { font-size: 19px; }
  .pull { font-size: 20px; }
  .steps ol { grid-template-columns: 1fr; }
  .stack { width: min(100% - 36px, 300px); }
  .stack-count { right: -6px; }
  .close { padding: 40px 24px; border-radius: 18px; }
  .contact-form .field-row { grid-template-columns: 1fr; }
  .button-small { padding: 9px 14px; font-size: 14px; }
  footer { flex-direction: column; gap: 6px; }
}
