/* Coliving Blueprint homepage — responsive, dependency-free first draft */
:root {
  --black: #10100f;
  --black-soft: #191917;
  --gold: #c9a55a;
  --gold-light: #dfc481;
  --ivory: #f7f5ef;
  --white: #fff;
  --ink: #20201e;
  --muted: #696861;
  --line: #dedbd2;
  --max: 1200px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.4rem, 7vw, 6.6rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 4.3vw, 4.5rem); }
h3 { margin-bottom: 12px; font-size: 1.22rem; line-height: 1.3; }
p { color: var(--muted); }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: clamp(90px, 11vw, 150px) 0; }
.dark-section { color: var(--white); background: var(--black); }
.dark-section p { color: #bcbbb3; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; color: var(--black); background: var(--gold-light); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: 20px; color: #92712f; font-size: .72rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.dark-section .eyebrow { color: var(--gold-light); }

/* Header */
.site-header { position: absolute; z-index: 10; top: 0; width: 100%; border-bottom: 1px solid rgb(255 255 255 / 12%); color: var(--white); }
.header-inner { display: flex; align-items: center; min-height: 84px; gap: 38px; }
.wordmark { display: inline-flex; align-items: center; gap: 13px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.wordmark-mark { display: grid; width: 34px; height: 34px; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: .72rem; letter-spacing: 0; place-items: center; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { color: #d0cfc8; font-size: .82rem; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--white); }
.menu-toggle { display: none; min-width: 54px; min-height: 44px; padding: 0; border: 1px solid rgb(255 255 255 / 28%); color: var(--white); background: transparent; font: 700 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.menu-toggle i { position: relative; display: none; width: 16px; height: 1px; background: currentColor; }
.mobile-menu { position: absolute; top: 72px; left: 0; width: 100%; border-top: 1px solid rgb(255 255 255 / 12%); background: rgb(16 16 15 / 98%); box-shadow: 0 24px 50px rgb(0 0 0 / 34%); }
.mobile-menu-inner { display: grid; padding-block: 16px 24px; }
.mobile-menu a { padding: 15px 2px; border-bottom: 1px solid rgb(255 255 255 / 10%); color: #d7d5cd; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.mobile-menu .mobile-menu-cta { margin-top: 14px; padding: 15px 18px; border: 1px solid var(--gold-light); color: #17140e; background: var(--gold-light); text-align: center; }
.site-header.menu-open { background: var(--black); }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 38px 0 28px; }
.button { display: inline-flex; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; align-items: center; justify-content: center; font-size: .76rem; font-weight: 750; letter-spacing: .09em; line-height: 1.2; text-decoration: none; text-transform: uppercase; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #17140e; background: var(--gold-light); border-color: var(--gold-light); }
.button-gold:hover { background: #ead596; }
.button-ghost, .button-outline { color: var(--white); border-color: rgb(255 255 255 / 34%); }
.button-ghost:hover, .button-outline:hover { border-color: var(--gold-light); }
.button-dark { color: var(--white); background: var(--black); }
.button-small { min-height: 42px; padding: 10px 17px; }

/* Hero */
.hero { position: relative; min-height: 850px; padding: 190px 0 110px; overflow: hidden; }
.blueprint-grid { position: absolute; inset: 0 0 0 48%; opacity: .08; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent, #000); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 90px; }
.hero-lede { max-width: 680px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.trust-line { display: flex; align-items: center; gap: 10px; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.trust-line span { color: var(--gold); }
.hero-visual { min-width: 0; }
.book-stage { display: grid; margin: 0; justify-items: center; }
.hero-book { display: block; width: min(650px, 48vw); max-width: none; height: auto; filter: drop-shadow(22px 30px 28px rgb(0 0 0 / 45%)); }
.book-stage figcaption { max-width: 330px; margin-top: 14px; color: #85847e; font-size: .62rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.book { position: relative; transform: rotateY(-7deg) rotateZ(1.5deg); filter: drop-shadow(26px 32px 26px rgb(0 0 0 / 45%)); }
.book-large { width: min(330px, 74vw); height: 490px; }
.book-medium { width: 300px; height: 445px; }
.book-cover { position: absolute; inset: 0; display: flex; padding: 44px 37px 36px; border: 1px solid #705c30; flex-direction: column; color: var(--white); background: #11110f; box-shadow: inset 0 0 0 8px #161613, inset 0 0 0 9px #5e4c28; }
.book-cover::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgb(201 165 90 / 35%); pointer-events: none; }
.book-cover strong { position: relative; margin-top: 55px; font-family: var(--serif); font-size: 2.7rem; font-weight: 400; line-height: .96; letter-spacing: -.04em; }
.book-kicker, .book-author { position: relative; color: var(--gold-light); font-size: .56rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.book-rule { position: relative; width: 48px; height: 1px; margin: 23px 0; background: var(--gold); }
.book-cover small { position: relative; color: #bdbbb2; font-size: .7rem; line-height: 1.55; }
.book-author { margin-top: auto; }
.book-spine { position: absolute; z-index: 2; inset: 0 auto 0 -13px; width: 14px; background: linear-gradient(90deg, #070706, #28251d); transform: skewY(-40deg); transform-origin: right; }
.asset-note { display: block; max-width: 320px; margin-top: 50px; color: #85847e; font-size: .68rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

/* Problem and cards */
.section-intro { margin-bottom: 60px; }
.section-intro.narrow { max-width: 820px; }
.section-intro.centered { max-width: 780px; margin-inline: auto; text-align: center; }
.section-intro > p:not(.eyebrow) { max-width: 700px; font-size: 1.08rem; }
.section-intro.centered > p:not(.eyebrow) { margin-inline: auto; }
.comparison { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: stretch; }
.comparison-card { min-height: 310px; padding: 45px; border: 1px solid var(--line); }
.comparison-card h3 { margin-top: 55px; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.comparison-card p { max-width: 430px; }
.card-number { color: #99978e; font-size: .7rem; letter-spacing: .12em; }
.card-caption { margin: 32px 0 0; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.dark-card { color: white; background: var(--black); border-color: var(--black); }
.dark-card p { color: #b9b8b0; }
.dark-card .card-caption { color: var(--gold-light); }
.comparison-arrow { display: grid; color: var(--gold); font-family: var(--serif); font-size: 2rem; place-items: center; }
.learn-section, .about-section { background: var(--ivory); }
.section-heading-row { display: grid; grid-template-columns: 1.5fr .65fr; align-items: end; gap: 70px; margin-bottom: 60px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row > p { margin-bottom: 6px; }
.card-grid { display: grid; gap: 18px; }
.four-up { grid-template-columns: repeat(4, 1fr); }
.three-up { grid-template-columns: repeat(3, 1fr); }
.info-card { min-height: 310px; padding: 36px 30px; border: 1px solid var(--line); background: var(--white); }
.info-card .line-icon { display: grid; width: 44px; height: 44px; margin-bottom: 55px; border: 1px solid var(--gold); color: #8b6a28; font-family: var(--serif); place-items: center; }
.info-card p, .principle-card p { font-size: .9rem; }

/* Main features */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(60px, 9vw, 130px); }
.feature-section { overflow: hidden; }
.feature-visual { display: grid; min-height: 560px; margin: 0; background: #171715; place-items: center; }
.book-feature { position: relative; overflow: hidden; }
.book-feature picture { display: block; width: 100%; height: 100%; }
.book-feature img { display: block; width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: 52% 50%; }
.feature-copy > p:not(.eyebrow):not(.placeholder-copy) { font-size: 1.04rem; }
.check-list { display: grid; margin: 30px 0 38px; padding: 0; gap: 15px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #d1d0c8; font-size: .88rem; }
.check-list li::before { content: ""; position: absolute; top: .7em; left: 0; width: 10px; height: 1px; background: var(--gold); }
.placeholder-copy { margin: 13px 0 0; color: #8c8a82 !important; font-size: .68rem !important; letter-spacing: .06em; text-transform: uppercase; }
.metric-list, .role-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 38px; }
.metric-list span, .role-list span { padding: 8px 13px; border: 1px solid var(--line); color: #5d5b55; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.dashboard { overflow: hidden; border: 1px solid #d4d0c4; border-radius: 3px; background: #f4f1e9; box-shadow: 0 35px 80px rgb(31 29 22 / 17%); }
.dashboard-bar { display: flex; height: 48px; padding: 0 18px; align-items: center; gap: 6px; color: white; background: var(--black); }
.dashboard-bar span { width: 7px; height: 7px; border-radius: 50%; background: #5b5a55; }
.dashboard-bar small { margin-left: auto; color: #b8a679; font-size: .55rem; letter-spacing: .13em; }
.dashboard-body { display: grid; grid-template-columns: 1fr 1fr; padding: 25px; gap: 15px; }
.dashboard-panel, .dashboard-wide { padding: 24px; border: 1px solid #ded9cd; background: white; }
.dashboard-panel small, .dashboard-wide small { color: #858177; font-size: .54rem; letter-spacing: .12em; }
.dashboard-panel strong { display: block; margin: 18px 0; font-family: var(--serif); font-size: 2.6rem; font-weight: 400; }
.chart-bars { display: flex; height: 72px; align-items: end; gap: 7px; }
.chart-bars i { width: 18%; background: #d6c18b; }
.chart-bars i:nth-child(1) { height: 30%; }.chart-bars i:nth-child(2) { height: 48%; }.chart-bars i:nth-child(3) { height: 43%;}.chart-bars i:nth-child(4) { height: 72%;}.chart-bars i:nth-child(5) { height: 88%; background: #9b7936; }
.progress-line { height: 5px; margin: 28px 0 34px; background: #e6e1d6; }.progress-line i { display: block; width: 72%; height: 100%; background: var(--gold); }
.dashboard-wide { grid-column: 1 / -1; }
.scenario-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; margin-top: 18px; color: #747168; font-size: .68rem; }.scenario-row i { height: 5px; background: linear-gradient(90deg, #c7a659 65%, #eeeae1 65%); }
.dark-note { margin: 0; padding: 12px; color: #77746c; background: #ebe7dd; }

/* Principles, about, proof */
.principle-card { padding: 38px 34px 20px; border-top: 1px solid var(--black); }
.principle-card > span { color: #a27d32; font-size: .68rem; letter-spacing: .12em; }
.principle-card h3 { margin-top: 45px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.callout { max-width: 900px; margin: 70px auto 0; padding: 27px; border-block: 1px solid var(--line); color: #4f4d47; font-family: var(--serif); font-size: 1.25rem; text-align: center; }
.about-grid { grid-template-columns: .8fr 1.2fr; }
.portrait-placeholder { display: grid; min-height: 590px; color: #8d8a80; background-color: #dcd7cb; background-image: linear-gradient(135deg, transparent 48%, rgb(255 255 255 / 30%) 49%, transparent 50%); background-size: 24px 24px; font-size: .68rem; letter-spacing: .12em; text-align: center; text-transform: uppercase; place-items: center; }
.role-list { margin-bottom: 0; }
.quote-card { min-height: 310px; padding: 37px; border: 1px solid var(--line); background: white; }
.quote-card blockquote { margin: 0; color: #403f3b; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; }
.quote-card blockquote::before { content: "“"; display: block; height: 42px; color: var(--gold); font-size: 3rem; line-height: 1; }
.quote-card footer { display: flex; margin-top: 50px; flex-direction: column; font-size: .72rem; }.quote-card footer span { color: var(--muted); }
.centered-text { text-align: center; }

/* Ecosystem */
.paired-cta { color: var(--white); background: #151512; }
.paired-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: clamp(60px, 9vw, 130px); }
.paired-grid h2 { margin-bottom: 0; }
.paired-copy > p { max-width: 590px; color: #bdbbb3; }
.paired-copy .button-row { margin-bottom: 0; }

.ecosystem-section { background: white; }
.ecosystem-flow { display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--line); }
.ecosystem-item { position: relative; min-height: 190px; padding: 28px 20px; border-right: 1px solid var(--line); }
.ecosystem-item:last-child { border-right: 0; }
.ecosystem-item > span { color: #a27d32; font-size: .62rem; }
.ecosystem-item h3 { margin-top: 48px; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.ecosystem-item p { font-size: .72rem; }
.ecosystem-item.future { background: #faf9f6; }.ecosystem-item.future h3, .ecosystem-item.future p { color: #9e9b92; }
.ecosystem-item:not(:last-child)::after { content: "+"; position: absolute; z-index: 2; top: 50%; right: -9px; display: grid; width: 18px; height: 18px; color: #9d7934; background: white; font-size: .8rem; line-height: 1; place-items: center; }

/* FAQ */
.faq-section { background: var(--ivory); }
.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(60px, 9vw, 130px); }
.faq-intro { position: sticky; top: 40px; }
.faq-intro > p:last-child { max-width: 470px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 26px 42px 26px 0; color: #33322f; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 25px; right: 4px; color: #8d6a27; font-family: var(--sans); font-size: 1.25rem; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 680px; margin: -4px 50px 28px 0; font-size: .92rem; }

/* Newsletter and footer */
.newsletter { padding: 100px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 100px; }
.newsletter h2 { max-width: 650px; }.newsletter-inner > div > p:last-child { max-width: 620px; }
.signup-form label { display: block; margin-bottom: 10px; color: #d2d0c7; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.input-row { display: grid; grid-template-columns: 1fr auto; }
.input-row input { min-width: 0; min-height: 54px; padding: 14px 17px; border: 1px solid #4b4a46; border-right: 0; border-radius: 0; color: white; background: transparent; font: inherit; }
.input-row input:focus { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.signup-form > p { margin: 12px 0 0; font-size: .66rem; }
.signup-form input:disabled { color: #8a8982; opacity: .75; cursor: not-allowed; }
.signup-form button:disabled { color: #625938; background: #9e8c5c; border-color: #9e8c5c; opacity: .72; transform: none; cursor: not-allowed; }
.site-footer { padding: 70px 0 28px; color: #cecdc6; background: #090908; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; }
.footer-grid > div > p { max-width: 310px; margin-top: 23px; font-size: .8rem; }
.footer-grid nav { display: flex; align-items: start; flex-direction: column; gap: 10px; }
.footer-grid nav h2 { margin: 0 0 10px; color: #89877e; font: 700 .62rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.footer-grid nav a, .footer-grid nav span { color: #b9b8b1; font-size: .78rem; text-decoration: none; }
.footer-grid nav span { color: #6f6e68; }
.footer-grid nav a:hover { color: white; }
.footer-bottom { display: flex; margin-top: 60px; padding-top: 25px; border-top: 1px solid #282824; justify-content: space-between; }
.footer-bottom p { margin: 0; font-size: .65rem; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-inner > .button { margin-left: auto; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .hero-visual { margin-top: 20px; }
  .hero-book { width: min(720px, 88vw); }
  .four-up { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-flow { grid-template-columns: repeat(3, 1fr); }
  .ecosystem-item:nth-child(3) { border-right: 0; }
  .ecosystem-item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .ecosystem-item:nth-child(3)::after { display: none; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 35px; }
  .paired-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid nav:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-header .button { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; align-items: center; justify-content: center; }
  .header-inner { min-height: 72px; }
  .hero { padding-top: 145px; }
  h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .comparison { grid-template-columns: 1fr; gap: 0; }
  .comparison-arrow { height: 65px; transform: rotate(90deg); }
  .comparison-card { min-height: auto; padding: 34px 28px; }
  .section-heading-row { grid-template-columns: 1fr; gap: 18px; }
  .four-up, .three-up, .split-layout { grid-template-columns: 1fr; }
  .split-layout { gap: 55px; }
  .reverse-mobile .feature-copy { order: 1; }.reverse-mobile .dashboard { order: 2; }
  .feature-visual { min-height: 500px; }
  .book-feature img { min-height: 500px; }
  .about-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq-intro { position: static; }
  .portrait-placeholder { min-height: 420px; }
  .ecosystem-flow { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-item:nth-child(2n) { border-right: 0; }
  .ecosystem-item:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .ecosystem-item:nth-child(3) { border-right: 1px solid var(--line); }
  .ecosystem-item:nth-child(2)::after, .ecosystem-item:nth-child(4)::after { display: none; }
  .ecosystem-item:nth-child(3)::after { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: 1 / -1; }
  .footer-grid nav:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .wordmark { font-size: .65rem; letter-spacing: .08em; }
  .button-row, .button-row .button { width: 100%; }
  .four-up { grid-template-columns: 1fr; }
  .book-medium { width: 245px; height: 365px; }
  .book-cover { padding: 34px 30px 29px; }.book-cover strong { margin-top: 40px; font-size: 2.2rem; }
  .dashboard-body { grid-template-columns: 1fr; padding: 14px; }.dashboard-wide { grid-column: auto; }
  .input-row { grid-template-columns: 1fr; gap: 10px; }.input-row input { border-right: 1px solid #4b4a46; }
  .input-row .button { width: 100%; }
  .ecosystem-flow { grid-template-columns: 1fr; }
  .ecosystem-item { min-height: 145px; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .ecosystem-item h3 { margin-top: 26px; }
  .ecosystem-item::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }.footer-grid nav:last-child { grid-column: auto; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Legal and utility pages */
.legal-page { background: var(--ivory); }
.legal-header { position: static; color: var(--white); background: var(--black); }
.legal-main { padding: clamp(70px, 9vw, 120px) 0; }
.legal-document { max-width: 820px; }
.legal-document h1 { max-width: 780px; color: var(--ink); font-size: clamp(3rem, 6vw, 5.4rem); }
.legal-document h2 { margin-top: 55px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.legal-document p, .legal-document li { color: #57564f; }
.legal-document ul { display: grid; padding-left: 20px; gap: 9px; }
.legal-meta { margin-bottom: 40px; color: #8a877d; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.draft-notice { margin-bottom: 45px; padding: 18px 20px; border-left: 3px solid var(--gold); color: #4d493e; background: #eee9dc; font-size: .86rem; }
.utility-page { display: grid; min-height: 100vh; color: var(--white); background: var(--black); place-items: center; }
.utility-content { max-width: 760px; padding-block: 80px; text-align: center; }
.utility-code { color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.utility-content p { max-width: 560px; margin-inline: auto; }
