/* Communications Hub public site. No trackers, no cookies; fonts are self-hosted (SIL OFL, see assets/fonts).
   Identity: petrol ink, amber spark, Fraunces headlines, Inter text, pill buttons, segmented tabs. */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --panel: #e7efec;
  --ink: #0d3b3e;
  --ink-2: #0a2f31;
  --text: #22302f;
  --muted: #566866;
  --line: #d6e1de;
  --accent: #0f6b66;
  --accent-soft: #d3e7e3;
  --spark: #e39a2d;
  --spark-ink: #2a1a02;
  --good: #0e7a4f;
  --warn-bg: #fdecc8;
  --warn-text: #5a3d00;
  --on-ink: #ffffff;
  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 20px;
  --max: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1615;
    --surface: #12201f;
    --panel: #192d2b;
    --ink: #e4f1ee;
    --ink-2: #ffffff;
    --text: #d9e6e3;
    --muted: #98aeaa;
    --line: #24403c;
    --accent: #5cc6b8;
    --accent-soft: #1d3b37;
    --spark: #f0b25a;
    --spark-ink: #2a1a02;
    --good: #5fd3a2;
    --warn-bg: #3a2c0e;
    --warn-text: #f3d79c;
    --on-ink: #0c1615;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1, h2 { font-family: var(--head); font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--spark) 25%, transparent); }

