/* ==========================================================================
   Downloads page — restyled 21 Oct 2026 to follow tallysolutions.com/mena/download/

   Colours and shapes sampled from that page rather than guessed:
     gold button   #FCAF1B  with #231F20 text, 6px radius
     heading ink   #212529, centred
     teal band     #006EA6
     pale blue     #DCF2FB
     cream         #FFFBE5   (the same cream as this site's own homepage hero)
   The look is light and airy: white page, centred headings, white cards, and
   alternating colour bands rather than one dark hero.

   Namespaced .dl-* and loaded by downloads.php only.
   ========================================================================== */

.dl-page {
    --dl-gold: #FCAF1B;
    --dl-gold-dark: #e49a08;
    --dl-gold-ink: #231F20;
    --dl-teal: #006EA6;
    --dl-pale: #DCF2FB;
    --dl-cream: #FFFBE5;
    --dl-ink: #212529;
    --dl-muted: #5b6672;
    --dl-line: #EBECF0;   /* their card hairline, measured */
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--dl-ink);
    background: #fff;
}

.dl-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- intro: light and centred, no dark hero ---------- */
/* White opener, matching their "Download TallyPrime" section - the colour
   bands start below it rather than behind the first heading. */
.dl-intro {
    background: #fff;
    text-align: center;
    padding: 48px 0 40px;
}

.dl-intro h1 {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.22;
    font-weight: 500;
    color: var(--dl-ink);
}

.dl-intro p {
    margin: 0 auto;
    max-width: 780px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dl-ink);
}

/* ---------- sections ---------- */
.dl-section { padding: 48px 0; }
.dl-section--pale { background: var(--dl-pale); }
.dl-section--cream { background: var(--dl-cream); }
.dl-section--teal { background: var(--dl-teal); color: #fff; }

.dl-section h2 {
    margin: 0 0 8px;
    font-size: 40px;
    font-weight: 500;
    color: var(--dl-ink);
    text-align: center;
}

.dl-section--teal h2 { color: #fff; }

.dl-lede {
    margin: 0 auto 32px;
    max-width: 760px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dl-ink);
}

.dl-section--teal .dl-lede { color: rgba(255, 255, 255, .9); }

.dl-section h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--dl-ink); }
.dl-section p { font-size: 14px; line-height: 1.6; color: var(--dl-ink); }

/* ---------- cards ---------- */
.dl-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Flat, like theirs: a 0.8px hairline, 5px radius, and no shadow at all.
   The hover gets a border tint rather than a lift, so nothing floats. */
.dl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 0.8px solid var(--dl-line);
    border-radius: 5px;
    padding: 24px 22px 22px;
    transition: border-color .2s ease;
}

.dl-card:hover { border-color: #bcdcec; }

/* On the teal band the cards keep their white surface and lose the border. */
.dl-section--teal .dl-card { border-color: rgba(255, 255, 255, .25); }

.dl-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dl-pale);
    color: var(--dl-teal);
    margin-bottom: 16px;
}

.dl-card p { flex: 1 1 auto; margin: 0 0 20px; font-size: 14px; line-height: 1.45; }
.dl-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- buttons ---------- */
.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.dl-btn--gold { background: var(--dl-gold); color: var(--dl-gold-ink); }
.dl-btn--gold:hover, .dl-btn--gold:focus { background: var(--dl-gold-dark); color: var(--dl-gold-ink); text-decoration: none; }

.dl-btn--ghost { background: #fff; color: var(--dl-teal); border-color: #bcdcec; }
.dl-btn--ghost:hover, .dl-btn--ghost:focus { background: var(--dl-pale); color: #00537d; text-decoration: none; }

.dl-btn--wa { background: #25d366; color: #fff; }
.dl-btn--wa:hover, .dl-btn--wa:focus { background: #1da851; color: #fff; text-decoration: none; }

/* ---------- support strip ---------- */
.dl-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: var(--dl-pale);
    border-radius: 5px;
    padding: 22px 26px;
    margin-top: 32px;
}

.dl-strip p { margin: 0; font-size: 15px; color: var(--dl-ink); font-weight: 600; }
.dl-strip__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- pricing table ---------- */
.dl-table-wrap { overflow-x: auto; border-radius: 5px; border: 0.8px solid #c7e4f2; background: #fff; }
.dl-table { width: 100%; border-collapse: collapse; min-width: 680px; }

.dl-table th {
    background: var(--dl-teal);
    color: #fff;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 18px;
    white-space: nowrap;
}

.dl-table td {
    padding: 16px 18px;
    border-top: 1px solid var(--dl-line);
    font-size: 15px;
    color: var(--dl-muted);
}

.dl-table tbody tr:nth-child(even) { background: #fafdff; }
.dl-table td:first-child { font-weight: 700; color: var(--dl-ink); white-space: nowrap; }
.dl-table .dl-price { font-weight: 700; color: var(--dl-teal); white-space: nowrap; }
.dl-note { margin: 16px 0 0; font-size: 14px; color: var(--dl-muted); text-align: center; }
.dl-center { text-align: center; margin-top: 18px; }

/* ---------- lists ---------- */
.dl-list { margin: 0; padding: 0; list-style: none; }

.dl-list li {
    position: relative;
    padding: 0 0 13px 28px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dl-ink);
}

.dl-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dl-gold);
}

.dl-list strong { color: var(--dl-ink); }
.dl-section--teal .dl-list li { color: rgba(255, 255, 255, .92); }
.dl-section--teal .dl-list strong { color: #fff; }
.dl-section--teal .dl-list li::before { background: var(--dl-gold); }
.dl-section--teal p { color: rgba(255, 255, 255, .92); }
.dl-section--teal a { color: #fff; text-decoration: underline; }

.dl-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.dl-two-col h3 { text-align: center; font-size: 22px; margin-bottom: 18px; }

/* ---------- why-us panel on the teal band ---------- */
.dl-panel {
    background: rgba(255, 255, 255, .08);
    border: 0.8px solid rgba(255, 255, 255, .25);
    border-radius: 5px;
    padding: 30px 28px;
}

/* ---------- FAQ: native <details>, no JavaScript ---------- */
.dl-faq { max-width: 860px; margin: 0 auto; }

.dl-faq__item {
    background: #fff;
    border: 0.8px solid var(--dl-line);
    border-radius: 5px;
    margin-bottom: 12px;
    overflow: hidden;
}

.dl-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dl-ink);
}

.dl-faq__q::-webkit-details-marker { display: none; }
.dl-faq__q:hover { background: #fafdff; }

.dl-faq__chev { flex: 0 0 auto; transition: transform .2s ease; color: var(--dl-teal); }
.dl-faq__item[open] .dl-faq__chev { transform: rotate(180deg); }

.dl-faq__a { padding: 0 22px 20px; }
.dl-faq__a p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--dl-muted); }

/* ---------- responsive ---------- */
@media (max-width: 992px) {
    .dl-cards { grid-template-columns: 1fr; }
    .dl-two-col { grid-template-columns: 1fr; gap: 28px; }
    .dl-intro h1 { font-size: 31px; }
    .dl-section h2 { font-size: 31px; }
}

@media (max-width: 600px) {
    .dl-intro { padding: 40px 0 36px; }
    .dl-intro h1 { font-size: 26px; }
    .dl-section { padding: 40px 0; }
    .dl-section h2 { font-size: 26px; }
    .dl-strip { flex-direction: column; align-items: flex-start; }
    .dl-btn { width: 100%; justify-content: center; }
}
