/* BodhiDesk public website. Brand: deep blue #0B2A6B, school blue #1D4ED8, teal #0D9488, gold #F59E0B. */
:root {
  --deep: #0b2a6b; --blue: #1d4ed8; --blue-2: #2563eb; --teal: #0d9488; --teal-2: #14b8a6; --gold: #f59e0b; --gold-2: #fbbf24;
  --ink: #0f172a; --ink-2: #334155; --soft: #64748b; --line: #e2e8f0; --paper: #f8fafc; --white: #fff;
  --radius: 18px; --shadow: 0 24px 60px -24px rgb(11 42 107 / .35); --shadow-sm: 0 8px 24px -12px rgb(11 42 107 / .25);
  --font: "Plus Jakarta Sans", "Noto Sans Tamil", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--soft); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--deep); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Icons */
.i { width: 22px; height: 22px; flex: none; }
.i.sm { width: 17px; height: 17px; } .i.xs { width: 14px; height: 14px; } .i.xl { width: 48px; height: 48px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 999px; padding: 12px 22px; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; font: inherit; font-weight: 700; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.sm { padding: 8px 16px; font-size: .92rem; }
.btn.lg { padding: 15px 28px; font-size: 1.03rem; }
.btn.full { width: 100%; }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--deep)); color: #fff; box-shadow: 0 10px 30px -10px rgb(29 78 216 / .7); }
.btn.ghost { background: rgb(255 255 255 / .7); color: var(--deep); border-color: var(--line); }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1f1300; box-shadow: 0 10px 30px -10px rgb(245 158 11 / .8); }
.btn.ghost-light { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .3); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgb(226 232 240 / .7); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--deep); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--teal); font-weight: 700; }
.brand img { border-radius: 10px; }
.brand.light { color: #fff; } .brand.light b { color: #5eead4; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) { color: var(--ink-2); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { color: var(--blue); background: #eff6ff; text-decoration: none; }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; background: none; border: 0; color: var(--deep); padding: 8px; border-radius: 10px; cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); display: none; }
  .nav.open { display: flex; }
  .nav .btn { margin: 6px 0 0; }
}

