/* Sunset Billing Archive — site styles
   Palette pulled from the logo: sage green, sunset orange, warm charcoal. */
:root {
  --green: #769867;
  --green-deep: #5C7A4F;
  --green-dark: #3F5A3A;
  --green-tint: #E9EFE4;
  --orange: #E9A93C;
  --orange-tint: #FDF1DC;
  --orange-text: #8A6A1E;
  --ink: #2F3A2E;
  --ink-soft: #4A544A;
  --muted: #6B736A;
  --line: #E6EAE2;
  --line-strong: #C9D2C3;
  --paper: #FFFFFF;
  --paper-alt: #F6F7F2;
  --paper-warm: #FDFBF6;
  --footer: #2F3A2E;
  --footer-text: #E6EAE2;
  --footer-muted: #B9C2B4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-deep); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--paper-alt); }
.eyebrow {
  margin: 0 0 10px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-deep);
}
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: 0.01em; color: var(--ink); }
h1 { font-size: clamp(32px, 4.5vw, 46px); line-height: 1.15; }
h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; }
h3 { font-size: 20px; font-weight: 500; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 600px; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.6; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 14px 26px; border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--green-deep); color: var(--ink); }
.btn-sm { font-size: 15px; padding: 12px 22px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.brand img { height: 72px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav a:not(.btn) {
  text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink);
}
.nav a:not(.btn):hover { color: var(--green-deep); }
.nav a[aria-current="page"]:not(.btn) { color: var(--green-deep); }

/* Hero */
.hero .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-top: 72px; padding-bottom: 64px;
}
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-art { flex: 0 1 360px; display: flex; justify-content: center; }
.hero-art img { width: 340px; height: 340px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: #fff;
  display: flex; flex-direction: column; gap: 14px;
}
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.card .more { font-size: 15px; font-weight: 500; text-decoration: none; margin-top: auto; }
.icon-dot {
  width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center;
}
.icon-dot.orange { background: var(--orange-tint); }
.icon-dot.green { background: var(--green-tint); }
.icon-dot.gray { background: #EFEFEF; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.panel .label { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); }
.panel .label.warn { color: var(--orange-text); }
.panel ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.7; }
.panel p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > * { flex: 1 1 400px; min-width: 0; }

/* Steps */
.step { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 10px; background: var(--paper-alt); }
.step .num { font-size: 40px; font-weight: 300; color: var(--orange); line-height: 1; }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* Request page */
.request-cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.request-main { flex: 1 1 520px; min-width: 0; }
.request-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.box { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.box-head {
  padding: 22px 28px; background: var(--paper-alt); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
}
.box-head .badge {
  width: 40px; height: 40px; border-radius: 20px; background: var(--orange); color: var(--ink);
  font-size: 18px; font-weight: 500; display: flex; align-items: center; justify-content: center; flex: none;
}
.box-head h2 { font-size: 20px; font-weight: 500; }
.box-head p { font-size: 14px; color: var(--muted); }
.box-body { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.box-body ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.7; }
.form-embed { width: 100%; border: 0; min-height: 1400px; display: block; background: #fff; }
.dropzone {
  border: 2px dashed var(--green); border-radius: 10px; padding: 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px; background: #FAFBF8;
}
.dark-box { border-radius: 12px; background: var(--footer); color: var(--footer-text); padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.dark-box .label { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.dark-box p { font-size: 15px; line-height: 1.65; }
.dark-box a { color: #fff; }
.note { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Footer */
.site-footer { background: var(--footer); color: var(--footer-text); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-brand { flex: 1 1 320px; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand .name { font-size: 22px; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.footer-brand .name span { font-weight: 400; color: #C9D2C3; }
.footer-brand .tag { font-size: 14px; color: var(--footer-muted); letter-spacing: 0.04em; }
.footer-col { flex: 1 1 220px; }
.footer-col .label { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.footer-col a, .footer-col p { color: #fff; font-size: 15px; text-decoration: none; line-height: 1.6; }
.footer-col a:hover { text-decoration: underline; color: #fff; }
.footer-col .small { color: var(--footer-muted); }
.footer-legal {
  border-top: 1px solid #46533F; padding-top: 20px; display: flex; flex-wrap: wrap;
  gap: 12px 32px; justify-content: space-between; font-size: 13px; color: var(--footer-muted);
}

/* Legal page */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 22px; font-weight: 500; margin-top: 12px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.prose ul { margin: 0; padding-left: 22px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
  .brand img { height: 56px; }
  .nav { gap: 16px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 40px; }
  .hero-art img { width: 240px; height: 240px; }
  .box-body, .card, .step { padding: 22px; }
  .form-embed { min-height: 1600px; }
}
