:root {
  --paper: #f2efe7;
  --surface: #fbfaf6;
  --ink: #171713;
  --muted: #625f56;
  --line: #cbc4b6;
  --accent: #b94720;
  --accent-dark: #843114;
  --dark: #20221e;
  --dark-ink: #f4f0e6;
  --dark-muted: #c2c2b8;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 8vw, 7.3rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(203, 196, 182, 0.92);
  background: rgba(242, 239, 231, 0.95);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.89rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(310px, 0.62fr);
  align-items: center;
  gap: clamp(44px, 8vw, 108px);
  padding: 104px 0 92px;
}

.eyebrow,
.section-label,
.aside-label,
.repo-status {
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 22px;
}

.hero-lede {
  max-width: 790px;
  margin-bottom: 18px;
  color: #35342e;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.status-note {
  max-width: 740px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.94rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.external {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffaf4;
}

.button.external:hover {
  background: var(--accent-dark);
}

.hero-aside {
  padding: 30px;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 16px 16px 0 rgba(23, 23, 19, 0.07);
}

.aside-statement {
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-aside dl {
  margin-bottom: 0;
}

.hero-aside dl > div {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.hero-aside dt {
  margin-bottom: 4px;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-aside dd {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 82px;
}

.split,
.section-head,
.feedback-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.46fr) minmax(0, 1.54fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.section-label {
  margin-bottom: 0;
}

.prose {
  max-width: 850px;
}

.prose p,
.section-head p,
.feedback-lede {
  color: var(--muted);
  font-size: 1.06rem;
}

.prose p:last-child,
.section-head p:last-child {
  margin-bottom: 0;
}

.dark {
  color: var(--dark-ink);
  background: var(--dark);
  border-top-color: var(--dark);
}

.dark .section-label {
  color: #f6a081;
}

.dark .prose p {
  color: var(--dark-muted);
}

.vision-line {
  padding-left: 22px;
  border-left: 3px solid #f6a081;
  color: var(--dark-ink) !important;
}

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 850px;
}

.section-head p {
  max-width: 800px;
  margin-bottom: 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.plan-grid li {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
}

.step {
  display: block;
  margin-bottom: 36px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.plan-grid p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.93rem;
}

.tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tag.live {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.repos {
  color: var(--dark-ink);
  background: var(--dark);
  border-top-color: var(--dark);
}

.repos .section-label,
.repo-status {
  color: #f6a081;
}

.repos .section-head p,
.repo-card p {
  color: var(--dark-muted);
}

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

.repo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px;
  border: 1px solid #5d6058;
  background: #272a24;
}

.repo-card h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  letter-spacing: -0.025em;
}

.repo-card p:not(.repo-status) {
  margin-bottom: 30px;
}

.repo-card .button {
  margin-top: auto;
}

.feedback {
  background: #e7dfd2;
}

.feedback-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.feedback-lede {
  max-width: 540px;
}

.feedback-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding-left: 1.2rem;
}

.feedback-list li {
  padding-left: 5px;
}

.contact-rule {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(251, 250, 246, 0.58);
  font-weight: 700;
}

.contact-details {
  display: grid;
  gap: 10px;
}

.contact-details > div {
  padding: 15px 17px;
  border: 1px solid rgba(23, 23, 19, 0.25);
  background: rgba(251, 250, 246, 0.64);
  overflow-wrap: anywhere;
}

.contact-details span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

.boundary-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

footer {
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-row p {
  margin-bottom: 0;
}

@media (max-width: 940px) {
  .hero,
  .split,
  .section-head,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-aside {
    max-width: 680px;
  }

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

@media (max-width: 700px) {
  .wrap {
    width: min(calc(100% - 26px), var(--max));
  }

  .site-header {
    position: static;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0 16px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .hero {
    padding: 64px 0 68px;
    gap: 42px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .section {
    padding: 68px 0;
    scroll-margin-top: 20px;
  }

  .plan-grid,
  .repo-grid {
    grid-template-columns: 1fr;
  }

  .plan-grid li {
    min-height: 0;
  }

  .footer-row {
    flex-direction: column;
    gap: 7px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
