/* Cash home buyer template: warm paper, navy ink and four accent colors. */

:root {
  --paper: #f7f2e8;
  --paper-2: #efe6d4;
  --card: #fffdf8;
  --ink: #14233b;
  --ink-deep: #0d1728;
  --ink-2: #47526a;
  --line: rgba(20, 35, 59, 0.14);
  --teal: #0a6f89;
  --teal-bright: #16a3c2;
  --blue: #54b1e6;
  --pink: #e8175d;
  --pink-ink: #b8104a;
  --orange: #f5a623;
  --green: #74c94d;
  --green-ink: #3f7f22;

  --display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Albert Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 16px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p, figcaption, dd, summary { text-wrap: pretty; }
a[href^="tel:"], .nw { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 12px; color: var(--paper); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section[id] { scroll-margin-top: 84px; }

/* ---------- Template bar ---------- */
.template-bar {
  background: var(--ink-deep);
  color: #e9e3d6;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  padding: 8px var(--gutter);
  letter-spacing: 0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.2em;
  border-radius: 10px;
  border: 2px solid var(--ink);
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn-call {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-call:hover {
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn-call:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-lg { min-height: 56px; font-size: 1.0625rem; padding: 0.8em 1.4em; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 242, 232, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--teal);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-2);
  margin-top: 4px;
}
.site-nav { display: none; }
.header-call { min-height: 44px; padding: 0.55em 0.9em; font-size: 0.95rem; white-space: nowrap; flex: none; box-shadow: 2px 2px 0 var(--ink); }

@media (max-width: 480px) {
  .header-inner { gap: 10px; min-height: 64px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: 0.5625rem; letter-spacing: 0.14em; white-space: nowrap; }
  .header-call { font-size: 0.875rem; padding: 0.5em 0.7em; gap: 0.4em; }
}

@media (max-width: 374px) {
  .header-call-label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .header-call { min-width: 44px; padding: 0.5em 0.75em; }
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
    gap: 26px;
    margin-right: 8px;
  }
  .site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0;
    background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 3px no-repeat;
    transition: background-size 0.2s ease;
  }
  .site-nav a:hover { background-size: 100% 3px; }
}

/* ---------- Eyebrows / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--blue) 0 25%, var(--pink) 25% 50%, var(--orange) 50% 75%, var(--green) 75% 100%);
  flex: none;
}
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.section-sub { font-size: 1.125rem; color: var(--ink-2); margin-top: 18px; max-width: 60ch; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: end; }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--blue) 0 25%, var(--pink) 25% 50%, var(--orange) 50% 75%, var(--green) 75% 100%);
  flex: none;
}

.hero h1 {
  font-size: clamp(2.45rem, min(6.2vw, 9vh), 4.7rem);
  line-height: 1.02;
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--ink);
  background: linear-gradient(transparent 60%, rgba(245, 166, 35, 0.6) 60%, rgba(245, 166, 35, 0.6) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.04em;
}
.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 38ch;
  margin: 22px 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li + li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.hero-art {
  position: relative;
  margin: 0 auto;
  width: min(100%, 460px);
  padding-top: 10px;
}
.arch {
  position: relative;
  width: 94%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 64px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--ink);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.arch::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: linear-gradient(90deg,
    var(--blue) 0 25%, var(--pink) 25% 50%, var(--orange) 50% 75%, var(--green) 75% 100%);
}
.hero-art figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-size: 0.9rem;
  color: var(--ink-2);
  text-align: left;
  padding-left: 3%;
  line-height: 1.4;
}
.hero-art figcaption strong { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 1.05rem; }

@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .hero-copy { padding-bottom: 96px; }
  .hero-art { width: 100%; max-width: 520px; }
}

/* Laptops with short screens: keep the headline, the call button and the facts on the first screen */
@media (min-width: 900px) and (max-height: 880px) {
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(2.45rem, min(6.2vw, 8.6vh), 4.7rem); }
  .kicker { margin-bottom: 14px; }
  .lede { margin: 18px 0 22px; max-width: 42ch; }
  .hero-facts { margin-top: 18px; }
  .hero-copy { padding-bottom: 28px; }
  .hero-art { max-width: min(520px, calc((100svh - 150px) * 1.02)); }
}

