:root {
  color-scheme: light;
  --bg: #f4f4f4;
  --bg-soft: #ffffff;
  --surface: #ebebeb;
  --surface-alt: #e0e0e0;
  --line: #d0d0d0;
  --line-strong: #999999;
  --text: #0d0d0d;
  --text-soft: #222222;
  --text-muted: #555555;
  --accent: #04AB94;
  --accent-hover: #038f7b;
  --accent-ink: #ffffff;
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.06);
  --shell: 1180px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 72px;
  --font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 24px;
  top: 24px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--accent-ink);
}

.site-shell,
.policy-shell {
  width: min(100% - 48px, var(--shell));
  margin: 0 auto;
}

.site-header {
  padding: 18px 0 10px;
}

.site-header-inner {
  width: min(100% - 48px, var(--shell));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: clamp(136px, 16vw, 190px);
  height: auto;
}

.landing-main {
  padding: 6px 0 var(--space-7);
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 0;
}

.landing-side-stack {
  display: grid;
  gap: 0;
}

.landing-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.landing-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  z-index: 1;
  position: relative;
}

/* Collapse double borders between adjacent cards */
.landing-side-stack .landing-card + .landing-card {
  border-top: none;
}

.landing-grid > .landing-side-stack {
  border-left: none;
}

.info-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.info-card-item {
  padding: var(--space-3);
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card-item + .info-card-item {
  border-left: none;
}

.info-card-item .card-kicker {
  margin: 0;
}

.founder-card,
.cta-card {
  padding: var(--space-4);
}

.founder-card {
  min-height: 100%;
  padding: var(--space-5);
}

.card-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-card h1,
.cta-card h2,
.policy-hero h1,
.policy-section h2,
.policy-contact h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.info-card-item h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
}

.founder-card h1 {
  font-size: clamp(2.9rem, 5vw, 3.5rem);
  line-height: 1.02;
}

.cta-card h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.1rem);
  line-height: 1.1;
}

.founder-copy,
.cta-card p,
.info-block p,
.policy-description,
.policy-section p,
.policy-section li,
.policy-contact p,
.footer-copy,
.footer-links a,
.policy-toc a,
.breadcrumbs,
.contact-list {
  color: var(--text-soft);
}

.founder-copy {
  margin-top: 28px;
  display: grid;
  gap: 18px;
  font-size: 1.08rem;
}

.founder-copy p,
.cta-card p,
.info-block p,
.contact-list p,
.policy-section p,
.policy-contact p {
  margin: 0;
}

.founder-signoff {
  margin: 28px 0 18px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 600;
}

.founder-attribution {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.founder-attribution span {
  color: var(--text-muted);
}

/* Arrow links — replaces buttons */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 150ms ease;
}

.arrow-link::after {
  content: "→";
  font-size: 1em;
  display: inline-block;
  transition: transform 150ms ease;
}

.arrow-link:hover {
  color: var(--text-muted);
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

.arrow-link:focus-visible {
  outline: 2px solid var(--line-strong);
  outline-offset: 4px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-card p {
  font-size: 1rem;
}

.cta-card .arrow-link {
  align-self: flex-start;
  margin-top: auto;
}


.info-links,
.contact-list {
  display: grid;
  gap: 10px;
}

.info-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 150ms ease;
}

.info-links a::after {
  content: "→";
  display: inline-block;
  transition: transform 150ms ease;
}

.info-links a:hover {
  color: var(--text-muted);
}

.info-links a:hover::after {
  transform: translateX(4px);
}

.contact-list a {
  color: var(--text);
}

.contact-list a:hover,
.footer-links a:hover,
.policy-toc a:hover,
.breadcrumbs a:hover {
  color: var(--text-muted);
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 0 0 38px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* Social icons — no boxes */
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 150ms ease;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social img {
  width: 18px;
  height: 18px;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.9rem;
}

/* Policy pages */
.policy-main {
  padding: 10px 0 var(--space-7);
}

.policy-shell {
  max-width: 980px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.policy-breadcrumbs {
  margin-bottom: 26px;
  color: var(--text-muted);
}

.policy-breadcrumbs span:last-child {
  color: var(--text);
}

.policy-hero {
  margin-bottom: 34px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}

.policy-eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  line-height: 1.02;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.policy-description {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.policy-updated {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* TOC — no box, right border divider */
.policy-toc {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 14px;
  padding: 0 24px 0 0;
  border: none;
  border-right: 1px solid var(--line);
  background: none;
  border-radius: 0;
}

.policy-toc strong {
  color: var(--text);
  font-size: 0.92rem;
}

.policy-toc a {
  font-size: 0.94rem;
}

/* Policy sections — article style, no boxes */
.policy-content {
  display: grid;
  gap: 0;
}

.policy-section,
.policy-contact {
  padding: 28px 0;
  border: none;
  border-top: 1px solid var(--line);
  background: none;
  border-radius: 0;
}

.policy-section:first-child {
  border-top: none;
  padding-top: 0;
}

.policy-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
}

.policy-section p + ul,
.policy-section ul + p {
  margin-top: 16px;
}

.policy-section ul {
  margin: 16px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.policy-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.policy-table th,
.policy-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--surface);
}

.policy-table td {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.policy-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.policy-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.policy-contact h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.footer-links a:focus-visible,
.footer-social a:focus-visible,
.policy-toc a:focus-visible,
.breadcrumbs a:focus-visible {
  outline: 2px solid var(--line-strong);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .site-shell,
  .policy-shell,
  .site-header-inner {
    width: min(100% - 32px, var(--shell));
  }

  .landing-grid,
  .policy-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .landing-grid > .landing-side-stack {
    border-left: 1px solid var(--line);
    border-top: none;
  }

  .info-card-item + .info-card-item {
    border-left: 1px solid var(--line);
    border-top: none;
  }

  .founder-card,
  .cta-card {
    padding: 28px;
  }

  .founder-card h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  .footer-social,
  .footer-copy,
  .footer-links {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .policy-toc {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 24px 0;
  }

  .policy-contact {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 14px;
  }

  .site-header-inner {
    min-height: 72px;
  }

  .landing-main,
  .policy-main {
    padding-bottom: 56px;
  }

  .founder-card,
  .cta-card {
    padding: 24px;
  }

  .founder-copy {
    font-size: 1rem;
  }

  .footer-inner {
    gap: 18px;
    padding-top: 24px;
  }
}
