/* DORON Tally Odoo Bridge site (tallyodoobridge.dorontechsolutions.com): site.css
   (the TBB CA site's shared look) re-tinted to the bridge's navy and cyan, plus
   this site's sections. Font: Inter (variable, SIL OFL; fonts/LICENSE.txt), served from
   this site because helmet's CSP allows only same-origin fonts and styles; latin-ext
   carries the ₹ sign. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url("/odoo-bridge/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url("/odoo-bridge/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
    --brand:       #0369a1;
    --brand-hover: #075985;
    --brand-soft:  #f0f9ff;
    --accent:      #22d3ee;
    --ok:          #14a985;
    --navy-deep:   #0a1f44;
    --font:        "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body { font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -0.02em; }
.page-head h1, .hero h1 { letter-spacing: -0.03em; font-weight: 800; }
/* Amounts line up: tabular figures wherever prices and totals show. */
.price, .gst, .total-box, .bank, .stepper input, .num { font-variant-numeric: tabular-nums; }
/* Top bar: the wide logo (branding/logos/tally-odoo-bridge-wide.png at 2x: DORON | the bridge with
   Odoo / Tally on the arch) and the product name beside it. Phones keep the logo, drop the name. */
.topbar .logo.brand { gap: 12px; }
.topbar .logo img.mark { height: 44px; width: auto; }
.topbar .logo.brand b { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap;
    background: linear-gradient(90deg, #1c3e96, #13708b 55%, #16b5a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 600px) { .topbar .logo img.mark { height: 36px; } .topbar .logo.brand b { display: none; } }
/* Inter sets a little wider: keep menu items on one line, and drop the name beside the logo where the full menu is tight. */
.topbar nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1080px) { .topbar .logo.brand b { display: none; } }

/* ---- hero: navy band with the live-connection diagram, as on the app's Dashboard ---- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1b4f9c 0%, transparent 60%),
        linear-gradient(135deg, #0a1f44 0%, #0f2d5c 60%, #0b3a63 100%); color: #fff; padding: 60px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.hero .eyebrow { color: var(--accent); background: rgba(34, 211, 238, 0.12); }
.hero h1 { font-size: 40px; margin: 0 0 14px; }
@media (max-width: 560px) { .hero h1 { font-size: 30px; } }
.hero h1 .grad { background: linear-gradient(90deg, #22d3ee, #38bdf8 50%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #c8d8ee; font-size: 17px; margin-bottom: 22px; }
.hero .btn-primary { background: #0ea5e9; }
.hero .btn-primary:hover { background: #0284c7; }
.hero .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }
.hero .from { margin-top: 16px; color: #9fb6d6; font-size: 14px; }

/* The diagram: three glass boxes joined by status links. */
.flow { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; padding: 20px 18px 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.flow .title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.flow .title img { height: 30px; }
.flow .title strong { font-style: italic; font-size: 19px; background: linear-gradient(90deg, #22d3ee, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow .live { margin-left: auto; font-size: 11.5px; letter-spacing: 0.08em; color: #9fb6d6; display: inline-flex; align-items: center; gap: 6px; }
.flow .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(20, 169, 133, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(20, 169, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 169, 133, 0); } }
.flow .row { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: stretch; }
@media (min-width: 640px) { .flow .row { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr); } }
.link { align-self: center; }
.node { background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px; padding: 12px 12px 10px; position: relative; }
.node::before { content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 3px; border-radius: 3px; background: var(--ok); }
.node .head { display: flex; align-items: center; gap: 8px; }
.node .head > div { min-width: 0; }
.node .badge { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex: none; }
.node.erp .badge { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.node.bridge .badge { background: linear-gradient(135deg, #fbbf24, #f97316); }
.node.tally .badge { background: linear-gradient(135deg, #22d3ee, #0e7490); }
.node h3 { margin: 0; font-size: 15px; white-space: nowrap; }
.node .pill { display: inline-block; font-size: 11px; font-weight: 600; color: #6ee7c8; background: rgba(20, 169, 133, 0.16); border: 1px solid rgba(20, 169, 133, 0.45);
    border-radius: 999px; padding: 1px 8px; margin-top: 2px; white-space: nowrap; }
.node ul { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12.5px; color: #dbe7f7; }
.node li { display: flex; gap: 6px; align-items: baseline; margin-bottom: 4px; overflow-wrap: anywhere; min-width: 0; }
.node li::before { content: "✓"; color: #fff; background: var(--ok); width: 14px; height: 14px; border-radius: 50%; font-size: 9px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; flex: none; transform: translateY(2px); }
.link { text-align: center; font-size: 10px; line-height: 1.3; color: #9fb6d6; }
.link i { display: block; height: 3px; border-radius: 3px; margin: 0 2px 6px; background: linear-gradient(90deg, rgba(20, 169, 133, 0.2), var(--ok), rgba(20, 169, 133, 0.2));
    background-size: 200% 100%; animation: flow 1.6s linear infinite; }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (max-width: 639px) { .link i { width: 3px; height: 22px; margin: 0 auto 4px; } }
.flow .foot { margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 11.5px; color: #8aa3c6; }
@media (prefers-reduced-motion: reduce) { .link i, .flow .live::before { animation: none; } }

/* ---- sections ---- */
.block { padding: 52px 0; }
.block h2 { font-size: 26px; margin: 0 0 6px; }
.block p.sub { color: var(--muted); margin-bottom: 24px; max-width: 820px; }
.block.alt { background: #eef6fb; border-top: 1px solid #d6e7f2; border-bottom: 1px solid #d6e7f2; }
.block.dark { background: var(--navy-deep); color: #e2e8f0; }
.block.dark h2 { color: #fff; }
.block.dark p.sub { color: #9fb6d6; }
/* White cards on the dark band keep dark text (the band's light colour would otherwise reach their headings). */
.block.dark .card { color: var(--text); }
.feat { padding: 22px; }
/* Icon tiles colour-coded like the app's Dashboard tiles, cycling through each row of cards. */
.feat .ic { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #38bdf8, #0369a1); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25); }
.grid > .feat:nth-child(6n+2) .ic { background: linear-gradient(135deg, #818cf8, #4f46e5); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25); }
.grid > .feat:nth-child(6n+3) .ic { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25); }
.grid > .feat:nth-child(6n+4) .ic { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25); }
.grid > .feat:nth-child(6n+5) .ic { background: linear-gradient(135deg, #f472b6, #db2777); box-shadow: 0 4px 12px rgba(219, 39, 119, 0.25); }
.grid > .feat:nth-child(6n+6) .ic { background: linear-gradient(135deg, #22d3ee, #0e7490); box-shadow: 0 4px 12px rgba(14, 116, 144, 0.25); }
/* Nightly check: the tiles mean what they say (green all good, red a mismatch). */
#nightly .grid > .feat:nth-child(1) .ic { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25); }
#nightly .grid > .feat:nth-child(2) .ic { background: linear-gradient(135deg, #f87171, #dc2626); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25); }
#nightly .grid > .feat:nth-child(3) .ic { background: linear-gradient(135deg, #38bdf8, #0369a1); box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25); }
.feat h3 { margin: 0 0 6px; font-size: 17px; }
.feat p { color: var(--muted); margin: 0; }
.feat ul { color: var(--muted); margin: 6px 0 0; padding-left: 18px; }

/* What goes across: Odoo item → Tally item, two columns. */
.map { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.map th, .map td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.map th { background: #f1f5f9; font-size: 13.5px; }
.map td:first-child { font-weight: 600; width: 34%; }
.map td.arrow { width: 32px; color: var(--brand); font-weight: 700; text-align: center; }
.map tr:last-child td { border-bottom: none; }
@media (max-width: 640px) { .map td.arrow { display: none; } .map td:first-child { width: auto; } }

/* Numbered steps (download / install pages). */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps > li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px 14px 56px; position: relative; }
.steps > li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps > li p { margin: 6px 0 0; color: var(--muted); }
.steps > li ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.dl { padding: 28px; display: grid; gap: 14px; }
@media (min-width: 760px) { .dl { grid-template-columns: 1fr auto; align-items: center; } }
.dl h2 { margin: 0; font-size: 22px; }
.muted-sm { color: var(--muted); font-size: 13.5px; }
.note { border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 16px 0; }
.note.warn { border-color: #d97706; background: #fffbeb; }
kbd { font: 600 12.5px var(--font); background: #f1f5f9; border: 1px solid #cbd5e1; border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 13.5px; color: var(--text); }
.toc a:hover { border-color: var(--brand); color: var(--brand); }
.guide h2 { scroll-margin-top: 80px; }
.trouble { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 14.5px; }
.trouble th, .trouble td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.trouble th { background: #f1f5f9; }
.trouble tr:last-child td { border-bottom: none; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.cta-band { margin-top: 26px; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
    background: linear-gradient(135deg, #0a1f44, #0f2d5c); color: #e2e8f0; border-radius: 14px; }
.cta-band strong { font-size: 18px; color: #fff; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.8); }

/* Privacy notice. */
.prose { max-width: 820px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px 0; }
.prose ul { padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 4px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.prose th { background: #f1f5f9; font-weight: 600; }
@media (max-width: 640px) { .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; } .prose thead { display: none; }
    .prose td { border-bottom: none; padding: 4px 0; } .prose tr { border-bottom: 1px solid var(--line); padding: 8px 0; } }

/* Talk to us. */
.contact { display: grid; gap: 16px; }
@media (min-width: 760px) { .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .contact.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact .card { padding: 22px; }
.contact h3 { margin: 0 0 6px; }
.contact a.big { font-size: 17px; font-weight: 700; text-decoration: none; word-break: break-word; }

/* Pricing: plan cards (as TBB GST Recon's), the AMC card and the trial band. */
.plans { display: grid; gap: 18px; }
@media (min-width: 760px) { .plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin: 0 auto; } }
.plan { padding: 26px; display: flex; flex-direction: column; text-align: center; position: relative; }
.plan.best { border: 2px solid var(--brand); }
.plan .name { font-weight: 800; color: var(--brand); letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px; }
.plan .clients { font-weight: 600; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.price { font-size: 38px; font-weight: 800; margin: 10px 0 0; }
@media (max-width: 420px) { .price { font-size: 32px; } }
.gst { color: var(--muted); font-size: 13.5px; }
.plan ul { text-align: left; margin: 16px 0 20px; padding-left: 18px; color: var(--muted); flex: 1; }
.was { font-size: 0.6em; font-weight: 500; opacity: 0.65; margin-right: 0.15em; }
.off { display: inline-block; vertical-align: middle; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: 0; }
.plan .price .off, .amc-price .price .off { display: table; margin: 8px auto 0; }
.amc { margin: 22px auto 0; max-width: 920px; padding: 24px; }
.amc-head { display: grid; gap: 16px; align-items: center; }
@media (min-width: 760px) { .amc-head { grid-template-columns: minmax(0, 1fr) auto; } }
.amc-head h2 { margin: 8px 0 4px; font-size: 22px; }
.amc-head p { margin: 0; }
.amc-price { text-align: center; }
.amc-price .price { font-size: 32px; margin: 0; }
.amc-price .btn { margin-top: 10px; }
.amc-cols { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 760px) { .amc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amc-cols > div { border-radius: 10px; padding: 16px 18px; }
.amc-cols h3 { margin: 0 0 8px; font-size: 16px; }
.amc-cols ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.amc-cols li { margin-bottom: 6px; }
.amc-cols p { margin: 8px 0 0; }
.amc-in { background: var(--green-soft); border: 1px solid #a7f3d0; }
.amc-in h3 { color: #065f46; }
.amc-out { background: #fffbeb; border: 1px solid #fde68a; }
.amc-out h3 { color: #92400e; }
.trial-band { max-width: 920px; margin: 22px auto 0; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
    background: var(--brand-soft); border: 1px solid #bae6fd; border-radius: 12px; }
.trial-band strong { font-size: 17px; }
.guide-band { margin-top: 12px; background: #fff; border-color: var(--line); }
