:root {
  --ink: #172a39;
  --navy: #173f5d;
  --blue: #2b80b8;
  --gold: #b38a47;
  --ivory: #f6f3eb;
  --paper: #fffdf8;
  --line: #d9d6cd;
  --muted: #65727b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 35px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
}

.hero,
.guide-step,
.arrangements,
footer {
  width: min(720px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  padding: 30px 0 42px;
  text-align: center;
}

.hero-logo {
  width: min(340px, 88vw);
  height: auto;
  margin: 0 auto 38px;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: -.055em;
  line-height: .95;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.guide-shell {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.guide-step {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.step-heading {
  margin-bottom: 34px;
}

.step-heading .eyebrow { margin-bottom: 9px; }

.step-heading h2 {
  max-width: 650px;
  margin: 0;
  color: var(--navy);
  font-size: 3px;
  letter-spacing: -.035em;
}

.step-grid,
.fee-layout,
.fee-cards,
.subsection,
.arrangement-grid,
.inline-contacts,
.ash-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.step-grid { gap: 0; }
.fee-layout { gap: 30px; }
.fee-cards { gap: 10px; }
.subsection { gap: 24px; }
.arrangement-grid { gap: 12px; }
.inline-contacts { gap: 8px; }
.ash-note { gap: 24px; }

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

.content-block:last-child { padding-bottom: 0; }

.content-block h3,
.subsection h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 24px;
}

.content-block p { margin-bottom: 16px; }
.muted, .small-note { color: var(--muted); }
.small-note { margin: 16px 0 0; font-size: 13px; }
.lead { margin-bottom: 24px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.5; }

.information-note {
  margin-top: 20px;
  padding: 16px 17px;
  background: #eef5f8;
  border-left: 3px solid var(--blue);
  color: #385363;
  font-size: 14px;
}

.contact-list { display: grid; gap: 8px; }

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-link:hover,
.contact-link:focus-visible { border-color: var(--blue); background: #f3f8fa; }

.contact-action {
  color: var(--blue);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compact .contact-link { min-height: 48px; }

.numbered-list { display: grid; gap: 0; }

.numbered-list > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.numbered-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.numbered-list p { margin: 2px 0 0; }

.action-card,
.directory-card {
  margin-top: 20px;
  padding: 24px 20px;
  background: var(--navy);
  color: white;
}

.action-card .eyebrow,
.directory-card .eyebrow { color: #9bcce5; }

.action-card h3 { margin-bottom: 12px; font-size: 29px; }
.action-card p { color: #dce8ee; }

.action-card > a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.action-card > a:hover { color: #9bcce5; }
.action-card small { display: block; color: #b9cbd5; line-height: 1.65; }

.fee-card {
  display: flex;
  flex-direction: column;
  padding: 21px 18px;
  border: 1px solid var(--line);
  background: white;
}

.fee-card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fee-card > strong {
  margin: 8px 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.fee-card p { color: var(--muted); font-size: 14px; }
.fee-card .contact-link { margin-top: 8px; padding-inline: 0; border: 0; border-top: 1px solid var(--line); }
.fee-card code { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--navy); font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; word-break: break-all; }

.hearse-service-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  background: #f0f5f6;
}

.hearse-service-card h3 { margin-bottom: 22px; color: var(--navy); font-size: 25px; }
.service-detail { padding: 17px 0; border-top: 1px solid rgba(23, 63, 93, .16); }
.service-detail span { display: block; margin-bottom: 6px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-detail p { margin: 0; color: #435965; font-size: 14px; }
.service-notice { margin-top: 8px; padding: 15px; color: #52636e; background: white; border-left: 3px solid var(--gold); font-size: 13px; line-height: 1.55; }

.subsection {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.plain-steps { margin: 0; padding-left: 21px; }
.plain-steps li { padding: 0 0 20px 7px; }
.plain-steps li::marker { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 18px; }

.directory-card .contact-link {
  border-color: rgba(255,255,255,.2);
  background: transparent;
  color: white;
}

.directory-card .contact-link:hover { border-color: #9bcce5; background: rgba(255,255,255,.05); }
.directory-card .contact-action { color: #9bcce5; }

.arrangements {
  padding: 58px 0;
}

.section-title { margin-bottom: 34px; }
.section-title h2 { margin-bottom: 14px; color: var(--navy); font-size: 37px; letter-spacing: -.04em; }
.section-title > p:last-child { margin-bottom: 0; color: var(--muted); }

.arrangement-card {
  padding: 23px 19px;
  border: 1px solid rgba(23,63,93,.16);
  background: var(--paper);
}

.card-index { display: block; margin-bottom: 18px; color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 13px; }
.arrangement-card h3 { margin-bottom: 14px; color: var(--navy); font-size: 27px; }
.arrangement-card > p { color: #52636e; }
.text-link { display: inline-flex; gap: 14px; margin: 8px 0 24px; color: var(--navy); font-weight: 800; text-decoration-color: var(--gold); text-underline-offset: 5px; }

.schedule { margin: 0; border-top: 1px solid var(--line); }
.schedule div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.schedule dt { color: var(--navy); font-weight: 700; }
.schedule dd { margin: 2px 0 0; color: var(--muted); }
.price { margin: 22px 0; color: var(--navy) !important; font-family: Georgia, "Times New Roman", serif; font-size: 35px; }
.price small { color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 12px; }

.ash-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ash-note h4 { margin-bottom: 10px; color: var(--navy); font-size: 19px; }
.ash-note p { margin: 0; color: var(--muted); }

footer {
  display: block;
  padding: 22px 0;
  color: #b8c9d2;
  background: #102f46;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  margin-top: -22px;
  background: #102f46;
  z-index: -1;
}

footer { position: relative; z-index: 0; }
footer p { margin: 0; }
footer p + p { margin-top: 4px; }

@media (min-width: 680px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 60px; }
  .hero-logo { width: 390px; margin-bottom: 46px; }
  .hero h1 { font-size: 86px; }
  .guide-step { padding: 72px 0; }
  .step-heading { margin-bottom: 42px; }
  .step-heading h2, .section-title h2 { font-size: 52px; }
  .content-block { padding: 30px 0; }
  .action-card, .directory-card, .hearse-service-card { padding: 30px; }
  .fee-card { padding: 25px; }
  .arrangements { padding: 72px 0; }
  .arrangement-card { padding: 28px; }
  footer { display: flex; justify-content: space-between; gap: 20px; }
  footer p + p { margin-top: 0; }
}

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

@media print {
  footer { display: none; }
  body { background: white; color: black; }
  .hero, .guide-step, .arrangements { width: 100%; padding: 30px; }
  .hero h1, .step-heading h2, .section-title h2 { color: black; }
  .guide-step, .arrangement-card { break-inside: avoid; }
}
