/* ==========================================================================
   Public website, design v2.
   Same palette as the app (teal #0d9488, navy #0f172a, orange #f97316 kept for
   rare accents), flat surfaces, hairline borders, one radius scale.
   ========================================================================== */
:root {
    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --line: #e2e8f0;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --brand: #0d9488;
    --brand-dark: #0f766e;
    --brand-soft: #f0fdfa;
    --r-s: 8px; --r-m: 12px; --r-l: 16px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: var(--font);
}
body { font-family: var(--font); color: var(--ink-2); background: var(--surface); -webkit-font-smoothing: antialiased; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.02em; }

/* ---- Buttons ---- */
.site-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.site-btn-lg { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.site-btn-block { width: 100%; }
.site-btn-solid { background: var(--brand); color: #fff; }
.site-btn-solid:hover { background: var(--brand-dark); }
.site-btn-quiet { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.site-btn-quiet:hover { border-color: var(--brand); color: var(--brand-dark); }
.site-btn-light { background: #fff; color: var(--brand-dark); }
.site-btn-light:hover { background: var(--brand-soft); }
.site-link { color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; padding: 0 8px; }
.site-link:hover { color: var(--brand-dark); }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.site-logo b { color: var(--brand); font-weight: 800; }
.site-logo-light { color: #fff; }
.site-logo-light b { color: #2dd4bf; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.site-nav > a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav > a:hover, .site-nav > a.is-active { color: var(--brand-dark); background: var(--brand-soft); }
.site-actions { display: flex; align-items: center; gap: 8px; }
.site-actions-mobile { display: none; }
.site-menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 4px; margin-left: auto; }
.site-menu span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 900px) {
    .site-header-inner { gap: 12px; }
    .site-menu { display: flex; }
    .site-actions-desktop { display: none; }
    .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,23,42,.08); }
    .site-nav.is-open { display: flex; }
    .site-nav > a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--surface-2); }
    .site-actions-mobile { display: flex; padding-top: 14px; }
    .site-actions-mobile .site-btn { flex: 1; }
}

