/* Lupu Capital: stucco pink, Gulf ink and one sun yellow on plain white.
   Hand-authored; edit freely. One self-hosted family (Archivo) does
   everything: expanded and heavy for headings, normal width for prose.
   The one bold device is the quarter sun: a quarter disc rising from a
   corner (logo, hero, closing band). Keep everything else quiet. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --gulf: #0f2d3d;
  --gulf-2: #1d4558;
  --body: #35505c;
  --mute: #556b75;

  --stucco: #f4b9ae;
  --stucco-deep: #ea8f7f;
  --stucco-wash: #fbe7e1;
  --sun: #f7c85a;

  --shell: #ffffff;
  --white: #ffffff;
  --line: #ecd9d2;
  --line-strong: #d9bfb6;

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --r: 6px;
  --gap: 24px;
  --sect: clamp(64px, 8vw, 120px);
  --edge: clamp(20px, 4.5vw, 64px);
  --max: 1180px;
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--shell);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gulf); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, .input:focus-visible, input:focus-visible {
  outline: 2px solid var(--gulf);
  outline-offset: 3px;
  border-radius: 2px;
}
h1, h2, h3 {
  color: var(--gulf);
  margin: 0;
  font-stretch: 125%;
  font-weight: 750;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0 0 14px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--edge);
  font-size: 15px;
  font-weight: 500;
}
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--gulf);
  font-size: 18px;
  font-stretch: 125%;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.nav-brand:hover { text-decoration: none !important; }
@media (max-width: 760px) {
  .nav > a:not(.nav-brand):not(.btn) { display: none; }
}
.nav-brand { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 480px) {
  .nav { gap: 8px; }
  .nav a.btn { padding: 9px 11px; font-size: 13px; text-align: center; }
  .nav-brand { font-size: 15px; gap: 8px; }
  .nav-brand img { width: 26px; height: 26px; }
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--r);
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--gulf); color: var(--shell); }
.btn-primary:hover { background: var(--gulf-2); color: var(--shell); }
.nav .btn { padding: 10px 18px; font-size: 15px; }
.nav .btn:hover { text-decoration: none; }
.phone-link { font-weight: 650; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--stucco);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(64px, 9vw, 128px);
}
.display {
  max-width: 11.5em;
  font-size: clamp(44px, 7.6vw, 108px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero .lede {
  max-width: 29em;
  margin: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 36px);
  color: var(--gulf);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
}
/* The quarter sun: two concentric quarter discs rising from the corner. */
.hero-sun {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(44vw, 600px);
  aspect-ratio: 1;
  background: var(--stucco-deep);
  border-radius: 100% 0 0 0;
}
.hero-sun::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  height: 56%;
  background: var(--sun);
  border-radius: 100% 0 0 0;
}
@media (max-width: 760px) {
  .hero-inner { padding-bottom: 52vw; }
  .hero-sun { width: 62vw; }
}

/* ── Facts band ────────────────────────────────────────────────────── */
.facts { background: var(--gulf); color: var(--shell); }
.facts dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px var(--gap);
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 28px;
}
.facts dt { color: var(--stucco); font-size: 14px; }
.facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 550; }
.facts a { color: var(--shell); }
@media (max-width: 760px) { .facts dl { grid-template-columns: 1fr; } }

/* ── Sections ──────────────────────────────────────────────────────── */
.section { padding-top: var(--sect); }
.section-head {
  max-width: 18em;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
}
.section-sub { max-width: 40em; margin: 16px 0 0; font-size: 18px; }

.who p {
  max-width: 31em;
  margin: 0;
  color: var(--gulf);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
}

/* Services: a ruled list, title left, detail right */
.services { margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line-strong); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 12px clamp(24px, 5vw, 72px);
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-top: 1px solid var(--line-strong);
}
.service-title { font-size: clamp(22px, 2.3vw, 29px); line-height: 1.15; }
.service-for { max-width: 22em; margin: 10px 0 0; color: var(--mute); }
.service-copy { max-width: 38em; }
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  padding: 5px 12px;
  background: var(--stucco-wash);
  border-radius: var(--r);
  color: var(--gulf);
  font-size: 15px;
  font-weight: 550;
}
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } }

