/* Symboulion. Light, calm, people first. Tokens from the brand book. */
:root {
  --teal: #0F766E; --teal-dark: #0B5C56; --teal-soft: #D9F2EE;
  --sun: #FFC94A; --sun-soft: #FFF1C7;
  --surface: #FFFBF2; --card: #FFFFFF; --ink: #14201E; --muted: #5A6B67;
  --line: #E8E1D3; --coral: #C2492F; --coral-soft: #FBE7E1;
  --radius: 14px;
  --head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 17px/1.55 var(--body); }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--head); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.7rem; font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 700; margin-top: 1.6em; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Header */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-inner { max-width: 1040px; margin: 0 auto; padding: 12px 16px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.brand { font: 800 1.3rem var(--head); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -0.3px; }
.brand:hover { color: var(--ink); }
.brand span { color: var(--sun); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.nav a { text-decoration: none; color: var(--ink); padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.on { background: var(--teal-soft); color: var(--teal-dark); }
.who { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.lang a { color: var(--muted); text-decoration: none; font-weight: 700; padding: 2px 4px; }
.lang a.on { color: var(--teal); }

main { max-width: 1040px; margin: 0 auto; padding: 24px 16px 48px; }
.narrow { max-width: 560px; }

/* Cards and grid */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.card.accent { border-top: 4px solid var(--sun); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.list li:last-child { border-bottom: 0; }
.side { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.empty { color: var(--muted); padding: 8px 0; }

/* People first: names and faces lead */
.person { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark);
  display: inline-grid; place-items: center; font: 800 .8rem var(--head); flex: none; }
.avatar.lead { box-shadow: 0 0 0 2px var(--sun); }
.org { color: var(--muted); font-weight: 400; font-size: .9rem; }

/* Feed */
.item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.item header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.item .body { white-space: pre-wrap; overflow-wrap: anywhere; }
.kind { font: 700 .72rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark);
  background: var(--teal-soft); border-radius: 6px; padding: 2px 7px; margin-right: 6px; }
.item.task .kind { background: var(--sun-soft); color: #7A5600; }
.item.decision { border-left: 4px solid var(--teal); }
.item.draft { border-style: dashed; }
.item.held, .item.escalated { background: var(--coral-soft); border-color: #F0C9BD; }
.signed { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.note { background: var(--sun-soft); border-radius: 10px; padding: 10px 12px; margin: 8px 0; font-size: .95rem; }
.note.warn { background: var(--coral-soft); }

/* Forms */
label { display: block; font-weight: 700; margin: 14px 0 6px; font-size: .95rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
input[type=text], input[type=email], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; color: inherit; padding: 10px 12px; border: 1px solid #D6CEBE; border-radius: 10px; background: #fff; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--teal-soft); outline-offset: 1px; border-color: var(--teal); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 1 1 160px; }
.btn { display: inline-block; font: 700 1rem var(--head); padding: 11px 20px; border-radius: 10px; border: 2px solid var(--teal);
  background: var(--teal); color: #fff; cursor: pointer; text-decoration: none; margin: 12px 8px 0 0; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.ghost { background: #fff; color: var(--teal); }
.btn.ghost:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn.small { padding: 6px 12px; font-size: .88rem; margin-top: 6px; }
.btn.link { background: none; border: 0; color: var(--teal); padding: 0; margin: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.tabs { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; }
.tabs label { margin: 0; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.tabs input { position: absolute; opacity: 0; }
.tabs input:checked + span { color: var(--teal-dark); }
.tabs label:has(input:checked) { background: var(--teal-soft); border-color: var(--teal); }
.tabs label:has(input:focus-visible) { outline: 3px solid var(--teal-soft); }
details > summary { cursor: pointer; color: var(--teal); font-weight: 700; }

.flash { background: var(--teal-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font: 700 .85rem var(--head); color: var(--muted); }
tr.bad td { background: var(--coral-soft); }
.scroll { overflow-x: auto; }
.tally { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.tally div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-width: 90px; }
.tally b { display: block; font: 800 1.4rem var(--head); }
code.link { display: block; word-break: break-all; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }

footer.foot { max-width: 1040px; margin: 0 auto; padding: 0 16px 40px; color: var(--muted); font-size: .88rem; }
footer.foot details { margin-bottom: 10px; }

/* Public site: front page, blog, FAQ */
.nav a.nav-cta { background: var(--teal); color: #fff; padding: 6px 14px; }
.nav a.nav-cta:hover { background: var(--teal-dark); color: #fff; }
main.site { max-width: none; padding: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 64px; }
.hero-text, .hero-art { flex: 1 1 420px; min-width: 0; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pill { display: inline-block; margin: 0 0 20px; background: var(--sun-soft); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; }
.display { font-size: 3.5rem; line-height: 1.07; letter-spacing: -1px; margin: 0; }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 520px; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.actions .btn { margin: 0; }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); margin: 0; }
.btn.sun:hover { background: #F5B92E; border-color: #F5B92E; color: var(--ink); }
.round-table { width: 100%; max-width: 520px; height: auto; }
.round-table .tabletop { fill: var(--teal-soft); }
.round-table .sun { fill: var(--sun); }
.round-table .seat { fill: var(--teal); }
.round-table .seat-label { font: 600 15px var(--body); fill: var(--ink); }
.feed-sample { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.feed-sample p { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; font-size: .9rem; line-height: 1.45; }
.feed-sample p:last-child { margin-bottom: 0; }
.feed-sample .avatar { width: 36px; height: 36px; }
.avatar.sun { background: var(--sun-soft); color: var(--ink); }
.band.white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.teal { background: var(--teal-soft); }
.band .wrap, .band-pad { padding-top: 64px; padding-bottom: 64px; }
.band-pad.top-only { padding-bottom: 0; }
.section-title { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.5px; font-weight: 800; margin: 0; }
.section-title.small-title { font-size: 2rem; }
.section-lead { color: var(--muted); max-width: 640px; margin: 12px 0 0; }
.section-lead.ink { color: var(--ink); }
.cards { display: grid; gap: 24px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards.narrow-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards h3 { font-size: 1.2rem; margin: 16px 0 0; }
.band.teal .cards h3 { margin-top: 0; }
.cards p { margin: 8px 0 0; }
.cards .step-num { margin: 0; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.tile.soft { background: var(--surface); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font: 800 1.1rem/40px var(--head); text-align: center; margin: 0; }
.badge { display: block; width: 48px; height: 48px; border-radius: 50%; font-weight: 600; line-height: 48px; text-align: center; }
.badge.role1 { background: var(--teal); color: #fff; }
.badge.role2 { background: var(--teal-soft); color: var(--teal); }
.badge.role3 { background: var(--ink); color: var(--surface); }
.badge.role4 { background: var(--sun); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.cta { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta > div { flex: 1 1 420px; min-width: 0; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.prose { max-width: 720px; }
.prose .lead { max-width: none; }
.post-link { margin-top: 0; }
.post-link a { color: var(--ink); text-decoration: none; }
.post-link a:hover { color: var(--teal-dark); }
.faq summary { font: 700 1.02rem var(--head); color: var(--ink); }
.faq p { margin: .8em 0 0; }
.infographic { margin: 28px 0; padding: 20px; background: var(--teal-soft); border-radius: var(--radius); }
.infographic figcaption { font: 800 1.05rem var(--head); color: var(--teal-dark); margin-bottom: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff;
  font: 800 1.05rem/40px var(--head); text-align: center; }
.steps li + li::after { content: ""; position: absolute; left: 33px; top: -13px; height: 12px; border-left: 3px solid var(--teal); }
.steps b { font-family: var(--head); }
.steps span { color: var(--muted); }
.plan h2 { font-size: 1.4rem; margin: 0; }
.plan .price { font: 800 2rem var(--head); color: var(--ink); margin: 12px 0 0; }
.plan.main-plan { border: 2px solid var(--teal); }
.plan-list { margin: 16px 0 0; padding-left: 20px; }
.plan-list li { margin: 6px 0; }
.rates-title { font-size: 1.4rem; margin: 48px 0 0; }
table.rates { margin-top: 16px; max-width: 640px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.4rem; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { gap: 32px; padding-top: 32px; padding-bottom: 40px; }
  .hero-text, .hero-art, .cta > div { flex-basis: 100%; }
  .display { font-size: 2.4rem; }
  .section-title { font-size: 1.9rem; }
  .section-title.small-title { font-size: 1.6rem; }
  .band .wrap, .band-pad { padding-top: 40px; padding-bottom: 40px; }
  .cards, .cards.narrow-cards { grid-template-columns: 1fr; }
  .cta { padding: 24px; }
  .who { width: 100%; justify-content: space-between; }
  .list li { flex-direction: column; gap: 2px; }
}