/* ---------- The NOs ---------- */
.nos {
  background: var(--ink);
  color: var(--paper);
  padding: 20px 0;
}
.no-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.no-list li {
  padding: 22px 0;
  border-top: 1px solid rgba(247, 242, 232, 0.16);
}
.no-list li:first-child { border-top: 0; }
.no-word, .no-what {
  font-family: var(--display);
  font-size: 1.85rem;
  line-height: 1.05;
}
.no-word { margin-right: 0.2em; }
.no-list li:nth-child(1) .no-word { color: var(--blue); }
.no-list li:nth-child(2) .no-word { color: #ff4f86; }
.no-list li:nth-child(3) .no-word { color: var(--orange); }
.no-list li:nth-child(4) .no-word { color: var(--green); }
.no-detail {
  display: block;
  margin-top: 8px;
  font-size: 0.975rem;
  color: rgba(247, 242, 232, 0.8);
  max-width: 34ch;
}
@media (min-width: 640px) {
  .no-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .no-list li:nth-child(2) { border-top: 0; }
}
@media (min-width: 1040px) {
  .nos { padding: 36px 0; }
  .no-list { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .no-list li { border-top: 0; padding: 8px 28px; border-left: 1px solid rgba(247, 242, 232, 0.16); }
  .no-list li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- How it works ---------- */
.how { padding: 88px 0 96px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 34px;
  position: relative;
}
.step { position: relative; padding-left: 78px; }
.step-num {
  position: absolute;
  left: 0; top: -4px;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.step:nth-child(1) .step-num { background: var(--blue); }
.step:nth-child(2) .step-num { background: #ff6f9c; }
.step:nth-child(3) .step-num { background: var(--orange); }
.steps::before {
  content: "";
  position: absolute;
  left: 28px; top: 40px; bottom: 40px;
  border-left: 2px dashed rgba(20, 35, 59, 0.3);
}
.step h3 { font-size: 1.55rem; margin-bottom: 10px; }
.step p { color: var(--ink-2); margin: 0; max-width: 36ch; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { padding-left: 0; padding-top: 86px; }
  .step-num { top: 0; width: 64px; height: 64px; font-size: 1.9rem; }
  .steps::before {
    left: 64px; right: 8%; top: 32px; bottom: auto;
    border-left: 0;
    border-top: 2px dashed rgba(20, 35, 59, 0.3);
  }
}

/* ---------- The math ---------- */
.math {
  padding: 96px 0;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(rgba(20, 35, 59, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 59, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.math-grid { display: grid; gap: 48px; align-items: start; }
.math h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.math-intro { font-size: 1.15rem; color: var(--ink-2); margin: 18px 0 0; max-width: 54ch; }

.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.5em;
  margin: 34px 0 36px;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.35;
}
.eq-result {
  background: var(--ink);
  color: var(--paper);
  padding: 0.05em 0.45em 0.12em;
  border-radius: 8px;
}
.eq-op { color: var(--ink-2); }
.term { border-bottom: 5px solid; padding-bottom: 1px; }
.term.t-blue { border-color: var(--blue); }
.term.t-pink { border-color: var(--pink); }
.term.t-orange { border-color: var(--orange); }
.term.t-green { border-color: var(--green); }

.terms { display: grid; gap: 22px 32px; margin: 0; }
.terms > div { border-left: 5px solid; padding-left: 16px; }
.terms .t-blue { border-color: var(--blue); }
.terms .t-pink { border-color: var(--pink); }
.terms .t-orange { border-color: var(--orange); }
.terms .t-green { border-color: var(--green); }
.terms dt { font-weight: 700; font-size: 1.05rem; }
.terms dd { margin: 4px 0 0; color: var(--ink-2); font-size: 0.99rem; }
@media (min-width: 640px) { .terms { grid-template-columns: 1fr 1fr; } }

.receipt-wrap { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.receipt {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--card);
  padding: 26px 24px 30px;
  font-family: var(--mono);
  font-size: 0.95rem;
  transform: rotate(-1.2deg);
  filter: drop-shadow(0 18px 24px rgba(20, 35, 59, 0.16)) drop-shadow(0 2px 3px rgba(20, 35, 59, 0.12));
  margin-bottom: 12px;
}
.receipt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -12px;
  height: 12px;
  background: conic-gradient(from -45deg at bottom, var(--card) 90deg, transparent 0) 50% / 24px 100%;
}
.receipt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 6px;
}
.receipt table { width: 100%; border-collapse: collapse; }
.receipt th, .receipt td { padding: 13px 0; vertical-align: top; }
.receipt th { text-align: left; font-weight: 500; }
.receipt th small { display: block; font-size: 0.78rem; color: var(--ink-2); font-weight: 500; }
.receipt td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.receipt tbody tr { border-bottom: 1px dashed rgba(20, 35, 59, 0.28); }
.receipt tbody th::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 10px;
  border-radius: 2px;
  vertical-align: 0;
}
.r-blue th::before { background: var(--blue); }
.r-pink th::before { background: var(--pink); }
.r-orange th::before { background: var(--orange); }
.r-green th::before { background: var(--green); }
.receipt tfoot tr { border-top: 2px solid var(--ink); }
.receipt tfoot th, .receipt tfoot td { padding-top: 16px; font-size: 1.15rem; font-weight: 600; }
.receipt tfoot td {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
}
.receipt-note { font-family: var(--body); font-size: 0.9375rem; color: var(--ink-2); margin: 18px 0 0; line-height: 1.5; }
@media (max-width: 480px) {
  .receipt { padding: 22px 16px 26px; }
  .receipt tbody th::before { margin-right: 8px; }
  .receipt tfoot td { font-size: 1.2rem; }
}

.js .receipt tbody tr, .js .receipt tfoot tr {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.js .receipt.in tbody tr, .js .receipt.in tfoot tr { opacity: 1; transform: none; }
.js .receipt.in tbody tr:nth-child(2) { transition-delay: 0.15s; }
.js .receipt.in tbody tr:nth-child(3) { transition-delay: 0.3s; }
.js .receipt.in tbody tr:nth-child(4) { transition-delay: 0.45s; }
.js .receipt.in tfoot tr { transition-delay: 0.7s; }

@media (min-width: 980px) {
  .math-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
  .receipt-wrap { position: sticky; top: 110px; padding-top: 24px; }
}

/* ---------- Situations ---------- */
.situations {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
}
.situations .eyebrow { color: var(--orange); }
.situations .section-sub { color: rgba(247, 242, 232, 0.8); }
.sit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  counter-reset: sit;
  border-top: 1px solid rgba(247, 242, 232, 0.18);
}
.sit-list li {
  counter-increment: sit;
  position: relative;
  padding: 22px 0 22px 54px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.18);
}
.sit-list li::before {
  content: counter(sit, decimal-leading-zero);
  position: absolute;
  left: 0; top: 27px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--blue);
  border-radius: 6px;
  padding: 2px 6px;
}
.sit-list li:nth-child(4n+2)::before { background: #ff6f9c; }
.sit-list li:nth-child(4n+3)::before { background: var(--orange); }
.sit-list li:nth-child(4n+4)::before { background: var(--green); }
.sit-list h3 { font-size: 1.4rem; margin-bottom: 6px; }
.sit-list p { margin: 0; color: rgba(247, 242, 232, 0.8); font-size: 0.99rem; max-width: 46ch; }
@media (min-width: 760px) {
  .sit-list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* ---------- Compare ---------- */
.compare { padding: 96px 0; }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
}
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; vertical-align: top; }
.compare-table thead th {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  border-bottom: 2px solid var(--ink);
}
.compare-table thead th.us {
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px 12px 0 0;
}
.compare-table tbody th {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  width: 20%;
  border-bottom: 1px solid var(--line);
}
.compare-table tbody td { border-bottom: 1px solid var(--line); color: var(--ink-2); }
.compare-table td.us {
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}
.compare-table tbody tr:last-child td.us { border-bottom: 2px solid var(--ink); border-radius: 0 0 12px 12px; }
.compare-table td.us::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 10px;
  vertical-align: 1px;
}

@media (max-width: 719px) {
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table tbody tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .compare-table tbody th { border: 0; padding: 0 0 10px; width: auto; font-size: 1.3rem; }
  .compare-table tbody td { border: 0; padding: 12px 14px; }
  .compare-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 4px;
  }
  .compare-table td.us {
    border: 2px solid var(--ink);
    border-radius: 10px;
    box-shadow: 3px 3px 0 var(--ink);
    margin-bottom: 8px;
  }
  .compare-table tbody tr:last-child td.us { border-bottom: 2px solid var(--ink); border-radius: 10px; }
  .compare-table td.us::before {
    content: attr(data-label);
    display: block;
    width: auto; height: auto;
    border-radius: 0;
    background: none;
    margin: 0 0 4px;
    color: var(--teal);
  }
}

