@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../assets/fonts/playfair-display-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500 700; font-display: swap; src: url(../assets/fonts/playfair-display-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* theme2: aligns inner pages with the new home page (dark editorial header/footer, gold CTAs, serif page titles) */
:root { color-scheme: only light; --t2-ink: #061532; --t2-ink2: #040e24; --t2-gold: #e2b552; --t2-gold2: #f8d778; --t2-line: rgba(157,176,207,.16); --font-serif: "Playfair Display", Georgia, "Times New Roman", serif; }

/* top bar */
.topbar { background: #040e24; border-bottom: 1px solid var(--t2-line); color: #9db0cf; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.topbar a { color: #f8d778; text-transform: none; letter-spacing: .02em; font-size: .8rem; }

/* header: full-width dark bar instead of white pill */
.site-header, .site-header.is-stuck { padding: 0; background: rgba(6,21,50,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--t2-line); transition: box-shadow .3s; }
.site-header.is-stuck { box-shadow: 0 14px 40px -18px rgba(0,0,0,.8); }
.nav-shell, .site-header.is-stuck .nav-shell, .site-header.on-dark .nav-shell { background: transparent; box-shadow: none; border-radius: 0; width: min(var(--wrap), 100% - 32px); padding: 0; min-height: 76px; }
.brand__word, .brand__word b { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; }
.brand__word { color: #fff; }
.brand__word b { color: #f8d778; }
.nav > a, .nav > .has-menu > a { color: #d6e0f3; border-radius: 10px; }
.nav > a:hover, .nav > .has-menu > a:hover { background: rgba(248,215,120,.1); color: #f8d778; }
.nav a[aria-current="page"] { background: transparent; color: #f8d778; box-shadow: inset 0 -2px 0 #e2b552; border-radius: 0; }
.mega { background: #0a2147; border: 1px solid rgba(248,215,120,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.mega a { color: #d6e0f3; }
.mega a:hover { color: #f8d778; }
.mega .mega__title { color: #f8d778; }
.menu-btn { background: rgba(248,215,120,.12); border: 1px solid rgba(248,215,120,.3); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { background: #f8d778; }
.menu-btn[aria-expanded="true"] span { background: transparent; }

/* buttons */
.btn { background: linear-gradient(135deg, #eec45a, #e2b552 55%, #cf9d36); color: #1a1405; border-radius: 14px; box-shadow: 0 10px 30px -10px rgba(226,181,82,.7); }
.btn--ghost { background: rgba(255,255,255,.04); color: #fff; box-shadow: inset 0 0 0 1px rgba(248,215,120,.4); }
.btn--ghost:hover { background: rgba(248,215,120,.1); box-shadow: inset 0 0 0 1px #f8d778; }

/* page banner + CTA band */
.page-head__card, .band { background: radial-gradient(900px 420px at 85% -10%, rgba(36,104,183,.38), transparent 60%), linear-gradient(160deg, #0f3b76, #061532 75%); border: 1px solid rgba(248,215,120,.16); border-radius: 28px; }
.page-head__card h1 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; }
.band h2 { font-family: var(--font-serif); font-weight: 700; }
.page-head .eyebrow, .band .eyebrow { color: #f8d778; }

/* footer */
.site-footer { background: #040e24; border-top: 1px solid var(--t2-line); color: #9db0cf; }
.site-footer a { color: #d6e0f3; }
.site-footer a:hover { color: #f8d778; }
.site-footer .footer__title, .site-footer h4 { color: #f8d778; }
.site-footer .brand__word { color: #fff; }
.footer__bar { border-top-color: var(--t2-line); color: #9db0cf; }
.footer__bar a { color: #9db0cf; }

@media (max-width: 860px) {
  .nav { background: #0a2147; border: 1px solid rgba(248,215,120,.2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
  .nav a[aria-current="page"] { box-shadow: none; background: rgba(248,215,120,.1); border-radius: 10px; }
}

/* gold button: same look and shimmer as the home page button */
.btn { position: relative; overflow: hidden; font: 700 15px/1 var(--font-head); letter-spacing: .01em; text-transform: none; min-height: 52px; border: 1px solid transparent; }
.site-header .btn { min-height: 44px; padding: 0 20px; font-size: 14px; border-radius: 12px; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); animation: t2-shimmer 5.5s ease-in-out infinite 2s; pointer-events: none; }
.btn--ghost::after { display: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(226,181,82,.85); filter: none; }
@keyframes t2-shimmer { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .btn::after { animation: none; display: none; } }

/* page palette: cream paper, white cards with warm borders, ink headings, gold accents (same as the home "Why" section) */
:root { --bg: #faf7f0; --line: #ece4d2; --ink: #0b1b3a; --muted: #4d5d7a; }
body { background: #faf7f0; color: #0b1b3a; }
h1, h2, h3, h4 { color: #0b1b3a; }
h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; }
.page-head__card h1, .band h2, .band h3, .page-head__card h2 { color: #fff; }
.eyebrow { color: #9a6f12; display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.page-head__card .eyebrow, .band .eyebrow { color: #f8d778; }
.section-head p, .card p { color: #4d5d7a; }
.card { background: #fff; border: 1px solid #ece4d2; border-radius: 18px; box-shadow: none; }
.card:hover { box-shadow: 0 18px 40px -24px rgba(11,27,58,.4); transform: translateY(-4px); }
.card::after { background: linear-gradient(90deg, #e2b552, #f8d778); }
.icon-tile { background: #fff3d3; color: #9a6f12; border-radius: 13px; }
.site-footer { margin-top: 0; }
body .pc { --blue: #0b1b3a; --blue-dark: #061532; --blue-light: #faf7f0; --bg-alt: #faf7f0; --border: #ece4d2; --muted: #4d5d7a; color: #0b1b3a; }
.pc-card { border-radius: 18px; box-shadow: none; }
.pc h2 { font-family: var(--font-head); }
.pc-tab-btn.active { background: #0b1b3a; border-color: #0b1b3a; }
.pc-btn { background: #0b1b3a; }
.pc-btn:hover { background: #061532; }
.pc-btn.pc-gold { background: #eec45a; color: #1a1405; }
.pc-btn.pc-gold:hover { background: #f8d778; }
.pc input:focus, .pc select:focus { outline-color: #e2b552; }

/* footer: same as the home page */
.hx-foot { background: #040e24; border-top: 1px solid rgba(157,176,207,.16); padding: 64px 0 28px; font: 400 .98rem/1.6 var(--font-body); color: #d6e0f3; }
.hx-wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.hx-foot__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.hx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin: 0 0 14px; }
.hx-brand img { width: 44px; height: 43px; }
.hx-brand b { font: 800 22px var(--font-head); color: #fff; letter-spacing: -.01em; }
.hx-brand b i { font-style: normal; color: #f8d778; }
.hx-foot p { color: #9db0cf; max-width: 320px; margin: 0 0 16px; }
.hx-fb { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(157,176,207,.25); color: #f8d778; }
.hx-fb svg { width: 18px; height: 18px; }
.hx-foot h3 { font: 800 12px var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: #f8d778; margin: 0 0 14px; }
.hx-foot ul { list-style: none; margin: 0; padding: 0; }
.hx-foot li a, .hx-foot address a { display: inline-block; padding: 5px 0; color: #d6e0f3; text-decoration: none; transition: color .2s; }
.hx-foot li a:hover, .hx-foot address a:hover { color: #f8d778; }
.hx-foot address { font-style: normal; color: #9db0cf; line-height: 1.7; }
.hx-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(157,176,207,.16); color: #9db0cf; font-size: .9rem; }
.hx-foot__bar a { color: #9db0cf; text-decoration: none; }
.hx-foot__bar a:hover { color: #f8d778; }
@media (max-width: 1024px) { .hx-foot__grid { grid-template-columns: 1fr 1fr; } .hx-foot__grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .hx-foot__grid { grid-template-columns: 1fr; } }

/* header: same as the home page */
.hx-skip { position: absolute; left: -999px; top: 8px; background: #e2b552; color: #061532; padding: 10px 16px; border-radius: 10px; z-index: 200; font: 700 14px Montserrat, system-ui, sans-serif; }
.hx-skip:focus { left: 8px; }
.hx-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent; font: 700 15px Montserrat, system-ui, sans-serif; letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform .3s cubic-bezier(.22,.8,.26,1), box-shadow .3s cubic-bezier(.22,.8,.26,1), border-color .3s, background .3s; }
.hx-btn svg { width: 18px; height: 18px; flex: none; }
.hx-btn--gold { background: linear-gradient(135deg, #eec45a, #e2b552 55%, #cf9d36); color: #1a1405; box-shadow: 0 10px 30px -10px rgba(226, 181, 82, .7); }
.hx-btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: hx-shimmer 5.5s ease-in-out infinite 2s; }
.hx-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(226, 181, 82, .85); }
.hx-btn--ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(248, 215, 120, .35); }
.hx-btn--ghost:hover { background: rgba(248, 215, 120, .1); border-color: #f8d778; transform: translateY(-2px); }
.hx-btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; border-radius: 12px; }
@keyframes hx-shimmer { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
.hx-top { background: #040e24; border-bottom: 1px solid rgba(157,176,207,.16); font: 600 12px Montserrat, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #9db0cf; }
.hx-top .hx-wrap { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.hx-top a { text-decoration: none; color: #f8d778; text-transform: none; letter-spacing: .02em; font-size: 13px; }
.hx-nav { position: sticky; top: 0; z-index: 100; background: rgba(6, 21, 50, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(157,176,207,.16); transition: box-shadow .3s; }
.hx-nav.is-stuck { box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .8); }
.hx-nav .hx-wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.hx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.hx-brand img { width: 44px; height: 43px; }
.hx-brand b { font: 800 22px Montserrat, system-ui, sans-serif; color: #fff; letter-spacing: -.01em; }
.hx-brand b i { font-style: normal; color: #f8d778; }
.hx-links { display: flex; align-items: center; gap: 4px; }
.hx-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font: 600 14px Montserrat, system-ui, sans-serif; letter-spacing: .02em; color: #d6e0f3; text-decoration: none; position: relative; transition: color .2s; }
.hx-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: #e2b552; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.22,.8,.26,1); }
.hx-links a:hover, .hx-links a[aria-current] { color: #fff; }
.hx-links a:hover::after, .hx-links a[aria-current]::after { transform: scaleX(1); }
.hx-links__cta { display: none !important; }
.hx-burger { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(248,215,120,.16); background: rgba(255, 255, 255, .04); cursor: pointer; align-items: center; justify-content: center; }
.hx-burger span, .hx-burger span::before, .hx-burger span::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .3s, opacity .3s; }
.hx-burger span::before, .hx-burger span::after { content: ""; position: absolute; left: 0; }
.hx-burger span::before { top: -6px; }
.hx-burger span::after { top: 6px; }
.hx-burger[aria-expanded="true"] span { background: transparent; }
.hx-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hx-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .hx-burger { display: inline-flex; }
  .hx-nav .hx-cta-nav { display: none; }
  .hx-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: rgba(6, 21, 50, .98); border-bottom: 1px solid rgba(157,176,207,.16); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .hx-nav.open .hx-links { visibility: visible; opacity: 1; transform: none; }
  .hx-links a { min-height: 52px; font-size: 16px; border-bottom: 1px solid rgba(157,176,207,.16); border-radius: 0; }
  .hx-links a::after { display: none; }
  .hx-links .hx-links__cta { display: flex !important; margin-top: 16px; justify-content: center; border: 0; border-radius: 14px; background: linear-gradient(135deg, #eec45a, #e2b552); color: #1a1405; }
  .hx-top .hx-wrap { justify-content: center; }
  .hx-top span { display: none; }
}

@media (prefers-reduced-motion: reduce) { .hx-btn--gold::after { animation: none; display: none; } }

/* inner pages sit on cream, so the header needs a solid fill to match the home page's dark navy */
.hx-nav { background: #061532; }

/* Free Tools header: steerable circuit snakes (js/snake.js) */
.page-head__card.snake-on { cursor: crosshair; }
.page-head__card.snake-on > :not(canvas):not(svg):not(.snake-hud) { position: relative; z-index: 1; }
.snake-cv { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.snake-hud { position: absolute; right: 18px; top: 14px; z-index: 2; display: flex; gap: 12px; align-items: center; font: 700 12px/1 var(--font-head, system-ui); letter-spacing: .04em; color: #f8d778; pointer-events: none; }
.snake-hud span:last-child { color: rgba(219,231,247,.7); font-weight: 600; }
@media (max-width: 560px) { .snake-hud span:last-child { display: none; } }
