:root {
  --cream: #fdf9f0;
  --parchment: #f6f1e8;
  --ivory: #fffdf8;
  --forest: #0b3d36;
  --forest-deep: #062f2a;
  --rose: #996770;
  --rose-soft: #f0e1e2;
  --sage: #8ca18f;
  --gold: #d4af37;
  --ink: #1d2a24;
  --muted: #59665f;
  --line: #ddd5c8;
  --shadow: 0 24px 60px rgba(11, 61, 54, 0.09);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1180px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

a:hover {
  color: var(--rose);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--ivory);
  color: var(--forest);
  padding: 0.65rem 1rem;
  border: 1px solid var(--forest);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(11, 61, 54, 0.14);
  background: rgba(253, 249, 240, 0.96);
}

.nav-shell {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 5.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-link img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.site-nav a {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 0.45rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero::after {
  content: "07";
  position: absolute;
  right: -0.02em;
  bottom: -0.35em;
  color: rgba(153, 103, 112, 0.08);
  font-family: var(--serif);
  font-size: clamp(18rem, 42vw, 40rem);
  line-height: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content));
  min-height: 43rem;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  letter-spacing: -0.055em;
}

.hero-tagline {
  max-width: 13ch;
  margin: 1.4rem 0 1.6rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.2;
}

.hero-copy {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-mark::before {
  content: "";
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  border: 1px solid rgba(153, 103, 112, 0.35);
  border-radius: 50%;
}

.hero-mark img {
  position: relative;
  width: min(100%, 25rem);
  filter: drop-shadow(0 18px 22px rgba(11, 61, 54, 0.14));
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.section-intro {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  letter-spacing: -0.04em;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.domains {
  background: var(--forest);
  color: var(--ivory);
}

.domains .eyebrow {
  color: #e5c764;
}

.domains h2,
.domains .section-intro p {
  color: var(--ivory);
}

.domain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid rgba(255, 253, 248, 0.28);
  border-bottom: 1px solid rgba(255, 253, 248, 0.28);
}

.domain-list li {
  min-height: 8.5rem;
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 253, 248, 0.2);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.domain-list li:last-child {
  border-right: 0;
}

.domain-list span {
  color: #e5c764;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.features {
  background: var(--parchment);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.feature-card {
  grid-column: span 4;
  min-height: 18rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(11, 61, 54, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:nth-child(4),
.feature-card:nth-child(5) {
  grid-column: span 6;
}

.feature-card.featured {
  background: var(--rose-soft);
  border-color: rgba(153, 103, 112, 0.35);
}

.feature-number {
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin: auto 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.practice-note {
  background: var(--cream);
  text-align: center;
}

.practice-note blockquote {
  max-width: 20ch;
  margin: 0 auto;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 1.08;
}

.practice-note blockquote::before {
  content: "“";
  display: block;
  height: 0.65em;
  color: var(--rose);
  font-size: 1.6em;
}

.site-footer {
  background: var(--forest-deep);
  color: var(--ivory);
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  padding: 3.5rem 0 2rem;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand {
  max-width: 24rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 2rem;
}

.footer-tagline {
  margin: 0;
  color: #c7d3ce;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.footer-links a {
  color: var(--ivory);
}

.footer-meta {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  color: #afc0b9;
  font-size: 0.88rem;
}

.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.page-hero .lead {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.effective-date {
  margin: 1.5rem 0 0;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-wrap {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.prose {
  max-width: 47rem;
}

.prose > p:first-child {
  color: var(--forest);
  font-size: 1.14rem;
}

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

.prose section:first-of-type {
  margin-top: 2.75rem;
}

.prose h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.prose p,
.prose ul {
  margin: 0.85rem 0 0;
}

.prose ul {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.55rem;
}

.contact-card {
  margin: 2.5rem 0 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--forest);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p,
.contact-card a {
  color: var(--ivory);
}

.contact-card h2 {
  margin-top: 0;
}

.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 2.25rem);
}

.path {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: var(--rose-soft);
  color: var(--forest);
  font-weight: 700;
}

.notice {
  padding: 1.3rem 1.5rem;
  border-left: 4px solid var(--rose);
  background: var(--rose-soft);
}

@media (max-width: 860px) {
  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-mark {
    max-width: 19rem;
    margin: 0 auto;
  }

  .domain-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .domain-list li {
    min-height: 7rem;
    border-bottom: 1px solid rgba(255, 253, 248, 0.2);
  }

  .domain-list li:nth-child(even) {
    border-right: 0;
  }

  .domain-list li:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: span 6;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .hero-inner {
    padding-top: 4rem;
  }

  .hero::after {
    display: none;
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 15rem;
  }

  .footer-main {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  body,
  .page-hero {
    background: #fff;
  }

  .page-hero-inner,
  .content-wrap {
    width: 100%;
  }
}