/* ---------- Team ---------- */
.team {
  padding: 96px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.people { display: grid; gap: 48px; }
.person { display: grid; gap: 24px; align-items: start; }
.portrait {
  position: relative;
  width: 120px;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.p-first .portrait { background: linear-gradient(170deg, var(--blue), #3d97cc); }
.p-second .portrait { background: linear-gradient(170deg, var(--orange), #e38f0c); }
.portrait svg { width: 46%; height: auto; margin-top: 14%; }
.role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.person h3 { font-size: 2rem; margin-bottom: 12px; }
.person-copy p:last-child { color: var(--ink-2); margin: 0; max-width: 52ch; }
.short-version {
  margin: 64px 0 0;
  padding: 26px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  max-width: 60ch;
}
.short-version span { color: var(--teal); }
@media (min-width: 620px) {
  .person { grid-template-columns: 120px 1fr; gap: 30px; }
}
@media (min-width: 1040px) {
  .people { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- Areas ---------- */
.areas { padding: 96px 0; }
.areas-grid { display: grid; gap: 12px; }
.areas .section-head { margin-bottom: 24px; }
.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink-2);
}
.city-list li { display: inline-flex; align-items: baseline; }
.city-list li + li::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin: 0 14px;
  transform: translateY(-4px);
  background: var(--blue);
}
.city-list li:nth-child(4n+2)::before { background: var(--pink); }
.city-list li:nth-child(4n+3)::before { background: var(--orange); }
.city-list li:nth-child(4n+4)::before { background: var(--green); }
.city-list .big { font-size: 1.6em; color: var(--ink); }
@media (min-width: 980px) {
  .areas-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
}

/* ---------- Offer ---------- */
.offer {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
  position: relative;
}
.offer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg,
    var(--blue) 0 25%, var(--pink) 25% 50%, var(--orange) 50% 75%, var(--green) 75% 100%);
}
.offer-grid { display: grid; gap: 48px; align-items: start; }
.offer .eyebrow { color: var(--orange); }
.offer h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 18px; }
.offer-copy > p { color: rgba(247, 242, 232, 0.84); font-size: 1.1rem; max-width: 48ch; }
.offer a { color: var(--paper); }
.offer a:hover { color: var(--orange); }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid rgba(247, 242, 232, 0.16); line-height: 1.5; }
.c-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.c-big { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.3rem); text-decoration: none; line-height: 1.1; }

