/* comun.ai — comunidad: from yourself, to your work, to your community */
:root {
  --bg: #EEF4F1; --surface: #FFFFFF; --ink: #11302D; --ink-2: #3E5B57; --ink-3: #4F6966; --line: #D2E1DA;
  --teal: #0E5A54; --teal-2: #0A4440; --butter: #F8DC7A; --sky: #CBE7F2; --mint: #D3EFDD; --blush: #F6D3CC; --lilac: #E3DAF6;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; text-wrap: balance; margin: 0; }
.eyebrow { font: 600 13px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.sec { padding-block: clamp(44px, 5.5vw, 76px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 64px); align-items: end; margin-bottom: clamp(22px, 3vw, 34px); }
.sec-head h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.02; font-weight: 750; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 17.5px; max-width: 36em; }

/* header */
.site-head .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 22px 10px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 750 31px/1 var(--display); letter-spacing: -.03em; }
.logo svg { width: 44px; height: 44px; isolation: isolate; }
.site-foot .logo { font-size: 26px; } .site-foot .logo svg { width: 36px; height: 36px; }
.site-head nav { display: flex; gap: 28px; font-weight: 500; font-size: 15.5px; align-items: center; }
.site-head nav a { text-decoration: none; }
.site-head nav a:hover { color: var(--teal); }
.site-head nav a.cta { background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; }
.site-head nav a.cta:hover { background: var(--teal); color: #fff; }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 999px; background: var(--teal); color: #fff; transition: background .2s; }
.btn:hover { background: var(--teal-2); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* hero shared */
.hero h1 { font-size: clamp(42px, 6vw, 78px); line-height: .98; font-weight: 750; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--butter) 62%); }
.hero .lede { margin: 24px 0 0; font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 34em; }
.net { position: relative; aspect-ratio: 1 / 1; max-width: 100%; margin: 0; }
.net canvas { width: 100%; height: 100%; display: block; }
.net figcaption { position: absolute; left: 0; bottom: 0; font-size: 14px; color: var(--ink-2); }

/* word band */
.word { background: var(--teal); color: #E6F3EE; }
.word .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; align-items: center; padding-block: 34px; }
.word b { font: 750 clamp(34px, 4.6vw, 56px)/1 var(--display); letter-spacing: -.03em; color: var(--butter); }
.word p { margin: 0; font-size: 18px; max-width: 46em; }

/* product pieces */
.appicon { width: 56px; height: 56px; flex: none; border-radius: 13px; display: block; box-shadow: 0 1px 2px rgba(17,48,45,.14), 0 4px 12px rgba(17,48,45,.08); }
.appicon svg { width: 100%; height: 100%; display: block; }
.mono { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; font: 700 16px/1 var(--display); letter-spacing: 0; }
.chip { font: 600 12.5px/1 var(--body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; background: var(--mint); color: var(--teal-2); }
.chip.beta { background: var(--blush); color: #8E2F1E; }
.chip.early { background: var(--butter); color: #5C4300; }
.chip.soon { background: #E3E9E6; color: var(--ink-2); }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.pcard header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.pcard h3 { font-size: 22px; font-weight: 700; line-height: 1.1; }
.pcard .one { margin: 3px 0 0; font-size: 15px; color: var(--ink-2); }
.pcard .long { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.basis { margin: 0; font-size: 14px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.basis span { font-weight: 600; color: var(--ink); margin-right: 4px; }
.more { justify-self: start; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--teal); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more.muted { color: var(--ink-3); font-weight: 500; }

/* vision shared */
.vhead { grid-template-columns: 1fr; gap: 0; }
.vhead .vision-statement { max-width: 24ch; }
.vision-statement, .sec-head .vision-statement { color: var(--ink); max-width: none; font: 700 clamp(30px, 3.8vw, 48px)/1.1 var(--display); letter-spacing: -.03em; margin: 0; }
.vision-statement mark { background: none; color: var(--teal); }
.mission, .sec-head .mission { margin: 22px 0 0; font-size: 19px; color: var(--ink-2); max-width: 36em; }
.findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.findings li { padding-block: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.findings li:last-child { border-bottom: 1px solid var(--line); }
.findings q { font: 600 20px/1.3 var(--display); letter-spacing: -.01em; quotes: none; }
.findings cite { font-style: normal; font-size: 14px; color: var(--ink-3); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.pillar .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--pc); border: 2px solid var(--ink); }
.pillar h3 { font-size: 24px; font-weight: 700; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 16px; }
.pillar .names { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; font-weight: 500; }
.pillar .names li { display: flex; align-items: center; gap: 10px; }
.appicon.sm { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 1px 2px rgba(17,48,45,.14); }

/* method */
.method { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: 700 17px var(--display); }
.steps h3 { font-size: 23px; font-weight: 700; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }
.grades { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.grades span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--bg); }
.grades b { font-weight: 600; }

/* principles */
.princ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.princ div { display: grid; gap: 8px; align-content: start; }
.princ svg { width: 46px; height: 46px; }
.princ h3 { font-size: 23px; font-weight: 700; margin-top: 6px; }
.princ p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* about */
.about .grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; line-height: 1.05; }
.about p { color: var(--ink-2); font-size: 17px; margin: 18px 0 0; max-width: 36em; }
.facts { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px 22px; }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; padding-block: 13px; border-top: 1px solid var(--line); font-size: 15.5px; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 500; }

.road { margin-top: clamp(32px, 4vw, 52px); }
.road ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.road li { padding: 22px 24px 4px 0; display: grid; gap: 8px; align-content: start; position: relative; }
.road li::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); border: 3px solid var(--bg); }
.road li:nth-child(2)::before { background: var(--butter); border-color: var(--bg); box-shadow: 0 0 0 1.5px var(--ink); }
.road li:nth-child(3)::before { background: var(--mint); box-shadow: 0 0 0 1.5px var(--ink); }
.road .when { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.road h3 { font-size: 22px; font-weight: 700; }
.road p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .road ol { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); } .road li { padding: 4px 0 22px 26px; } .road li::before { top: 6px; left: -9px; } }