/* Steps: a real sequence, so it is numbered */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap) clamp(24px, 4vw, 56px);
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--stucco-deep);
  font-size: clamp(56px, 6vw, 84px);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 0.9;
}
.step-title { font-size: 21px; line-height: 1.2; margin-bottom: 8px; }
.step p { max-width: 24em; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap) clamp(24px, 5vw, 72px);
  align-items: start;
}
.about p { max-width: 38em; }
.about .section-head { margin-bottom: 22px; }
.promises { margin: 6px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-strong); }
.promises li {
  padding: 15px 0;
  border-top: 1px solid var(--line-strong);
  color: var(--gulf);
  font-weight: 550;
}
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ── Closing band ──────────────────────────────────────────────────── */
.close {
  position: relative;
  overflow: hidden;
  margin-top: var(--sect);
  background: var(--stucco);
}
.close-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(24px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.close h2 { max-width: 13em; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.04; }
.close p { max-width: 30em; margin: 18px 0 26px; color: var(--gulf); font-size: 18px; }
.contact-list { margin: 0; }
.contact-list div { padding: 13px 0; border-top: 1px solid rgba(15, 45, 61, 0.28); }
.contact-list div:last-child { border-bottom: 1px solid rgba(15, 45, 61, 0.28); }
.contact-list dt { color: var(--gulf-2); font-size: 14px; }
.contact-list dd { margin: 0; color: var(--gulf); font-weight: 550; overflow-wrap: anywhere; }
@media (max-width: 760px) { .close-grid { grid-template-columns: 1fr; } }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--edge) 36px;
  color: var(--mute);
  font-size: 14px;
}
.wrap > .site-footer, .legal > .site-footer {
  margin-top: var(--sect);
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid var(--line);
}

/* ── Apply ─────────────────────────────────────────────────────────── */
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(24px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(32px, 5vw, 72px);
}
.apply-grid h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
.apply-grid .lede { margin: 22px 0 0; font-size: 18px; }
.assure { margin: 26px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-strong); }
.assure li { padding: 13px 0; border-top: 1px solid var(--line-strong); color: var(--gulf); font-weight: 550; }
.apply-contact { margin: 22px 0 0; }
@media (max-width: 860px) { .apply-grid { grid-template-columns: 1fr; } }

.form-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (min-width: 900px) { .form-card { padding: 40px; } }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label, fieldset legend {
  display: block;
  margin-bottom: 6px;
  color: var(--gulf);
  font-size: 15px;
  font-weight: 600;
}
.req { color: #b23a2a; }
.input {
  display: block;
  width: 100%;
  padding: 11px 13px;
  background: var(--shell);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--gulf);
  font: inherit;
}
.input:focus-visible { outline-offset: 1px; border-color: var(--gulf); }
textarea.input { min-height: 120px; resize: vertical; }
fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  background: var(--shell);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--gulf);
  font-size: 15px;
  cursor: pointer;
}
.radio:has(input:checked) { background: var(--stucco-wash); border-color: var(--gulf); }
.radio input, .consent input { accent-color: var(--gulf); }
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 6px 0 16px;
  padding: 16px;
  background: var(--stucco-wash);
  border-radius: var(--r);
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 2px 0 0; }
.fineprint { color: var(--mute); font-size: 14px; }
.sent {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--stucco-wash);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--gulf);
  font-size: 15px;
}

/* ── Legal pages ───────────────────────────────────────────────────── */
.legal { max-width: 700px; margin: 0 auto; padding: 0 var(--edge); }
.legal main { padding-top: clamp(32px, 5vw, 72px); }
.legal h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
.legal .updated { margin: 14px 0 28px; color: var(--mute); font-size: 15px; }
.legal h2 { margin: 34px 0 10px; font-size: 21px; line-height: 1.2; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
