/* JP Industries — one-page site, same visual language as the local-business template */

:root {
  --accent: #0b5f4b;
  --accent-ink: #ffffff;
  --paper: #f3efe7;
  --paper-2: #e8e2d6;
  --surface: #fffdf8;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #57534e;
  --line: #d6d0c4;
  --max: 68rem;
  --pad: 1.15rem;
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 2000;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - (2 * var(--pad)), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 3.25rem;
  padding-top: 0.4rem;
  padding-bottom: 0.15rem;
}

.site-nav {
  flex: 1 1 100%;
  margin-left: -0.55rem;
}

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

.wordmark:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  justify-content: flex-start;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 0.55rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
}

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

main {
  flex: 1;
}

.hero {
  padding: 2.25rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(1.7rem, 5vw + 0.6rem, 3.6rem);
  font-weight: 800;
  margin: 0 0 0.85rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36em;
}

.section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: 1.45rem;
  margin: 0 0 1.15rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  background: var(--accent);
  margin-top: 0.5rem;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.offer-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.15rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 1.15rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-ink);
  background: var(--accent);
  width: 2rem;
  height: 2rem;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.steps h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0;
}

.price-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

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

.price-card h3 {
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
}

.price {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.price span {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.price-card p {
  color: var(--ink-soft);
}

.section--last {
  border-bottom: 0;
}

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

.page-hero h1 {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.page-hero p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  max-width: 32em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.site-footer {
  background: #1c1917;
  color: #e7e5e4;
  padding: 1.75rem 0 2rem;
  margin-top: auto;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 640px) {
  :root {
    --pad: 1.5rem;
  }

  body {
    font-size: 1.125rem;
  }

  .wordmark {
    font-size: 1.2rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 3.5rem;
  }

  .site-nav {
    flex: 0 0 auto;
    margin-left: 0;
  }

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

  .site-nav a {
    padding: 0 0.7rem;
    font-size: 0.95rem;
  }

  .hero {
    padding: 3.25rem 0 3.4rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .price-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .hero h1 {
    font-size: 3.7rem;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
