/* AI Office Studio — public website (home, pricing, contact, legal, help). Loaded only on those pages. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-latin-800.woff2") format("woff2"); }

:root {
  --site-ink: #16213d;
  --site-ink-2: #3b4664;
  --site-muted: #5d6784;
  --site-paper: #ffffff;
  --site-mist: #eef2f8;
  --site-line: #dfe5ef;
  --site-blue: #2f5bea;
  --site-blue-dark: #2448c7;
  --site-marigold: #f2a516;
  --site-marigold-ink: #6b4400;
  --site-marigold-soft: #fff4dc;
  --site-leaf: #146c46;
  --site-leaf-soft: #e3f4ea;
  --site-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --site-measure: 68ch;
}

.site-body { background: var(--site-paper); color: var(--site-ink); }
.site-main { min-height: 60vh; }
.site-main > .alert { max-width: 1140px; margin: 16px auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--site-line); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; min-height: 68px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--site-display); font-weight: 800; font-size: 1.12rem; color: var(--site-ink); text-decoration: none; letter-spacing: -.01em; }
.site-menu { flex: 1 1 auto; align-items: center; gap: 24px; }
.site-links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.site-links a { color: var(--site-ink-2); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-links a:hover, .site-links a[aria-current="page"] { color: var(--site-ink); border-bottom-color: var(--site-marigold); }
.site-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-signin { color: var(--site-ink); font-weight: 600; text-decoration: none; }
@media (max-width: 767.98px) {
  .site-menu { flex-basis: 100%; padding: 4px 0 16px; }
  .site-links { flex-direction: column; gap: 4px; }
  .site-actions { margin: 12px 0 0; flex-wrap: wrap; }
}

/* Hero: the things a business sends out, on a desk */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--site-mist) 0, var(--site-paper) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-title { font-family: var(--site-display); font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 20px; max-width: 14ch; }
.hero-lead { font-size: 1.16rem; line-height: 1.6; color: var(--site-ink-2); max-width: 46ch; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; color: var(--site-muted); font-size: .95rem; }