/* Animated backgrounds */
.hero-bg, .ai-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.grid { position: absolute; inset: -2px; background-image: linear-gradient(rgb(29 78 216 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(29 78 216 / .07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%); }
.grid.dark { background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.g1 { width: 520px; height: 520px; background: #60a5fa; top: -160px; left: -120px; }
.g2 { width: 460px; height: 460px; background: #5eead4; top: 40px; right: -140px; animation-delay: -6s; }
.g3 { width: 380px; height: 380px; background: #fcd34d; bottom: -180px; left: 40%; opacity: .35; animation-delay: -11s; }
.g4 { width: 640px; height: 640px; background: #2563eb; top: -200px; right: -160px; opacity: .45; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: #eff6ff; border: 1px solid #dbeafe; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow.light { color: #bfdbfe; background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .15); }
.grad { background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 60%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 640px; }
.lead.light, .sub.light { color: #cbd5e1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-actions.center { justify-content: center; }
.hero-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-ticks .i { color: var(--teal); }
.hero-art { position: relative; min-height: 460px; }
.laptop { background: #0f172a; border-radius: 14px; padding: 0 0 10px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid #1e293b; }
.laptop-bar { display: flex; gap: 6px; padding: 9px 12px; background: #1e293b; }
.laptop-bar span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.laptop-bar span:first-child { background: #f87171; } .laptop-bar span:nth-child(2) { background: #fbbf24; } .laptop-bar span:nth-child(3) { background: #34d399; }
.laptop img { width: 100%; border-radius: 0 0 6px 6px; }
.hero-art .laptop { position: absolute; top: 0; right: 0; width: 92%; }
.phone { background: #0f172a; border-radius: 30px; padding: 7px; box-shadow: var(--shadow); width: 190px; }
.phone img { border-radius: 24px; width: 100%; }
.hero-art .phone { position: absolute; }
.hero-art .p1 { left: 0; bottom: -10px; width: 34%; animation: float 7s ease-in-out infinite; }
.hero-art .p2 { right: 4%; bottom: -40px; width: 28%; animation: float 8s ease-in-out infinite -3s; }
.float-card { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .88rem; color: var(--deep); box-shadow: var(--shadow-sm); animation: float 9s ease-in-out infinite; white-space: nowrap; }
.float-card .i { color: var(--teal); }
.f1 { top: 40%; left: -4%; animation-delay: -2s; } .f2 { top: -18px; left: 22%; animation-delay: -5s; } .f3 { bottom: 18%; right: -2%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; aspect-ratio: 1.15; margin-top: 10px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .offer-badge { font-size: .92rem; gap: 8px; }
  .float-card { display: none; }
  .hero-art .p2 { display: none; }
  .hero-art .p1 { width: 38%; }
}

/* Year-End Offer */
.offer-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 16px 7px 7px; border-radius: 999px; background: linear-gradient(135deg, #fff7e6, #fff); border: 1px solid #fcd34d; color: var(--deep); font-weight: 800; box-shadow: 0 10px 30px -14px rgb(245 158 11 / .9); }
.offer-badge:hover { text-decoration: none; transform: translateY(-1px); }
.offer-tag { display: inline-block; white-space: nowrap; flex: none; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1f1300; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.offer-band { background: linear-gradient(120deg, #fff7e6, #fffbeb 50%, #ecfeff); border-block: 1px solid #fde68a; padding: 40px 0; }
.offer-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.offer-in h2 { margin: 10px 0 4px; color: var(--deep); }
.offer-in p { margin: 0; color: var(--ink-2); }
.offer-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; color: var(--deep); margin: 0 0 18px; }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; padding: 18px 0; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.trust-in span { display: inline-flex; align-items: center; gap: 8px; }
.trust-in .i { color: var(--blue); }

/* Sections */
.sec { position: relative; padding: 88px 0; }
.sec.alt { background: var(--paper); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sub { color: var(--soft); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cards.three { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgb(29 78 216 / .5), rgb(13 148 136 / .5), rgb(245 158 11 / .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .2s; pointer-events: none; }
a.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
a.card:hover::after { opacity: 1; }
.card p { color: var(--soft); margin-bottom: 14px; flex: 1; }
.card-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #dbeafe, #ccfbf1); color: var(--deep); margin-bottom: 16px; }
.card-ic.lg { width: 56px; height: 56px; border-radius: 16px; }
.card-ic.lg .i { width: 26px; height: 26px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: .92rem; }

/* AI section */
.ai-sec { background: radial-gradient(1200px 600px at 80% 0%, #1e3a8a 0%, transparent 60%), linear-gradient(160deg, #06173d 0%, var(--deep) 55%, #052e2b 100%); color: #e2e8f0; overflow: hidden; }
.ai-sec h2 { color: #fff; }
.ai-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 16px; }
.ai-list li { display: flex; gap: 14px; align-items: flex-start; }
.ai-list .i { color: #5eead4; margin-top: 3px; }
.ai-list b { display: block; color: #fff; }
.ai-list span { color: #cbd5e1; font-size: .95rem; }
@media (max-width: 920px) { .ai-in { grid-template-columns: 1fr; } }

/* Mock chat */
.chat { background: rgb(15 23 42 / .72); border: 1px solid rgb(148 163 184 / .25); border-radius: 22px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6), 0 0 0 1px rgb(94 234 212 / .08) inset; backdrop-filter: blur(10px); overflow: hidden; color: #e2e8f0; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgb(148 163 184 / .2); font-weight: 700; color: #fff; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 12px #34d399; }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 18px; min-height: 290px; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.5; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--blue-2), #7c3aed); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: rgb(255 255 255 / .08); border: 1px solid rgb(148 163 184 / .2); border-bottom-left-radius: 4px; }
.chat-note { font-size: .8rem; color: #94a3b8; padding: 0 18px 16px; margin: 0; }
.typing { display: none; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
/* With JavaScript the chat plays step by step; without it, everything shows. */
.js .chat[data-chat] .msg { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.js .chat[data-chat] .msg.shown { opacity: 1; transform: none; }
.js .chat[data-chat] .msg.ai.thinking .typing { display: inline-flex; }
.js .chat[data-chat] .msg.ai.thinking .text { display: none; }

/* Tabs */
.tabs { max-width: 900px; margin: 0 auto; }
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tab-list button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: all .15s; }
.tab-list button[aria-selected="true"] { background: var(--deep); color: #fff; border-color: var(--deep); box-shadow: var(--shadow-sm); }
.tab-panel { background: linear-gradient(135deg, #f5f8ff, #f0fdfa); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ticks .i { color: var(--teal); margin-top: 3px; }
.ticks.small { gap: 8px; font-size: .93rem; margin-bottom: 18px; }
.tab-panel .ticks { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .tab-panel .ticks { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.steps p { color: var(--soft); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; font-weight: 800; margin-bottom: 14px; box-shadow: 0 10px 24px -10px rgb(29 78 216 / .8); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; padding: 14px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { transition: transform .2s; color: var(--soft); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq p { color: var(--ink-2); padding-bottom: 8px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--deep), var(--blue) 60%, var(--teal)); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #dbeafe; margin: 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Inner pages */
.page-hero { position: relative; padding: 72px 0 56px; background: linear-gradient(180deg, #f5f8ff, #fff); overflow: hidden; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero.dark { background: linear-gradient(160deg, #06173d, var(--deep) 60%, #052e2b); color: #e2e8f0; }
.page-hero.dark h1 { color: #fff; }
.page-hero.nf { padding: 120px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.chips a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.feature { padding: 72px 0; scroll-margin-top: 70px; }
.feature.alt { background: var(--paper); }
.feature-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.feature.alt .feature-in > div:first-child { order: 2; }
.feature-in.no-shot { grid-template-columns: 1fr; max-width: 760px; }
.feature-in.no-shot > div:first-child { order: 0 !important; }
.role-art { display: flex; justify-content: center; }
.role-art .phone { width: 240px; }
@media (max-width: 900px) { .feature-in { grid-template-columns: 1fr; gap: 32px; } .feature.alt .feature-in > div:first-child { order: 0; } }
.phone-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.phone-row .phone { width: 190px; }
.ai-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .ai-hero { grid-template-columns: 1fr; } }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ai-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.ai-card p { color: var(--soft); }
.ai-card .laptop { margin-top: auto; }
@media (max-width: 860px) { .ai-grid { grid-template-columns: 1fr; } }
.card.static p { flex: none; margin: 0; }
.note { text-align: center; color: var(--soft); margin-top: 28px; font-size: .95rem; }

/* Contact and form */
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 920px) { .contact-in { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-weight: 700; font-size: 1.1rem; }
.contact-list li, .contact-list a { display: inline-flex; align-items: center; gap: 10px; color: var(--deep); }
.contact-list .i { color: var(--teal); }
.demo-form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.demo-form h2 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 18px 0; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .demo-form { padding: 22px; } }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.field.full { grid-column: 1 / -1; }
.field b { color: #dc2626; }
.field input, .field select, .field textarea { font: inherit; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; padding: 11px 13px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.fine { font-size: .85rem; color: var(--soft); margin: 12px 0 0; text-align: center; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done .i { color: var(--teal); margin: 0 auto 10px; }

/* Legal */
.legal { padding: 64px 0 88px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal p { color: var(--ink-2); }
.draft { display: flex; gap: 8px; align-items: flex-start; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 12px; padding: 12px 14px; font-weight: 600; }

/* Footer */
.foot { background: #06173d; color: #cbd5e1; padding: 64px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-h { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #cbd5e1; display: inline-flex; align-items: center; gap: 6px; }
.foot a:hover { color: #fff; }
.foot .muted { color: #94a3b8; margin-top: 14px; max-width: 360px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgb(148 163 184 / .2); margin-top: 40px; padding-top: 20px; font-size: .88rem; color: #94a3b8; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll (only when JavaScript runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .chat[data-chat] .msg { opacity: 1; transform: none; }
}

/* Office address */
.foot-addr { display: flex; gap: 8px; align-items: flex-start; font-style: normal; margin-top: 14px; color: #cbd5e1; font-size: .92rem; line-height: 1.5; }
.foot-addr .i { margin-top: 3px; color: #5eead4; }
.addr-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.addr-card .card-ic { margin: 0; }
.addr-card h2 { font-size: 1.1rem; margin-bottom: 6px; }
.addr-card address { font-style: normal; color: var(--ink-2); margin-bottom: 14px; }

/* Example AI question (AI page) */
.q-mock { margin-top: auto; background: linear-gradient(135deg, #f5f8ff, #f0fdfa); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.q-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.q-pill { background: #dbeafe; color: var(--deep); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.q-draft { display: inline-flex; align-items: center; gap: 5px; background: #f3e8ff; color: #6d28d9; font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.q-q { color: var(--ink); margin-bottom: 10px; }
.q-opts { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q-opts li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .92rem; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.q-opts li.ok { border-color: #34d399; background: #ecfdf5; color: #065f46; font-weight: 700; }
.q-exp { font-size: .92rem; color: var(--ink-2); margin-bottom: 8px; }
.q-note { font-size: .8rem; color: var(--soft); margin: 0; }
@media (max-width: 480px) { .q-opts { grid-template-columns: 1fr; } }

/* Phones: the module cards sit two to a row so the page stays short. */
@media (max-width: 600px) {
  .cards:not(.three) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards:not(.three) .card { padding: 16px; }
  .cards:not(.three) .card h3 { font-size: 1rem; }
  .cards:not(.three) .card p { font-size: .88rem; }
  .cards:not(.three) .card-ic { width: 40px; height: 40px; margin-bottom: 12px; }
  .sec { padding: 64px 0; }
}
@media (max-width: 360px) { .cards:not(.three) { grid-template-columns: 1fr; } }
