:root {
  --ink: #17211f;
  --ink-soft: #495552;
  --muted: #6c7773;
  --line: #dde5e1;
  --surface: #ffffff;
  --surface-soft: #f4f7f5;
  --surface-warm: #f7f3ed;
  --green: #143f39;
  --green-light: #dce9e3;
  --teal: #25645d;
  --gold: #b9843d;
  --rust: #a55d43;
  --shadow: 0 20px 60px rgba(23, 33, 31, 0.11);
  --header-height: 76px;
  --content: 1180px;
}

* {
  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(--surface);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 36px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 229, 225, 0.75);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  color: var(--green);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-weight: 780;
}

.brand-text {
  font-size: 1.08rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
}

.header-cta {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 10px 26px rgba(20, 63, 57, 0.18);
}

.button-primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(20, 63, 57, 0.24);
}

.button-secondary {
  color: var(--green);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.82);
}

.button:hover,
.header-cta:hover,
.mobile-action-bar a:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--surface-soft);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/avoriam-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 29, 27, 0.86), rgba(13, 29, 27, 0.58) 46%, rgba(13, 29, 27, 0.14) 100%),
    linear-gradient(0deg, rgba(13, 29, 27, 0.3), rgba(13, 29, 27, 0.02) 48%);
}

.hero-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 88px 28px 64px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e2b66f;
}

.hero h1 {
  max-width: 760px;
  font-size: 3.55rem;
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-facts div {
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-facts dd {
  margin-top: 6px;
  color: #ffffff;
  font-weight: 720;
}

.trust-strip {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  padding: 0 28px;
}

.strip-item {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink-soft);
  font-weight: 720;
  box-shadow: 0 16px 38px rgba(23, 33, 31, 0.08);
}

.strip-item:first-child {
  border-radius: 8px 0 0 8px;
}

.strip-item:last-child {
  border-radius: 0 8px 8px 0;
}

.section {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 100px 28px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading h2,
.section-copy h2,
.process-copy h2,
.documentation-copy h2,
.contact-copy h2 {
  font-size: 2.35rem;
  line-height: 1.12;
  font-weight: 790;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}

.section-heading p:not(.eyebrow),
.section-copy p,
.process-copy p,
.documentation-copy p,
.contact-copy p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 58px;
  align-items: center;
}

.section-copy p + p {
  margin-top: 14px;
}

.comparison-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-column {
  padding: 28px;
}

.comparison-column.muted {
  background: var(--surface-soft);
}

.comparison-column.strong {
  background: var(--green);
  color: #ffffff;
}

.comparison-column h3,
.benefit-card h3,
.service-list h3,
.process-step h3,
.target-grid h3,
.package-card h3,
.boundary-grid h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 790;
}

.comparison-column ul,
.package-card ul,
.boundary-grid ul {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.comparison-column li,
.package-card li,
.boundary-grid li {
  position: relative;
  padding-left: 21px;
  color: inherit;
}

.comparison-column li::before,
.package-card li::before,
.boundary-grid li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.5;
}

.comparison-column.muted li {
  color: var(--ink-soft);
}

.benefit-section {
  padding-top: 50px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card,
.package-card,
.target-grid article,
.service-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.benefit-card {
  min-height: 240px;
  padding: 30px;
}

.benefit-number {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 850;
}

.benefit-card p,
.service-list p,
.process-step p,
.target-grid p,
.package-card p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.services-section {
  border-top: 1px solid var(--line);
}

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

.service-list article {
  min-height: 196px;
  padding: 26px;
  background: linear-gradient(180deg, #ffffff, #f8faf9);
}

.process-section {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  background: var(--surface-soft);
  max-width: none;
  width: 100%;
  padding-left: max(28px, calc((100% - var(--content)) / 2 + 28px));
  padding-right: max(28px, calc((100% - var(--content)) / 2 + 28px));
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--green);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 44px;
  right: 44px;
  height: 2px;
  background: var(--line);
}

.process-step {
  position: relative;
  min-height: 230px;
  padding: 0 8px;
}

.process-step span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  background: #ffffff;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.08);
}

.documentation-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 70px;
  align-items: center;
  padding: 90px max(28px, calc((100% - var(--content)) / 2 + 28px));
  background: var(--green);
  color: #ffffff;
}

.documentation-copy .eyebrow {
  color: #e2b66f;
}

.documentation-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.report-preview {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.report-header strong {
  color: #f1c77d;
}

.report-preview dl {
  display: grid;
  gap: 1px;
}

.report-preview dl div {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.07);
}

.report-preview dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.report-preview dd {
  color: rgba(255, 255, 255, 0.94);
}

