/* 5150 Solutions shared look (chosen 2026-09-29, "Draft 3B").
   Loaded AFTER each page's own <style>, so it restyles the existing page parts without touching the wording.
   Every rule is scoped to body.t5150. Effects (glow, specks, spotlight) are added by theme.js. */

:root {
  --serif: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --t-navy: #050E1E; --t-navy2: #0B1E3D;
  --t-gold: #C9A84C; --t-gold2: #E2C47A;
  --t-muted: #8A9BB0; --t-line: rgba(255,255,255,0.09);
}

/* ---------- page background: navy with blue and gold light, plus a faint grain ---------- */
body.t5150 {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(30,70,140,0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(201,168,76,0.07), transparent 60%),
    var(--t-navy);
}
body.t5150::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type: heavy, tight headings ---------- */
.t5150 h1, .t5150 h2 { font-family: var(--head); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.t5150 h3, .t5150 h4 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; }
.t5150 :is(.role-abbr, .price-num-min, .stat-num, .num, .r-val, .r-zero, .calc-dollar, .calc-input-min, .tier-custom, .code, .ev-title, .lead-h2) {
  font-family: var(--head); font-weight: 800; letter-spacing: -0.03em;
}
.t5150 .hero-promise { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; }
.t5150 .page-hero-min h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -0.045em; max-width: 920px; }
.t5150 .section-head h2, .t5150 .overview-text-min h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.t5150 .page-cta-min h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.t5150 .hero-sub-left { font-weight: 400; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }

/* gold words in headings shimmer */
.t5150 :is(h1, h2) .gold {
  background: linear-gradient(100deg, #B8923A 0%, #E2C47A 30%, #FFF1C9 45%, #E2C47A 60%, #B8923A 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: inherit; animation: t-sheen 6s ease-in-out infinite;
}
@keyframes t-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------- logo and nav ---------- */
.t5150 .word { font-family: var(--head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; color: #fff; text-decoration: none; }
.t5150 .word .accent { color: var(--t-muted); font-weight: 500; }
.t5150 .nav-min {
  padding: 0 max(24px, 6%); height: 68px;
  background: rgba(5,14,30,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--t-line);
}
.t5150 .nav-min .links { gap: 1.75rem; }
.t5150 .nav-min a.link { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 500; }
.t5150 .nav-min a.link.contact {
  color: var(--t-navy); font-family: var(--head); font-weight: 700; font-size: .85rem;
  padding: .6rem 1.1rem; border-radius: 10px;
  background: linear-gradient(135deg, #E2C47A, #C9A84C 55%, #A8862F);
  box-shadow: 0 10px 30px -10px rgba(201,168,76,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .2s, background .2s;
}
.t5150 .nav-min a.link.contact:hover { color: var(--t-navy); background: linear-gradient(135deg, #F0D690, #D4B45A 55%, #B8923A); transform: translateY(-2px); }
body.t5150 > nav:not(.nav-min) { border-bottom: 1px solid var(--t-line); }

/* ---------- buttons ---------- */
.t5150 :is(.btn-solid-inline, .btn-solid, .actions .btn, .content > .btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, #E2C47A, #C9A84C 55%, #A8862F); color: var(--t-navy);
  font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: 0; text-transform: none;
  padding: .95rem 1.6rem; border: none; border-radius: 10px;
  box-shadow: 0 10px 30px -10px rgba(201,168,76,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .2s, background .2s;
}
.t5150 :is(.btn-solid-inline, .btn-solid, .actions .btn, .content > .btn):hover { background: linear-gradient(135deg, #F0D690, #D4B45A 55%, #B8923A); transform: translateY(-2px); }
.t5150 :is(.ghost-link, .actions .ghost) {
  display: inline-flex; align-items: center; font-family: var(--head); font-weight: 700; font-size: .95rem; color: #fff;
  padding: .95rem 1.6rem; border: 1px solid rgba(255,255,255,0.14); border-radius: 10px;
  background: rgba(255,255,255,0.03); backdrop-filter: blur(6px); transition: border-color .2s, color .2s;
}
.t5150 :is(.ghost-link, .actions .ghost):hover { border-color: var(--t-gold); color: var(--t-gold2); }
.t5150 .cta-row-min, .t5150 .actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.t5150 .page-cta-min { text-align: center; }

/* ---------- page top section: grid lines, drifting gold light, specks, outlined 5150 ---------- */
.t5150 .page-hero-min, .t5150 .main { position: relative; overflow: hidden; border-bottom: none; }
.t5150 .page-hero-min::before, .t5150 .main::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(201,168,76,0.07) 1px, transparent 1px) 0 0/64px 64px,
    linear-gradient(90deg, rgba(201,168,76,0.07) 1px, transparent 1px) 0 0/64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 35% 40%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 35% 40%, #000 10%, transparent 80%);
}
.t5150 .page-hero-min::after {
  content: ""; position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45), transparent);
}
.t5150 :is(.page-hero-min, .main) > :not(.t-aurora):not(.t-dust):not(.t-mark) { position: relative; z-index: 2; }
.t-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.t-aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; }
.t-aurora .a1 { width: 640px; height: 640px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(226,196,122,0.7), rgba(201,168,76,0.3) 35%, transparent 65%); animation: t-drift1 16s ease-in-out infinite alternate, t-pulse 7s ease-in-out infinite; }
.t-aurora .a2 { width: 620px; height: 620px; right: 22%; top: 10%; background: radial-gradient(circle, rgba(37,90,180,0.5), transparent 65%); animation: t-drift2 22s ease-in-out infinite alternate; }
.t-aurora .a3 { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(226,196,122,0.45), transparent 65%); animation: t-drift1 24s ease-in-out infinite alternate-reverse; }
@keyframes t-drift1 { to { transform: translate(-80px, 60px) scale(1.12); } }
@keyframes t-drift2 { to { transform: translate(90px, -50px) scale(.9); } }
@keyframes t-pulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.t-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.t-mark {
  position: absolute; right: -2vw; bottom: -0.12em; font-family: var(--head); font-weight: 800;
  font-size: clamp(8rem, 22vw, 20rem); line-height: .8; letter-spacing: -0.06em; color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.22); pointer-events: none; user-select: none;
}
.t5150 .main::before { display: none; }
.t5150 .rule { background: linear-gradient(90deg, transparent, var(--t-gold2), transparent); width: 80px; }

/* ---------- sections: gold hairlines instead of plain borders, a soft glow at the top ---------- */
.t5150 :is(.section-min, .overview-min) { position: relative; border-bottom: none; }
.t5150 :is(.section-min, .overview-min)::after {
  content: ""; position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}
.t5150 .section-min { background-image: radial-gradient(700px 260px at 50% 0%, rgba(201,168,76,0.06), transparent 70%); }

/* ---------- grids of boxes become glass cards with a gold edge and a mouse-follow glow ---------- */
.t5150 .split-grid { border: none; gap: 16px; }
.t5150 .split-cell {
  position: relative; overflow: hidden;
  border: 1px solid var(--t-line) !important; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.t5150 .split-cell:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.5) !important; box-shadow: 0 18px 40px -20px rgba(201,168,76,0.35); }
.t5150 .split-cell::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(201,168,76,0.16), transparent 60%);
}
.t5150 .split-cell:hover::before { opacity: 1; }
.t5150 .split-cell::after {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226,196,122,0.8), transparent); opacity: .45; transition: opacity .3s;
}
.t5150 .split-cell:hover::after { opacity: 1; }
.t5150 .split-cell .idx {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3);
  font-family: var(--head); font-weight: 800; font-size: .8rem;
}

