/* One Page Pro */
:root {
  --ink: #1d2733;
  --muted: #4a5663;
  --paper: #ffffff;
  --alt: #f3f1ec;
  --rule: #d6d2c8;
  --accent: #1f4e79;
  --accent-dark: #163a5a;
  --focus: #e0a800;
  --sticky-clearance: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: var(--sticky-clearance);
}

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

.page {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scroll-padding-bottom: 0.5rem;
}

h1, h2, h3, .brand, .button, .header-link, .sticky-cta, .price {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* Header */
.site-header {
  border-bottom: 3px solid var(--accent);
  background: var(--paper);
}
.site-header .wrap {
  max-width: 72rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
}
.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}
.header-link {
  display: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 0;
}

/* Sections */
section { padding: 2.5rem 0; }
section.alt { background: var(--alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}
h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.25rem;
}
p { margin: 0 0 1rem; }

.hero { padding: 2.5rem 0 3rem; }
.lead { font-size: 1.25rem; color: var(--muted); }
.note { margin-top: 0.75rem; color: var(--muted); font-size: 1rem; }
.note a { color: inherit; }

/* Buttons */
.button {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 1rem 1.25rem;
  min-height: 3.25rem;
  border-radius: 4px;
}
.button:hover, .button:focus { background: var(--accent-dark); }

a:focus-visible,
.button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
.sticky-cta:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Lists */
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.checks li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.price {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.steps {
  margin: 0;
  padding-left: 1.5rem;
}
.steps li { padding: 0.4rem 0; }

.contact-email { font-size: 1.35rem; font-weight: 700; }
.contact-email a { word-break: break-all; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #f1efe9;
  padding: 2rem 0;
  font-size: 1rem;
}
.site-footer p { margin: 0 0 1rem; font-weight: 700; }
.site-footer address { font-style: normal; }

/* Sticky email bar (small screens) */
.sticky-cta {
  position: relative;
  flex: 0 0 auto;
  z-index: 10;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  min-height: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 2px solid #fff;
}

@media (min-width: 700px) {
  html { scroll-padding-bottom: 0; height: auto; }
  body {
    font-size: 1.1875rem;
    display: block;
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .page { overflow: visible; min-height: 0; }
  .header-link { display: inline; }
  .sticky-cta { display: none; }
  .site-footer { padding: 2rem 0; }
  h1 { font-size: 2.6rem; }
  .button { display: inline-block; }
  section { padding: 3.25rem 0; }
}
