:root {
  --ink: #14211f;
  --muted: #61706b;
  --paper: #f5f5ef;
  --surface: #fbfbf7;
  --mint: #c7e5d4;
  --mint-deep: #1c6955;
  --coral: #e7654c;
  --yellow: #f4c95d;
  --line: #d8dfd6;
  --serif: Fraunces, Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.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 { width: min(1180px, calc(100% - 64px)); margin: 0 auto; height: 90px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.brand > span:last-child > span { color: var(--coral); }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; position: relative; transform: rotate(-12deg); }
.brand-mark::after { content: ""; width: 11px; height: 11px; border-right: 3px solid var(--coral); border-top: 3px solid var(--coral); transform: rotate(45deg); position: absolute; right: 4px; }
.brand-mark span { width: 13px; height: 3px; background: var(--coral); position: absolute; left: 5px; border-radius: 2px; }
.top-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.top-nav a:not(.nav-button):hover { color: var(--ink); }
.nav-button { color: var(--ink); border: 1px solid var(--ink); border-radius: 100px; padding: 9px 16px; transition: background .2s, color .2s; }
.nav-button:hover { background: var(--ink); color: var(--paper); }

.hero { width: min(1180px, calc(100% - 64px)); min-height: 570px; margin: 0 auto; padding: 100px 5% 65px; background: var(--mint); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; }
.hero::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(20,33,31,.12); border-radius: 50%; right: 13%; top: -155px; }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(20,33,31,.08); border-radius: 50%; right: -14%; bottom: -440px; }
.hero-copy { max-width: 650px; position: relative; z-index: 1; }
.eyebrow { color: var(--mint-deep); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; margin: 0 0 18px; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.05em; line-height: .99; }
h1 { font-size: clamp(50px, 6.5vw, 86px); max-width: 720px; margin-bottom: 27px; }
h1 em { color: var(--coral); font-style: normal; }
.hero-intro { color: #3d5e54; max-width: 430px; font-size: 18px; line-height: 1.55; margin-bottom: 32px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 100px; padding: 13px 20px; font-weight: 700; font-size: 14px; }
.primary-button { background: var(--ink); color: var(--paper); }
.primary-button:hover { background: var(--coral); }
.primary-button span, .secondary-button span { font-size: 20px; line-height: 0; }
.hero-stamp { position: relative; z-index: 1; justify-self: end; width: min(270px, 75%); aspect-ratio: 1; border: 1px solid rgba(20,33,31,.35); border-radius: 50%; transform: rotate(10deg); display: grid; place-items: center; }
.stamp-ring { width: 80%; height: 80%; border: 1px dashed rgba(20,33,31,.45); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; color: var(--mint-deep); font-size: 11px; letter-spacing: .16em; }
.stamp-ring strong { font-family: var(--serif); letter-spacing: -.04em; font-size: 31px; color: var(--ink); }
.stamp-ring b { color: var(--coral); font-size: 15px; letter-spacing: .1em; }
.hero-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 15px; border-top: 1px solid rgba(20,33,31,.2); padding-top: 16px; max-width: 490px; color: #3d5e54; font-size: 13px; }
.hero-note span { font-weight: 700; color: var(--coral); }
.hero-note p { margin: 0; }

.directory-section, .how-section, .report-section, .site-footer { width: min(1180px, calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.directory-section { padding: 110px 0 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
h2 { font-size: clamp(42px, 5vw, 64px); margin-bottom: 0; }
.section-description { max-width: 320px; color: var(--muted); font-size: 14px; margin-bottom: 5px; }
.directory-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.search-box { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); padding: 11px 13px; width: min(390px, 100%); }
.search-icon { color: var(--coral); font-size: 23px; transform: rotate(-20deg); }
.search-box input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--ink); }
.search-box kbd { color: var(--muted); font-size: 11px; border: 1px solid var(--line); padding: 1px 5px; }
.filter-group { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.filter-button { color: var(--muted); background: transparent; border: 1px solid transparent; padding: 8px 12px; font-size: 12px; border-radius: 100px; }
.filter-button:hover, .filter-button.active { color: var(--ink); border-color: var(--ink); }
.directory-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; padding: 14px 0 18px; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-left: 4px; background: #4ba97b; border-radius: 50%; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { background: var(--surface); border: 1px solid var(--line); padding: 21px; min-height: 263px; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.service-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.service-logo { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; font-family: var(--serif); font-weight: 700; font-size: 21px; }
.status { padding: 5px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.status.online { color: #1f7359; background: #d9f0e1; }
.status.alternative { color: #875a15; background: #f7e5b3; }
.service-card h3 { font-size: 21px; letter-spacing: -.04em; margin: 19px 0 7px; }
.service-card p { color: var(--muted); font-size: 13px; margin-bottom: 19px; }
.service-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: auto; padding-top: 13px; color: var(--muted); font-size: 11px; }
.detail-link { color: var(--ink); font-weight: 700; }
.detail-link:hover { color: var(--coral); }
.empty-state { color: var(--muted); padding: 40px 0; }

.how-section { border-top: 1px solid var(--line); padding: 100px 0 115px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.how-intro h2 { max-width: 390px; }
.principles { display: grid; gap: 28px; }
.principle { border-top: 1px solid var(--line); padding-top: 14px; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
.principle-number { color: var(--coral); font-size: 12px; font-weight: 700; }
.principle h3 { font-family: var(--serif); font-size: 25px; letter-spacing: -.04em; margin-bottom: 5px; }
.principle p { grid-column: 2; color: var(--muted); font-size: 14px; max-width: 390px; margin: 0; }
.report-section { background: var(--coral); color: #fff8ed; padding: 55px 6%; display: flex; justify-content: space-between; gap: 50px; align-items: center; }
.report-section .eyebrow { color: #fff0d2; }
.report-section h2 { font-size: clamp(34px, 4vw, 52px); max-width: 560px; }
.report-action { max-width: 255px; color: #ffe7d5; font-size: 14px; }
.secondary-button { color: var(--ink); background: #fff8ed; margin-top: 12px; }
.secondary-button:hover { background: var(--yellow); }
.site-footer { min-height: 115px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.site-footer p { margin: 0; }
.footer-note { color: var(--coral); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }

.service-dialog, .report-dialog { border: 0; background: var(--surface); color: var(--ink); padding: 38px; width: min(550px, calc(100% - 30px)); box-shadow: 0 25px 90px rgba(20,33,31,.25); }
.service-dialog::backdrop, .report-dialog::backdrop { background: rgba(20,33,31,.55); }
.dialog-close { position: absolute; right: 16px; top: 12px; border: 0; background: none; font-size: 28px; color: var(--muted); }
.dialog-close:hover { color: var(--coral); }
.dialog-badge { display: inline-block; margin-bottom: 20px; }
.service-dialog h2, .report-dialog h2 { font-size: 44px; margin-bottom: 10px; }
.dialog-summary { color: var(--muted); margin-bottom: 25px; }
.dialog-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dialog-steps li { border-bottom: 1px solid var(--line); padding: 14px 0 14px 32px; position: relative; font-size: 14px; }
.dialog-steps li::before { content: ""; position: absolute; left: 0; top: 17px; width: 19px; height: 19px; border: 1px solid var(--coral); border-radius: 50%; }
.dialog-steps li::after { content: ""; position: absolute; left: 6px; top: 23px; width: 7px; height: 4px; border-left: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(-45deg); }
.report-dialog form { display: grid; gap: 17px; }
.report-dialog label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.report-dialog input, .report-dialog textarea { border: 1px solid var(--line); background: var(--paper); padding: 11px; outline-color: var(--coral); resize: vertical; }
.form-success { color: var(--mint-deep); font-weight: 700; font-size: 13px; }

@media (max-width: 760px) {
  .site-header, .hero, .directory-section, .how-section, .report-section, .site-footer { width: min(100% - 32px, 600px); }
  .site-header { height: 76px; }
  .top-nav a:not(.nav-button) { display: none; }
  .top-nav { gap: 0; }
  .hero { padding: 66px 26px 32px; min-height: 650px; display: block; }
  h1 { font-size: clamp(47px, 14vw, 72px); }
  .hero-intro { font-size: 16px; }
  .hero-stamp { width: 190px; margin: 55px auto 42px; }
  .hero-note { position: relative; }
  .section-heading, .directory-toolbar, .how-section, .report-section { display: block; }
  .section-heading { margin-bottom: 35px; }
  .section-description { margin-top: 20px; }
  .directory-toolbar { padding-bottom: 11px; }
  .filter-group { justify-content: start; margin-top: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .how-section { padding: 75px 0; }
  .principles { margin-top: 45px; }
  .report-section { padding: 40px 26px; }
  .site-footer { min-height: 160px; display: grid; align-content: center; gap: 15px; }
  .site-footer p { order: 3; }
  .service-dialog, .report-dialog { padding: 31px 22px; }
}
