:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #565656;
  --line: #d9d9d9;
  --surface: #fff;
  --wash: #f5f5f4;
  --display: Georgia, 'Times New Roman', serif;
  font: 100%/1.55 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip-link { position: fixed; inset: .5rem auto auto .5rem; background: var(--surface); padding: .65rem 1rem; z-index: 2; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 4.7rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.nav-links, .footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem, 3vw, 2rem); font-size: .9rem; }
.nav-links a, .footer-inner a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:not(.button), .footer-inner a { text-decoration: none; }
.nav-links a[aria-current], .nav-links a:hover, .footer-inner a:hover { text-decoration: underline; }

.button, .referral-page button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: .3rem;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, .referral-page button:hover { background: #414141; text-decoration: none; }
.button:focus-visible, .referral-page button:focus-visible { outline-color: var(--ink); }
.button:disabled { opacity: .6; cursor: default; }
.nav-sign-in { background: transparent; color: var(--ink); }
.nav-sign-in:hover { background: var(--wash); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.4rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .5rem; font-weight: 600; }

h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(3rem, 7.8vw, 7rem); line-height: 1.01; letter-spacing: -.073em; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.1; letter-spacing: -.05em; }
h3 { line-height: 1.3; font-size: 1.16rem; letter-spacing: -.02em; }
.eyebrow { font-size: .73rem; line-height: 1.45; letter-spacing: .09em; font-weight: 700; text-transform: uppercase; }
.lede { max-width: 33rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.24rem); }
.hero { min-height: 34rem; display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(17rem, 1fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.hero h1, .page-intro h1 { margin-block: 1.1rem 1.3rem; }
.hero .actions { margin-top: 1.65rem; }
.example { border: 1px solid var(--line); padding: clamp(1rem, 3.75vw, 2.25rem); background: var(--wash); border-radius: .65rem; }
.sample-heading { display: flex; align-items: center; gap: .6rem; }
.sample-heading h2 { font: 700 1rem/1.3 system-ui, sans-serif; letter-spacing: -.03em; }
.example blockquote { margin-block: 1.1rem 1.25rem; font-size: 1.16rem; line-height: 1.45; letter-spacing: -.025em; }
.draft { background: var(--surface); border: 1px solid var(--line); padding: 1.05rem; border-radius: .4rem; }
.draft .eyebrow { color: var(--muted); margin-bottom: .45rem; }
.draft dl { margin-block: .65rem; font-size: .88rem; }
.draft dl div { display: grid; grid-template-columns: 3.65rem 1fr; align-items: baseline; gap: .65rem; padding-block: .25rem; }
.draft dt { color: var(--muted); }
.draft-note { border-top: 1px solid var(--line); padding-top: .65rem; font-size: .8rem; color: var(--muted); }

.role-section { background: var(--wash); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 5rem); }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4.5rem); margin-block: 1.8rem 1rem; }
.roles article { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.roles p { margin-top: .6rem; max-width: 31rem; }
.roles p + p, .feature-list p { color: var(--muted); }

.page-intro { padding-block: clamp(2.25rem, 6vw, 5.5rem); }
.page-intro h1 { font-size: clamp(2.9rem, 7vw, 5.7rem); }
.feature-list article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem 3rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.feature-list h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); }
.feature-list p { margin-top: .45rem; }
.feature-list h3:not(:first-child) { margin-top: 1.25rem; }
.closing { border-top: 1px solid var(--line); margin-block: 1rem 4rem; padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; align-items: center; }
.closing h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.reading { width: min(100% - 3rem, 46rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.reading h1 { font-size: clamp(2.8rem, 7vw, 5.3rem); margin-bottom: 1.4rem; }
.reading h2 { margin-top: 1.65rem; margin-bottom: .5rem; font-size: 1.8rem; }
.reading p { margin-block: .75rem; color: var(--muted); }
.reading li { margin-block: .35rem; }
.reading .actions { margin-block: .9rem; }
#copied { min-height: 1.5em; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 2.25rem 4rem; padding-block: clamp(2rem, 6vw, 5rem); }
.contact-layout .page-intro { padding: 0; }
.contact-form { display: grid; gap: 1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--wash); padding: clamp(1rem, 4vw, 2rem); scroll-margin-top: 1rem; }
.form-group { display: grid; gap: .25rem; }
.form-group label, .referral-page label { font-size: .9rem; font-weight: 600; }
input, select, textarea { color: var(--ink); background: var(--surface); border: 1px solid #8f8f8f; border-radius: .28rem; min-height: 44px; padding: .55rem .7rem; font: inherit; max-width: 100%; }
.referral-page input { width: 12rem; letter-spacing: .05em; }
textarea { min-height: 7rem; resize: vertical; }
.contact-form .button { justify-self: start; }
.form-status:not(:empty) { margin-top: 1rem; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { color: var(--muted); padding-block: 1.1rem; font-size: .85rem; }

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: .55rem; }
  .nav-links { width: 100%; justify-content: space-between; gap: .4rem; font-size: .84rem; }
  .hero, .contact-layout, .feature-list article { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; }
  .roles { gap: 1.25rem; }
}
@media (max-width: 480px) {
  .wrap, .reading { width: calc(100% - 2rem); }
  .roles { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: .25rem 1rem; }
}
.request-preview { display: grid; gap: .8rem; margin-top: 1.2rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: .5rem; }
.request-preview h2 { font-size: 1.8rem; }
.request-preview p { color: var(--muted); }
.request-preview button { justify-self: start; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