/* the highlighted plan on pricing pages stands out with a gold border and glow */
.t5150 .split-cell.featured {
  border: 1px solid rgba(201,168,76,0.55) !important;
  background: linear-gradient(180deg, rgba(201,168,76,0.09), rgba(255,255,255,0.015));
  box-shadow: 0 0 60px -22px rgba(201,168,76,0.5);
}
.t5150 .badge-popular {
  font-family: var(--head); font-weight: 700; letter-spacing: .04em; font-size: .68rem; border-radius: 999px; padding: .35rem .8rem;
  background: linear-gradient(135deg, #E2C47A, #C9A84C 55%, #A8862F); color: var(--t-navy);
}

/* side lists ("Ideal For", "Engagement Model"...) become small cards with a gold edge */
.t5150 .aside-list-min { gap: 12px; }
.t5150 .aside-list-min .item {
  padding: 22px 24px; border: 1px solid var(--t-line); border-left: 2px solid rgba(201,168,76,0.6); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

/* ---------- closing call-to-action becomes a glowing navy panel ---------- */
.t5150 .page-cta-min {
  position: relative; overflow: hidden; margin: 40px max(16px, 5%) 100px; padding: 80px 28px; border-radius: 24px;
  border: 1px solid rgba(201,168,76,0.3);
  background: radial-gradient(700px 280px at 50% 0%, rgba(201,168,76,0.2), transparent 70%), linear-gradient(180deg, #0B1E3D, #081731);
  box-shadow: 0 40px 80px -40px rgba(201,168,76,0.4);
}
.t5150 .page-cta-min > :not(.t-dust) { position: relative; z-index: 1; }

/* ---------- footer ---------- */
.t5150 .footer-min, body.t5150 > footer { position: relative; border-top: none; }
.t5150 .footer-min::before, body.t5150 > footer::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45), transparent);
}
.t5150 .footer-links a { text-transform: none; letter-spacing: 0; font-size: .88rem; }
.t5150 :is(.footer-copy, .footer-tag) { font-family: var(--sans); font-size: .8rem; letter-spacing: 0; }

/* ---------- motion off for people who ask for it ---------- */
@media (prefers-reduced-motion: reduce) {
  .t-aurora span, .t5150 :is(h1, h2) .gold { animation: none; }
  .t-dust { display: none; }
}
@media (max-width: 620px) {
  .t5150 .nav-min .links { gap: 1rem; }
  .t5150 .page-cta-min { padding: 56px 22px; }
  .t-aurora .a1 { width: 380px; height: 380px; } .t-aurora .a2 { width: 420px; height: 420px; }
}
