/* Anvixa brand site — shared styles. Palette matches tools.anvixa.co.in. */
:root {
  --brand: #5145e5;
  --brand-dark: #4237c4;
  --brand-soft: #f3f2fe;
  --ink: #171717;
  --body: #404040;
  --muted: #737373;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(180%) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; }
.nav a { color: var(--body); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"] { font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; line-height: 1.2; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.nav .btn { padding: 8px 14px; font-size: .9rem; color: #fff; }
.nav .btn:hover { color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Sections */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.hero p.lead { font-size: 1.15rem; max-width: 640px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.page-head { padding: 56px 0 32px; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.page-head p { max-width: 680px; font-size: 1.1rem; }
section.block { padding: 56px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 680px; margin-bottom: 28px; }
.prose > * { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.note { font-size: .9rem; color: var(--muted); }

/* Cards and grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; margin-bottom: 12px; }

.product { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.product img { width: 112px; height: 112px; border-radius: 24px; }
@media (min-width: 720px) { .product { grid-template-columns: 112px 1fr; } }

.tool-group h3 { margin-top: 8px; }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tool-list a { font-weight: 600; }
.tool-list span { display: block; color: var(--muted); font-size: .92rem; }

.facts { list-style: none; padding: 0; margin: 0 0 1em; }
.facts li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.facts li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; }

/* Contact */
.contact-email { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 700; word-break: break-all; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: .92rem; background: var(--bg-alt); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.copyright { margin-top: 28px; color: var(--muted); }

/* 404 */
.notfound { padding: 96px 0; text-align: center; }
.notfound .actions { justify-content: center; }