.target-section {
  padding-bottom: 70px;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.target-grid article {
  min-height: 190px;
  padding: 25px;
}

.packages-section {
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.package-card {
  min-height: 360px;
  padding: 30px;
  background: #ffffff;
}

.package-card.highlighted {
  border-color: rgba(20, 63, 57, 0.24);
  background: var(--green);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.package-card.highlighted p,
.package-card.highlighted li {
  color: rgba(255, 255, 255, 0.82);
}

.package-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.package-card h3 {
  margin-top: 12px;
  font-size: 1.35rem;
}

.boundaries-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 530px;
  gap: 54px;
  align-items: center;
  padding-top: 80px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.boundary-grid div {
  padding: 28px;
  background: var(--surface-warm);
}

.boundary-grid div:first-child {
  background: var(--green-light);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: 64px;
  padding: 100px max(28px, calc((100% - var(--content)) / 2 + 28px));
  background: var(--surface-soft);
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-points span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 720;
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label,
.check-row {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 720;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #cfd9d5;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 100, 93, 0.14);
}

.check-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 4px 0 18px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-button {
  width: 100%;
  border: 0;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(190px, auto);
  gap: 40px;
  align-items: start;
  padding: 50px max(28px, calc((100% - var(--content)) / 2 + 28px)) 82px;
  color: rgba(255, 255, 255, 0.72);
  background: #111b19;
}

.site-footer p {
  max-width: 360px;
  margin-top: 12px;
}

.site-footer nav,
.footer-meta {
  display: grid;
  gap: 10px;
}

.site-footer a,
.footer-brand {
  color: #ffffff;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.56);
}

.mobile-action-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(23, 33, 31, 0.2);
  backdrop-filter: blur(14px);
}

.mobile-action-bar a {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 6px;
  font-weight: 790;
}

.mobile-action-bar a:first-child {
  color: var(--green);
  background: var(--green-light);
}

.mobile-action-bar a:last-child {
  color: #ffffff;
  background: var(--green);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    padding: 0 22px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: none;
    grid-auto-flow: row;
    justify-items: start;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
    padding: 14px;
  }

  .header-cta {
    justify-self: end;
    order: 2;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-item:first-child,
  .strip-item:last-child {
    border-radius: 0;
  }

  .strip-item:first-child {
    border-top-left-radius: 8px;
  }

  .strip-item:nth-child(2) {
    border-top-right-radius: 8px;
  }

  .strip-item:nth-child(3) {
    border-bottom-left-radius: 8px;
  }

  .strip-item:last-child {
    border-bottom-right-radius: 8px;
  }

  .split-section,
  .process-section,
  .documentation-band,
  .boundaries-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .comparison-panel,
  .boundary-grid {
    max-width: 700px;
  }

  .service-list,
  .target-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-track {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .process-track::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 20px;
    min-height: auto;
    padding: 0;
  }

  .process-step span {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .process-step p {
    margin-top: 6px;
    margin-bottom: 26px;
  }

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

  .package-card {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-bottom: 74px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 80svh;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 29, 27, 0.91), rgba(13, 29, 27, 0.76) 58%, rgba(13, 29, 27, 0.32)),
      linear-gradient(0deg, rgba(13, 29, 27, 0.4), transparent 56%);
  }

  .hero-inner {
    padding: 66px 20px 58px;
    min-width: 0;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 40px);
    font-size: 1.02rem;
    overflow-wrap: break-word;
  }

  .hero h1 {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .hero-facts div {
    min-height: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 0;
  }

  .strip-item,
  .strip-item:first-child,
  .strip-item:nth-child(2),
  .strip-item:nth-child(3),
  .strip-item:last-child {
    border-radius: 0;
  }

  .section,
  .process-section,
  .documentation-band,
  .contact-section {
    padding: 70px 20px;
  }

  .benefit-section {
    padding-top: 70px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .section-copy h2,
  .process-copy h2,
  .documentation-copy h2,
  .contact-copy h2 {
    font-size: 1.86rem;
  }

  .benefit-grid,
  .service-list,
  .target-grid,
  .comparison-panel,
  .boundary-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .service-list article,
  .target-grid article {
    min-height: auto;
  }

  .report-header,
  .report-preview dl div {
    grid-template-columns: 1fr;
  }

  .report-header {
    display: grid;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 46px 20px 96px;
  }

  .mobile-action-bar {
    display: grid;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 1.82rem;
  }

  .section-heading h2,
  .section-copy h2,
  .process-copy h2,
  .documentation-copy h2,
  .contact-copy h2 {
    font-size: 1.62rem;
  }

  .brand-text {
    display: none;
  }
}
