/* Shared look for the inner marketing pages (free tools, privacy, terms).
   Same tokens, type and buttons as marketing/index.html. */

:root {
  --ocean: #0B7799;
  --deep:  #085E78;
  --depth: #063B4C;
  --abyss: #042A36;
  --sky:   #3FA8E0;
  --mist:  #EAF6FA;
  --ink:   #13262E;
  --mid:   #4E6671;
  --line:  #DCE9EE;
  --bg:    #F4F8FA;
  --white: #FFFFFF;
  --green: #0E7D5B; --green-bg: #E8F6F0;
  --amber: #915908; --amber-bg: #FBF2DF;
  --sun:   #FFD166;
  --grad:  linear-gradient(135deg, #0B7799 0%, #085E78 100%);
  --grad-hero: radial-gradient(900px 420px at 90% -20%, rgba(63,168,224,.55), transparent 60%),
               linear-gradient(160deg, #0B7799 0%, #085E78 50%, #063B4C 100%);
  --font: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 18px 48px rgba(6,59,76,.14), 0 2px 6px rgba(6,59,76,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--ocean); }
button, input, select { font-family: var(--font); }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--white); color: var(--depth); padding: 12px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Nav — sits on the gradient band, turns white once you scroll */
.site-nav { position: fixed; inset: 0 0 auto; z-index: 200; transition: background .25s, box-shadow .25s; }
.site-nav .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--white); text-decoration: none; min-height: 48px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 20px; height: 20px; }
.site-nav.solid { background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-nav.solid .brand { color: var(--depth); }
.site-nav.solid .brand-mark { background: var(--grad); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 14px; font: 700 18px/1.2 var(--font); text-decoration: none; border: 0; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--abyss); box-shadow: 0 10px 24px rgba(255,209,102,.35); }
.btn-water { background: var(--grad); color: var(--white); box-shadow: 0 10px 24px rgba(8,94,120,.25); }
.site-nav .btn { min-height: 48px; padding: 10px 18px; font-size: 16px; }

/* Page header band */
.band { background: var(--grad-hero); color: var(--white); padding: 112px 0 96px; position: relative; overflow: hidden; }
.band .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.band-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; color: var(--bg); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.95); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: '›'; margin-right: 6px; opacity: .7; }
.eyebrow-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.band h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -1.6px; font-weight: 800; margin: 16px 0 14px; max-width: 820px; text-wrap: balance; }
.band .lede { font-size: clamp(18px, 2vw, 21px); color: rgba(255,255,255,.93); max-width: 680px; }

/* Footer */
.site-footer { background: var(--abyss); color: rgba(255,255,255,.82); padding: 36px 0; font-size: 16px; margin-top: 72px; }
.site-footer .inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer .brand { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-links a { color: rgba(255,255,255,.9); text-decoration: none; padding: 12px 10px; min-height: 48px; display: inline-flex; align-items: center; border-radius: 10px; }
.footer-links a:hover, .footer-links a[aria-current="page"] { background: rgba(255,255,255,.1); }

/* Legal pages: summary card, contents, readable sections */
.doc { max-width: 1160px; margin: -56px auto 0; padding: 0 20px; position: relative; z-index: 2; display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.toc { position: sticky; top: 92px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.toc p { font-size: 14px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ocean); margin-bottom: 6px; }
.toc ol { list-style: none; counter-reset: t; }
.toc a { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 6px 8px; border-radius: 10px; color: var(--depth); text-decoration: none; font-size: 16px; font-weight: 600; line-height: 1.3; }
.toc a::before { counter-increment: t; content: counter(t); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); color: var(--ocean); font-size: 13px; display: grid; place-items: center; }
.toc a:hover { background: var(--mist); }
.doc-body { min-width: 0; display: grid; gap: 18px; }
.summary { background: var(--white); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); border-top: 6px solid var(--sun); }
.summary h2 { font-size: 24px; color: var(--depth); margin-bottom: 14px; letter-spacing: -.4px; }
.summary ul { list-style: none; display: grid; gap: 12px; }
.summary li { display: flex; gap: 12px; }
.summary li::before { content: '✓'; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-bg); color: var(--green); font-weight: 800; display: grid; place-items: center; font-size: 15px; margin-top: 1px; }
.summary .note { margin-top: 14px; font-size: 16px; color: var(--mid); }
.sect { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; }
.sect h2 { font-size: 22px; line-height: 1.25; color: var(--depth); margin-bottom: 12px; letter-spacing: -.3px; }
.sect p, .sect li { color: var(--ink); }
.sect p + p, .sect ul + p, .sect p + ul { margin-top: 10px; }
.sect ul { padding-left: 22px; display: grid; gap: 8px; }
.sect li::marker { color: var(--ocean); }
.callout { background: var(--amber-bg); color: var(--amber); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.contact-card { background: var(--grad); color: var(--white); border-radius: 20px; padding: 26px 28px; }
.contact-card h2 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.contact-card p { color: rgba(255,255,255,.92); }
.contact-card a.btn { margin-top: 14px; }
.updated-note { font-size: 16px; color: var(--mid); }

@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .band { padding: 100px 0 84px; }
  .sect, .summary, .contact-card { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
