/* ui13.css: Company, FAQ and tools pages (plus shared helpers). Visual only; loaded last.
   Selectors are prefixed with `main` so they also win over tools.css, which loads inside the page body. */

.sx-stat-sm { font-size: clamp(1.4rem, 2.2vw, 1.9rem) !important; padding-top: .5rem; }

/* ---------- Tools hub ---------- */
main .tools-lead { max-width: 70ch; margin: 0 auto clamp(28px, 3vw, 44px); text-align: center; color: #3d4a63; }
main .tools-grid { gap: clamp(14px, 1.8vw, 22px); }
main .tools-grid > a.card h2 { margin: 0 0 10px; font-size: 1.2rem !important; letter-spacing: -.02em; color: #0b1b3a; }
main .tool-cta { margin-top: clamp(32px, 4vw, 56px); padding: clamp(26px, 3.4vw, 44px); border-radius: 6px; border: 1px solid rgba(230, 194, 122, .35);
  background: radial-gradient(500px 240px at 90% 0%, rgba(230, 194, 122, .2), transparent 65%), linear-gradient(180deg, #0d2146, #08142e); color: #fff; }
main .tool-cta h2 { color: #fff !important; font-size: clamp(1.3rem, 2vw, 1.7rem) !important; letter-spacing: -.02em; }
main .tool-cta p { color: #b8c4de; }
main .tool-cta .btn-primary { background: #e6c27a !important; border-color: #e6c27a !important; color: #0b1b3a !important; -webkit-text-fill-color: #0b1b3a !important; }
main .tool-cta .btn-ghost { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .4) !important; }

/* ---------- Tool page: calculator card, result panel ---------- */
main .tool-section { padding-top: clamp(8px, 2vw, 24px); }
main .tool { background: #fff !important; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); border-top: 3px solid #b08a3e; border-radius: 6px; padding: clamp(24px, 3.4vw, 44px); margin-bottom: 36px; box-shadow: 0 40px 80px -44px rgba(11, 27, 58, .5); color: #0b1b3a; }
main .tool-form { gap: 20px 22px; }
main .tool-form label, main .tool-form legend { font-size: .84rem; font-weight: 600; color: #0b1b3a; }
main .tool-form small { color: #5b6880; }
main .tool-form input[type=number], main .tool-form input[type=date], main .tool-form select {
  min-height: 50px; padding: 12px 14px; font-size: 1rem; color: #0b1b3a !important; background: #f8f7f3 !important; border: 1px solid rgba(11, 27, 58, .16) !important; border-radius: 4px; transition: border-color .2s, box-shadow .2s, background .2s;
}
main .tool-form input[type=number]:hover, main .tool-form input[type=date]:hover, main .tool-form select:hover { border-color: rgba(11, 27, 58, .35) !important; }
main .tool-form input:focus-visible, main .tool-form select:focus-visible { outline: 0; background: #fff !important; border-color: #b08a3e !important; box-shadow: 0 0 0 4px rgba(176, 138, 62, .18); }
main .tool-form button, main .tool-form .btn { border-radius: 2px; }
main .tool-form .btn-primary, main .tool-form button[type=submit] { background: #0b1b3a !important; border-color: #0b1b3a !important; color: #fff !important; -webkit-text-fill-color: #fff !important; padding: 14px 28px; font-weight: 700; }
main .tool-form .btn-primary:hover, main .tool-form button[type=submit]:hover { background: #12264d !important; }
main .tool-result { margin-top: 26px; padding: clamp(20px, 3vw, 32px); border-radius: 6px; background: linear-gradient(180deg, #f6f4ef, #fff); border: 1px solid rgba(176, 138, 62, .45); border-left: 4px solid #b08a3e; color: #1b2a47; }
main .tool-result .big { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; letter-spacing: -.04em; color: #0b1b3a; }
main .tool-result th { color: #8a6a24; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
main .tool-result th, main .tool-result td { border-bottom-color: rgba(11, 27, 58, .1); }
main .tool-note { color: #5b6880; }
main .tool-explainer { max-width: 760px; margin: 40px auto; font-size: 1.04rem; line-height: 1.75; color: #3d4a63; }
main .tool-explainer h2 { margin: 36px 0 12px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: #0b1b3a; }
main .tool-explainer h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 12px; background: linear-gradient(90deg, #b08a3e, transparent); }
main .tool-faq { max-width: 760px; margin: 0 auto 36px; }
main .tool-faq h2 { margin-bottom: 14px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: #0b1b3a; }
main .tool-faq details { margin-bottom: 10px; padding: 0; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); border-radius: 6px; background: #fff; box-shadow: 0 14px 28px -24px rgba(11, 27, 58, .35); }
main .tool-faq summary { padding: 16px 20px; color: #0b1b3a; }
main .tool-faq details p { margin: 0; padding: 0 20px 18px; color: #4a5670; }
main .tool-sources { max-width: 760px; margin: 0 auto 28px; border-left-color: #b08a3e; background: #f6f4ef; border-radius: 0 6px 6px 0; }
main .tool-cta { max-width: 100%; }
@media (prefers-color-scheme: dark) {
  main .tool { background: #fff !important; }
  main .tool-form input[type=number], main .tool-form input[type=date], main .tool-form select { background: #f8f7f3 !important; color: #0b1b3a !important; border-color: rgba(11, 27, 58, .16) !important; }
}

/* ---------- FAQ page ---------- */
main .faq-tools { display: grid; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); padding: clamp(18px, 2.4vw, 28px); background: #fff; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); border-top: 3px solid #b08a3e; border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(11, 27, 58, .4); }
main .faq-tools input[type=search] { width: 100%; box-sizing: border-box; padding: 15px 18px 15px 48px; font: inherit; font-size: 1rem; color: #0b1b3a; background: #f8f7f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b3a' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 16px center / 20px no-repeat; border: 1px solid rgba(11, 27, 58, .16); border-radius: 4px; }
main .faq-tools input[type=search]:focus { outline: 0; border-color: #b08a3e; box-shadow: 0 0 0 4px rgba(176, 138, 62, .18); background-color: #fff; }
main .faq-tools .filters { display: flex; flex-wrap: wrap; gap: 8px; }
main .faq-tools .chip { padding: 9px 18px; border: 1px solid rgba(11, 27, 58, .2); border-radius: 999px; background: #fff; color: #33415c; font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .2s; }
main .faq-tools .chip:hover { border-color: #b08a3e; }
main .faq-tools .chip[aria-pressed="true"] { background: #0b1b3a; border-color: #0b1b3a; color: #fff; }
main .faq-group h2 { margin: clamp(28px, 3vw, 44px) 0 14px !important; font-size: 1.35rem !important; color: #0b1b3a; letter-spacing: -.02em; }
main .faq-group h2:not(.sr-only)::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 10px; background: linear-gradient(90deg, #b08a3e, transparent); }
main .faq-group details { margin-bottom: 10px; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); border-radius: 6px; background: #fff; box-shadow: 0 14px 28px -24px rgba(11, 27, 58, .35); transition: border-color .2s, box-shadow .2s; }
main .faq-group details[open] { border-color: rgba(176, 138, 62, .6); box-shadow: 0 22px 40px -26px rgba(11, 27, 58, .4); }
main .faq-group summary { padding: 18px 22px; font-weight: 600; color: #0b1b3a; }
main .faq-group details p { margin: 0; padding: 0 22px 20px; color: #4a5670; line-height: 1.7; }

/* ---------- Company page ---------- */
.co-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .co-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .co-values { grid-template-columns: 1fr; } }
main > .section > .wrap > .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; margin-top: clamp(24px, 3vw, 44px); }
main > .section > .wrap > .grid-2 > div.reveal:not(.card) { box-sizing: border-box; padding: clamp(26px, 3.4vw, 46px) clamp(22px, 3vw, 42px); background: #fff; border: 1px solid var(--c-line, rgba(11, 27, 58, .12)); border-top: 3px solid #b08a3e; border-radius: 6px; box-shadow: 0 1px 2px rgba(11, 27, 58, .04), 0 24px 44px -30px rgba(11, 27, 58, .28); }
main > .section > .wrap > .grid-2 > div.reveal:not(.card) > h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
main > .section > .wrap > .grid-2 .list-check { display: grid; gap: 14px; margin: 0; padding: 0; }
main > .section > .wrap > .grid-2 .list-check li { margin: 0; padding-left: 32px; line-height: 1.5; }
main > .section > .wrap > .grid-2 .list-check a { color: #0b1b3a; font-weight: 600; text-decoration-color: rgba(176, 138, 62, .6); }
@media (max-width: 860px) { main > .section > .wrap > .grid-2 { grid-template-columns: 1fr; } }

/* compact heroes also need room for the overlapping band */
main > .hero.hero-compact:has(+ .sx-glance), main > .hero.hero-compact[style]:has(+ .sx-glance) { padding-bottom: clamp(130px, 13vw, 180px) !important; }
main > .hero.hero-compact:has(~ .sx-glance), main > .hero.hero-compact[style]:has(~ .sx-glance) { padding-bottom: clamp(140px, 14vw, 190px) !important; }
.co-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.co-steps::before { left: 8%; right: 8%; }
.co-more { margin: clamp(28px, 3vw, 44px) 0 0; text-align: center; }
@media (max-width: 1100px) { .co-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .co-steps { grid-template-columns: 1fr; } }