/* newsletter */
.join { background: var(--butter); }
.join .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: clamp(36px, 4.5vw, 56px); }
.join h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; line-height: 1.04; }
.join p { margin: 12px 0 0; color: #5C4A10; }
.join form { display: flex; gap: 10px; flex-wrap: wrap; }
.join input { flex: 1 1 220px; min-width: 0; font: 16px var(--body); padding: 14px 18px; border-radius: 999px; border: 2px solid var(--ink); background: #FFFDF6; }
.join button { font: 600 16px var(--body); padding: 14px 24px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.join .fine { font-size: 13.5px; color: #5C4A10; margin-top: 10px; flex-basis: 100%; }

/* footer */
.site-foot { background: var(--ink); color: #CFE0DA; }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 48px 32px; }
.site-foot .logo { color: #fff; }
.site-foot .tag { margin: 12px 0 0; font-size: 15px; max-width: 24em; }
.site-foot h4 { margin: 0 0 12px; font: 600 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: #8FB3A8; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .legal { border-top: 1px solid #23504A; padding-block: 18px 30px; font-size: 13.5px; color: #8FB3A8; display: flex; flex-wrap: wrap; gap: 6px 22px; }

@media (max-width: 900px) {
  .sec-head, .about .grid, .join .wrap { grid-template-columns: 1fr; }
  .pillars, .steps, .princ { grid-template-columns: 1fr; }
  .site-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .word .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .site-foot .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }


.hero-story .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: stretch; padding-block: clamp(12px, 2vw, 24px) clamp(36px, 4.5vw, 60px); }
.hs-copy { align-self: center; padding-block: clamp(16px, 3vw, 40px); }
.hero-story .net.big { align-self: stretch; }
.hero-story h1 { font-size: clamp(42px, 5.3vw, 76px); }
.net.big { aspect-ratio: auto; min-height: 0; }
.net.big canvas { position: absolute; left: 0; right: 0; top: 14%; height: 72%; }
.net.big figcaption { bottom: 9%; }
.story-head { padding-block: clamp(8px, 1.5vw, 16px) 24px; }
.story-head h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 750; line-height: 1.02; max-width: 20ch; }
.chapter { background: var(--pc); border-top: 1px solid rgba(17,48,45,.12); }
.chapter .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 64px); padding-block: clamp(32px, 4.5vw, 56px); align-items: start; }
.c-intro { position: sticky; top: 24px; }
.c-no { margin: 0 0 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.c-intro h3 { font-size: clamp(34px, 4vw, 52px); font-weight: 750; line-height: 1; }
.c-intro p:last-child { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.c-list li { background: var(--surface); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; border: 1px solid rgba(17,48,45,.08); }
.c-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.c-list h4 { margin: 0; font: 700 23px/1.1 var(--display); letter-spacing: -.02em; }
.c-list p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; }
.c-list .c-basis { font-size: 13.5px; color: var(--ink-3); }
.c-list .more { display: inline-block; margin-top: 10px; }
@media (max-width: 900px) { .hero-story .wrap, .chapter .wrap { grid-template-columns: 1fr; } .net.big { min-height: 300px; } .c-intro { position: static; } }

/* newsletter states */
.join .status { flex-basis: 100%; margin: 4px 0 0; font-weight: 600; color: var(--ink); min-height: 1.4em; }
.join button[disabled] { opacity: .7; cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 10; text-decoration: none; }
.skip:focus { top: 12px; }

/* legal pages */
.legal { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.legal .wrap { max-width: 820px; }
.legal__title { font: 750 clamp(36px, 5vw, 56px)/1.02 var(--display); letter-spacing: -.03em; margin: 0; }
.legal__updated { color: var(--ink-3); font-size: 15px; margin: 12px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal__section { margin-bottom: 32px; }
.legal__section h2 { font-size: 25px; font-weight: 700; margin: 0 0 12px; }
.legal__section h3 { font-size: 19px; font-weight: 700; margin: 22px 0 8px; }
.legal__section p, .legal__section li { color: var(--ink-2); font-size: 16.5px; }
.legal__section p { margin: 0 0 12px; }
.legal__section ul { margin: 8px 0 14px; padding-left: 22px; }
.legal__section a { color: var(--teal); text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; margin: 12px 0 16px; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); }
.legal__table th, .legal__table td { padding: 10px 14px; text-align: left; border: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.legal__table th { color: var(--ink); font-weight: 600; background: var(--bg); }

/* phone menu */
.site-head { position: relative; z-index: 5; }
.menu-btn { display: none; align-items: center; gap: 8px; font: 600 15.5px var(--body); color: #fff; background: var(--ink); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
@media (max-width: 760px) {
  .logo { font-size: 27px; } .logo svg { width: 38px; height: 38px; }
  .menu-btn { display: inline-flex; }
  .site-head nav { display: none; position: absolute; left: clamp(16px, 4vw, 40px); right: clamp(16px, 4vw, 40px); top: calc(100% + 4px); flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 12px 32px rgba(17,48,45,.14); }
  .site-head nav.open { display: flex; }
  .site-head nav a { padding: 13px 14px; border-radius: 10px; font-size: 17px; }
  .site-head nav a:hover { background: var(--bg); }
  .site-head nav a.cta { margin-top: 6px; text-align: center; }
}
@media (prefers-reduced-motion: no-preference) { .site-head nav.open { animation: menu-in .16s ease-out; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
