/* Marketing website — standalone stylesheet (no build step, no framework).
   Brand colours come from admin Branding as --brand / --brand-2 (set inline in <head>). */

:root {
    --brand: #3346d3;
    --brand-2: #7c3aed;
    --ink: #121530;
    --text: #3d4260;
    --muted: #686d8c;
    --line: #e3e5f0;
    --mist: #f5f6fb;
    --paper: #ffffff;
    --ok: #0f7b4f;
    --warn: #9a5b00;
    --radius-s: 6px;
    --radius: 10px;
    --radius-l: 18px;
    --wrap: 1160px;
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.022em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code, pre { font-family: var(--mono); font-size: .9em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--mist { background: var(--mist); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #c9cce0; }
.section--ink h2, .section--ink h3 { color: #fff; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { font-size: 1.1rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px;
    font: 600 .98rem/1.1 var(--font); text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--brand) 85%, black); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eef0fb; }
.btn--sm { min-height: 38px; padding: .5rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; flex-shrink: 0; }
.brand img { height: 34px; width: auto; max-width: 200px; object-fit: contain; }
.brand__mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.brand__mark svg { width: 18px; height: 18px; }
.brand__name { font-size: 1.02rem; line-height: 1.15; max-width: 15rem; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav > a, .nav summary { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .5rem .75rem; border-radius: 8px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover, .nav details[open] summary { background: var(--mist); }
.nav > a[aria-current="page"] { color: var(--brand); }
.nav details { position: relative; }
.nav summary::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.menu { position: absolute; top: calc(100% + 8px); left: -1rem; width: 560px; padding: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(18,21,48,.35); display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.menu a { display: block; padding: .55rem .7rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500; }
.menu a span { display: block; color: var(--muted); font-weight: 400; font-size: .84rem; line-height: 1.35; margin-top: .1rem; }
.menu a:hover { background: var(--mist); }
.menu__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .login { color: var(--ink); font-weight: 500; text-decoration: none; padding: .5rem .75rem; }
.mobile-nav { display: none; margin-left: auto; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: .5rem; border-radius: 8px; color: var(--ink); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem; max-height: calc(100dvh - 68px); overflow-y: auto; box-shadow: 0 20px 30px -20px rgba(18,21,48,.35); }
.mobile-nav__panel a { display: block; padding: .6rem 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav__panel .btn { margin-top: 1rem; width: 100%; border-bottom: 0; color: #fff; }
.mobile-nav__panel .btn--ghost { color: var(--ink); }

@media (max-width: 980px) {
    .nav, .header-actions { display: none; }
    .mobile-nav { display: block; }
    .site-header__bar { position: relative; }
}

/* Breadcrumbs */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 5%, white), #fff); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: 1rem; }

/* Home hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 7vw, 5.5rem); }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-2) 14%, transparent), transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin: 1.25rem 0 2rem; }
.hero__note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* Hero stage: a website page and the chat answering from it */
.stage { position: relative; padding: 0 0 6.5rem 0; margin: 0; }
.stage__page { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 30px 60px -35px rgba(18,21,48,.45); overflow: hidden; margin-right: 12%; }
.stage__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--mist); }
.stage__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d8e6; display: block; }
.stage__url { margin-left: .6rem; font-size: .76rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .15rem .7rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stage__body { padding: 1.3rem 1.4rem 1.6rem; font-size: .84rem; line-height: 1.55; }
.stage__body h4 { font-size: 1rem; margin-bottom: .6rem; }
.stage__line { height: 8px; border-radius: 4px; background: #eceef6; margin: .45rem 0; }
.stage__line.w80 { width: 80%; } .stage__line.w60 { width: 60%; } .stage__line.w90 { width: 90%; }
.stage__passage { margin: .2rem 0 1rem; padding: .6rem .75rem; border-radius: 8px; color: var(--ink); background: transparent; border: 1px dashed transparent; transition: background-color .5s, border-color .5s; }
.stage__chat { position: absolute; right: 0; bottom: 0; width: min(310px, 74%); background: #fff; border-radius: var(--radius-l); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(18,21,48,.55); overflow: hidden; font-size: .86rem; }
.stage__chat-head { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: var(--brand); color: #fff; font-weight: 600; }
.stage__chat-head i { width: 8px; height: 8px; border-radius: 50%; background: #7ef0b4; display: block; }
.stage__msgs { padding: .9rem; display: flex; flex-direction: column; gap: .55rem; min-height: 210px; background: #fafbfe; }
.msg { max-width: 88%; padding: .55rem .75rem; border-radius: 14px; line-height: 1.45; }
.msg--user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.msg__src { display: flex; width: fit-content; align-items: center; gap: .3rem; margin-top: .45rem; font-size: .74rem; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, white); padding: .12rem .5rem; border-radius: 999px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: .7rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); display: block; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.stage__caption { position: absolute; left: 0; bottom: .4rem; font-size: .78rem; color: var(--muted); }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* One orchestrated load sequence (skipped with reduced motion) */
@media (prefers-reduced-motion: no-preference) {
    .js .stage .q, .js .stage .typing, .js .stage .a { opacity: 0; transform: translateY(6px); }
    .js .stage.play .q { animation: pop .35s ease-out .5s forwards; }
    .js .stage.play .typing { animation: pop .25s ease-out 1.1s forwards, hide .01s linear 2.4s forwards; }
    .js .stage.play .a { animation: pop .4s ease-out 2.45s forwards; }
    .js .stage.play .stage__passage { animation: mark .6s ease-out 2.6s forwards; }
}
.stage__passage.is-marked, .no-js .stage__passage { background: color-mix(in srgb, var(--brand) 8%, white); border-color: color-mix(in srgb, var(--brand) 45%, white); }
@media (prefers-reduced-motion: reduce) { .stage__passage { background: color-mix(in srgb, var(--brand) 8%, white); border-color: color-mix(in srgb, var(--brand) 45%, white); } .typing { display: none; } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes hide { to { opacity: 0; height: 0; padding: 0; margin: -0.55rem 0 0; border: 0; } }
@keyframes mark { to { background: color-mix(in srgb, var(--brand) 8%, white); border-color: color-mix(in srgb, var(--brand) 45%, white); } }
@media (max-width: 560px) { .stage__page { margin-right: 0; } .stage__chat { position: relative; width: 100%; margin-top: -2rem; } .stage { padding-bottom: 2rem; } }

/* Platform strip */
.platforms { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.platforms strong { color: var(--ink); font-weight: 600; }

/* Problem / solution */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; }
.problem-list li:first-child { border-top: 1px solid var(--line); }
.problem-list svg { width: 20px; height: 20px; margin-top: .2rem; color: #b4405a; }
.solution-list svg { color: var(--ok); }

/* Feature index (not identical cards: a list with icon column) */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid > a { display: block; padding: 1.6rem 1.5rem 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); background: #fff; transition: background-color .15s; }
.feature-grid > a:hover { background: var(--mist); }
.feature-grid h3 { margin: .85rem 0 .4rem; font-size: 1.08rem; }
.feature-grid p { margin: 0; font-size: .95rem; }
.icon-tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, white); }
.icon-tile svg { width: 21px; height: 21px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Steps (a real sequence → numbered) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 2rem 4rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand); color: var(--brand); font-weight: 700; }
.steps li::after { content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.6rem; bottom: .2rem; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .25rem; padding-top: .35rem; }
.steps p { margin: 0; }
.steps--compact { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem 2rem; }
.steps--compact li { padding: 3.3rem 0 0; }
.steps--compact li::after { display: none; }
.feature-grid > a.feature-grid__more { background: var(--ink); color: #c9cce0; }
.feature-grid > a.feature-grid__more:hover { background: color-mix(in srgb, var(--ink) 88%, var(--brand)); }
.feature-grid__more h3 { color: #fff; }
.feature-grid__more .icon-tile { background: rgba(255,255,255,.1); color: #fff; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.shots figure { margin: 0; }
.shots img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(18,21,48,.5); width: 100%; }
.shots figcaption { margin-top: .7rem; font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* Use-case links */
.case-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.case-list a { display: block; padding: 1.15rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; }
.case-list a:hover { border-color: var(--brand); }
.case-list strong { display: block; color: var(--ink); margin-bottom: .25rem; }
.case-list span { font-size: .92rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.8rem 1.6rem; background: #fff; }
.plan--featured { border: 2px solid var(--brand); box-shadow: 0 24px 50px -32px color-mix(in srgb, var(--brand) 70%, black); }
.plan__badge { align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, white); padding: .2rem .65rem; border-radius: 999px; margin-bottom: .8rem; }
.plan h3 { font-size: 1.3rem; margin: 0; }
.plan__price { margin: .9rem 0 .2rem; color: var(--ink); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.plan__price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__note { font-size: .86rem; color: var(--muted); margin-bottom: 1.25rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .55rem; }
.plan li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .5rem; font-size: .96rem; }
.plan li svg { width: 17px; height: 17px; margin-top: .25rem; color: var(--ok); }
.plan .btn { margin-top: auto; }
.included { margin-top: 2.5rem; padding: 1.6rem; border-radius: var(--radius-l); background: var(--mist); border: 1px solid var(--line); }
.included ul { columns: 2 260px; margin: .75rem 0 0; padding-left: 1.2em; }
.included li { margin-bottom: .35rem; break-inside: avoid; }

/* FAQ accordion (native <details>) */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; color: var(--ink); font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(currentColor, currentColor) center/12px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 12px no-repeat; transition: transform .2s; color: var(--brand); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 1.25rem; max-width: 70ch; }

/* Final CTA */
.cta { border-radius: var(--radius-l); padding: clamp(2.2rem, 5vw, 3.5rem); background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: rgba(255,255,255,.88); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .5rem; }
.cta p { margin: 0; }
.cta .btn-row { justify-content: flex-end; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.cta .btn--ghost:hover { border-color: #fff; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Article / prose */
.prose { color: var(--text); font-size: 1.06rem; line-height: 1.75; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: .3em 0 .3em 1.2em; border-left: 3px solid var(--brand); color: var(--ink); }
.prose pre { background: var(--ink); color: #e6e8f5; padding: 1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; font-size: .88rem; line-height: 1.6; }
.prose code { background: var(--mist); border: 1px solid var(--line); border-radius: 4px; padding: .05em .35em; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; }
.prose img { border-radius: var(--radius); }

/* Two-column content layout with aside */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; background: #fff; }
.box h2, .box h3 { font-size: 1rem; margin-bottom: .75rem; }
.box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.box a { text-decoration: none; }
.box a:hover { text-decoration: underline; }
.box--brand { background: var(--ink); color: #c9cce0; border-color: var(--ink); }
.box--brand h2, .box--brand h3 { color: #fff; }
@media (max-width: 900px) { .content-grid { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.facts li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .5rem; }
.facts svg { width: 18px; height: 18px; margin-top: .25rem; color: var(--ok); }

.callout { border-left: 3px solid var(--warn); background: #fff8ec; padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; color: #5d4210; }
.callout strong { color: #3f2b05; }

.examples { display: grid; gap: .85rem; }
.example { display: grid; gap: .3rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.example__q { color: var(--ink); font-weight: 600; }
.example__q::before { content: "“"; color: var(--brand); }
.example__q::after { content: "”"; color: var(--brand); }
.example__a { font-size: .95rem; color: var(--muted); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 1.5rem; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.post-card__img { aspect-ratio: 1200 / 630; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, white), color-mix(in srgb, var(--brand-2) 18%, white)); border: 1px solid var(--line); margin-bottom: .9rem; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.post-card:hover h3 { color: var(--brand); }
.post-card p { font-size: .95rem; margin-bottom: .5rem; }
.meta { font-size: .86rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { display: inline-block; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; text-decoration: none; color: var(--ink); }
.chip[aria-current="page"], .chip:hover { border-color: var(--brand); color: var(--brand); }
.pagination { display: flex; gap: .5rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .95rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .7rem .85rem; border: 1px solid #cfd2e2; border-radius: var(--radius-s); background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, white); }
.field textarea { min-height: 150px; resize: vertical; }
.field .error { color: #b4232c; font-size: .88rem; margin-top: .3rem; }
.check { display: grid; grid-template-columns: 1.3rem 1fr; gap: .5rem; font-size: .93rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); border: 1px solid; }
.alert--ok { background: #ecfaf3; border-color: #a8e3c6; color: #0b5b3a; }
.alert--err { background: #fdf0f1; border-color: #f3c1c6; color: #8c1d27; }

/* Docs */
.docs-nav a[aria-current="page"] { font-weight: 700; color: var(--ink); }
.code-block { position: relative; }

/* Footer */
.site-footer { background: var(--ink); color: #a9adc8; padding-block: 4rem 2rem; margin-top: 0; font-size: .94rem; }
.site-footer a { color: #d9dcef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
.footer-grid h2 { color: #fff; font-size: .95rem; margin-bottom: .9rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-contact { margin-top: 1rem; display: grid; gap: .3rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.socials { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Utility spacing */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.prose > :first-child, .prose .mt-0 { margin-top: 0; }
.page-hero + .section { padding-top: clamp(2.25rem, 5vw, 3.75rem); }
