/* Online Elephant. Same-origin stylesheet. No fonts, images, or third-party assets. */

:root {
  --ink: #1c1916;
  --muted: #3a342c;
  --paper: #f3f0ea;
  --surface: #fffdfb;
  --line: #d5cec3;
  --brand: #14382e;
  --brand-hover: #0c241e;
  --focus: #0b57d0;
  --note-bg: #fff4d6;
  --note-border: #6e5410;
  --note-ink: #2c2206;
  --info-bg: #e7eef2;
  --info-border: #1e3a4c;
  --info-ink: #152430;
  --footer-bg: #1c1916;
  --footer-fg: #f6f3ee;
  --reply-bg: #e5f0eb;
  --danger: #8d1d1d;
}

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

html {
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

main {
  flex: 1;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 7vw, 3.35rem);
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
}

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: var(--ink);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.inner {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-top: 4px solid var(--brand);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.site-header-quiet .inner {
  min-height: 4.25rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wordmark {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.1rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a:visited {
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.nav-cta,
.nav-cta:visited,
.nav-cta:hover,
.nav-cta:focus-visible {
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--brand-hover);
  color: #fff;
}

.hero {
  padding: 2.75rem 0 1.25rem;
}

.lede {
  max-width: 40rem;
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
}

.hero .lede {
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.85rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 0.65rem 1.05rem;
  border: 2px solid var(--brand);
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button:visited,
.button:hover,
.button:focus-visible {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #fff;
}

.button-secondary,
.button-secondary:visited {
  background: transparent;
  color: var(--brand);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--brand);
  color: #fff;
}

button:disabled {
  border-color: #8a8175;
  background: #e4ddd2;
  color: #2e2923;
  cursor: not-allowed;
}

.fine,
.product-label {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
}

.product-label {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.block {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}

.measure,
.plain-list,
.boundary,
.faq-item,
.price-card,
.intro,
.audit-form,
.quiet-hours,
.pending-note,
.template-note {
  max-width: 40rem;
}

.steps {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.steps li {
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.steps p {
  margin: 0;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.plain-list li {
  margin: 0.55rem 0;
  padding-left: 0.2rem;
}

.boundary {
  margin: 1.2rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--brand);
  background: var(--surface);
}

.price-card {
  padding: 1.35rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.price-card h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

.price-card .pending-note {
  margin-top: 1rem;
}

.faq-item {
  margin-top: 1.15rem;
}

.faq-item h3,
.faq-item p {
  margin: 0;
}

.faq-item h3 {
  margin-bottom: 0.25rem;
}

.page {
  padding: 2.5rem 0 3rem;
}

.intro {
  margin-bottom: 1.1rem;
}

.audit-form {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.req,
.hint,
.quiet-hours {
  color: var(--muted);
  font-weight: 400;
}

.hint,
.quiet-hours {
  display: block;
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.quiet-hours {
  margin-top: 1rem;
  font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid #5e584f;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:user-invalid {
  border-color: var(--danger);
  background: #fff7f7;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.check input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  accent-color: var(--brand);
}

.check label {
  margin: 0;
  font-weight: 400;
}

.audit-form .button,
.audit-form button {
  justify-self: start;
}

.audit-form p {
  margin: 0;
}

.pending-note {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--note-border);
  border-radius: 6px;
  background: var(--note-bg);
  color: var(--note-ink);
}

.template-note {
  margin: 0 0 1.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--info-border);
  border-radius: 6px;
  background: var(--info-bg);
  color: var(--info-ink);
}

.reviews {
  display: grid;
  gap: 0.9rem;
  max-width: 42rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.review {
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.review h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.review > p {
  margin: 0;
}

.reply {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--brand);
  background: var(--reply-bg);
}

.reply h3,
.reply p {
  margin: 0;
}

.reply h3 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.audit-alt {
  max-width: 42rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.alt-headline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.8rem 0 2.2rem;
  background: var(--footer-bg);
  color: var(--footer-fg);
}

.site-footer a {
  color: inherit;
  text-underline-offset: 0.15em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.site-footer a:focus-visible {
  outline-color: #b9d0ff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.85rem 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding: 0.2rem 0;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 48rem) {
  .inner {
    width: min(100% - 3rem, 72rem);
  }

  .hero {
    padding: 4.25rem 0 1.75rem;
  }

  .audit-form button,
  .price-card .button {
    width: auto;
  }
}

@media (min-width: 52rem) {
  .site-nav {
    flex: 1 1 auto;
  }
}

@media (max-width: 51.99rem) {
  .site-nav {
    flex-basis: 100%;
  }

  .site-nav ul {
    justify-content: flex-start;
  }
}

@media (min-width: 64rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0;
  }

  .footer-links li:not(:last-child)::after {
    content: " · ";
    white-space: pre;
  }
}

@media (forced-colors: active) {
  .button,
  .button-secondary,
  .nav-cta,
  button,
  .pending-note,
  .template-note,
  .review,
  .price-card,
  .steps li,
  .audit-form,
  .boundary,
  .reply {
    border: 1px solid ButtonText;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }

  .site-footer a {
    color: #000;
  }
}
