:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5b6863;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #d9e2dc;
  --sage: #dcebe0;
  --sage-strong: #6c967d;
  --teal: #1f5e64;
  --coral: #c95f4f;
  --gold: #e3b85a;
  --charcoal: #25302d;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px 48px;
  background: rgba(251, 250, 246, 0.86);
  border-bottom: 1px solid rgba(217, 226, 220, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: fit-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ink);
  border: 3px solid var(--gold);
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.footer-links a {
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--coral);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-label {
  padding: 0 6px 0 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lang-button {
  min-width: 42px;
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.lang-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.header-cta {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px 48px 96px;
  isolation: isolate;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/same-day-housekeeping-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-media::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.84) 34%, rgba(251, 250, 246, 0.22) 65%, rgba(251, 250, 246, 0.08) 100%),
    linear-gradient(0deg, rgba(251, 250, 246, 0.22), rgba(251, 250, 246, 0.1));
}

.hero-content {
  max-width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: 4.25rem;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--charcoal);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 142px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--coral);
  color: var(--white);
}

.button-primary:hover {
  background: #aa493c;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 33, 31, 0.28);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--white);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 128px));
  gap: 10px;
  max-width: 440px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 82px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 226, 220, 0.9);
  border-radius: 8px;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.86rem;
}

.pilot-status,
.quote-band {
  display: grid;
}

.pilot-status {
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.55fr);
  gap: 28px;
  align-items: center;
  padding: 34px 48px;
  background: var(--charcoal);
  color: var(--white);
}

.pilot-status .eyebrow,
.pilot-status h2 {
  color: var(--white);
}