.offer-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 26px 20px 22px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
}
.offer-form a { color: var(--teal); }
.offer-form a:hover { color: var(--ink); }
.form-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.form-head img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  object-position: 45% 70%;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--ink);
  flex: none;
}
.form-head p { margin: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }
.offer-form label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: 0.975rem; }
.req { font-weight: 500; color: var(--ink-2); font-size: 0.875rem; }
.offer-form input {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(20, 35, 59, 0.28);
  border-radius: 10px;
  padding: 13px 14px;
  min-height: 52px;
  transition: border-color 0.15s ease;
}
.offer-form input:hover { border-color: rgba(20, 35, 59, 0.5); }
.offer-form input:focus { border-color: var(--teal); outline: 3px solid rgba(10, 111, 137, 0.35); outline-offset: 1px; }
.two { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .two { grid-template-columns: 1fr 1fr; } }
.offer-form .btn-block { margin-top: 22px; }
.form-status { display: none; margin: 16px 0 0; padding: 14px 16px; border-left: 5px solid var(--green); background: #eaf5e3; color: var(--ink); border-radius: 0 10px 10px 0; font-weight: 600; line-height: 1.45; }
.form-status.show { display: block; }
.form-alt { margin: 14px 0 0; font-size: 0.95rem; color: var(--ink-2); text-align: center; }

.offer :focus-visible, .nos :focus-visible, .situations :focus-visible, .site-footer :focus-visible, .call-bar :focus-visible { outline-color: var(--orange); }
.offer-form :focus-visible { outline-color: var(--teal); }

@media (min-width: 920px) {
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .offer-form { padding: 32px 30px 26px; }
}

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; }
.faq-grid { display: grid; gap: 12px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 48px 20px 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 28px; height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--orange);
}
.faq details p { color: var(--ink-2); margin: 0 0 22px; max-width: 62ch; }
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .faq .section-head { position: sticky; top: 110px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: rgba(247, 242, 232, 0.82);
  padding: 56px 0 24px;
  font-size: 0.975rem;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 28px; }
