/* =========================================================
   001 A HERS Provider — minimalist / brutalist stylesheet
   Mobile-first. Off-white, black, gray. Restrained green accent.
   ========================================================= */

:root {
  --bg: #f4f1ea;
  --bg-soft: #faf8f1;
  --bg-card: #fffdf7;
  --ink: #11110f;
  --muted: #5f5b52;
  --line: #11110f;
  --soft: #e5e0d6;
  --accent: #2d5a3d;
  --focus: #2d5a3d;

  --border-w: 2px;
  --maxw: 1440px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

/* ---------- Focus ----------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Skip link ------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Frame ----------------------------------------- */
.frame {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  border-left: var(--border-w) solid var(--line);
  border-right: var(--border-w) solid var(--line);
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.04) 1px, transparent 1px) 0 0 / 60px 60px,
    var(--bg);
}

@media (min-width: 900px) {
  .frame {
    background:
      linear-gradient(90deg, rgba(17, 17, 15, 0.05) 1px, transparent 1px) 0 0 / 120px 120px,
      var(--bg);
  }
}

/* ---------- Header ---------------------------------------- */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: var(--border-w) solid var(--line);
  background: var(--bg);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.brand .mark {
  width: 36px;
  height: 36px;
  border: var(--border-w) solid var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .brand { padding: 18px 28px; font-size: 18px; gap: 16px; }
  .brand .mark { width: 40px; height: 40px; }
}

@media (min-width: 1024px) {
  .brand { padding: 22px 36px; font-size: 20px; }
  .brand .mark { width: 42px; height: 42px; }
}

/* Nav */
.nav-toggle {
  appearance: none;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-left: var(--border-w) solid var(--line);
  padding: 0 22px;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline-offset: -3px; }

@media (min-width: 720px) {
  .nav-toggle { display: none; }
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: var(--border-w) solid var(--line);
  z-index: 20;
}
.site-nav[data-open="true"] { display: flex; flex-direction: column; }

.site-nav a {
  padding: 18px 22px;
  border-top: var(--border-w) solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.site-nav a.primary {
  background: var(--ink);
  color: var(--bg);
}

@media (min-width: 720px) {
  .site-nav {
    display: flex;
    flex-direction: row;
    position: static;
    border: 0;
    border-left: var(--border-w) solid var(--line);
  }
  .site-nav a {
    padding: 0 22px;
    display: grid;
    place-items: center;
    border-top: 0;
    border-right: var(--border-w) solid var(--line);
    font-size: 13px;
  }
  .site-nav a:last-child { border-right: 0; }
}

@media (min-width: 1024px) {
  .site-nav a { padding: 0 28px; font-size: 14px; }
}

/* ---------- Hero ------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: var(--border-w) solid var(--line);
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 0.88fr 1.12fr;
    min-height: 720px;
  }
}

.hero-copy {
  padding: 28px 18px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-bottom: var(--border-w) solid var(--line);
}

@media (min-width: 720px) {
  .hero-copy { padding: 40px 28px; gap: 36px; }
}

@media (min-width: 1024px) {
  .hero-copy {
    padding: 56px 36px 42px;
    border-right: var(--border-w) solid var(--line);
    border-bottom: 0;
    justify-content: space-between;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 8px 12px;
  border: var(--border-w) solid var(--line);
  background: var(--bg);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

@media (min-width: 720px) {
  .eyebrow { font-size: 13px; padding: 9px 12px; }
}

h1.hero-h {
  margin: 24px 0 16px;
  font-size: 44px;
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 900;
  max-width: 12ch;
}

@media (min-width: 480px) {
  h1.hero-h { font-size: 56px; }
}
@media (min-width: 720px) {
  h1.hero-h { font-size: 72px; margin: 32px 0 20px; letter-spacing: -0.06em; }
}
@media (min-width: 1024px) {
  h1.hero-h { font-size: 86px; margin: 42px 0 24px; letter-spacing: -0.075em; line-height: 0.88; max-width: 690px; }
}

.hero-copy .lede {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.3;
  max-width: 36ch;
  font-weight: 500;
}

@media (min-width: 720px) {
  .hero-copy .lede { font-size: 21px; }
}
@media (min-width: 1024px) {
  .hero-copy .lede { font-size: 24px; line-height: 1.25; max-width: 600px; }
}

/* Quick paths */
.quick-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: var(--border-w) solid var(--line);
}

.path {
  padding: 16px;
  border-right: var(--border-w) solid var(--line);
  border-bottom: var(--border-w) solid var(--line);
  background: rgba(244, 241, 234, 0.6);
}
.path:nth-child(even) { border-right: 0; }
.path:nth-child(n+3) { border-bottom: 0; }

.path strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.path span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 6px;
}

