:root {
  --ink: #142828;
  --ink-soft: #3d4a4a;
  --muted: #6b7878;
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --teal: #0f3d3e;
  --teal-mid: #1a5c5e;
  --accent: #c45c26;
  --accent-hover: #a84b1c;
  --card: #ffffff;
  --line: rgba(15, 61, 62, 0.12);
  --shadow: 0 18px 40px rgba(15, 61, 62, 0.08);
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 1.05rem;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-mid); }
a:hover { color: var(--accent); }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.wrap.narrow { width: min(100% - 2rem, 720px); }
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  color: var(--teal);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; }
.muted { color: var(--muted); font-size: 0.92rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-hover); color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: var(--teal) !important;
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); background: rgba(15,61,62,0.04); color: var(--teal) !important; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.95rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--teal);
  text-decoration: none;
}
.logo span {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-left: 0.35rem;
  color: var(--muted);
  vertical-align: super;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}
nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
nav a:not(.btn):hover { color: var(--teal); }
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-burger {
  display: none;
  margin-left: auto;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--teal);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(196, 92, 38, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 40%, rgba(15, 61, 62, 0.08), transparent 50%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}
.trust-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.trust-row li::before {
  content: "✓ ";
  color: var(--teal-mid);
  font-weight: 700;
}
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.hero-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}
.hero-card li { margin-bottom: 0.45rem; }

.problem {
  padding: 3rem 0;
  background: var(--teal);
  color: #e8efef;
}
.problem h2 { color: #fff; }
.problem p { color: rgba(255,255,255,0.88); font-size: 1.1rem; }

.services, .packages, .process, .about, .contact {
  padding: 3.5rem 0;
}
.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}
.section-head p:last-child { color: var(--ink-soft); margin: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.card-grid p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.packages { background: var(--paper-2); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}
.price {
  font-family: var(--display);
  font-size: 1.65rem;
  color: var(--accent);
  margin: 0.35rem 0 0.75rem;
  font-weight: 700;
}
.fit { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; }
.care-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.steps p { margin: 0; color: var(--ink-soft); }

.about { background: var(--paper-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}
.about-card dl { margin: 0; }
.about-card dl > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.about-card dl > div:last-child { border-bottom: none; }
.about-card dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.about-card dd { margin: 0; font-weight: 600; color: var(--teal); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-direct { margin-top: 1.25rem; }
.contact-panel {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.contact-form {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(196, 92, 38, 0.35);
  border-color: var(--accent);
}
.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.form-success,
.form-error {
  margin: 0;
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  line-height: 1.5;
}
.form-success {
  background: #e7f2f0;
  color: var(--teal);
  border: 1px solid rgba(15, 61, 62, 0.18);
}
.form-error {
  background: #fdeee6;
  color: #6d3012;
  border: 1px solid rgba(196, 92, 38, 0.35);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
}
.footer-inner p { margin: 0.25rem 0; }
.footer-inner a { color: var(--teal); text-decoration: none; font-weight: 600; }

@media (max-width: 860px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .card-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .header-inner { position: relative; }
  .nav-burger { display: inline-flex; }
  nav {
    display: none;
    position: absolute;
    z-index: 60;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.75rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ nav { display: flex; }
  .nav-toggle:checked ~ nav a:not(.btn) {
    display: block;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
  }
  .nav-toggle:checked ~ nav a:not(.btn):hover { background: var(--paper-2); }
  .nav-toggle:checked ~ nav .btn { margin-top: 0.25rem; }
  .badge { position: static; display: inline-block; margin-bottom: 0.6rem; }
}

/* Scoped helpers if Amprij index doesn't already define these utilities.
     Safe to keep; adjust colors if Amprij tokens differ slightly. */
  .amprij-examples {
    --ex-teal: #0f3d3e;
    --ex-copper: #c45c26;
    --ex-paper: #f7f4ef;
    --ex-ink: #1a1a1a;
    --ex-muted: #5a5a5a;
    padding: 4rem 1.25rem;
    background: var(--ex-paper);
  }
  .amprij-examples .ex-wrap {
    max-width: 1100px;
    margin: 0 auto;
  }
  .amprij-examples .ex-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ex-copper);
    margin-bottom: 0.5rem;
  }
  .amprij-examples h2 {
    font-family: "Fraunces", Georgia, serif;
    color: var(--ex-teal);
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    margin: 0 0 0.75rem;
  }
  .amprij-examples .ex-lede {
    color: var(--ex-muted);
    max-width: 38em;
    margin: 0 0 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  .amprij-examples .ex-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  @media (min-width: 700px) {
    .amprij-examples .ex-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  .amprij-examples .ex-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 61, 62, 0.08);
    box-shadow: 0 4px 24px rgba(15, 61, 62, 0.1);
    display: flex;
    flex-direction: column;
  }
  .amprij-examples .ex-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  .amprij-examples .ex-card-body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .amprij-examples .ex-card h3 {
    font-family: "Fraunces", Georgia, serif;
    color: var(--ex-teal);
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
  }
  .amprij-examples .ex-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ex-copper);
    margin-bottom: 0.65rem;
  }
  .amprij-examples .ex-card p {
    color: var(--ex-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1.15rem;
    flex: 1;
  }
  .amprij-examples .ex-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .amprij-examples .ex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
  }
  .amprij-examples .ex-btn-primary {
    background: var(--ex-copper);
    color: #fff;
  }
  .amprij-examples .ex-btn-primary:hover { background: #a84c1e; color: #fff; }
  .amprij-examples .ex-btn-ghost {
    background: transparent;
    color: var(--ex-teal);
    border: 2px solid var(--ex-teal);
  }
  .amprij-examples .ex-btn-ghost:hover {
    background: var(--ex-teal);
    color: #fff;
  }
  .amprij-examples .ex-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(15, 61, 62, 0.08);
    color: var(--ex-teal);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