.f-name { font-family: var(--display); font-size: 1.3rem; color: var(--paper); margin-bottom: 4px; }
.f-head {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
  font-size: 0.875rem;
}
.footer-base p { margin: 0; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
}

/* ---------- Mobile call bar ---------- */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--ink);
  border-top: 1px solid rgba(247, 242, 232, 0.12);
}
.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.cb-call { background: var(--orange); color: var(--ink); }
.cb-offer { background: var(--paper); color: var(--ink); }
@media (max-width: 799px) {
  .site-footer { padding-bottom: 100px; }
  .site-footer p a, .contact-list a:not(.c-big) { display: inline-block; padding: 7px 0; line-height: 1.4; }
}
@media (min-width: 800px) {
  .call-bar { display: none; }
}

/* ---------- Motion ---------- */
.js .no-list li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .no-list.in li { opacity: 1; transform: none; }
.js .no-list.in li:nth-child(2) { transition-delay: 0.1s; }
.js .no-list.in li:nth-child(3) { transition-delay: 0.2s; }
.js .no-list.in li:nth-child(4) { transition-delay: 0.3s; }

.hero-copy > * { animation: rise 0.7s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
.hero-art .arch { animation: rise 0.9s 0.15s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .receipt tbody tr, .js .receipt tfoot tr, .js .no-list li { opacity: 1; transform: none; }
}

/* ---------- Footer legal line ---------- */
/* Keep "Powered by Open·Civ" together; the Open·Civ link gets a 44px+ tap area without moving the text */
.footer-base .oc-legal { flex-basis: 100%; }
.oc-nw { white-space: nowrap; }
.site-footer .oc-legal a { display: inline-block; padding-block: 14px; margin-block: -14px; line-height: 1.4; }