/* Draft bar */
.draft { background: var(--spark); color: var(--spark-ink); font-weight: 500; font-size: .85rem; text-align: center; padding: 8px 16px; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 1.2rem; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 24px; align-items: center; flex: 1; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--spark); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .btn { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--text); padding: 6px 14px; font: inherit; }
@media (max-width: 860px) {
  .site-header { position: relative; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .nav .btn { margin: 12px 16px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; font-size: 1rem; line-height: 1.2; font-family: inherit; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-spark { background: var(--spark); border-color: var(--spark); color: var(--spark-ink); }
.btn-spark:hover { filter: brightness(1.06); color: var(--spark-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chev { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; margin-top: 22px; padding-bottom: 3px; border-bottom: 2px solid var(--spark); align-self: flex-start; }
.chev::after { content: "→"; transition: transform .15s ease; }
.chev:hover::after { transform: translateX(4px); }
.chev.light { font-weight: 600; }

/* Hero */
.hero { padding: 72px 0 88px; background:
  radial-gradient(55% 70% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 70%),
  radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--spark) 14%, transparent) 0%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.3rem; color: var(--text); max-width: 560px; }
.hero.simple { padding: 64px 0 32px; }
.hero.simple .lead { max-width: 760px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero { padding: 48px 0 56px; } }

/* Visual panels (HTML illustrations, no images) */
.visual { background: linear-gradient(135deg, #cfe6e0 0%, #eaf3f0 50%, #f7ead6 100%); border-radius: var(--radius); padding: 32px; }
@media (prefers-color-scheme: dark) { .visual { background: linear-gradient(135deg, #133532 0%, #15211f 50%, #2c2416 100%); } }
.screen { background: var(--surface); border-radius: 14px; box-shadow: 0 16px 40px rgba(13, 59, 62, .16); overflow: hidden; font-size: .88rem; }
.screen-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.screen-bar b { margin-left: 8px; color: var(--ink); font-weight: 600; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row .who { font-weight: 600; min-width: 120px; }
@media (max-width: 560px) { .row { flex-wrap: wrap; } .row .who { min-width: 0; width: 100%; } .visual { padding: 16px; } }
.row .cite { display: block; color: var(--muted); font-size: .78rem; }
.pill { display: inline-block; font-size: .74rem; padding: 3px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.pill.red { background: #fde7e9; color: #a4262c; }
.pill.amber { background: #fff1c2; color: #6b4f00; }
.pill.green { background: #dff6dd; color: #0e700e; }
.pill.blue { background: #deecf9; color: #0e4282; }
.pill.grey { background: #edebe9; color: #484644; }

/* Sticky section bar */
.subnav-wrap { position: sticky; top: 12px; z-index: 40; padding: 0 16px; }
.subnav { max-width: var(--max); margin: 0 auto; background: #0d3b3e; border-radius: 999px; box-shadow: 0 10px 30px rgba(13, 59, 62, .25); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; }
.subnav .links { display: flex; gap: 28px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.subnav .links a { color: #e4f1ee; text-decoration: none; white-space: nowrap; padding: 8px 0; font-weight: 500; }
.subnav .links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--spark); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.subnav .btn-primary { background: var(--spark); border-color: var(--spark); color: var(--spark-ink); }
.subnav .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.subnav .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.subnav .btn { padding: 8px 16px; font-size: .95rem; white-space: nowrap; }
@media (max-width: 760px) { .subnav .btn { display: none; } }

/* Sections */
section { padding: 88px 0; }
section.tight { padding-top: 40px; }
.section-head { max-width: 820px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* Pill tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 40px; background: var(--panel); padding: 6px; border-radius: 28px; width: fit-content; max-width: 100%; }
.tabs.center { margin-left: auto; margin-right: auto; justify-content: center; }
.tab { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; padding: 10px 22px; border-radius: 999px; cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(13, 59, 62, .14); }
.tabpanel[hidden] { display: none; }
.no-js .tabs { display: none; }
.no-js .tabpanel { display: block !important; margin-bottom: 48px; }

/* Tab body: accordion list left, visual right */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.acc { border-left: 2px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); margin-left: 32px; padding: 20px 0; }
.acc details[open] { position: relative; }
.acc details[open]::before { content: ""; position: absolute; left: -35px; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--spark); }
.acc summary { cursor: pointer; list-style: none; font-family: var(--head); font-size: 1.35rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.acc details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.acc details p { margin: 14px 0 0; color: var(--text); }
.when { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; vertical-align: middle; }
.when.v1 { background: #dff6dd; color: #0e700e; }
.when.next { background: #deecf9; color: #0e4282; }
.when.later { background: #edebe9; color: #484644; }

/* Cards with a visual on top */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card.media:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(13, 59, 62, .12); }
.card.media { padding: 10px 10px 28px; }
.card.media > :not(.thumb) { margin-left: 18px; margin-right: 18px; }
.card .thumb { background: linear-gradient(160deg, var(--panel) 0%, color-mix(in srgb, var(--spark) 10%, var(--panel)) 100%); border-radius: 16px; height: 220px; margin-bottom: 24px; display: grid; place-items: center; padding: 20px; overflow: hidden; }
.card h3 { font-family: var(--head); font-size: 1.4rem; }
.card p { color: var(--text); }
.card .chev { margin-top: auto; }
.chips { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.chip { background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: .88rem; box-shadow: 0 2px 8px rgba(17, 26, 43, .08); color: var(--ink); }
.big-word { font-family: var(--head); font-size: 2.2rem; font-weight: 600; color: var(--ink); }
.mini { background: var(--surface); border-radius: 12px; box-shadow: 0 6px 20px rgba(17, 26, 43, .12); padding: 14px 16px; font-size: .82rem; width: 100%; max-width: 280px; }
.mini b { display: block; color: var(--ink); margin-bottom: 6px; }
.mini .bar { height: 8px; border-radius: 4px; background: var(--accent-soft); margin: 6px 0; }
.mini .bar span { display: block; height: 100%; border-radius: 4px; background: var(--accent); }

/* Slide illustration */
.slide { aspect-ratio: 16 / 9; width: 100%; background: #fff; color: #1b1f24; border-radius: 10px; box-shadow: 0 12px 40px rgba(17, 26, 43, .14); padding: 5% 6%; display: flex; flex-direction: column; gap: 5%; font-size: clamp(.55rem, 1.1vw, .8rem); }
.slide .s-title { font-family: var(--head); font-size: 1.6em; font-weight: 700; color: #0d3b3e; }
.slide .s-sub { color: #5d6470; }
.slide .s-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; flex: 1; }
.slide .s-col { background: #eaf2ef; border-radius: 6px; padding: 6%; }
.slide .s-col b { display: block; color: #0f6b66; margin-bottom: 4%; }

/* Numbered FAQ ("Did you know?") */
.faq-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.faq-head h2 { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 26px 0; display: block; }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 16px; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .num { font-family: var(--head); font-size: 1.6rem; font-weight: 600; color: var(--spark); }
.faq .pm { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; justify-self: end; transition: transform .2s ease, background .2s ease; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { transform: rotate(45deg); background: var(--spark); border-color: var(--spark); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--spark-ink); }
.faq details p { margin: 16px 56px 0 106px; color: var(--muted); }
@media (max-width: 700px) {
  .faq summary { grid-template-columns: 1fr 40px; font-size: 1.1rem; }
  .faq .num { display: none; }
  .faq details p { margin: 12px 0 0; }
}

/* Pricing */
.billing-note { display: inline-block; background: var(--warn-bg); color: var(--warn-text); padding: 6px 14px; border-radius: 999px; font-size: .875rem; margin-bottom: 28px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.plan.featured { background: #0d3b3e; border-color: #0d3b3e; color: #e4f1ee; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .per, .plan.featured .muted { color: #a9c7c2; }
.plan.featured li { border-top-color: rgba(255,255,255,.15); }
.plan.featured li::before { border-color: var(--spark); }
.plan.featured .btn-primary { background: var(--spark); border-color: var(--spark); color: var(--spark-ink); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--spark); color: var(--spark-ink); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-family: var(--head); font-size: 2.4rem; font-weight: 600; color: var(--ink); margin: 8px 0 0; }
.plan .per { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; font-size: .95rem; border-top: 1px solid var(--line); }
.plan li::before, .checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.plan .btn { text-align: center; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 4px 0 4px 26px; position: relative; margin-bottom: 6px; }
.checks li::before { top: 13px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--panel); color: var(--ink); }
table.compare td.c, table.compare th.c { text-align: center; }
table.compare tr.group td { background: var(--bg); font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.card table.compare { background: transparent; }
.yes::before { content: "✓"; color: var(--good); font-weight: 700; }
.soon { font-size: .75rem; color: var(--muted); }
section.alt { background: var(--surface); }

/* Closing band */
.cta { text-align: center; padding: 88px 0; }
.cta .box { background: radial-gradient(60% 90% at 100% 0%, rgba(227, 154, 45, .28) 0%, transparent 60%), #0d3b3e; border-radius: var(--radius); padding: 64px 24px; }
.cta .box h2 { color: #fff; }
.cta .box p { color: #c3dad6; }
.cta .box .btn-primary { background: var(--spark); border-color: var(--spark); color: var(--spark-ink); }
.cta .box .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta .box .btn-ghost:hover { background: rgba(255,255,255,.1); }
.cta p { color: var(--muted); max-width: 640px; margin: 0 auto 8px; font-size: 1.1rem; }
.cta .actions { justify-content: center; }

/* Forms */
form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
label { font-weight: 600; font-size: .9rem; color: var(--ink); }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; }

/* Legal pages */
.legal { overflow-wrap: anywhere; hyphens: auto; max-width: 820px; padding-top: 56px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { margin-top: 1.5em; }
.ph { background: var(--warn-bg); color: var(--warn-text); padding: 0 4px; border-radius: 3px; }
.notice { background: var(--warn-bg); color: var(--warn-text); border-radius: 12px; padding: 14px 18px; margin: 16px 0 32px; font-size: .95rem; }

/* Footer */
.site-footer { background: #0a2f31; color: #c3dad6; padding: 56px 0 32px; font-size: .9rem; border-top: 4px solid var(--spark); }
.site-footer .logo { color: #fff; }
.site-footer .muted { color: #a9c7c2; }
.site-footer .ph { background: rgba(227,154,45,.25); color: #fde3b8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-grid > div:first-child { grid-column: 1 / -1; } .site-footer a { overflow-wrap: anywhere; } }
.site-footer h4 { margin: 0 0 10px; font-size: .9rem; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #c3dad6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--spark); }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); color: #a9c7c2; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.plan .price.text { font-size: 1.6rem; padding: 6px 0 4px; }