/* ---- Hero ---- */
.pub-hero { padding: 84px 0 96px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pub-kicker { font-size: 14px; font-weight: 600; color: var(--brand-dark); margin-bottom: 18px; }
.pub-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 22px; max-width: 14em; }
.pub-lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }
.pub-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pub-facts { display: flex; gap: 8px 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-3); }
.pub-facts li { position: relative; padding-left: 20px; }
.pub-facts li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* Delivery board */
.pub-board { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 24px 48px -24px rgba(15,23,42,.22); overflow: hidden; }
.pub-board-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.pub-board-head strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.pub-board-head span { font-size: 13px; color: var(--ink-3); }
.pub-board-head em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pub-board-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.pub-board-stats div { padding: 16px 22px; }
.pub-board-stats div + div { border-left: 1px solid var(--line); }
.pub-board-stats b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pub-board-stats span { font-size: 13px; color: var(--ink-3); }
.pub-board-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pub-board-table td { padding: 12px 22px; border-bottom: 1px solid var(--surface-2); color: var(--ink-2); }
.pub-board-table tr:last-child td { border-bottom: 0; }
.pub-board-table .t { color: var(--ink-3); font-variant-numeric: tabular-nums; width: 1%; white-space: nowrap; }
.pub-board-table .p { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.pub-board-table .s { text-align: right; }
.pub-state { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pub-state.delivered { background: #ecfdf5; color: #047857; }
.pub-state.sent { background: #eff6ff; color: #1d4ed8; }
.pub-state.failed { background: #fef2f2; color: #b91c1c; }
@media (max-width: 900px) { .pub-hero { padding: 48px 0 56px; } .pub-hero-grid { grid-template-columns: 1fr; gap: 40px; } .pub-board-table .t { display: none; } }

/* ---- Sections ---- */
.pub-section { padding: 88px 0; }
.pub-section-tint { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pub-head { max-width: 640px; margin-bottom: 44px; }
.pub-head h2, .pub-dev-grid h2, .pub-contact-grid h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.15; font-weight: 800; margin-bottom: 12px; }
.pub-head p { font-size: 17px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 700px) { .pub-section { padding: 56px 0; } }

.pub-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--line); gap: 1px; }
.pub-feature { display: flex; gap: 16px; padding: 28px; background: #fff; }
.pub-feature-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.pub-feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.pub-feature p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 980px) { .pub-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pub-features { grid-template-columns: 1fr; } .pub-feature { padding: 22px; } }

.pub-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.pub-steps li span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: 16px; }
.pub-steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.pub-steps p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 760px) { .pub-steps { grid-template-columns: 1fr; gap: 24px; } }

/* Pricing */
.pub-note { margin-top: 24px; font-size: 14px; color: var(--ink-3); }

/* Developers */
.pub-section-dark { background: var(--ink); color: #cbd5e1; }
.pub-section-dark h2 { color: #fff; }
.pub-dev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.pub-dev-grid p { font-size: 17px; line-height: 1.65; margin-bottom: 20px; }
.pub-check { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 15px; }
.pub-check li { position: relative; padding-left: 26px; }
.pub-check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: rgba(20,184,166,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pub-code { margin: 0; padding: 24px; background: #0b1324; border: 1px solid #1e293b; border-radius: var(--r-l); overflow-x: auto; font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.75; color: #e2e8f0; }
.pub-code .c { color: #64748b; }
@media (max-width: 900px) { .pub-dev-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Use cases */
.pub-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.pub-case { padding: 22px 0; border-top: 1px solid var(--line); }
.pub-case h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.pub-case p { font-size: 15px; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 900px) { .pub-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pub-cases { grid-template-columns: 1fr; } }

/* Contact */
.pub-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.pub-contact-grid > div > p { font-size: 17px; line-height: 1.6; color: var(--ink-3); margin-bottom: 28px; }
.pub-contact-list { display: grid; gap: 16px; }
.pub-contact-list dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.pub-contact-list dd { font-size: 16px; color: var(--ink); margin: 2px 0 0; }
.pub-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; position: relative; }
.pub-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.pub-form input:not([type=hidden]), .pub-form select, .pub-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: #fff; }
.pub-form input:focus, .pub-form select:focus, .pub-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }
.pub-form textarea { resize: vertical; }
.pub-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pub-form-error { padding: 10px 14px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 14px; }
@media (max-width: 900px) { .pub-contact-grid { grid-template-columns: 1fr; gap: 32px; } .pub-form-row { grid-template-columns: 1fr; } }

/* Closing band */
.pub-closing { padding: 72px 0; background: var(--brand); text-align: center; color: #ccfbf1; }
.pub-closing h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 10px; }
.pub-closing p { font-size: 17px; margin-bottom: 28px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #94a3b8; padding: 56px 0 28px; }
.site-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1e293b; }
.site-footer-brand p { margin-top: 14px; max-width: 30em; font-size: 14.5px; line-height: 1.65; }
.site-footer h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #94a3b8; text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.site-footer .site-logo { font-size: 20px; }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }
@media (max-width: 800px) { .site-footer-grid { grid-template-columns: 1fr 1fr; } .site-footer-brand { grid-column: 1 / -1; } }

/* ---- Inner public pages (about, contact, faq, docs, content) pick up the same rhythm ---- */
.page-header { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 56px 0 44px; text-align: left; }
.page-header h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.page-header p { font-size: 17px; color: var(--ink-3); max-width: 40em; }
.page-header .container { max-width: 1160px; }

/* ---- Sign in / sign up ---- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 5fr) minmax(0, 6fr); background: #fff; }
.auth-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 48px 56px; background: var(--brand-dark); color: #ccfbf1; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.auth-brand b { color: #5eead4; }
.auth-copy h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.15; font-weight: 800; color: #fff; margin-bottom: 14px; max-width: 12em; }
.auth-copy p { font-size: 17px; line-height: 1.6; max-width: 26em; margin-bottom: 28px; color: #ccfbf1; }
.auth-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth-copy li { position: relative; padding-left: 30px; font-size: 15.5px; color: #f0fdfa; }
.auth-copy li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.auth-side-foot { font-size: 13px; color: #99f6e4; }
.auth-form-side { display: flex; flex-direction: column; justify-content: center; position: relative; padding: 48px 56px; background: #fff; }
.auth-form-wrap { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-form-wrap h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.auth-form-wrap .subtitle { color: var(--ink-3); font-size: 15px; margin-bottom: 28px; }
.auth-form-wrap .form-group input { height: 46px; border-radius: 10px; }
.auth-back { color: var(--ink-3); }
.auth-back:hover { color: var(--brand-dark); }
@media (max-width: 900px) { .auth-page { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-form-side { padding: 32px 24px; min-height: 100vh; } }
.auth-side::before, .auth-side::after { display: none !important; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-copy h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.about-copy h2:not(:first-child) { margin-top: 36px; }
.about-copy p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin-bottom: 16px; max-width: 42em; }
.about-side { border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; background: var(--surface-2); }
.about-side h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.about-side p { font-size: 15px; color: var(--ink-3); line-height: 1.6; margin-bottom: 18px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.page-header p { margin-left: 0; margin-right: 0; }
.page-header .breadcrumb { display: none; }
.pub-hero-copy { min-width: 0; }

/* ==========================================================================
   Landing page, hero with phone
   ========================================================================== */
.pub-hero { padding: 64px 0 64px; background: #fff; border-bottom: 0; overflow: hidden; }
.pub-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; }
.pub-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 22px; }
.pub-live { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(13,148,136,.45); animation: pubPulse 2.4s ease-out infinite; }
@keyframes pubPulse { 70% { box-shadow: 0 0 0 8px rgba(13,148,136,0); } 100% { box-shadow: 0 0 0 0 rgba(13,148,136,0); } }
.pub-hero h1 { font-size: clamp(2.5rem, 4.9vw, 4rem); line-height: 1.03; letter-spacing: -0.04em; max-width: 12.5em; }
.pub-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 36px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.pub-stats div { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line); }
.pub-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.pub-stats dt { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.pub-stats dd { font-size: 13.5px; color: var(--ink-3); margin: 4px 0 0; max-width: 11em; }

/* Stage: a soft panel behind the phone, floating status cards on top of it */
.pub-stage { position: relative; display: flex; justify-content: center; padding: 40px 0 34px; }
.pub-stage::before { content: ""; position: absolute; inset: 0 8% 0; border-radius: 32px; background: var(--brand-soft); border: 1px solid #ccfbf1; }
.pub-phone { position: relative; width: 292px; padding: 10px; border-radius: 42px; background: var(--ink); box-shadow: 0 30px 50px -24px rgba(15,23,42,.45); }
.pub-phone-notch { position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 2; }
.pub-phone-screen { height: 500px; border-radius: 34px; background: #f8fafc; overflow: hidden; display: flex; flex-direction: column; }
.pub-phone-bar { display: flex; justify-content: space-between; align-items: baseline; padding: 40px 18px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.pub-phone-bar b { font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.pub-phone-bar span { font-size: 12px; color: var(--ink-3); }
.pub-chat { display: flex; flex-direction: column; gap: 12px; padding: 18px 14px; }
.pub-msg { max-width: 86%; padding: 10px 13px 6px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; color: var(--ink); background: #fff; border: 1px solid var(--line); opacity: 0; transform: translateY(10px); animation: pubIn .5s ease forwards; animation-delay: var(--d, 0s); }
.pub-msg.in { align-self: flex-start; border-bottom-left-radius: 5px; }
.pub-msg.out { align-self: flex-end; background: var(--brand); border-color: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.pub-msg small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--brand-dark); margin-bottom: 2px; }
.pub-msg em { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 4px; font-style: normal; font-size: 10.5px; opacity: .65; }
.tick { display: inline-block; width: 16px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5.5l3 3L10 1.5M6 8.5l.6.6L13 1.5'/%3E%3C/svg%3E") center / contain no-repeat; animation: pubTick .3s ease forwards; animation-delay: calc(var(--d, 0s) + 1s); }
@keyframes pubIn { to { opacity: 1; transform: none; } }
@keyframes pubTick { to { filter: hue-rotate(0deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%230d9488' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5.5l3 3L10 1.5M6 8.5l.6.6L13 1.5'/%3E%3C/svg%3E"); } }

.pub-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 32px -16px rgba(15,23,42,.28); opacity: 0; transform: translateY(10px); animation: pubIn .5s ease forwards; animation-delay: var(--d, 0s); }
.pub-float strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.pub-float small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.pub-float-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: 0 0 10px; }
.pub-float-dot.ok { background: var(--brand); box-shadow: 0 0 0 4px rgba(13,148,136,.16); }
.pub-float-a { left: -56px; top: 24%; }
.pub-float-b { right: -56px; bottom: 16%; }
.pub-stage-note { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 12px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .pub-msg, .pub-float { opacity: 1; transform: none; animation: none; } .tick { animation: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%230d9488' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5.5l3 3L10 1.5M6 8.5l.6.6L13 1.5'/%3E%3C/svg%3E"); } .pub-live { animation: none; } }
@media (max-width: 900px) {
    .pub-hero { padding: 40px 0 56px; }
    .pub-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .pub-stats { grid-template-columns: repeat(3, 1fr); }
    .pub-stats div { padding-right: 12px; margin-right: 12px; }
    .pub-float-a { left: 0; } .pub-float-b { right: 0; }
}
@media (max-width: 520px) { .pub-stats { grid-template-columns: 1fr; gap: 14px; } .pub-stats div { border-right: 0; margin: 0; padding: 0; } .pub-float-a { top: 6%; } }

/* ---- Networks row ---- */
.pub-networks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pub-networks-row { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.pub-networks-row > span { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.pub-networks ul { display: flex; gap: 10px 14px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.pub-networks li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pub-networks li i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---- Centered section headers and card grid ---- */
.pub-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.pub-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border: 0; background: none; overflow: visible; }
.pub-card { display: block; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); transition: border-color .2s; }
.pub-card:hover { border-color: var(--brand); }
.pub-card-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.pub-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pub-card p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 980px) { .pub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pub-cards { grid-template-columns: 1fr; } }

/* ---- Steps with a connecting line ---- */
.pub-steps { position: relative; text-align: center; }
.pub-steps::before { content: ""; position: absolute; top: 18px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #99f6e4 0 8px, transparent 8px 16px); }
.pub-steps li { position: relative; }
.pub-steps li span { margin-left: auto; margin-right: auto; box-shadow: 0 0 0 8px var(--surface-2); }
.pub-steps p { max-width: 20em; margin: 0 auto; }
@media (max-width: 760px) { .pub-steps { text-align: left; } .pub-steps::before { display: none; } .pub-steps li span { margin-left: 0; box-shadow: none; } .pub-steps p { margin: 0; } }

/* ---- Use cases as icon cards ---- */
.pub-cases { gap: 16px; }
.pub-case { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; }
.pub-case-icon { flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.pub-case h3 { margin-top: 2px; }

/* ---- Networks logos ---- */
.pub-networks-row { flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-top: 34px; padding-bottom: 34px; text-align: center; }
.pub-networks-row > span { max-width: none; font-size: 15px; }
.pub-networks-row img { height: 84px; width: auto; max-width: 100%; display: block; }
@media (max-width: 700px) { .pub-networks-row img { height: auto; width: 100%; max-width: 380px; } }

/* ---- Photo section ---- */
.pub-photo-section { padding: 24px 0 88px; }
.pub-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--ink); }
.pub-photo img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: 50% 42%; }
.pub-photo-bubble { position: absolute; left: 32px; bottom: 56px; max-width: 300px; padding: 12px 16px 10px; background: #fff; border-radius: 16px 16px 16px 4px; box-shadow: 0 18px 36px -14px rgba(15,23,42,.45); font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.pub-photo-bubble small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--brand-dark); margin-bottom: 2px; }
.pub-photo-bubble em { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.pub-photo figcaption { position: absolute; right: 16px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(15,23,42,.55); font-size: 11.5px; color: #e2e8f0; }
.pub-photo figcaption a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) {
    .pub-photo-section { padding-bottom: 56px; }
    .pub-photo { border-radius: 16px; background: #fff; border: 1px solid var(--line); }
    .pub-photo img { height: 300px; object-position: 50% 30%; }
    .pub-photo-bubble { position: static; max-width: none; border-radius: 0; box-shadow: none; padding: 14px 18px; font-size: 14px; }
    .pub-photo figcaption { position: static; display: block; background: var(--surface-2); color: var(--ink-3); border-radius: 0; padding: 8px 18px; }
    .pub-photo figcaption a { color: var(--ink-2); }
}
.pub-networks { padding: 0; }

/* Nuntio logo image (icon + wordmark) */
.logo-img { display: block; height: 34px; width: auto; }
.site-footer .logo-img { height: 32px; }
.auth-brand .logo-img, .logo .logo-img { height: 36px; }
