/* Brand tokens: website static/css/base.css. Colors from Orders home_dashboard.css.
   V4: horizontal header, restrained flat action tiles, full-width company band. */
:root {
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --color-navy: #18365d;
  --color-navy-dark: #102846;
  --color-gold: #c9a64b;
  --color-gold-light: #d8bf76;
  --color-warm-white: #faf8f3;
  --color-beige: #f1ebdf;
  --color-text-dark: #172033;
  --color-text-muted: #556277;
  --color-white: #fff;
  --home-ink: #102747;
  --home-line: #dce4ee;
  --container-width: 1120px;
  --radius-md: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--color-warm-white); font: 16px/1.5 var(--font-body); color: var(--color-text-dark); -webkit-text-size-adjust: 100%; }
.shell { width: min(calc(100% - 48px), var(--container-width)); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 3px; }
svg { display: block; width: 20px; height: 20px; flex: none; }
.skip-link { position: absolute; z-index: 20; top: 0; left: 16px; padding: 10px 16px; background: var(--color-navy-dark); color: white; transform: translateY(-110%); }
.skip-link:focus { transform: none; }
/* Header: symbol and title only. */
.site-header { border-bottom: 1px solid rgba(201,166,75,.38); }
.header-inner { min-height: 108px; padding-block: 20px; display: flex; align-items: center; gap: 22px; }
.site-brand { display: block; flex: none; }
.site-brand__mark { display: block; width: 58px; height: auto; }
.header-title { min-width: 0; }
h1,h2 { font-family: var(--font-display); color: var(--color-navy-dark); }
h1 { margin: 0; font-size: clamp(1.7rem,3vw,2.4rem); line-height: 1.14; font-weight: 600; letter-spacing: -.025em; }
.product { margin: 4px 0 0; color: var(--color-text-muted); font-size: 1rem; line-height: 1.35; }
.main { flex: 1 0 auto; display: flex; flex-direction: column; }
.contact-content { padding-block: clamp(28px,4vw,48px) 25px; }
/* Flat, consistent action cards; original Orders palette. */
.home-tone--orders { --theme-ink:#74531c; --theme-bg:#f8efdc; --theme-edge:#e9d9ba; --theme-soft:#f0e3c8; }
.home-tone--finance { --theme-ink:#24528b; --theme-bg:#eaf2fc; --theme-edge:#d5e2f4; --theme-soft:#dce9f9; }
.home-tone--communication { --theme-ink:#386252; --theme-bg:#eaf3eb; --theme-edge:#d2e4d8; --theme-soft:#dce9df; }
.home-tone--resources { --theme-ink:#53567e; --theme-bg:#eff0f8; --theme-edge:#dedff1; --theme-soft:#e2e4f2; }
.action-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.action { min-width: 0; }
.home-card { display: grid; grid-template-columns: 28fr minmax(0,72fr); align-items: center; gap: 12px; min-width: 0; height: 100%; min-height: 112px; padding: 18px 22px; background: var(--theme-bg); border: 1px solid var(--theme-edge); color: var(--home-ink); border-radius: 12px; transition: background-color .15s, border-color .15s; }
.home-card-icon { display: grid; place-items: center; color: var(--theme-ink); }
.home-card-icon svg { width: 40px; height: 40px; stroke-width: 1.55; }
.home-card-copy { min-width: 0; font-size: clamp(1.06rem,1.5vw,1.18rem); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
@media (hover:hover) { .home-card:hover { background: var(--theme-soft); border-color: var(--theme-ink); } }
.home-card:active { background: var(--theme-soft); }
/* Secondary actions occupy one compact region. No extra captions or boxes. */
.utilities { margin-top: 16px; }
.utility-line { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 0 20px; }
.official-link, .template-group > summary { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--color-navy); font-size: .98rem; font-weight: 600; }
.official-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.official-link svg, summary svg { width: 16px; height: 16px; }
.regulatory { margin: 2px 0 0; max-width: 860px; color: var(--color-text-muted); font-size: .91rem; line-height: 1.5; }
.product-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px; color: var(--color-navy); text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.template-group { max-width: 100%; }
.template-group[open] { flex-basis: 100%; }
.template-group[open] > summary svg, .template-entry[open] > summary svg, .footer-privacy[open] > summary svg { transform: rotate(180deg); }
.template-list { display: grid; margin: 4px 0 12px; padding: 0 14px; background: #fff; border: 1px solid rgba(24,54,93,.12); border-radius: 12px; }
.template-entry + .template-entry { border-top: 1px solid rgba(24,54,93,.12); }
.template-entry summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; color: var(--color-navy-dark); font-weight: 600; }
.template-content { padding-bottom: 16px; font-size: .94rem; }
.template-content p, .template-content pre { overflow-wrap: anywhere; margin: 0 0 14px; }
.template-content pre { white-space: pre-wrap; font: inherit; padding: 14px; background: var(--color-warm-white); border-radius: 8px; }
.copy-template { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; min-height: 44px; border: 1px solid rgba(24,54,93,.18); border-radius: 999px; background: #fff; color: var(--color-navy); font-weight: 600; }
.copy-template:hover { background: var(--color-beige); }
/* Full bleed corporate information band, not a card. */
.company { background: var(--color-navy-dark); color: var(--color-warm-white); margin-top: auto; }
.company-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 25px 48px; padding-block: 36px; }
.company h2 { color: var(--color-white); font-size: clamp(1.55rem,2.3vw,1.9rem); line-height: 1.2; margin: 0; font-weight: 600; }
.company-role { font-size: .95rem; margin: 5px 0 0; color: rgba(250,248,243,.85); }
.srn { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin: 12px 0 0; color: var(--color-gold-light); font-size: 1rem; }
.srn span { font-weight: 500; }
.srn strong { font-weight: 600; }
.company-contacts { display: grid; align-content: center; justify-items: start; gap: 0; }
.contact-link { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 44px; line-height: 1.35; font-size: 1rem; }
.contact-link svg { color: var(--color-gold-light); width: 18px; height: 18px; }
.contact-link span { min-width: 0; overflow-wrap: anywhere; }
.contact-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.email-line { display: flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.email-line a { flex: 1; }
.copy-email { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 8px; color: var(--color-gold-light); background: transparent; padding: 0; }
.copy-email:hover { background: rgba(255,255,255,.09); }
.copy-email svg { width: 18px; height: 18px; }
.addresses { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 48px; margin: 0; padding-top: 20px; border-top: 1px solid rgba(250,248,243,.18); }
.addresses dt { color: var(--color-gold-light); font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.addresses dd { margin: 0; font-size: 1rem; color: rgba(250,248,243,.91); line-height: 1.5; }
#copy-status { margin: 0; }
#copy-status:not(:empty) { position: fixed; z-index: 10; bottom: 18px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; color: white; background: var(--color-navy-dark); box-shadow: 0 10px 24px rgba(16,40,70,.18); font-size: .95rem; }
.site-footer { padding-block: 8px; color: var(--color-text-muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 20px; align-items: center; }
.footer-privacy summary { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.footer-privacy[open] { flex-basis: 100%; }
.footer-privacy p { max-width: 65ch; overflow-wrap: anywhere; margin: 0 0 12px; }
.footer-privacy p a { text-decoration: underline; }
@media (min-width: 1024px) {
  .contact-content { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding-block: 36px; }
  .company { margin-top: 0; }
}
@media (max-width: 1023px) {
  .action-list { grid-template-columns: 1fr; gap: 12px; }
  .home-card { min-height: 82px; padding: 14px 20px; grid-template-columns: 56px minmax(0,1fr); gap: 14px; }
  .home-card-icon svg { width: 37px; height: 37px; }
  .home-card-copy { font-size: 1.12rem; }
  .company-inner { gap: 20px 24px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 91px; gap: 15px; padding-block: 17px; }
  .site-brand__mark { width: 44px; }
  h1 { font-size: clamp(1.35rem,6.1vw,1.65rem); }
  .product { font-size: .875rem; margin-top: 5px; }
  .contact-content { padding-block: 24px 23px; }
  .action-list { gap: 10px; }
  .home-card { min-height: 72px; padding: 12px 17px; grid-template-columns: 44px minmax(0,1fr); gap: 15px; }
  .home-card-icon svg { width: 33px; height: 33px; }
  .home-card-copy { font-size: 1.0625rem; }
  .utilities { margin-top: 12px; }
  .utility-line { gap: 0 9px; }
  .official-link, .template-group > summary { font-size: .91rem; gap: 5px; }
  .regulatory { font-size: .875rem; line-height: 1.48; margin-top: 3px; }
  .company-inner { grid-template-columns: minmax(0,1fr); gap: 15px; padding-block: 28px 30px; }
  .company h2 { font-size: 1.55rem; }
  .company-role { font-size: .94rem; }
  .company-contacts { padding-block: 2px; }
  .contact-link { gap: 10px; font-size: .98rem; }
  .email-address { font-size: .96rem; }
  .email-line { gap: 0; }
  .copy-email { margin-right: -6px; }
  .addresses { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .footer-inner { gap: 0 12px; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .site-brand__mark { width: 40px; }
  .home-card { grid-template-columns: 38px minmax(0,1fr); padding-inline: 12px; gap: 12px; }
  .home-card-copy { font-size: 1rem; }
  .utility-line { column-gap: 6px; }
  .official-link, .template-group > summary { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important; } }
