/* Shared base for the glaium.io pages in the new design. Layout and colours stay inline on each page, as drafted
   in the design canvas; only what the drafts put in their <helmet> lives here. */

/* Accent reds for the whole site. Every page reads these; to go back to the drafted coral,
   swap each value for the one in its comment. Small text (--accent-deep) uses the full #FE3602
   by choice; it is 3.7:1 on white, under the 4.5:1 small-text guideline. #C72A00 is the same red
   dark enough to pass, if readability ever matters more than the exact tone. */
:root{
  --accent:#FE3602;       /* drafted: #E7552F  buttons, logo "i", borders, illustration */
  --accent-text:#FE3602;  /* drafted: #D8471F  coloured words in headlines */
  --accent-deep:#FE3602;  /* drafted: #BD3E1B  small labels, section titles, links, hover */
  --on-accent:#FFFFFF;    /* drafted: #11131A  text on red buttons */
}

*,*::before,*::after{box-sizing:border-box}
body{margin:0}
img{max-width:100%}
a{color:inherit}
a:hover{color:var(--accent-deep)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.dd-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.dd-btn svg{transition:transform .15s}
.dd-panel a:hover{background:#F4F4F6}
@media (max-width:480px){.logo-grid-4{grid-template-columns:repeat(3,96px)!important}}

.kb-card{transition:border-color .15s,box-shadow .15s}
.kb-card:hover{border-color:var(--accent)!important;box-shadow:0 18px 40px rgba(17,19,26,0.08);color:#11131A!important}

/* Terms and Privacy: no canvas draft, so their layout lives here, in the drafts' type and colours. */
.legal-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:start}
.legal-toc{position:sticky;top:24px;background:#F4F4F6;border-radius:20px;padding:20px 22px;display:flex;flex-direction:column}
.legal-toc a{display:block;padding:6px 0;font-size:15px;line-height:1.35;color:#565C6B;text-decoration:none}
.legal-toc a:hover{color:var(--accent-deep)}
.legal-prose{max-width:760px;font-size:17px;color:#383D4A;line-height:1.7}
.legal-prose h2{margin:44px 0 12px;font-size:clamp(22px,2.2vw,28px);line-height:1.2;font-weight:600;letter-spacing:-0.015em;color:#11131A;scroll-margin-top:24px}
.legal-prose h2:first-child{margin-top:0}
.legal-prose h3{margin:28px 0 8px;font-size:19px;font-weight:600;color:#11131A}
.legal-prose h4{margin:22px 0 6px;font-size:17px;font-weight:600;color:#11131A}
.legal-prose p{margin:0 0 14px}
.legal-prose ul,.legal-prose ol{margin:0 0 16px;padding-left:22px}
.legal-prose li{margin:0 0 8px}
.legal-prose strong{color:#11131A;font-weight:600}
.legal-prose a{color:var(--accent-deep);font-weight:500;text-decoration:underline;text-underline-offset:2px}
.legal-prose hr{border:0;border-top:1px solid #E3E4E9;margin:32px 0}
.legal-prose code{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:14px;background:#F4F4F6;padding:1px 6px;border-radius:4px}
@media (max-width:900px){.legal-grid{grid-template-columns:1fr}.legal-toc{position:static}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* FAQ rows: the drafts' static "+" rows, made expandable as <details>. */
.faq summary{list-style:none;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{color:var(--accent-deep)}
.faq-icon{flex:none;transition:transform .2s}
.faq[open] .faq-icon{transform:rotate(45deg)}
.faq-a{margin:-6px 0 0;padding:0 48px 24px 0;max-width:820px;font-size:17px;line-height:1.6;color:#565C6B}
@media (max-width:600px){.faq-a{padding-right:0;font-size:16px}}

/* Records calculator popup (Pricing), built by site.js. */
.calc{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 32px);border:0;border-radius:24px;padding:clamp(24px,4vw,40px);color:#11131A;font-family:Outfit,system-ui,sans-serif;box-shadow:0 30px 80px rgba(17,19,26,.25)}
.calc::backdrop{background:rgba(17,19,26,.55)}
.calc-x{position:absolute;top:14px;right:14px;margin:0}
.calc-x button{width:40px;height:40px;border:0;border-radius:999px;background:#F4F4F6;font:inherit;font-size:24px;line-height:1;cursor:pointer;color:#11131A}
.calc h2{margin:0 40px 10px 0;font-size:clamp(26px,3vw,36px);line-height:1.1;font-weight:600;letter-spacing:-.02em}
.calc h2 span{color:var(--accent-text)}
.calc-lead{margin:0 0 20px;font-size:17px;color:#565C6B;line-height:1.5}
.calc-dims{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.calc-dim{display:flex;align-items:center;gap:10px;background:#F4F4F6;border-radius:14px;padding:10px 12px;cursor:pointer}
.calc-name{flex:1;min-width:0;font-size:16px;font-weight:600;line-height:1.2}
.calc-name small{display:block;font-size:12.5px;font-weight:400;color:#565C6B}
.calc input[type=checkbox],.calc input[type=radio]{accent-color:var(--accent);width:18px;height:18px;margin:0}
.calc input[type=number]{width:84px;border:1px solid #D5D7DE;border-radius:10px;padding:8px 10px;font:inherit;font-size:16px;text-align:right;background:#fff;color:#11131A}
.calc input[type=number]:disabled{opacity:.4}
.calc-out{margin-top:20px;border:2px solid var(--accent);border-radius:18px;padding:18px 20px}
.calc-num{font-size:18px}
.calc-num b{font-size:clamp(30px,4vw,40px);font-weight:600;letter-spacing:-.02em;margin-right:6px}
.calc-formula{margin-top:4px;font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:13px;color:#565C6B;line-height:1.5}
.calc-price{margin-top:10px;font-size:16px}
.calc-price b{font-weight:600}
.calc-note{margin:12px 0 0;font-size:14px;color:#565C6B;line-height:1.5}
.calc-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.calc-btn{display:inline-flex;align-items:center;min-height:50px;padding:0 24px;border-radius:999px;background:var(--accent);border:1px solid var(--accent);color:var(--on-accent);font-size:17px;font-weight:600;text-decoration:none}
.calc-btn:hover{color:var(--on-accent)}
.calc-btn-2{background:#fff;border-color:#11131A;color:#11131A}
.calc-btn-2:hover{color:#11131A}
@media (max-width:600px){.calc-dims{grid-template-columns:1fr}}