.desk { position: relative; min-height: 530px; }
.desk-sheet, .desk-card, .desk-post { position: absolute; background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgba(22, 33, 61, .08), 0 18px 40px -18px rgba(22, 33, 61, .35); color: var(--site-ink); }
.desk-sheet { top: 0; left: 0; width: 62%; padding: 22px 22px 26px; font-size: .64rem; line-height: 1.45; transform: rotate(-2deg); display: flex; flex-direction: column; gap: 10px; }
.sheet-head { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; border-bottom: 3px solid #1f6f78; padding-bottom: 10px; }
.sheet-head strong { display: block; font-size: .82rem; }
.sheet-head span { display: block; color: var(--site-muted); }
.sheet-head .sheet-logo { display: grid; color: #fff; }
.sheet-head .sheet-kind { color: var(--site-ink); }
.sheet-logo, .card-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #1f6f78; color: #fff; font-family: var(--site-display); font-weight: 800; font-size: .95rem; }
.sheet-kind { text-align: right; font-weight: 700; font-size: .78rem; text-transform: none; }
.sheet-kind small { font-weight: 500; color: var(--site-muted); font-size: .6rem; }
.sheet-to { color: var(--site-ink-2); }
.sheet-table { width: 100%; border-collapse: collapse; }
.sheet-table th { text-align: left; font-weight: 600; color: var(--site-muted); border-bottom: 1px solid var(--site-line); padding: 4px 0; }
.sheet-table td { padding: 5px 0; border-bottom: 1px dashed var(--site-line); }
.sheet-table th:last-child, .sheet-table td:last-child { text-align: right; }
.sheet-tax { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; color: var(--site-ink-2); margin-left: auto; width: 55%; }
.sheet-tax span:nth-child(even) { text-align: right; }
.sheet-total { display: flex; justify-content: space-between; margin-left: auto; width: 55%; border-top: 2px solid var(--site-ink); padding-top: 6px; font-size: .78rem; }
.desk-card { left: 8%; bottom: 0; width: 46%; aspect-ratio: 85 / 55; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; font-size: .7rem; transform: rotate(3deg); background: #fbfbf8; border-left: 6px solid #1f6f78; }
.desk-card .card-logo { position: absolute; top: 14px; right: 16px; width: 26px; height: 26px; }
.desk-card strong { font-size: .9rem; }
.desk-card .card-line { color: var(--site-ink-2); }
.desk-post { right: 0; top: 38%; width: 40%; aspect-ratio: 1 / 1; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: #1f6f78; color: #fff; transform: rotate(-4deg); }
.post-kicker { font-size: .72rem; font-weight: 600; color: #ffd98a; }
.post-head { font-family: var(--site-display); font-weight: 800; font-size: clamp(1.05rem, 1.9vw, 1.45rem); line-height: 1.05; letter-spacing: -.02em; }
.post-foot { font-size: .64rem; opacity: .85; }
.desk-tag { position: absolute; top: -12px; right: -10px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; transform: rotate(4deg); white-space: nowrap; }
.desk-card .desk-tag { right: auto; left: -10px; transform: rotate(-4deg); }
.desk-tag-free { background: var(--site-leaf); color: #fff; }
.desk-tag-credit { background: var(--site-marigold); color: #2b1a00; }

@media (prefers-reduced-motion: no-preference) {
  .desk-sheet { animation: settle-sheet .7s cubic-bezier(.2, .8, .2, 1) both; }
  .desk-card { animation: settle-card .7s .12s cubic-bezier(.2, .8, .2, 1) both; }
  .desk-post { animation: settle-post .7s .24s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes settle-sheet { from { opacity: 0; transform: translateY(24px) rotate(-6deg); } }
  @keyframes settle-card { from { opacity: 0; transform: translate(-18px, 24px) rotate(9deg); } }
  @keyframes settle-post { from { opacity: 0; transform: translate(18px, 24px) rotate(-10deg); } }
}
@media (max-width: 991.98px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .desk { min-height: 0; aspect-ratio: 1 / 1.08; max-width: 520px; width: 100%; margin: 0 auto; }
  .desk-sheet { width: 70%; left: 0; }
  .desk-post { width: 40%; top: 44%; }
  .desk-card { left: 2%; width: 52%; }
}
@media (max-width: 420px) {
  .desk-sheet { font-size: .5rem; padding: 14px; gap: 6px; }
  .desk-card { font-size: .56rem; padding: 10px 12px; }
  .desk-card strong { font-size: .7rem; }
}

/* Sections */
.site-section { padding: 72px 0; }
.site-section-first { padding-top: 40px; }
.site-section-tint { background: var(--site-mist); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2, .faq-wrap h2, .site-cta h2 { font-family: var(--site-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 10px; }
.section-head p { color: var(--site-ink-2); font-size: 1.06rem; margin: 0; }

/* What you can make: a price-tagged list, not cards */
.make-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--site-line); }
.make-list li { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--site-line); align-items: start; }
.make-what h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 4px; }
.make-what p { margin: 0; color: var(--site-ink-2); max-width: 60ch; }
.make-cost { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.cost-free, .cost-credit { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.cost-free { background: var(--site-leaf-soft); color: var(--site-leaf); }
.cost-credit { background: var(--site-marigold-soft); color: var(--site-marigold-ink); }
.cost-note { font-size: .85rem; color: var(--site-muted); }
.make-foot { margin: 20px 0 0; color: var(--site-muted); }
@media (max-width: 575.98px) {
  .make-list li { grid-template-columns: 1fr; gap: 10px; }
  .make-cost { align-items: flex-start; text-align: left; }
}

/* How it works: a real sequence */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--site-ink); color: #fff; font-family: var(--site-display); font-weight: 800; font-size: 1.15rem; }
.steps h3 { font-size: 1.15rem; font-weight: 700; }
.steps p { color: var(--site-ink-2); margin: 0; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--site-line); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.plan-title { font-family: var(--site-display); font-weight: 800; font-size: 1.4rem; margin: 0; }
.plan-for { color: var(--site-muted); margin: 2px 0 16px; }
.plan-amount { margin: 0; }
.plan-rupees { font-family: var(--site-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -.03em; }
.plan-per { color: var(--site-muted); font-size: .9rem; }
.plan-year { color: var(--site-ink-2); font-size: .9rem; margin: 2px 0 18px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; flex: 1 1 auto; }
.plan-list li { padding-left: 22px; position: relative; color: var(--site-ink-2); }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--site-leaf); border-bottom: 2px solid var(--site-leaf); transform: rotate(-45deg); }
.plans-note { color: var(--site-muted); font-size: .92rem; margin: 18px 0 0; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 32px; }
.trust-grid h3 { font-size: 1.05rem; font-weight: 700; }
.trust-grid p { color: var(--site-ink-2); margin: 0; }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-wrap h2 { margin-bottom: 20px; }
.faq { border-bottom: 1px solid var(--site-line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--site-muted); }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--site-ink-2); padding: 0 0 18px; margin: 0; max-width: var(--site-measure); }

/* Closing call to action */
.site-cta { background: var(--site-ink); color: #fff; padding: 56px 0; }
.site-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-cta h2 { color: #fff; margin: 0; max-width: 22ch; }

/* Page heads (pricing, contact, legal, help) */
.site-head { background: var(--site-mist); padding: 48px 0 40px; }
.site-head h1 { font-family: var(--site-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 10px; }
.page-lead { color: var(--site-ink-2); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.site-head-doc { padding-bottom: 32px; }
.doc-meta { color: var(--site-muted); margin: 0; }
.crumb { margin: 0 0 6px; font-size: .95rem; }

/* Credit price list */
.price-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.price-group h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--site-line); }
.price-foot { color: var(--site-muted); margin: 22px 0 0; max-width: var(--site-measure); }
.topups { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 640px; }
.topups li { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; padding: 16px 20px; border: 1px solid var(--site-line); border-radius: 12px; }

/* Contact */
.contact-form .form-label { font-weight: 600; }
.hp-field { display: none; }
.contact-details { background: var(--site-mist); border-radius: 16px; padding: 26px; }
.contact-details dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.contact-details dt { font-weight: 600; color: var(--site-muted); }
.contact-details dd { margin: 0; }
.contact-sent { border-left: 4px solid var(--site-leaf); background: var(--site-leaf-soft); padding: 22px 24px; border-radius: 8px; }

/* Legal pages and help articles */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc-toc { position: sticky; top: 92px; font-size: .92rem; }
.doc-toc h2 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.doc-toc ol, .doc-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.doc-toc a { color: var(--site-ink-2); text-decoration: none; }
.doc-toc a:hover { color: var(--site-blue-dark); text-decoration: underline; }
.doc-layout > .prose:only-child { grid-column: 1 / -1; }
@media (max-width: 991.98px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-toc { position: static; order: 2; border-top: 1px solid var(--site-line); padding-top: 20px; }
}
.prose { max-width: var(--site-measure); font-size: 1.02rem; line-height: 1.7; color: var(--site-ink); }
.prose h2 { font-size: 1.35rem; font-weight: 700; margin: 2em 0 .5em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin: 1.6em 0 .4em; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose code { color: var(--site-ink); background: var(--site-mist); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.prose .md-note { border-left: 3px solid var(--site-marigold); background: var(--site-marigold-soft); padding: 12px 16px; border-radius: 6px; margin: 1em 0; }
.doc-history { font-size: .95rem; }
.help-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--site-line); }

/* Help centre */
.help-search { display: flex; gap: 10px; max-width: 620px; margin-top: 18px; }
.help-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; }
.help-list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--site-line); text-decoration: none; color: var(--site-ink); }
.help-list a:hover strong { color: var(--site-blue-dark); text-decoration: underline; }
.help-list strong { display: block; font-size: 1.05rem; }
.help-list span { color: var(--site-muted); font-size: .95rem; }
.help-count { color: var(--site-ink-2); }
.help-empty { padding: 24px 0; }

/* Footer */
.site-footer { background: #0f1830; color: #c7cee0; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e7ebf5; }
.site-brand-footer { color: #fff; margin-bottom: 12px; }
.site-footer-lead { max-width: 40ch; }
.site-company { font-style: normal; line-height: 1.7; margin: 0; }
.site-footer-h { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer-links a { text-decoration: none; }
.site-footer-links a:hover { text-decoration: underline; }
.site-copy { border-top: 1px solid rgba(255, 255, 255, .12); margin: 40px 0 0; padding-top: 20px; font-size: .88rem; color: #9aa4bd; }

/* Focus: always visible on the public site */
.site-body a:focus-visible, .site-body button:focus-visible, .site-body summary:focus-visible { outline: 3px solid var(--site-marigold); outline-offset: 2px; border-radius: 4px; }