.pilot-status h2 {
  margin-bottom: 0;
  font-size: 1.85rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.status-grid article {
  min-height: 110px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.status-grid strong,
.status-grid span {
  display: block;
}

.status-grid strong {
  margin-bottom: 8px;
}

.status-grid span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.quote-band {
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 2.1fr);
  gap: 28px;
  align-items: start;
  padding: 38px 48px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-intro h2 {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.quote-gate {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
  align-items: end;
}

.field-group,
.segmented,
.add-ons,
.estimate {
  min-width: 0;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-group label,
.segmented legend,
.add-ons legend,
.provider-fieldset legend {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

textarea {
  min-height: 120px;
  padding-top: 12px;
  padding-right: 14px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.quote-form .segmented,
.quote-form .add-ons {
  grid-column: span 2;
}

.segmented legend,
.add-ons legend {
  grid-column: 1 / -1;
}

.segmented label,
.add-ons label {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.segmented input,
.add-ons input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label:has(input:checked),
.add-ons label:has(input:checked) {
  border-color: var(--teal);
  background: var(--sage);
  color: var(--ink);
}

.add-ons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.estimate {
  display: grid;
  min-height: 74px;
  align-content: center;
  padding: 10px 14px;
  border-left: 4px solid var(--gold);
  background: #fff7e4;
}

.estimate span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate strong {
  font-size: 1.55rem;
  line-height: 1.1;
}

.estimate small {
  color: var(--muted);
  font-weight: 700;
}

.quote-message {
  grid-column: 2;
  min-height: 1.5em;
  margin: -10px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.quote-form > .button {
  width: 100%;
  min-width: 118px;
  padding-left: 16px;
  padding-right: 16px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.area-section,
.client-section,
.sample-section,
.policy-section {
  padding: 84px 48px;
  background: var(--paper);
}

.area-grid,
.client-grid,
.sample-grid,
.policy-grid {
  display: grid;
  gap: 16px;
}

.area-grid {
  grid-template-columns: 1.15fr 1fr 0.85fr;
}

.policy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-section {
  background: var(--white);
}

.client-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-card {
  display: grid;
  min-height: 240px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.05);
}

.client-card .metric {
  margin-bottom: 18px;
}

.area-grid > article,
.sample-grid > article,
.policy-grid > article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.05);
}

.sample-section {
  background: var(--sage);
}

.sample-note {
  max-width: 760px;
  color: var(--muted);
  font-weight: 700;
}

.sample-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sample-grid ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-strip > div {
  padding: 36px 48px;
  background: var(--paper);
}

.metric {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 900;
}

.service-strip p,
.area-grid p,
.client-card p,
.sample-grid p,
.policy-grid p,
.service-card p,
.hiring-panel p,
.check-list li,
.promise-copy p,
.promise-list p,
.plan-card p,
.plan-card li,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.section,
.split-section,
.faq-section {
  padding: 84px 48px;
}

.section-heading {
  display: grid;
  max-width: 780px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hiring-section {
  background: var(--white);
}

.hiring-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: start;
}

.hiring-panel,
.provider-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.05);
}

.hiring-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.provider-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}

.provider-fieldset,
.full-span {
  grid-column: 1 / -1;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.check-grid label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.check-grid input {
  flex: 0 0 auto;
  accent-color: var(--teal);
}

.provider-message {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.provider-message.is-ready {
  color: var(--teal);
}

.service-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.05);
}

.service-card {
  display: grid;
  min-height: 310px;
  align-content: start;
  padding: 24px;
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.service-card h3,
.plan-card h3,
.promise-list h3 {
  margin-bottom: 10px;
}

.service-card strong {
  margin-top: auto;
  color: var(--coral);
  font-size: 1.05rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
  background: var(--charcoal);
  color: var(--white);
}

.split-section .eyebrow,
.split-section h2,
.split-section h3 {
  color: var(--white);
}

.promise-copy {
  position: sticky;
  top: 110px;
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.promise-list > div {
  min-height: 156px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.membership {
  background: var(--sage);
}

.plan-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  padding: 26px;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding-left: 18px;
  border-left: 3px solid var(--sage-strong);
}

.featured-plan {
  border-color: var(--teal);
  background: #f7fbf8;
  box-shadow: var(--shadow);
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 48px;
  background: var(--ink);
  color: var(--white);
}

.footer-brand .brand-mark {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  align-content: center;
  gap: 8px;
  text-align: right;
}

@media (max-width: 1500px) {
  .quote-band {
    grid-template-columns: 1fr;
  }

  .quote-message {
    grid-column: 1;
  }
}

@media (max-width: 1180px) {
  .quote-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 22px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 690px;
    padding: 112px 22px 64px;
    align-items: end;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.84) 45%, rgba(251, 250, 246, 0.24) 100%),
      linear-gradient(90deg, rgba(251, 250, 246, 0.6), rgba(251, 250, 246, 0.14));
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .quote-band,
  .pilot-status,
  .area-section,
  .client-section,
  .sample-section,
  .section,
  .split-section,
  .policy-section,
  .faq-section,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .service-strip,
  .pilot-status,
  .status-grid,
  .area-grid,
  .client-grid,
  .sample-grid,
  .hiring-grid,
  .split-section,
  .policy-grid,
  .plan-row {
    grid-template-columns: 1fr;
  }

  .service-strip > div {
    padding: 30px 22px;
  }

  .pilot-status {
    align-items: start;
  }

  .promise-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    min-height: 38px;
    padding: 8px 12px;
  }

  .hero {
    min-height: 650px;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.03;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    max-width: 240px;
  }

  .hero-proof li {
    min-height: 66px;
  }

  .quote-form,
  .service-grid,
  .client-grid,
  .provider-form,
  .check-grid,
  .promise-list {
    grid-template-columns: 1fr;
  }

  .add-ons,
  .segmented {
    grid-template-columns: 1fr;
  }

  .quote-form .segmented,
  .quote-form .add-ons {
    grid-column: 1 / -1;
  }

  .section,
  .split-section,
  .pilot-status,
  .area-section,
  .client-section,
  .sample-section,
  .policy-section,
  .faq-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .header-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .language-toggle {
    padding: 2px;
  }

  .language-label {
    display: none;
  }

  .lang-button {
    min-width: 34px;
    min-height: 34px;
    padding: 5px 7px;
  }

  .hero-content,
  .quote-intro,
  .quote-form {
    max-width: 346px;
  }

  .quote-intro h2 {
    font-size: 1.55rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}
