:root {
    --bg: #f3f4f6;
    --ink: #111827;
    --muted: #4b5563;
    --accent: #0f766e;
    --accent-2: #115e59;
    --card: #ffffff;
    --shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    --radius: 14px;
    font-family: 'Public Sans', 'Helvetica Neue', sans-serif;
    color: var(--ink);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 12px;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 48px;
    width: auto;
}

.brand-kicker {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-title {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
}

.pill-link {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 28, 27, 0.12);
    background: #fff;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.2s ease;
}

.pill-link:hover {
    border-color: rgba(0, 182, 155, 0.4);
    color: var(--accent);
}

.hero {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 32px;
    margin: 36px 0 48px;
    padding: 28px;
    background: #fff;
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.hero-subtitle {
    margin: 0 0 18px;
    font-size: 17px;
    color: var(--muted);
    max-width: 620px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 18px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

.btn.ghost {
    background: #fff;
    border-color: #e5e7eb;
    color: var(--ink);
}

.btn.ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn.outline {
    background: transparent;
    border: 1.5px solid #e5e7eb;
    color: var(--ink);
}

.btn.outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 6px;
}

.highlight {
    padding: 12px 14px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.highlight-title {
    margin: 0 0 4px;
    font-weight: 700;
    font-size: 15px;
}

.highlight-text {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #fff;
    color: var(--ink);
    padding: 22px;
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    max-width: 420px;
}

.card-kicker {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.card-title {
    margin: 8px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.card-body {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 15px;
}

.card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    padding: 8px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: var(--ink);
    font-size: 12px;
    border: 1px solid #e5e7eb;
}

.section {
    margin: 44px 0;
}

.section-head h2 {
    margin: 6px 0 8px;
    font-size: 28px;
    line-height: 1.25;
}

.section-lead {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
    justify-self: anchor-center;
}

.eyebrow {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.grid.two {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tile, .news-card, .solution-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.tile-kicker {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.tile-title {
    margin: 6px 0 6px;
    font-size: 20px;
}

.tile-body {
    margin: 0 0 10px;
    color: var(--muted);
}

.tile-link {
    font-weight: 600;
    color: var(--accent);
}

.news-card .news-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(0, 182, 155, 0.15);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.news-source {
    margin: 0;
    font-weight: 700;
}

.news-meta {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.news-title {
    margin: 10px 0 6px;
    font-size: 19px;
    font-weight: 700;
}

.news-body {
    margin: 0 0 10px;
    color: var(--muted);
}

.news-link {
    font-weight: 600;
    color: var(--accent);
}

.news-loading,
.news-error,
.news-empty {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.news-error {
    color: #b91c1c;
}

.news-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.news-modal[open],
.news-modal[style*="display: flex"] {
    display: flex;
}

.news-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.news-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16);
    max-width: 720px;
    width: 92%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.news-modal__content {
    padding: 20px 22px 18px;
    overflow-y: auto;
}

.news-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.news-modal__source {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.news-modal__title {
    margin: 6px 0 8px;
    font-size: 22px;
    line-height: 1.3;
}

.news-modal__summary {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 16px;
}

.news-modal__body p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.6;
}

.news-modal__link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
    color: var(--accent);
}

.news-modal__status {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.partners .partner-card {
    text-align: center;
    padding: 16px;
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.partner-title {
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--ink);
}

.partner-link {
    font-weight: 600;
    color: var(--accent);
}

.chat-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    padding: 0;
    cursor: pointer;
    z-index: 120;
}

.chat-fab img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chat-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 130;
}

.chat-modal[open],
.chat-modal[style*="display: flex"] {
    display: flex;
}

.chat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.chat-modal__dialog {
    position: relative;
    /* width: min(420px, 92vw); */
    width: min(92vw, 92vw);
    max-height: 80vh;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.18);
    display: flex;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
}

.chat-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.chat-modal__header {
    padding: 16px 16px 8px;
    border-bottom: 1px solid #e5e7eb;
}

.chat-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.chat-modal__subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.chat-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    background: #f9fafb;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-empty {
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    padding: 12px;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-bubble.user {
    align-self: flex-end;
    background: #e0f2f1;
    color: var(--ink);
}

.chat-bubble.assistant {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: var(--ink);
}

.chat-bubble.thinking {
    font-style: italic;
    color: var(--muted);
}

.chat-modal__input {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.chat-modal__input input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    font-family: inherit;
}

.chat-modal__input button {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.solutions .solution-card {
    background: #fff;
    color: var(--ink);
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.solution-body {
    position: relative;
    z-index: 1;
}

.solution-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
}

.solution-text {
    margin: 0 0 10px;
    color: var(--muted);
}

.solutions .btn {
    padding: 9px 14px;
    font-size: 14px;
}

.explore {
    text-align: center;
    padding: 32px;
    background: #fff;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid #e5e7eb;
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .top-nav {
       position: sticky;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 24px 16px 64px;
    }

    .hero {
        padding: 20px;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}
:root{
  --footer-bg: #ffffff;
  --footer-border: rgba(16, 24, 40, 0.10);
  --footer-text: rgba(16, 24, 40, 0.80);
  --footer-muted: rgba(16, 24, 40, 0.60);
  --footer-title: rgba(16, 24, 40, 0.92);
  --footer-link: rgba(16, 24, 40, 0.80);
  --footer-link-hover: rgba(16, 24, 40, 1);
  --footer-max: 1200px;
}

.site-footer{
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer-inner{
  max-width: var(--footer-max);
  margin: 0 auto;
  padding: 28px 18px 14px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.75fr;
  gap: 44px;
  align-items: start;
}

.footer-logo{
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline{
  margin: 0;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.6;
  max-width: 420px;
}

.footer-title{
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--footer-title);
  font-weight: 800;
}

.footer-text{
  margin: 0 0 10px;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.6;
}

.muted{ color: var(--footer-muted); font-weight: 500; }

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-list li{
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: start;
}

.footer-list .label{
  font-size: 13px;
  color: var(--footer-muted);
  font-weight: 700;
}

.footer-list .value{
  font-size: 14px;
  color: var(--footer-text);
  line-height: 1.6;
}

.footer-nav{
  display: grid;
  gap: 10px;
}

.footer-link{
  color: var(--footer-link);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.footer-link:hover{
  color: var(--footer-link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom{
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--footer-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.copyright{
  color: var(--footer-muted);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr; gap: 22px; }
  .footer-list li{ grid-template-columns: 90px 1fr; }
}

@media (max-width: 480px){
  .footer-list li{ grid-template-columns: 1fr; gap: 4px; }
  .footer-list .label{ font-size: 12px; }
}