@media (min-width: 720px) {
  .path { padding: 18px; min-height: 112px; }
  .path strong { font-size: 19px; }
  .path span { font-size: 14px; margin-top: 8px; }
}

/* ---------- Tool panel ------------------------------------ */
.tool-panel {
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg-soft);
}

@media (min-width: 720px) {
  .tool-panel { padding: 28px; }
}

.tool-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: var(--border-w) solid var(--line);
  border-bottom: 0;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  font-weight: 900;
  gap: 10px;
}
.tool-label span:last-child { text-align: right; }

@media (min-width: 720px) {
  .tool-label { padding: 18px 22px; font-size: 13px; }
}

.tool-shell {
  border: var(--border-w) solid var(--line);
  background: var(--bg);
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .tool-shell {
    min-height: 548px;
    grid-template-columns: 220px 1fr;
  }
}

@media (min-width: 1024px) {
  .tool-shell { grid-template-columns: 240px 1fr; }
}

.tool-shell-embedded {
  grid-template-columns: 1fr;
  min-height: 760px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .tool-shell-embedded {
    grid-template-columns: 1fr;
    min-height: 840px;
  }
}

.tool-iframe {
  width: 100%;
  height: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}

@media (min-width: 1024px) {
  .tool-iframe { min-height: 840px; }
}

.tool-side {
  border-bottom: var(--border-w) solid var(--line);
  padding: 18px;
}

@media (min-width: 720px) {
  .tool-side {
    border-right: var(--border-w) solid var(--line);
    border-bottom: 0;
    padding: 22px 18px;
  }
}

@media (min-width: 1024px) {
  .tool-side { padding: 26px 22px; }
}

