/* Avahub public website. Generated pages use only these classes. */
@font-face {
  font-family: "Figtree";
  src: url("/site-assets/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #1a2033;
  --navy: #26335f;
  --deep: #1b2547;
  --muted: #4e566b;
  --soft: #c3cde0;
  --line: #e3e6ec;
  --paper: #f9f9f7;
  --white: #ffffff;
  --sky: #e6f0fa;
  --blue: #1b4f80;
  --link: #2c6aa6;
  --light: #74a9d8;
  --radius: 16px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3, h4 { margin: 0; color: var(--navy); letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(249, 249, 247, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--sky); }
.nav .btn { margin-left: 8px; padding: 10px 16px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--navy); }
.nav a.btn-primary:hover { background: var(--ink); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; color: var(--navy); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 24px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.tone-white { background: var(--white); }
.tone-light { background: var(--paper); }
.tone-dark { background: var(--deep); color: #fff; }
.tone-navy { background: var(--navy); color: #fff; }
.tone-dark h1, .tone-dark h2, .tone-dark h3, .tone-navy h1, .tone-navy h2, .tone-navy h3 { color: #fff; }
.tone-dark .lead, .tone-navy .lead, .tone-dark .muted, .tone-navy .muted { color: var(--soft); }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 14px; }
.tone-dark .eyebrow, .tone-navy .eyebrow { color: var(--light); }
.section-head { max-width: 720px; margin-bottom: 44px; }
h2.title { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin-top: 16px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tone-white .card { background: var(--paper); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; color: var(--blue); background: var(--sky); padding: 5px 11px; border-radius: 999px; }
.prose { font-size: 17px; color: var(--muted); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose strong { color: var(--ink); }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--light); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.tone-dark .prose, .tone-navy .prose { color: var(--soft); }

/* hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; gap: 56px; align-items: center; grid-template-columns: 1.15fr 1fr; }
.hero-grid.single { grid-template-columns: 1fr; max-width: 860px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
.hero .lead { max-width: 52ch; margin: 24px 0 32px; font-size: clamp(18px, 1.8vw, 20px); }
.hero .chips { margin-bottom: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero-media img { border-radius: 20px; border: 1px solid var(--line); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* assistant demo */
.assistant { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(27, 37, 71, .25); overflow: hidden; }
.assistant-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.assistant-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #34c38f; box-shadow: 0 0 0 4px rgba(52, 195, 143, .15); }
.assistant-head strong { color: var(--navy); font-size: 15px; }
.assistant-head span { color: var(--muted); font-size: 13px; margin-left: auto; }
.assistant-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; }
.msg.user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg.assistant { align-self: flex-start; background: var(--sky); color: var(--ink); border-bottom-left-radius: 4px; }
.msg ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.msg li { display: flex; justify-content: space-between; gap: 12px; background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 13.5px; }
.msg li span { color: var(--blue); font-weight: 600; font-size: 12px; }
.assistant-input { margin: 0 18px 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; color: #9aa1b2; font-size: 14px; }

/* steps */
.step-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.flow { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.flow-item { background: var(--navy); color: #fff; border-radius: 12px; padding: 16px; position: relative; }
.flow-item:nth-child(even) { background: var(--deep); }
.flow-item .n { font-size: 12px; color: var(--light); font-weight: 700; }
.flow-item strong { display: block; font-size: 17px; margin: 2px 0 4px; }
.flow-item p { font-size: 13.5px; color: var(--soft); }

/* products */
.product { display: flex; flex-direction: column; }
.product .audience { font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.product h3 { font-size: 24px; }
.product .chips { margin: 18px 0 22px; }
.product .more { margin-top: auto; font-weight: 600; color: var(--navy); text-decoration: none; }
.product .more:hover { text-decoration: underline; }

/* dark band */
.band-grid { display: grid; gap: 48px; grid-template-columns: 1.1fr 1fr; align-items: start; }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%231b2547' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.quotes-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--light); margin-bottom: 14px; }
.quotes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.quote { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; color: #e8ecf5; }
.note { margin-top: 20px; background: #fff; color: var(--ink); border-radius: 14px; padding: 18px 20px; }
.note strong { color: var(--navy); }
.note .badge { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; color: #0f7a52; background: #dcf5ea; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.note p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* story */
.story-grid { display: grid; gap: 56px; grid-template-columns: 1.2fr 1fr; align-items: start; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.highlights { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.highlight { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--paper); }
.highlight strong { display: block; color: var(--navy); }
.highlight span { color: var(--muted); font-size: 14px; }

/* checklist */
.checklist h2 { font-size: 22px; margin-bottom: 24px; }
.checks { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.check strong { display: flex; gap: 8px; align-items: center; color: var(--navy); }
.check strong::before { content: "✓"; color: #0f7a52; font-weight: 800; }
.check p { color: var(--muted); font-size: 14.5px; margin-top: 4px; padding-left: 20px; }
.section.checklist { padding: 56px 0; }

/* before / after */
.ba { display: grid; gap: 24px; grid-template-columns: 1fr auto 1fr; align-items: center; }
@media (max-width: 820px) { .ba { grid-template-columns: 1fr; } .ba-arrow { transform: rotate(90deg); justify-self: center; } }
.ba-col { border-radius: var(--radius); padding: 24px; }
.ba-before { background: var(--paper); border: 1px dashed var(--soft); }
.ba-before code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; color: var(--muted); padding: 8px 10px; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.ba-before code + code { margin-top: 8px; }
.ba-after { background: var(--deep); color: #fff; }
.ba-after strong { display: block; font-size: 20px; margin: 4px 0 12px; }
.ba-after li { color: var(--soft); font-size: 15px; }
.ba-after ul { padding-left: 1.1em; margin: 0; }
.ba-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 12px; }
.ba-after .ba-label { color: var(--light); }
.ba-arrow { font-size: 28px; color: var(--light); }

/* image + text */
.split { display: grid; gap: 56px; grid-template-columns: 1fr 1fr; align-items: center; }
.split.img-left .split-media { order: -1; }
.split-media img { border-radius: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.img-left .split-media { order: 0; } }
.split .actions { margin-top: 28px; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--light); }
.faq details[open] summary::after { content: "–"; }
.faq .prose { margin-top: 10px; font-size: 16px; }

/* contact form */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 13px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px var(--sky); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .small { font-size: 13px; color: var(--muted); font-weight: 400; }
.aside { background: var(--sky); border-radius: var(--radius); padding: 28px; }
.aside h3 { margin-bottom: 10px; }
.aside .prose { font-size: 15.5px; }

/* posts */
.posts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -20px rgba(27, 37, 71, .3); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .body { padding: 22px; display: grid; gap: 8px; }
.post-card time { font-size: 13px; color: var(--muted); }
.post-card h3 { font-size: 19px; }
.post-card p { color: var(--muted); font-size: 15px; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 10px 0 18px; }
.article .meta { color: var(--muted); font-size: 14px; }
.article .cover { margin: 32px 0; border-radius: 20px; width: 100%; }
.back { display: inline-block; margin-bottom: 16px; color: var(--muted); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--navy); }

/* cta */
.cta { text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); max-width: 22ch; margin: 0 auto; }
.cta .lead { max-width: 56ch; margin: 16px auto 0; }
.cta .actions { justify-content: center; margin-top: 30px; }
.cta .cta-note { margin-top: 18px; color: var(--soft); font-size: 15px; }
.cta .cta-note a { color: #fff; }

/* footer */
.site-footer { background: var(--deep); color: var(--soft); padding: 56px 0 40px; font-size: 14.5px; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.6fr repeat(2, 1fr); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* simple pages */
.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.notice { max-width: 640px; margin: 0 auto; text-align: center; padding: 120px 0; }
.notice h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 14px; }
.notice .actions { justify-content: center; margin-top: 28px; }
