/* cleanlife.world MVP — B&W kinship with innx.biz
   Default: strict B&W twin (Joe override: + one earth accent). No build step. */

:root {
  --ink: #0a0a0a;
  --ink-muted: #4a4a4a;
  --ink-soft: #6b6b6b;
  --paper: #ffffff;
  --paper-alt: #f5f5f5;
  --line: #e5e5e5;
  --accent: #0a0a0a; /* B&W lock; earth accent would replace this */
  --max: 72rem;
  --pad: 1.25rem;
  --font: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { opacity: 0.7; }
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: var(--pad); }

.disclosure {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 0.55rem var(--pad);
  text-align: center;
  line-height: 1.45;
}
.disclosure strong { color: var(--ink-muted); font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.brand-logo { height: 12rem; width: auto; max-height: 192px; object-fit: contain; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.25rem;
  align-items: center;
}
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-link:hover,
.nav-link[aria-current="page"] { text-decoration: underline; opacity: 1; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  padding: 0.35rem 0.6rem;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
    gap: 0.75rem;
  }
  .nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: 4rem 0; }
.section--tight { padding: 2.5rem 0; }
.section--alt { background: var(--paper-alt); }
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark a { color: var(--paper); }
.section--dark .muted { color: rgba(255,255,255,0.7); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}
.section--dark .eyebrow { color: rgba(255,255,255,0.65); }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.15rem); }
h3 { font-size: 1.15rem; letter-spacing: 0; }

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 42rem;
}
.section--dark .lead { color: rgba(255,255,255,0.85); }
.muted { color: var(--ink-soft); }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1.15rem; }

.hero-simple {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.hero-mark { display: none; }

.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.25rem;
}
.door {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.5rem 1.35rem;
  text-decoration: none;
  color: inherit;
  display: block;
}
.door:hover {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  opacity: 1;
}
.door .num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.door h3 { margin-bottom: 0.5rem; }
.door p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.rs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
@media (max-width: 800px) {
  .rs-row { grid-template-columns: 1fr 1fr; }
}
.rs-row li {
  border-top: 2px solid var(--ink);
  padding-top: 0.85rem;
}
.rs-row .r-letter {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.35rem;
}
.rs-row strong { font-size: 1.05rem; }

.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.roles li {
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 0;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { opacity: 0.85; color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  opacity: 1;
}
.section--dark .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.form-note {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: var(--paper);
  max-width: 36rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo { height: 2rem; width: auto; margin-bottom: 0.75rem; }
.footer-tag {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.footer-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.6;
}
.steward {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}
.steward a { font-weight: 600; }


/* --- 2026-09-24 standalone alignment --- */
.brand-logo { height: 12rem; width: auto; max-height: 192px; object-fit: contain; }
.footer-logo { height: 2rem; width: auto; max-height: 40px; object-fit: contain; }
.hero-mark { display: none; }
.section--tight { padding-top: 2.5rem; }
.section--alt { background: var(--paper-alt, #f5f5f5); }
.wrap { max-width: var(--max, 72rem); margin: 0 auto; padding: 0 var(--pad, 1.25rem); }
.section .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.rs-row { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); }
.rs-row li { border: 1px solid var(--line, #e5e5e5); padding: 1rem 0.75rem; text-align: center; }
.r-letter { display: block; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--ink-soft, #6b6b6b); margin-bottom: 0.35rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr; } }
.footer-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin: 0.35rem 0; }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line, #e5e5e5); font-size: 0.85rem; color: var(--ink-soft, #6b6b6b); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn { display: inline-block; padding: 0.7rem 1.15rem; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink, #0a0a0a); }
.btn-primary { background: var(--ink, #0a0a0a); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink, #0a0a0a); }
.nav.is-open { display: flex; }
.purpose-lock, .will-lock, .invite-line { max-width: 40rem; }
.rs-detail { padding-left: 1.25rem; }
.rs-detail li { margin: 0.75rem 0; }
.site-header .header-inner, .site-header .header-inner { max-width: var(--max, 72rem); margin: 0 auto; padding: 0.85rem var(--pad, 1.25rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.muted { color: var(--ink-soft, #6b6b6b); }


/* logo-upsize-20260924 */
.site-header .header-inner { align-items: center; padding-top: 1rem; padding-bottom: 1rem; min-height: 0; }
.brand-logo { height: 12rem; width: auto; max-height: 192px; object-fit: contain; display: block; }
.hero-mark { display: none !important; }
@media (max-width: 640px) {
  .brand-logo { height: 6rem; max-height: 96px; }
}

/* logo-legible-20261009: trimmed wordmark asset, legible header (Joe, 8 Oct 2026) */
.site-header .header-inner { padding-top: 0.9rem; padding-bottom: 0.9rem; align-items: center; }
.site-header .brand-logo { height: 52px; max-height: 52px; width: auto; max-width: 260px; object-fit: contain; display: block; }
@media (max-width: 640px) {
  .site-header .brand-logo { height: 40px; max-height: 40px; max-width: 190px; }
}

/* mobile-header-20261009: one horizontal nav row beside the logo, no MENU button (Joe, 8 Oct 2026) */
.footer-logo, .site-footer .footer-logo { height: 30px; max-height: 30px; width: auto; max-width: 100%; object-fit: contain; display: block; }
@media (max-width: 900px) {
  .nav-toggle { display: none !important; }
  .site-header .header-inner { flex-wrap: nowrap; padding: 0.4rem 0.75rem; gap: 0.6rem; min-height: 0; }
  .site-header .brand { flex: 0 1 auto; min-width: 0; }
  .site-header .brand-logo { height: 46px; max-height: 46px; max-width: 214px; width: auto; }
  .site-header .nav, .site-header .nav.is-open {
    display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-end;
    width: auto; padding: 0; gap: 0 0.55rem; margin-left: auto; white-space: nowrap;
  }
  .site-header .nav-link { font-size: 0.6rem; letter-spacing: 0.05em; line-height: 1; padding: 0.9rem 0; }
}
@media (max-width: 380px) {
  .site-header .brand-logo { height: 40px; max-height: 40px; }
  .site-header .nav { gap: 0 0.45rem; }
  .site-header .nav-link { font-size: 0.56rem; letter-spacing: 0.03em; }
}