.step {
  border-bottom: var(--border-w) solid var(--line);
  padding: 0 0 14px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.step small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (min-width: 720px) {
  .step { font-size: 15px; padding-bottom: 18px; margin-bottom: 18px; }
  .step small { font-size: 12px; margin-bottom: 8px; }
}

/* The actual embed target */
.tool-main {
  padding: 18px;
}

@media (min-width: 720px) { .tool-main { padding: 28px; } }
@media (min-width: 1024px) { .tool-main { padding: 34px; } }

.evaluator-embed {
  border: var(--border-w) solid var(--line);
  background: var(--bg-card);
  padding: 22px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

@media (min-width: 720px) {
  .evaluator-embed { padding: 30px; min-height: 420px; }
}

.evaluator-embed h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

@media (min-width: 720px) {
  .evaluator-embed h2 { font-size: 36px; letter-spacing: -0.05em; }
}
@media (min-width: 1024px) {
  .evaluator-embed h2 { font-size: 44px; line-height: 0.98; letter-spacing: -0.055em; margin-bottom: 20px; }
}

.field-row {
  min-height: 50px;
  border: var(--border-w) solid var(--line);
  margin-top: 10px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  font-weight: 700;
  background: var(--bg);
  font-size: 14px;
}

@media (min-width: 720px) {
  .field-row { min-height: 58px; padding: 0 18px; margin-top: 14px; font-size: 15px; }
}

.placeholder-note {
  display: block;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px dashed var(--muted);
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (min-width: 720px) {
  .button-row { gap: 14px; margin-top: 24px; }
}

.btn {
  min-height: 50px;
  border: var(--border-w) solid var(--line);
  background: var(--bg);
  display: inline-grid;
  place-items: center;
  padding: 0 20px;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  transition: transform 80ms ease, background 120ms ease;
}
.btn:hover { background: var(--soft); }
.btn:active { transform: translateY(1px); }

.btn.black {
  background: var(--ink);
  color: var(--bg);
  flex: 1 1 auto;
  min-width: 140px;
}
.btn.black:hover { background: var(--accent); }

.btn.ghost { min-width: 140px; }

@media (min-width: 720px) {
  .btn { min-height: 58px; padding: 0 24px; font-size: 14px; }
  .btn.ghost { min-width: 180px; }
}

/* ---------- Schedule strip -------------------------------- */
.schedule-strip {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: var(--border-w) solid var(--line);
}

@media (min-width: 720px) {
  .schedule-strip {
    grid-template-columns: 1.4fr 0.6fr;
    min-height: 220px;
  }
}

.schedule-strip .copy {
  padding: 26px 22px;
  border-bottom: var(--border-w) solid var(--line);
}

@media (min-width: 720px) {
  .schedule-strip .copy {
    padding: 30px 28px;
    border-bottom: 0;
    border-right: var(--border-w) solid var(--line);
  }
}

@media (min-width: 1024px) {
  .schedule-strip .copy { padding: 34px 36px; }
}

.schedule-strip h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

@media (min-width: 720px) {
  .schedule-strip h2 { font-size: 44px; letter-spacing: -0.055em; }
}

@media (min-width: 1024px) {
  .schedule-strip h2 { font-size: 56px; line-height: 0.95; letter-spacing: -0.06em; max-width: 760px; }
}

.schedule-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
  max-width: 720px;
}

@media (min-width: 1024px) {
  .schedule-strip p { font-size: 19px; line-height: 1.35; }
}

.schedule-cta {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 36px 22px;
  transition: background 120ms ease;
}
.schedule-cta:hover { background: var(--accent); }

@media (min-width: 720px) {
  .schedule-cta { font-size: 24px; padding: 0 22px; }
}

/* ---------- Footer ---------------------------------------- */
.site-footer {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .site-footer { grid-template-columns: 1fr auto auto; min-height: 116px; }
}

.site-footer > div {
  padding: 18px 22px;
  border-top: var(--border-w) solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.site-footer > div:first-child { border-top: 0; }

@media (min-width: 720px) {
  .site-footer > div {
    border-top: 0;
    border-right: var(--border-w) solid var(--line);
    padding: 24px 28px;
    font-size: 15px;
  }
  .site-footer > div:last-child { border-right: 0; }
}

@media (min-width: 1024px) {
  .site-footer > div { padding: 24px 36px; }
}

.muted { color: var(--muted); font-weight: 600; }

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ---------- Interior page utilities ----------------------- */
.page-header {
  padding: 32px 22px 24px;
  border-bottom: var(--border-w) solid var(--line);
}

@media (min-width: 720px) {
  .page-header { padding: 56px 28px 36px; }
}

@media (min-width: 1024px) {
  .page-header { padding: 72px 36px 48px; }
}

.page-header h1 {
  margin: 12px 0 14px;
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 900;
  max-width: 16ch;
}

@media (min-width: 720px) {
  .page-header h1 { font-size: 56px; letter-spacing: -0.06em; }
}

@media (min-width: 1024px) {
  .page-header h1 { font-size: 72px; line-height: 0.9; letter-spacing: -0.065em; }
}

.page-header .lede {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
  max-width: 60ch;
}

@media (min-width: 720px) {
  .page-header .lede { font-size: 21px; }
}

.section {
  padding: 28px 22px;
  border-bottom: var(--border-w) solid var(--line);
}
.section:last-of-type { border-bottom: 0; }

@media (min-width: 720px) {
  .section { padding: 40px 28px; }
}

@media (min-width: 1024px) {
  .section { padding: 56px 36px; }
}

.section h2 {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

@media (min-width: 720px) {
  .section h2 { font-size: 34px; letter-spacing: -0.05em; }
}

.section h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.section p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 68ch;
}

@media (min-width: 720px) {
  .section p { font-size: 17px; }
}

/* Scheduling embed shell */
.schedule-embed {
  border: var(--border-w) solid var(--line);
  background: var(--bg-card);
  padding: 22px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 720px) {
  .schedule-embed { padding: 30px; min-height: 600px; }
}

.schedule-embed .placeholder-note {
  margin-top: 0;
}

.appointment-picker {
  display: grid;
  grid-template-columns: 1fr;
  border: var(--border-w) solid var(--line);
  border-bottom: 0;
}

@media (min-width: 980px) {
  .appointment-picker {
    grid-template-columns: repeat(3, 1fr);
  }
}

.appointment-option {
  appearance: none;
  background: var(--bg);
  color: var(--ink);
  border: 0;
  border-bottom: var(--border-w) solid var(--line);
  padding: 16px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

@media (min-width: 980px) {
  .appointment-option {
    border-right: var(--border-w) solid var(--line);
  }
  .appointment-option:last-child { border-right: 0; }
}

.appointment-option:hover,
.appointment-option.is-active {
  background: var(--ink);
  color: var(--bg);
}

.appointment-option span {
  display: block;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.appointment-option small {
  display: block;
  margin-top: 8px;
  color: inherit;
  opacity: 0.72;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.calendly-shell {
  min-width: 320px;
  height: 760px;
  border: var(--border-w) solid var(--line);
  background: #fff;
}

.calendly-loading {
  padding: 22px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.schedule-fallback span {
  flex-basis: 100%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-fallback a {
  color: var(--ink);
  font-weight: 900;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px) {
  .schedule-grid { grid-template-columns: 1.4fr 0.6fr; gap: 28px; }
}

.sidebar-card {
  border: var(--border-w) solid var(--line);
  background: var(--bg-soft);
  padding: 20px;
}

.sidebar-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.sidebar-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: var(--border-w) solid var(--line);
}

.faq-item {
  border-bottom: var(--border-w) solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 0; }

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 900;
}

@media (min-width: 720px) {
  .faq-item h3 { font-size: 22px; }
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 70ch;
}

.policy-list {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 70ch;
}

@media (min-width: 720px) {
  .policy-list { font-size: 17px; }
}

.policy-list li {
  margin-bottom: 6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
