:root {
  --ink: #151d22;
  --muted: #59656e;
  --paper: #f4f6f5;
  --surface: #ffffff;
  --line: #d9dfdc;
  --steel: #5e7487;
  --blue: #1f6f8b;
  --orange: #cb5f22;
  --green: #2f7258;
  --night: #111820;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 18, 23, 0.72), rgba(12, 18, 23, 0));
}

.site-header.solid {
  background: rgba(17, 24, 32, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark span:first-child {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.86);
  background: rgba(217, 107, 40, 0.92);
  font-size: 0.94rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.96rem;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.92;
}

.nav-links a:hover,
.nav-links a:focus {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 112px 32px 64px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(8, 14, 20, 0.9) 0%, rgba(8, 14, 20, 0.64) 42%, rgba(8, 14, 20, 0.18) 100%),
    url("./roofer-dylan-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-inner,
.section-inner,
.page-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-copy {
  width: min(660px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffd9bd;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 4.2rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  margin-bottom: 24px;
  font-size: 1.18rem;
  max-width: 58ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  border-color: var(--orange);
  background: var(--orange);
}

.dark-button {
  border-color: var(--night);
  background: var(--night);
  color: #fff;
}

.light-button {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.section {
  padding: 56px 32px;
}

.section.alt {
  background: #fff;
}

.section.intro {
  padding-top: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.section h2,
.page h1 {
  font-size: 2.1rem;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.lead {
  max-width: 74ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-label {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.copy-stack p {
  max-width: 70ch;
  color: var(--muted);
}

.copy-stack p:last-child {
  margin-bottom: 0;
}

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

.card {
  min-height: 172px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-row a {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  font-weight: 720;
}

.site-footer {
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.page {
  padding: 136px 32px 64px;
  background: #fff;
  min-height: 100vh;
}

.page-inner {
  max-width: 820px;
}

.page p,
.page li {
  color: var(--muted);
}

.page h2 {
  margin: 34px 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.page ul {
  padding-left: 22px;
}

.page li + li {
  margin-top: 8px;
}

.eyebrow.dark,
.updated,
.fine-print {
  color: var(--muted);
}

.updated,
.fine-print {
  font-size: 0.94rem;
}

.url-label {
  display: block;
  margin: 28px 0 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.callback-url {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: 0.95rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 22px;
}

.page a {
  color: var(--blue);
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .site-header.solid {
    position: fixed;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.88rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .section,
  .page,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 72vh;
    padding-top: 104px;
    background-position: 62% center;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-copy p {
    font-size: 1.04rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-band {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page {
    padding-top: 126px;
  }
}
