/* WEB-2 personal previews. Shared by four static pages.
   Neutrals are fixed; accent comes from data-theme on <html>. */

:root {
  --color-bg: #ffffff;
  --color-surface: #f6f5f3;
  --color-text: #1c1c1c;
  --color-text-muted: #5c5c5c;
  --color-line: #d8d6d2;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --wrap: min(1120px, calc(100% - 2rem));
  --focus: #1c1c1c;
}

[data-theme="bordeaux"] {
  --accent: #ae122c;
  --accent-hover: #8f0f24;
  --accent-soft: rgba(174, 18, 44, 0.08);
}

[data-theme="blue"] {
  --accent: #2a3b59;
  --accent-hover: #1f2d45;
  --accent-soft: rgba(42, 59, 89, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

p,
li {
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.narrow {
  width: min(720px, 100%);
}

.site-header {
  border-bottom: 1px solid var(--color-line);
  background: #fff;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-tagline {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--accent);
}

.header-cta {
  margin-left: 0.25rem;
}

.proto-banner {
  margin: 0;
  padding: 0.55rem 1rem;
  background: var(--accent-soft);
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid var(--color-line);
}

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-portrait {
  margin: 0;
  justify-self: end;
  max-width: 28rem;
  width: 100%;
}

.hero-portrait img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.hero-portrait figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.hero-teasers {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-teasers li {
  display: block;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.hero-teasers a {
  display: block;
  padding: 0.85rem 1rem;
  color: inherit;
  text-decoration: none;
}

.hero-teasers a:hover strong {
  color: var(--accent);
}

.hero-teasers strong {
  font-weight: 700;
}

.hero-teasers span {
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-stats-row {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.about-grid .stats,
.prose .stats {
  margin-top: 1.25rem;
}

.hero .btn + .hero-note,
.hero .write-row + .hero-note {
  margin-top: 0.85rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose ul li + li {
  margin-top: 0.35rem;
}

.proto-gap,
.proto-skeleton {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.proto-gap-label,
.proto-skeleton-title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.proto-gap p,
.proto-skeleton p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.proto-gap + .proto-gap,
.proto-skeleton + .proto-skeleton {
  margin-top: 0.75rem;
}

.proto-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proto-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  padding: 1rem;
  margin-bottom: 0.85rem;
  border: 1px dashed var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.card-program-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.card-program-link:hover .text-link {
  color: var(--accent);
}

.card-static {
  opacity: 0.92;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.hero-lead {
  margin: 0 0 0.75rem;
  max-width: 38rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.4;
  font-weight: 600;
}

.hero-note {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--color-text-muted);
}

.hero-points {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero-points li + li {
  margin-top: 0.25rem;
}

.meta-line {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.hero-extra {
  margin: 0.85rem 0 0;
}

.section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.section-alt {
  background: var(--color-surface);
}

.section-lead {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--color-text-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 1rem 0.25rem 0;
  border-top: 3px solid var(--accent);
}

.stats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

@media (min-width: 901px) {
  .card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.25rem 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.section-alt .card {
  background: #fff;
}

.card p,
.prose p {
  margin: 0;
}

.card p + p,
.prose p + p {
  margin-top: 0.75rem;
}

.card ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.card ul li + li {
  margin-top: 0.35rem;
}

.about-role {
  font-weight: 600;
  color: var(--ink-muted, #3d3a38);
}

.card .text-link,
.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.steps span {
  color: var(--accent);
  font-weight: 800;
}

.prose {
  max-width: 42rem;
}

.contact-panel {
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-panel p {
  margin: 0 0 1rem;
  max-width: 38rem;
}

.contact-panel + .contact-panel,
.contact-follow {
  margin-top: 1.75rem;
}

.channel-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.channel-list a {
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.channel-list a:hover {
  color: var(--accent);
}

.write-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.msg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--accent);
  background: #fff;
  text-decoration: none;
}

.msg-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.msg-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.doc-page {
  width: min(40rem, 100%);
}

.doc-kicker {
  margin: 0 0 0.75rem;
}

.doc-kicker a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.doc-toc {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.15rem;
  background: var(--color-surface);
  border-radius: var(--radius);
}

.doc-toc p {
  margin: 0;
  font-weight: 800;
}

.doc-toc ol {
  margin: 0.55rem 0 0;
  padding-left: 1.25rem;
}

.doc-toc a {
  text-underline-offset: 0.15em;
}

.doc-body h2 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 1.7rem 0 0.65rem;
}

.doc-body p {
  margin: 0 0 0.85rem;
}

.doc-split {
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.doc-index {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.doc-index a {
  font-weight: 700;
  text-underline-offset: 0.16em;
}

.doc-index a:hover {
  color: var(--accent);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--color-line);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  font-weight: 800;
  background: var(--color-surface);
}

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 2rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem 2rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

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

.footer-note {
  margin: 1.5rem 0 0;
  font-size: 0.92rem;
}

.variant-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.variant-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.faq {
  border-top: 1px solid var(--color-line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.9rem 0;
}

.faq p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

.faq:last-of-type {
  border-bottom: 1px solid var(--color-line);
}

.closer {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-weight: 700;
}

.cta-follow {
  margin-top: 1.5rem;
}

@media (max-width: 1099px) {
  .header-inner {
    align-items: center;
    gap: 0.5rem 0.65rem;
  }

  .brand {
    max-width: calc(100% - 5.75rem);
  }

  .js .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .js .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.25rem 0 0.75rem;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .js .header-cta {
    margin-left: 0;
  }
}

@media (max-width: 800px) {
  .hero-grid,
  .about-grid,
  .card-grid,
  .card-grid-2,
  .stats,
  .footer-grid,
  .proto-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    justify-self: stretch;
    max-width: none;
  }

  .doc-split {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (min-width: 801px) and (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* Chrome for existing /privacy/ and /terms/ drafts. Legal text is unchanged. */
.page-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scaffold-note {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 12px 12px 0;
}

.footnote {
  margin: 1.5rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-slots {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.legal-slots div {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--color-line);
  border-radius: 12px;
}

.legal-slots dt {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.legal-slots dd {
  margin: 0;
}
