/* ============================================================
   Cybermate design system — warm, friendly, human.
   Orange drives action. Teal guides. Blues support data.
   ============================================================ */

:root {
  --orange: #FF6B00;
  --orange-soft: #FFF0E5;
  --orange-deep: #E55F00;
  --teal: #4D9BA1;
  --teal-soft: #EAF4F5;
  --teal-deep: #3C7E83;
  --blue-trust: #245466;
  --blue-depth: #123345;
  --grey-balance: #707070;
  --ink: #0D0D0B;
  --paper: #F5F5F5;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 6px 24px rgba(18, 51, 69, 0.08);
  --shadow-lift: 0 12px 36px rgba(18, 51, 69, 0.14);
  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --label-text: 10pt;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); color: #2E2E2B; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { max-width: 62ch; }
.wide-copy p { max-width: none; margin-bottom: 1rem; }
.wide-copy p:last-child { margin-bottom: 0; }
.wide-copy h2 { margin-bottom: .5em; }
a  { color: var(--teal-deep); text-decoration: none; }
strong { font-weight: 700; }
img, svg { max-width: 100%; }

.container { width: min(1160px, 92vw); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font); font-weight: 500; font-size: 1rem;
  padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: var(--white); border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28);
}
.btn-primary:hover { background: var(--teal); color: var(--white); border-color: var(--teal); box-shadow: 0 8px 22px rgba(77, 155, 161, 0.32); transform: translateY(-2px); }
.btn-secondary {
  background: var(--white); color: var(--teal-deep); border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--blue-trust); }
.btn-ghost:hover { color: var(--orange); }
.btn-sm { padding: .55rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.08rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 245, 245, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 51, 69, 0.07);
}
@media (max-width: 640px) {
  /* Full blur recalculates every scroll frame on phones — thins it out to stop the sticky header feeling jittery while scrolling. */
  .site-header { background: rgba(245, 245, 245, 0.96); backdrop-filter: blur(6px); }
}
.nav-row { display: flex; align-items: center; gap: 1.6rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand-c { width: 50px; height: 50px; transition: transform .35s ease; }
.brand:hover .brand-c { transform: rotate(-12deg) scale(1.06); }
.brand-c.lg { width: 52px; height: 52px; }
.brand-word { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-word strong { font-weight: 800; color: var(--orange); }
.footer-word { color: var(--white); }

.main-nav { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-link {
  font-family: var(--font); font-size: .9rem; font-weight: 400; color: var(--ink);
  background: none; border: none; cursor: pointer; padding: .5rem .85rem;
  border-radius: 999px; transition: all .18s ease; display: inline-flex; align-items: center; gap: .3rem;
}
.nav-link:hover { background: var(--teal-soft); color: var(--teal-deep); }
.chev { font-size: .7rem; opacity: .55; }

.nav-item.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift); padding: .55rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s ease;
}
.nav-item.has-menu:hover .dropdown,
.nav-item.has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  color: var(--ink); font-size: .87rem; font-weight: 400;
}
.dropdown a:hover { background: var(--teal-soft); color: var(--teal-deep); }

.nav-ctas { display: flex; align-items: center; gap: .5rem; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all .25s ease; }
.mobile-menu { display: none; }

@media (max-width: 920px) {
  .main-nav, .nav-ctas { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .mobile-menu.open {
    display: flex; flex-direction: column; gap: .25rem;
    padding: 1rem 4vw 1.5rem; background: var(--paper);
    border-bottom: 1px solid rgba(18,51,69,.08);
  }
  .mobile-menu a { padding: .6rem .4rem; font-weight: 400; color: var(--ink); border-radius: 8px; }
  .mobile-menu a:hover { background: var(--teal-soft); }
  .mobile-menu .btn { justify-content: center; margin-top: .6rem; color: var(--white); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .84rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--teal-soft);
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero h1 { margin-bottom: 1.3rem; }
.hero .lede { font-size: 1.22rem; color: var(--ink); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.4rem; }
.support-line { font-size: .95rem; color: var(--grey-balance); }
.accent { color: var(--orange); }
.menu-cue { margin-top: 1rem; font-weight: 700; }

/* Floating smiley C in hero */
.hero-mark {
  position: absolute; top: 8%; right: 4%; width: 130px; opacity: .16; z-index: -1;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(4deg); } }

/* ---------- "Is this legit?" UI mock ---------- */
.ui-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 1.6rem;
  max-width: 430px; margin-inline: auto;
  animation: cardPulse 1s ease .5s 1;
}
@keyframes cardPulse { 0% { transform: scale(.985); } 55% { transform: scale(1.012); } 100% { transform: scale(1); } }
.ui-card-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.ui-card-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); animation: pulseDot 2.4s ease infinite; }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(77,155,161,.4); } 50% { box-shadow: 0 0 0 8px rgba(77,155,161,0); } }
.ui-card-head h3 { font-size: .97rem; }
.ui-msg {
  background: var(--paper); border-radius: var(--radius-sm);
  padding: .9rem 1rem; font-size: .84rem; color: var(--blue-trust); margin-bottom: 1rem;
  border-left: 3px solid var(--grey-balance);
}
.ui-verdict {
  display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-start;
  background: var(--orange-soft); border-radius: var(--radius-sm); padding: 1rem;
}
.ui-verdict .badge {
  flex-shrink: 0; background: var(--orange); color: var(--white);
  font-size: 9pt; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}
.ui-verdict p { font-size: .82rem; flex: 1 1 200px; }
.ui-verdict.safe { background: var(--teal-soft); }
.ui-verdict.safe .badge { background: var(--teal-deep); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.tint-teal { background: var(--white); }
.section.tint-orange { background: var(--white); }
.section.tint-blue { background: var(--blue-depth); color: var(--paper); }
.section.tint-blue h2, .section.tint-blue h3 { color: var(--white); }
.section.tint-blue p { color: rgba(245,245,245,.82); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head h2 { margin-bottom: .9rem; }
.section-head p { font-size: 1.12rem; color: var(--ink); }
.tint-blue .section-head p { color: rgba(245,245,245,.82); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } .split.rev > :first-child { order: 0; } }
.split h2 { margin-bottom: 1rem; }
.split p { font-size: 1.08rem; margin-bottom: 1.4rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.4rem; }
.card-grid.card-grid-2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .card-grid.card-grid-2col { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card h3 { margin: .9rem 0 .55rem; font-size: 1.17rem; }
.card p { font-size: .9rem; color: var(--grey-balance); }
.card-grid-orange-h3 .card h3 { color: var(--orange); }
.card-grid-orange-h3 .card p { color: var(--ink); }
#rebuild .card h3 { color: var(--ink); transition: color .25s ease; }
#rebuild .card:hover h3 { color: var(--teal-deep); }
.card .icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: var(--teal-soft);
}
.card:nth-child(3n+1) .icon { background: var(--orange-soft); }
.card:nth-child(3n) .icon { background: #E8EEF1; }

.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.2rem 0 1.6rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.02rem; }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--teal); color: var(--white);
  display: grid; place-items: center; font-size: .75rem; font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: .9rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  padding: 1.3rem 1.6rem; box-shadow: var(--shadow-soft);
}
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--teal-deep); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: .8rem; font-size: .95rem; color: var(--grey-balance); }

/* ---------- Dashboard mock ---------- */
.dash {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 1.5rem; font-size: .85rem;
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.dash-head span { font-weight: 700; color: var(--blue-depth); }
.dash-head em { font-style: normal; color: var(--grey-balance); font-size: var(--label-text); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.2rem; }
@media (max-width: 480px) { .dash-stats { grid-template-columns: 1fr; } }
.stat { background: var(--paper); border-radius: var(--radius-sm); padding: .9rem; }
.stat b { display: block; font-size: 1.45rem; font-weight: 800; color: var(--blue-trust); }
.stat.up b { color: var(--teal-deep); }
.stat.warn b { color: var(--orange); }
.stat small { color: var(--grey-balance); font-size: var(--label-text); }
.dash-bars { display: grid; gap: .55rem; }
.bar-row { display: grid; grid-template-columns: 92px 1fr; gap: .7rem; align-items: center; color: var(--grey-balance); }
.bar { height: 9px; border-radius: 99px; background: #E4E9EC; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--teal); transform-origin: left; animation: growBar 1.2s ease both; }
.bar i.o { background: var(--orange); }
.bar i.b { background: var(--blue-trust); }
@keyframes growBar { from { transform: scaleX(0); } }

.dash.dash-lg { padding: 2rem; }
.dash-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center; }
@media (max-width: 700px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-donut { text-align: center; }
.dash-donut .score-ring { width: 132px; height: 132px; margin: 0 auto .7rem; }
.dash-donut .score-ring > div { width: 104px; height: 104px; }
.dash-donut b { font-size: 1.85rem; }
.dash-donut small { display: block; color: var(--grey-balance); font-size: var(--label-text); }

.risk-heatmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1.3rem; }
@media (max-width: 480px) { .risk-heatmap { grid-template-columns: repeat(2, 1fr); } }
.risk-heatmap .cell {
  border-radius: var(--radius-sm); padding: .65rem .4rem; text-align: center;
  font-size: var(--label-text); font-weight: 700; color: var(--white); line-height: 1.3;
}
.risk-heatmap .cell small { display: block; font-weight: 400; font-size: var(--label-text); opacity: .85; margin-top: .15rem; }
.risk-heatmap .cell.low { background: var(--teal); }
.risk-heatmap .cell.mid { background: var(--blue-trust); }
.risk-heatmap .cell.high { background: var(--orange); }

/* ---------- Admin dashboard preview ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; margin: 2.2rem 0 2.8rem; }
.feat-grid .feat { display: flex; gap: .8rem; align-items: flex-start; text-align: left; }
.feat-grid .icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-deep);
  display: grid; place-items: center;
}
.feat-grid .icon svg { width: 19px; height: 19px; }
.feat-grid h4 { font-size: .98rem; margin-bottom: .2rem; }
.feat-grid p { font-size: .88rem; color: var(--grey-balance); }

.admin-dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.8rem; margin-bottom: 1.6rem; align-items: start; }
.chart-block { text-align: center; }
.chart-block small { display: block; color: var(--grey-balance); margin-top: .6rem; font-size: var(--label-text); }
.chart-block.chart-bars { text-align: left; }
.chart-block.chart-bars small { text-align: center; }

.pie { width: 108px; height: 108px; border-radius: 50%; margin: 0 auto .8rem; background: conic-gradient(var(--teal) 0 68%, var(--blue-trust) 68% 90%, var(--orange) 90% 100%); }
.chart-legend { list-style: none; display: inline-flex; flex-direction: column; gap: .25rem; font-size: var(--label-text); color: var(--grey-balance); text-align: left; }
.chart-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .45rem; }

.trend-line { width: 100%; height: 78px; }
.trend-line polyline { fill: none; stroke: var(--teal-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.dash-shell { display: flex; gap: 1.8rem; align-items: flex-start; }
.dash-sidenav { display: flex; flex-direction: column; gap: .2rem; min-width: 190px; flex-shrink: 0; background: var(--paper); border-radius: var(--radius-sm); padding: .8rem; }
.dash-sidenav a { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border-radius: var(--radius-sm); font-size: .84rem; font-weight: 600; color: var(--grey-balance); text-decoration: none; }
.dash-sidenav a .ic { width: 16px; height: 16px; flex-shrink: 0; }
.dash-sidenav a.active { background: var(--white); color: var(--blue-trust); box-shadow: var(--shadow-soft); }
.dash-sidenav a.active .ic { color: var(--teal-deep); }
.dash-main { flex: 1; min-width: 0; }
@media (max-width: 700px) {
  .dash-shell { flex-direction: column; }
  .dash-sidenav { flex-direction: row; flex-wrap: wrap; width: 100%; padding-bottom: .8rem; }
}

/* ---------- Risk verdict pill (plain-English, no-fear framing) ---------- */
.risk-pill-block { text-align: center; }
.risk-pill {
  display: inline-block; padding: .55rem 1.5rem; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 1rem; color: var(--white);
  background: var(--teal-deep); margin-bottom: .6rem;
}
.risk-pill[data-tone="watch"] { background: var(--orange); }
.risk-pill-meta { color: var(--grey-balance); font-size: var(--label-text); margin-bottom: .1rem; }
.risk-pill-meta b { color: var(--blue-trust); font-size: 1rem; font-weight: 800; }

/* ---------- Laptop screen frame ---------- */
.laptop-mock { max-width: 1040px; margin: 0 auto; overflow: hidden; }
.laptop-screen {
  background: linear-gradient(180deg, #1B2B33, #0D1A20);
  border-radius: 20px 20px 8px 8px;
  padding: 1.1rem 1.1rem .8rem;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.laptop-cam { width: 7px; height: 7px; border-radius: 50%; background: #3A4B53; margin: 0 auto .7rem; }
.laptop-screen .dash { box-shadow: none; }
.laptop-base {
  width: 100%; height: 16px; margin: 0 auto;
  background: linear-gradient(180deg, #2A3940, #17232A);
  border-radius: 0 0 10px 10px;
  position: relative;
}
.laptop-base::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 96px; height: 5px; background: #0D1A20; border-radius: 0 0 6px 6px;
}

/* ---------- Alert feed tile ---------- */
.alert-feed { display: grid; gap: .5rem; text-align: left; }
.alert-item {
  display: flex; align-items: flex-start; gap: .55rem;
  background: var(--paper); border-radius: var(--radius-sm); padding: .55rem .7rem;
  font-size: .76rem; color: var(--ink); line-height: 1.35;
}
.alert-item .sev-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: .3rem; flex-shrink: 0; }
.alert-item .sev-dot.high { background: var(--orange); }
.alert-item .sev-dot.mid { background: var(--blue-trust); }
.alert-item .sev-dot.low { background: var(--teal); }
.alert-item small { display: block; color: var(--grey-balance); font-size: var(--label-text); }

/* ---------- Governance Compliance Dashboard preview ----------
   Ticket #16: Poppins everywhere in this component, every sub-heading/
   label/caption/legend locked to one size (10pt) and weight, every box of
   a given type (KPI tile, content card, GRC tile, channel card) sharing
   one height, pie/donut charts one diameter, grids on one consistent gap. */
.gov-dash-frame {
  --gov-font: var(--font);
  --gov-text: var(--label-text);
  --gov-gap-x: 1.15rem;
  --gov-gap-y: 2.2rem;
  max-width: 1200px; margin: 0 auto; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid rgba(18, 51, 69, 0.06);
  font-family: var(--gov-font); font-weight: 400; line-height: 1.4;
}
.gov-dash-frame svg text { font-family: var(--gov-font); font-size: var(--gov-text); }
.gov-dash-bar { height: 40px; background: linear-gradient(90deg, var(--blue-depth) 0%, var(--blue-trust) 100%); display: flex; align-items: center; padding: 0 14px; gap: 7px; }
.gov-dash-bar .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; opacity: .85; }
.gov-dash-bar .dot.r { background: #E8544A; }
.gov-dash-bar .dot.y { background: #F0A63C; }
.gov-dash-bar .dot.t { background: var(--teal); }
.gov-dash-url { flex: 1; display: flex; justify-content: center; }
.gov-dash-url span { background: rgba(245, 245, 245, 0.92); border-radius: 7px; padding: 5px 16px; font-size: var(--gov-text); font-weight: 500; color: var(--blue-depth); }

.gov-dash-body { display: flex; align-items: stretch; }
.gov-sidenav { width: 220px; flex-shrink: 0; background: var(--blue-depth); display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem 1.1rem; }
.gov-sidenav-brand { display: flex; align-items: center; gap: .5rem; padding: .1rem .5rem 1.1rem; border-bottom: 1px solid rgba(245,245,245,.1); margin-bottom: .5rem; font-weight: 700; font-size: 1rem; color: var(--paper); }
.gov-sidenav-logo { height: 28px; width: auto; max-width: 100%; display: block; }
.gov-nav-label { font-size: var(--gov-text); font-weight: 600; letter-spacing: .08em; color: #6E8894; padding: 0 .5rem; margin-bottom: .3rem; }
.gov-nav-item { display: flex; align-items: center; gap: .6rem; padding: .72rem .8rem; border-radius: 8px; font-size: var(--gov-text); font-weight: 500; color: #C7D6DB; text-decoration: none; }
.gov-nav-item .ic { width: 15px; height: 15px; flex-shrink: 0; }
.gov-nav-item.active { background: var(--orange); color: var(--ink); font-weight: 600; }
.gov-nav-bottom { margin-top: auto; padding-top: .8rem; border-top: 1px solid rgba(245,245,245,.1); }
.gov-user { display: flex; align-items: center; gap: .6rem; padding: .7rem .5rem .1rem; }
.gov-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-trust); color: var(--paper); font-size: .68rem; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.gov-user b { display: block; font-size: var(--gov-text); font-weight: 500; color: var(--paper); }
.gov-user small { font-size: var(--gov-text); font-weight: 500; color: #6E8894; }

.gov-main { flex: 1; min-width: 0; background: var(--paper); padding: 2.2rem 2.3rem 2.5rem; display: flex; flex-direction: column; gap: 2.3rem; }
.gov-nav-hint { display: flex; align-items: center; gap: .55rem; background: var(--orange-soft); border: 1px solid var(--orange); border-radius: 10px; padding: .75rem 1.1rem; font-size: var(--gov-text); font-weight: 700; color: var(--orange-deep); }
.gov-nav-hint .ic { width: 14px; height: 14px; flex-shrink: 0; color: var(--orange-deep); }
.gov-view .gov-nav-hint { margin-bottom: 0; }
.gov-main-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.gov-main-head h4 { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.gov-main-head p { font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); margin-top: .2rem; }
.gov-head-tools { display: flex; align-items: center; gap: .6rem; }
.gov-search { background: var(--white); border: 1px solid #E2E2E2; border-radius: 9px; padding: .5rem .8rem; font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
.gov-bell { width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 1px solid #E2E2E2; position: relative; flex-shrink: 0; }
.gov-bell::before { content: ''; position: absolute; inset: 9px; border-radius: 3px; background: var(--blue-trust); }
.gov-bell::after { content: ''; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.gov-banner { background: linear-gradient(135deg, var(--blue-depth) 0%, var(--blue-trust) 60%, #2C6577 100%); border-radius: 14px; padding: 2rem 2.1rem; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: var(--gov-gap-y); column-gap: var(--gov-gap-x); }
.gov-banner > div span { display: block; font-size: var(--gov-text); font-weight: 500; color: #9FC3CC; text-transform: uppercase; letter-spacing: .06em; }
.gov-banner > div b { font-size: 1.55rem; font-weight: 700; color: var(--white); display: block; margin-top: .3rem; }
.gov-banner > div b i { font-style: normal; font-size: var(--gov-text); font-weight: 500; color: #9FC3CC; }
.gov-banner > div em { font-style: normal; display: block; font-size: var(--gov-text); font-weight: 500; color: #9FC3CC; margin-top: .2rem; }
.gov-banner > div em.up { color: #7ED8B8; }
.gov-banner > div em.warn { color: #FFB27A; }

.gov-kpis { display: grid; grid-template-columns: repeat(5, 1fr); row-gap: var(--gov-gap-y); column-gap: var(--gov-gap-x); }
.gov-kpi { background: var(--white); border-radius: 12px; padding: 1.5rem 1.6rem; box-shadow: var(--shadow-soft); height: 130px; display: flex; flex-direction: column; justify-content: center; gap: .2rem; }
.gov-kpi span { font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
.gov-kpi b { font-size: 1.3rem; font-weight: 700; color: var(--ink); display: block; }
.gov-kpi b i { font-style: normal; font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
.gov-kpi em { font-style: normal; display: block; font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
.gov-kpi em.up { color: #3E8B71; }
.gov-kpi em.warn { color: var(--orange); }
.gov-kpi em.bad { color: #C7401F; }

.gov-row { display: grid; row-gap: var(--gov-gap-y); column-gap: var(--gov-gap-x); }
.gov-row-rings { grid-template-columns: repeat(3, 1fr); }
.gov-row-chart { grid-template-columns: repeat(2, 1fr); }
.gov-row-2 { grid-template-columns: repeat(2, 1fr); }
.gov-row-audit { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .gov-row-rings, .gov-row-chart, .gov-row-2, .gov-row-audit { grid-template-columns: 1fr; } .gov-kpis { grid-template-columns: repeat(2, 1fr); } .gov-banner { grid-template-columns: repeat(2, 1fr); } }

.gov-card { background: var(--white); border-radius: 14px; padding: 1.7rem 1.85rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; min-height: 268px; }
.gov-card h5 { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
.gov-card .gov-sub { font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); margin-top: -.75rem; margin-bottom: .8rem; }
.gov-ring-card { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gov-ring-card h5 { align-self: flex-start; }
.gov-dash-frame .gov-ring, .gov-dash-frame .gov-ring-sm { width: 130px; height: 130px; margin-bottom: 0; }
.gov-dash-frame .gov-ring > div, .gov-dash-frame .gov-ring-sm > div { width: 96px; height: 96px; }
.gov-dash-frame .gov-ring b, .gov-dash-frame .gov-ring-sm b { font-size: 1.3rem; font-weight: 700; }
.gov-dash-frame .gov-ring small, .gov-dash-frame .gov-ring-sm small { font-size: var(--gov-text); font-weight: 500; }

.gov-linechart { width: 100%; height: auto; }
.gov-chart-legend-row { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: .5rem; }
.gov-chart-legend-row span { display: flex; align-items: center; gap: .35rem; font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
.gov-chart-legend-row i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.gov-heatmap-card { background: #0F1F26; }
.gov-heatmap-card h5 { color: var(--paper); }
.gov-heatmap-card .gov-sub { color: #8FA6AE; }
.gov-heatmap-grid { display: grid; grid-template-columns: 84px repeat(5, 1fr); gap: .35rem; align-items: center; }
.gov-heatmap-grid .col-label { font-size: var(--gov-text); font-weight: 500; color: #8FA6AE; text-align: center; }
.gov-heatmap-grid .row-label { font-size: var(--gov-text); font-weight: 500; color: #DCE7EA; }
.gov-heatmap-grid .cell { aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: var(--gov-text); font-weight: 700; }
.gov-heatmap-scale { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.gov-heatmap-scale span { font-size: var(--gov-text); font-weight: 500; color: #8FA6AE; }
.gov-heatmap-scale i { flex: 1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #123B45, var(--teal), #FFD8B0, var(--orange), #C7401F); }

.gov-check-list { list-style: none; width: 100%; margin-top: 1rem; display: flex; flex-direction: column; gap: .45rem; font-size: var(--gov-text); font-weight: 500; }
.gov-check-list li { display: flex; justify-content: space-between; }
.gov-check-list b { font-weight: 600; }
.gov-check-list b.ok { color: #3E8B71; }
.gov-check-list b.warn { color: var(--orange); }

.gov-grc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: var(--gov-gap-y); column-gap: var(--gov-gap-x); }
.gov-grc-tile { background: var(--white); border-radius: 14px; padding: 1.55rem 1.65rem; box-shadow: var(--shadow-soft); min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; }
.gov-grc-top { display: flex; gap: .8rem; align-items: flex-start; }
.gov-grc-donut { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; }
.gov-grc-tile b { display: block; font-size: var(--gov-text); font-weight: 600; color: var(--ink); }
.gov-grc-tile p { font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); margin-top: .25rem; line-height: 1.4; }
.gov-grc-legend { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.gov-grc-legend span { display: flex; align-items: center; gap: .3rem; font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
.gov-grc-legend i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
@media (max-width: 900px) { .gov-grc-tiles { grid-template-columns: 1fr; } .gov-heatmap-grid { grid-template-columns: 60px repeat(5, 1fr); } }

.gov-row-4 { grid-template-columns: repeat(4, 1fr); }
.gov-section { display: flex; flex-direction: column; gap: 1.1rem; }
.gov-section-title { font-size: 1rem; font-weight: 700; color: var(--ink); }
.gov-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: var(--gov-gap-y); column-gap: var(--gov-gap-x); }
.gov-service-tile { background: var(--white); border-radius: 14px; padding: 1.4rem 1.5rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: .6rem; }
.gov-service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gov-service-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.gov-service-icon svg { width: 18px; height: 18px; }
.gov-service-status { font-size: var(--gov-text); font-weight: 600; padding: .2rem .55rem; border-radius: 6px; white-space: nowrap; }
.gov-service-name { font-size: var(--gov-text); font-weight: 600; color: var(--ink); }
.gov-service-value { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.gov-service-sub { font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
@media (max-width: 900px) { .gov-row-4 { grid-template-columns: repeat(2, 1fr); } .gov-service-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 700px) {
  .gov-dash-body { flex-direction: column; }
  .gov-sidenav { width: 100%; flex-direction: row; flex-wrap: wrap; padding: .8rem; }
  .gov-sidenav-brand { width: 100%; }
  .gov-nav-label { display: none; }
  .gov-nav-bottom { width: 100%; margin-top: .5rem; padding-top: .5rem; }
}

/* ---------- Governance dashboard: interactive view switching ---------- */
button.gov-nav-item { background: none; border: none; width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
.gov-nav-item:hover:not(.active) { background: rgba(245, 245, 245, 0.08); }
.gov-view { display: none; }
.gov-view.active { display: block; }
.gov-view .gov-main-head { margin-bottom: 0; }

.gov-kpis-3 { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: var(--gov-gap-y); column-gap: var(--gov-gap-x); }
.gov-row-report { grid-template-columns: repeat(2, 1fr); }

.gov-insights { display: flex; flex-direction: column; gap: .8rem; }
.gov-insight-item { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--gov-text); font-weight: 500; color: var(--ink); line-height: 1.5; }
.gov-insight-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-top: .45rem; flex-shrink: 0; }

.gov-settings-card { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-soft); overflow: hidden; max-width: 560px; }
.gov-toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid #EEF0F1; }
.gov-toggle-row:last-child { border-bottom: none; }
.gov-toggle-row b { display: block; font-size: var(--gov-text); font-weight: 600; color: var(--ink); }
.gov-toggle-row small { display: block; font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); margin-top: .15rem; }
.gov-toggle { width: 38px; height: 22px; border-radius: 11px; position: relative; flex-shrink: 0; }
.gov-toggle::after { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--white); position: absolute; top: 3px; }
.gov-toggle.on { background: var(--orange); }
.gov-toggle.on::after { right: 3px; }
.gov-toggle.off { background: #E2E2E2; }
.gov-toggle.off::after { left: 3px; }

@media (max-width: 900px) { .gov-kpis-3 { grid-template-columns: repeat(2, 1fr); } .gov-row-report { grid-template-columns: 1fr; } }

/* ---------- Module-view enrichment: per-channel breakdown cards + sparklines ---------- */
.gov-channel-row { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: var(--gov-gap-y); column-gap: var(--gov-gap-x); }
.gov-channel-card { background: var(--paper); border-radius: 12px; padding: 1.55rem 1.65rem; display: flex; flex-direction: column; gap: .7rem; min-height: 208px; }
.gov-channel-head { display: flex; gap: .7rem; align-items: center; }
.gov-channel-head .gov-grc-donut { width: 44px; height: 44px; }
.gov-channel-head b { display: block; font-size: var(--gov-text); font-weight: 600; color: var(--ink); }
.gov-channel-head small { font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
.gov-channel-stats { display: flex; flex-direction: column; gap: .3rem; }
.gov-channel-stats span { display: flex; justify-content: space-between; font-size: var(--gov-text); font-weight: 500; color: var(--grey-balance); }
.gov-channel-stats span b { font-weight: 700; color: var(--ink); }
.gov-channel-card .dash-bars { gap: .35rem; }
.gov-dash-frame .bar-row span { font-size: var(--gov-text); font-weight: 500; }
.gov-spark { width: 100%; height: auto; margin-top: -.2rem; }
@media (max-width: 900px) { .gov-channel-row { grid-template-columns: 1fr; } }

/* ---------- Network viz ---------- */
.network-wrap { position: relative; display: grid; place-items: center; }
.network-svg { width: min(480px, 100%); }
.node { fill: var(--teal); animation: nodePulse 3s ease infinite; transform-origin: center; transform-box: fill-box; }
.node.o { fill: var(--orange); }
.node:nth-of-type(2) { animation-delay: .5s; }
.node:nth-of-type(3) { animation-delay: 1s; }
.node:nth-of-type(4) { animation-delay: 1.5s; }
.node:nth-of-type(5) { animation-delay: 2s; }
.node:nth-of-type(6) { animation-delay: 2.5s; }
.node:nth-of-type(7) { animation-delay: 3s; }
.node:nth-of-type(8) { animation-delay: 3.5s; }
.node:nth-of-type(9) { animation-delay: 4s; }
@keyframes nodePulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .75; } }
.edge { stroke: rgba(77,155,161,.35); stroke-width: 1.5; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; align-items: stretch; }
.plan {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.7rem;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  border: 2px solid transparent; transition: all .25s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.plan.featured { border-color: var(--orange); position: relative; }
.plan.featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .28rem .9rem; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; }
.plan .plan-tag { color: var(--grey-balance); font-size: var(--label-text); margin: .35rem 0 1.2rem; }
.plan ul { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.6rem; font-size: .96rem; }
.plan ul li { display: flex; gap: .55rem; }
.plan ul li::before { content: "✓"; color: var(--teal-deep); font-weight: 700; }
.plan .btn { margin-top: auto; justify-content: center; }

.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.price-table th, .price-table td { padding: 1rem 1.3rem; text-align: left; }
.price-table th { background: var(--blue-trust); color: var(--white); font-weight: 500; font-size: .95rem; }
.price-table tr:nth-child(even) td { background: var(--paper); }
.price-table td b { font-weight: 700; color: var(--blue-depth); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-soft); border-left: 4px solid var(--teal);
}
.quote-card blockquote { font-size: 1.1rem; font-weight: 400; margin-bottom: 1rem; color: var(--blue-depth); }
.quote-card cite { font-style: normal; font-size: var(--label-text); color: var(--grey-balance); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.big-stat { text-align: center; padding: 1.6rem 1rem; background: rgba(255,255,255,.06); border-radius: var(--radius); }
.big-stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--orange); }
.big-stat span { font-size: .95rem; color: rgba(245,245,245,.85); }
.stats-band-ink .big-stat span { color: var(--ink); }
.stats-band-bordered .big-stat { border: 2px solid var(--white); }

/* ---------- Prompt example ---------- */
.prompt-compare { display: grid; gap: 1rem; }
.prompt-box { border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; font-size: .97rem; background: var(--white); box-shadow: var(--shadow-soft); }
.prompt-box .label { font-size: var(--label-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: .4rem; }
.prompt-box.risky { border-left: 4px solid var(--orange); }
.prompt-box.risky .label { color: var(--orange-deep); }
.prompt-box.safe { border-left: 4px solid var(--teal); }
.prompt-box.safe .label { color: var(--teal-deep); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 2.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; color: var(--blue-trust); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; font-weight: 300;
  padding: .75rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid #DDE3E6; background: var(--paper); color: var(--ink);
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form-note { font-size: .88rem; color: var(--grey-balance); margin-top: 1rem; }
.alert { border-radius: var(--radius-sm); padding: 1rem 1.3rem; margin-bottom: 1.4rem; font-weight: 400; }
.alert.ok { background: var(--teal-soft); color: var(--teal-deep); border-left: 4px solid var(--teal); }
.alert.err { background: var(--orange-soft); color: var(--orange-deep); border-left: 4px solid var(--orange); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .cat {
  align-self: flex-start; font-size: var(--label-text); font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft);
  padding: .25rem .7rem; border-radius: 999px;
}
.post-card h3 { margin-top: .9rem; }
.post-card .read { margin-top: auto; padding-top: 1rem; font-weight: 500; color: var(--orange-deep); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-depth), var(--blue-trust) 70%, var(--teal-deep));
  border-radius: calc(var(--radius) + 6px);
  color: var(--paper); text-align: center;
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.28), transparent 65%);
  top: -140px; right: -100px;
}
.cta-band h2 { color: var(--white); margin-bottom: .9rem; }
.cta-band p { margin: 0 auto 1.8rem; color: rgba(245,245,245,.85); }
.cta-band .btn-primary { position: relative; z-index: 1; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.3rem; }
.team-card { text-align: center; }
.avatar {
  width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue-trust));
}
.team-card:nth-child(2n) .avatar { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }
.team-card h3 { font-size: 1.05rem; }
.team-card p { font-size: var(--label-text); color: var(--grey-balance); margin: .3rem auto 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Acknowledgement of Country ---------- */
.acknowledgement-country { background: #fff; padding: 1.6rem 0; margin-top: 4rem; border-top: 1px solid rgba(13,13,11,.08); }
.acknowledgement-country p { color: var(--ink); font-size: .88rem; line-height: 1.6; max-width: 60ch; margin: 0; opacity: .8; text-align: center; }
.acknowledgement-row { display: flex; align-items: center; justify-content: center; gap: 1.2rem; text-align: center; }
.acknowledgement-img { height: 140px; width: auto; flex-shrink: 0; }
@media (max-width: 480px) { .acknowledgement-row { flex-direction: column; align-items: center; gap: .8rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-depth); color: var(--paper); padding: 4rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; letter-spacing: .04em; }
.site-footer a { display: block; color: rgba(245,245,245,.72); font-size: .93rem; padding: .28rem 0; }
.site-footer a:hover { color: var(--orange); }
.footer-brand .brand { margin-bottom: .4rem; }
.footer-line { font-size: .95rem; color: rgba(245,245,245,.75); margin: 1rem 0 1.2rem; max-width: 30ch; }
.social-row { display: flex; gap: .6rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--paper); font-weight: 700; font-size: .85rem;
  transition: all .2s ease; padding: 0;
}
.social-row a:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  font-size: var(--label-text); color: rgba(245,245,245,.55);
}
.footer-legal-links { display: flex; gap: 1.2rem; }
.footer-legal-links a { display: inline; padding: 0; color: rgba(245,245,245,.55); }
.footer-legal-links a:hover { color: var(--orange); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 16ch; margin-bottom: 1.2rem; }
.page-hero .lede { font-size: 1.18rem; color: var(--ink); max-width: 56ch; margin-bottom: 1.8rem; }

/* ============================================================
   Free tools, calculators, comparisons
   ============================================================ */

.tool-shell { max-width: 780px; margin-inline: auto; }

.score-ring {
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1.2rem;
  background: conic-gradient(var(--teal) calc(var(--pct, 0) * 1%), #E4E9EC 0);
}
.score-ring.low { background: conic-gradient(var(--orange) calc(var(--pct, 0) * 1%), #E4E9EC 0); }
.score-ring > div {
  width: 118px; height: 118px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; text-align: center;
}
.score-ring b { font-size: 2.2rem; font-weight: 800; display: block; line-height: 1; }
.score-ring small { color: var(--grey-balance); font-size: var(--label-text); }

.q-card { margin-bottom: 1rem; }
.q-card .q-title { font-weight: 700; margin-bottom: .8rem; }
.option-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.option-btn {
  font-family: var(--font); font-size: .95rem; font-weight: 400;
  padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #DDE3E6; background: var(--white); color: var(--ink);
  transition: all .18s ease;
}
.option-btn:hover { border-color: var(--teal); background: var(--teal-soft); }
.option-btn.selected { background: var(--blue-trust); border-color: var(--blue-trust); color: var(--white); }

.progress-track { height: 8px; border-radius: 99px; background: #E4E9EC; margin-bottom: 2rem; overflow: hidden; }
.progress-track i { display: block; height: 100%; background: var(--orange); border-radius: 99px; transition: width .3s ease; }

.rec-list { display: grid; gap: .8rem; margin-top: 1.4rem; }
.rec-item { display: flex; gap: .8rem; align-items: flex-start; background: var(--white); border-radius: var(--radius-sm); padding: 1rem 1.2rem; box-shadow: var(--shadow-soft); text-align: left; }
.rec-item .n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep); font-weight: 700; font-size: .85rem; display: grid; place-items: center; margin-top: 2px; }
.rec-item p { font-size: .95rem; }

.signal-list { display: grid; gap: .7rem; margin: 1.2rem 0; }
.signal { background: var(--white); border-left: 4px solid var(--orange); border-radius: var(--radius-sm); padding: .9rem 1.1rem; box-shadow: var(--shadow-soft); text-align: left; }
.signal b { display: block; margin-bottom: .2rem; font-size: .98rem; }
.signal p { font-size: .84rem; color: var(--blue-trust); }

.verdict-banner { border-radius: var(--radius); padding: 1.6rem; text-align: center; margin-bottom: 1.4rem; }
.verdict-banner.danger { background: var(--orange-soft); }
.verdict-banner.warn { background: #FFF7E0; }
.verdict-banner.ok { background: var(--teal-soft); }
.verdict-banner h3 { font-size: 1.52rem; }
.verdict-banner p { margin: .6rem auto 0; font-size: .9rem; }

.slider-row { display: grid; gap: .5rem; margin: 1.4rem 0; }
.slider-row label { font-weight: 500; color: var(--blue-trust); display: flex; justify-content: space-between; }
.slider-row output { font-weight: 800; color: var(--ink); }
input[type="range"] { accent-color: var(--orange); height: 32px; }

.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
@media (max-width: 640px) { .calc-result { grid-template-columns: 1fr; } }
.calc-box { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-soft); text-align: center; }
.calc-box b { display: block; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
.calc-box.risk b { color: var(--orange-deep); }
.calc-box.cost b { color: var(--teal-deep); }
.calc-box small { color: var(--grey-balance); font-size: var(--label-text); }
.assumptions { font-size: var(--label-text); color: var(--grey-balance); margin-top: 1.4rem; }
.assumptions a { font-size: inherit; }

.toggle-row { display: flex; align-items: center; gap: .7rem; margin: 1rem 0; }
.toggle-row input[type="checkbox"] { width: 42px; height: 24px; accent-color: var(--teal-deep); cursor: pointer; }
.toggle-row label { font-weight: 500; color: var(--blue-trust); cursor: pointer; }

.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); font-size: .95rem; }
.compare-table th, .compare-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid #EEF1F3; vertical-align: top; }
.compare-table thead th { background: var(--blue-trust); color: var(--white); font-weight: 500; }
.compare-table td:first-child { font-weight: 500; color: var(--blue-depth); width: 30%; }
.compare-table .yes { color: var(--teal-deep); font-weight: 700; }
.compare-table .no { color: var(--grey-balance); }
.compare-note { font-size: var(--label-text); color: var(--grey-balance); margin-top: 1rem; }

.gate-box { background: var(--teal-soft); border-radius: var(--radius); padding: 1.6rem; margin-top: 1.6rem; text-align: center; }
.gate-box .form-inline { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.gate-box input[type="email"] {
  font-family: var(--font); font-size: 1rem; padding: .75rem 1.1rem; min-width: 260px;
  border-radius: 999px; border: 1.5px solid #CBD8DA; background: var(--white);
}
.gate-box input[type="email"]:focus { outline: none; border-color: var(--teal); }

.newsletter { margin-top: 2rem; }
.newsletter h4 { margin-bottom: .5rem; }
.newsletter p { font-size: .88rem; color: rgba(245,245,245,.7); margin-bottom: .8rem; max-width: 32ch; }
.newsletter .form-inline { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter input[type="email"] {
  font-family: var(--font); font-size: .92rem; padding: .6rem 1rem; flex: 1; min-width: 180px;
  border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--white);
}
.newsletter input[type="email"]::placeholder { color: rgba(245,245,245,.5); }
.newsletter input[type="email"]:focus { outline: none; border-color: var(--teal); }
.newsletter .btn { padding: .6rem 1.2rem; font-size: .92rem; }
.newsletter .note-ok { color: #8FD0D5; font-size: var(--label-text); padding: .4rem 0; }

.phish-msg { text-align: left; }
.phish-msg .from { font-size: var(--label-text); color: var(--grey-balance); margin-bottom: .5rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }
.badge-chip { background: var(--white); border: 1.5px solid #DDE3E6; border-radius: 999px; padding: .45rem 1rem; font-size: var(--label-text); font-weight: 500; color: var(--blue-trust); }

/* ---------- Footer lockup: C rotates into a smile when footer appears ---------- */
.footer-lockup { align-items: center; gap: .9rem; }
.footer-badge {
  flex-shrink: 0; width: 62px; height: 62px; border-radius: 50%;
  background: var(--white); display: grid; place-items: center;
}
.footer-badge svg { width: 46px; height: 46px; }
.footer-badge svg g {
  transform-origin: 50px 50px;
  transform: rotate(0deg);
  transition: transform 1.1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-footer.smile .footer-badge svg g { transform: rotate(-90deg); }
.footer-word strong { color: var(--orange); }
.footer-tagline {
  display: block; font-size: var(--label-text); font-weight: 300; letter-spacing: .02em;
  color: rgba(245,245,245,.75); margin-top: .1rem;
}

/* ============================================================
   Motion layer — entrance, drift, counters, awards
   ============================================================ */

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero .eyebrow, .page-hero .eyebrow { animation: fadeUp .7s ease both .05s; }
.hero h1, .page-hero h1 { animation: fadeUp .7s ease both .15s; }
.hero .lede, .page-hero .lede { animation: fadeUp .7s ease both .28s; }
.hero .hero-ctas, .hero .support-line, .page-hero .btn { animation: fadeUp .7s ease both .4s; }
.hero .ui-card { animation: fadeUp .8s ease both .5s, cardPulse 1s ease 1.4s 1; }

/* Drifting soft shapes behind heroes */
.hero-bg::before, .hero-bg::after { content: none; }
.hero-bg::before, .hero-bg::after {
  position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1;
}
.hero-bg::before {
  width: 420px; height: 420px; top: -120px; right: 8%;
  background: rgba(77, 155, 161, 0.18);
  animation: drift 16s ease-in-out infinite;
}
.hero-bg::after {
  width: 360px; height: 360px; bottom: -140px; left: 4%;
  background: rgba(255, 107, 0, 0.13);
  animation: drift 19s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 24px) scale(1.08); }
  66% { transform: translate(-28px, -18px) scale(0.95); }
}

@media (max-width: 640px) {
  /* On a phone these blurred circles are proportionally huge and drift right behind the headline — reads as "shaky". Shrink and still them. */
  .hero-bg::before, .hero-bg::after { width: 220px; height: 220px; animation: none; }
  .hero-mark { animation: none; }
}

/* Icon wiggle on card hover */
@keyframes wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.card:hover .icon { animation: wiggle .5s ease; }

/* Staggered card reveals */
.card-grid .reveal.visible:nth-child(1) { transition-delay: 0s; }
.card-grid .reveal.visible:nth-child(2) { transition-delay: .08s; }
.card-grid .reveal.visible:nth-child(3) { transition-delay: .16s; }
.card-grid .reveal.visible:nth-child(4) { transition-delay: .24s; }
.card-grid .reveal.visible:nth-child(5) { transition-delay: .32s; }
.card-grid .reveal.visible:nth-child(6) { transition-delay: .4s; }

/* Awards strip */
.awards-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2rem; margin-top: 3rem; padding: 1.8rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.awards-row img { height: 74px; width: auto; transition: transform .25s ease; }
.awards-row img:hover { transform: scale(1.08); }

/* Standards logos */
.standards-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; margin-top: 2rem;
}
.standards-row img { height: 46px; width: auto; background: var(--white); padding: .5rem .9rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }

/* Team photos */
.avatar-photo { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-soft); }

/* Scene photos */
.scene-photo { border-radius: var(--radius); box-shadow: var(--shadow-lift); width: 100%; object-fit: cover; }

/* ---------- Pricing tier strip + included panel ---------- */
.tier-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-bottom: 1.4rem;
}
@media (max-width: 1000px) { .tier-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tier-strip { grid-template-columns: repeat(2, 1fr); } }
.tier-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem 1rem;
  text-align: center; box-shadow: var(--shadow-soft);
  border: 2px solid var(--orange); position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--teal); }
.tier-card b { font-size: 2.1rem; font-weight: 800; line-height: 1.05; color: var(--blue-depth); }
.tier-card b small { font-size: 1.05rem; font-weight: 700; }
.tier-size { font-size: var(--label-text); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-deep); }
.tier-per { font-size: var(--label-text); color: var(--grey-balance); }
.tier-card.chat { background: var(--blue-depth); }
.tier-card.chat b { color: var(--white); font-size: 1.35rem; }
.tier-card.chat .tier-size { color: #8FD0D5; }
.tier-card.chat .tier-per a { color: var(--orange); font-weight: 600; }
.tier-card.chat-orange { background: var(--orange); }
.tier-card.chat-orange .tier-size { color: var(--orange-soft); }
.tier-card.chat-orange .tier-per a { color: var(--white); font-weight: 600; }

.included-panel {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 2rem 2.2rem;
}
.included-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; margin-bottom: 1.4rem; }
.included-head h3 { font-size: 1.35rem; }
.included-head p { font-size: .95rem; color: var(--grey-balance); }
.included-grid {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem 1.6rem;
}
@media (max-width: 900px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .included-grid { grid-template-columns: 1fr; } }
.included-grid li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; color: var(--blue-trust); }
.included-grid li::before {
  content: "✓"; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep);
  display: grid; place-items: center; font-size: .7rem; font-weight: 800;
}

.tint-blue .included-panel { background: transparent; box-shadow: none; padding: 2rem 0 0; }
.tint-blue .included-head p { color: rgba(245,245,245,.82); }
.tint-blue .included-grid li { color: var(--white); }

/* Mates Rates panel — soft school/charity photo behind a readable wash */
.mates-panel {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: clamp(2.6rem, 6vw, 4rem) 2rem; text-align: center;
}
.mates-photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.mates-photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 55%, rgba(255,255,255,.94) 100%);
}
.mates-panel-inner { position: relative; z-index: 1; max-width: 62ch; margin: 0 auto; }

/* ---------- Icon system ---------- */
.ic { width: 24px; height: 24px; display: inline-block; }
.card .icon { color: var(--teal-deep); }
.card:nth-child(3n+1) .icon { color: var(--orange-deep); }
.card:nth-child(3n) .icon { color: var(--blue-trust); }
.ui-msg .ic { width: 17px; height: 17px; vertical-align: -3px; margin-right: .25rem; }
.badge-chip .ic { width: 17px; height: 17px; vertical-align: -3px; margin-right: .3rem; color: var(--teal-deep); }
.option-btn .ic { width: 17px; height: 17px; vertical-align: -3px; margin-right: .3rem; }
.big-stat .ic { width: 42px; height: 42px; color: var(--orange); }
.social-row a .ic { width: 19px; height: 19px; }
.rec-item .ic { width: 20px; height: 20px; }

/* ---------- Photo placements ---------- */
.banner-photo { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lift); margin-top: 2.4rem; }
.page-hero .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .page-hero .hero-grid { grid-template-columns: 1fr; } }
.page-hero .hero-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lift); object-fit: cover; max-height: 400px; animation: fadeUp .8s ease both .45s; }
.post-img { width: calc(100% + 3.6rem); margin: -1.8rem -1.8rem 1.2rem; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Photo hero backgrounds: photo behind text, texture on top ---------- */
.hero-photo-bg {
  position: absolute; inset: 0; z-index: -3;
  background-size: cover; background-position: center;
}
.has-photo .hero-bg {
  background: linear-gradient(100deg, rgba(245,245,245,0.97) 0%, rgba(245,245,245,0.9) 42%, rgba(245,245,245,0.6) 75%, rgba(245,245,245,0.4) 100%);
}

/* Homepage generated hero — image composed with clean left space, so lighter overlay */
.has-photo.hero-gen .hero-bg {
  background: linear-gradient(100deg, rgba(245,245,245,0.9) 0%, rgba(245,245,245,0.6) 40%, rgba(245,245,245,0.1) 68%, rgba(245,245,245,0) 100%);
}

/* Official primary lockup in the nav (min 50px height per guidelines) */
.brand-lockup { height: 50px; width: auto; transition: transform .3s ease; }
.brand:hover .brand-lockup { transform: scale(1.03); }

/* Footer: official brandmark, inverse lockup on dark */
.footer-mark { width: 62px; height: 62px; flex-shrink: 0; }
.footer-word-white { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.footer-word-white strong { font-weight: 800; color: var(--white); }

/* ============================================================
   Marquees (capability ticker + awards & standards)
   ============================================================ */
.marquee { overflow: hidden; width: 100%; }
.marquee-track { display: inline-flex; align-items: center; gap: 1.2rem; white-space: nowrap; will-change: transform; animation: marqueeLeft 36s linear infinite; padding-block: .2rem; }
.marquee[data-direction="right"] .marquee-track { animation-name: marqueeRight; animation-duration: 44s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } }

.ticker-band { background: var(--blue-depth); padding: .9rem 0; }
.ticker-item {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--paper); font-size: .95rem; font-weight: 500; padding: .35rem .9rem;
}
.ticker-item .ic { width: 18px; height: 18px; color: var(--orange); }

.standards-band { background: var(--white); }
.badge-tile {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 210px; height: 170px; padding: 1rem 1.6rem;
  background: var(--white); border: 1.5px solid #E3E7EA; border-radius: var(--radius-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.badge-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.badge-tile img { max-height: 140px; width: auto; }
.badge-tile.text-tile { font-size: .95rem; color: var(--grey-balance); text-align: center; line-height: 1.35; }
.badge-tile.text-tile b { color: var(--ink); font-size: 1.2rem; }

/* ---------- Team bios ---------- */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 860px) { .bio-grid { grid-template-columns: 1fr; } }
.bio-card {
  display: flex; gap: 1.3rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.bio-photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bio-role { font-size: var(--label-text); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--teal-deep); margin: .2rem 0 .6rem; }
.bio-text { font-size: .93rem; color: var(--grey-balance); }

/* ---------- Blog article ---------- */
.article-shell { max-width: 760px; }
.article-meta { font-size: var(--label-text); color: var(--grey-balance); margin-bottom: 1rem; }
.article-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.6rem; }
.article-hero { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-bottom: 2rem; }
.article-body { font-size: 1.05rem; color: var(--ink); }
.article-body h2, .article-body h3 { margin: 1.8rem 0 .8rem; }
.article-body p { margin-bottom: 1rem; max-width: none; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.4rem; }
.article-body li { margin-bottom: .35rem; }
.article-body img { border-radius: var(--radius-sm); margin: 1rem 0; }
.article-body a { text-decoration: underline; }
.article-body figure { margin: 1rem 0; }


.ticker-item b { color: var(--orange); font-weight: 800; }

/* Mobile: photo heroes show the image below the text instead of hiding it under the wash */
@media (max-width: 860px) {
  .has-photo .hero-bg, .has-photo.hero-gen .hero-bg {
    background: linear-gradient(180deg, rgba(245,245,245,0.97) 0%, rgba(245,245,245,0.92) 48%, rgba(245,245,245,0.35) 78%, rgba(245,245,245,0.05) 100%);
  }
  .has-photo .hero-photo-bg { background-position: center bottom; }
  .page-hero.has-photo, .hero.has-photo { padding-bottom: 15rem; }
}
/* Desktop: let the photo read more clearly on the right */
@media (min-width: 861px) {
  .has-photo.hero-gen .hero-bg {
    background: linear-gradient(100deg, rgba(245,245,245,0.92) 0%, rgba(245,245,245,0.55) 38%, rgba(245,245,245,0.05) 62%, rgba(245,245,245,0) 100%);
  }
}

/* ============================================================
   Stat tile feed — modern tiles, continuous ticket-machine roll
   ============================================================ */
.ticket-strip {
  background: var(--white); padding: 1.8rem 0; position: relative; overflow: hidden;
  border-top: 1px solid #ECEFF1; border-bottom: 1px solid #ECEFF1;
}
.ticket-item {
  display: inline-flex; align-items: center; gap: .9rem;
  background: var(--white); color: var(--ink);
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  padding: .95rem 1.5rem; border-radius: 14px;
  border: 1px solid #E3E7EA;
  box-shadow: 0 4px 14px rgba(18, 51, 69, 0.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ticket-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--teal); }
.ticket-item b {
  color: var(--orange); font-weight: 800; font-size: 1.5rem; line-height: 1;
  padding-right: .9rem; border-right: 2px dashed #D8DEE2;
}
.ticket-strip .marquee-track { gap: 1.1rem; animation-duration: 48s; }
.ticket-strip .marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Standards logos: uniform height, larger ---------- */
.std-logo { height: 96px !important; width: auto; max-height: none !important; object-fit: contain; }
.scroll-pane { background: var(--white); }

/* ---------- Footer secondary logo (static) ---------- */
.footer-logo { height: 58px; width: auto; display: block; }

/* ---------- Responsive video embed ---------- */
.video-wrap {
  position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin-inline: auto;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--ink);
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Mobile polish ---------- */
@media (max-width: 640px) {
  .badge-tile { min-width: 150px; height: 128px; padding: .8rem 1rem; }
  .badge-tile img { max-height: 100px; }
  .std-logo { height: 72px !important; }
  .ticket-item { font-size: .84rem; padding: .55rem 1.1rem; }
  .ticket-item b { font-size: 1.05rem; }
  .hero-ctas .btn, .page-hero .btn { width: 100%; justify-content: center; }
  .page-hero .btn + .btn { margin-top: .6rem; }
  .footer-logo { height: 48px; }
  .table-scroll { -webkit-overflow-scrolling: touch; }
  h1 { overflow-wrap: break-word; }
}

/* ---------- Stationary award & standards logo grids ---------- */
.awards-pane, .standards-pane { background: var(--white); }
.logo-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2.5rem 3.5rem;
}
.logo-grid img { height: 200px; width: auto; max-width: 320px; object-fit: contain; }
.standards-grid img { height: 180px; max-width: 360px; }
.std-mark {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 600; letter-spacing: .14em; color: var(--grey-balance);
  line-height: 1.25; text-align: center; padding: .6rem 1rem;
  border-top: 3px solid var(--teal); border-bottom: 3px solid var(--teal);
}
.std-mark b { font-size: 1.7rem; font-weight: 800; letter-spacing: .06em; color: var(--ink); }
@media (max-width: 640px) {
  .logo-grid { gap: 1.6rem 2rem; }
  .logo-grid img { height: 120px; max-width: 220px; }
  .standards-grid img { height: 104px; }
  .std-mark b { font-size: 1.25rem; }
}

/* ---------- Dark homepage hero (matches current site) ---------- */
.hero-dark .hero-bg {
  background: linear-gradient(100deg, rgba(10, 16, 22, 0.78) 0%, rgba(10, 16, 22, 0.62) 45%, rgba(10, 16, 22, 0.34) 75%, rgba(10, 16, 22, 0.22) 100%);
}
.hero-dark h1 { color: #FFFFFF; }
.hero-dark .lede { color: #FFFFFF; }
.hero-dark .support-line { color: rgba(255, 255, 255, 0.7); }
.hero-dark .eyebrow { background: rgba(255, 255, 255, 0.14); color: #9FD8DC; }
.hero-dark .eyebrow-orange { background: rgba(255, 107, 0, 0.16); color: var(--orange); }
@media (max-width: 860px) {
  .hero.has-photo.hero-dark .hero-bg, .page-hero.has-photo.hero-dark .hero-bg {
    background: linear-gradient(180deg, rgba(10,16,22,0.82) 0%, rgba(10,16,22,0.72) 52%, rgba(10,16,22,0.35) 80%, rgba(10,16,22,0.2) 100%);
  }
}

/* ---------- Slow seamless logo marquees, unified logo styling ---------- */
.logo-marquee .marquee-track {
  gap: 4.5rem; align-items: center; padding-block: .8rem;
  animation-name: marqueeRight; animation-duration: 75s;
}
.logo-marquee img {
  height: 150px; width: auto; max-width: 260px; object-fit: contain;
  mix-blend-mode: multiply; filter: contrast(1.02) saturate(0.96);
  transition: transform .25s ease;
}
.logo-marquee img:hover { transform: translateY(-5px); }
.standards-marquee img { height: 135px; max-width: 280px; }
.logo-marquee .std-mark { border-top-width: 2.5px; border-bottom-width: 2.5px; }
@media (max-width: 640px) {
  .logo-marquee .marquee-track { gap: 2.4rem; }
  .logo-marquee img { height: 100px; max-width: 180px; }
  .standards-marquee img { height: 90px; }
}

/* ---------- Rich hero darkening: black-based, contrast-forward, no grey wash ---------- */
.hero-dark .hero-photo-bg { filter: contrast(1.16) saturate(1.12) brightness(0.86); }
.hero-dark .hero-bg {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.78) 45%, rgba(0, 0, 0, 0.55) 75%, rgba(0, 0, 0, 0.4) 100%);
}
@media (max-width: 860px) {
  .hero.has-photo.hero-dark .hero-bg, .page-hero.has-photo.hero-dark .hero-bg {
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.8) 52%, rgba(0,0,0,0.6) 80%, rgba(0,0,0,0.4) 100%);
  }
}

/* Why Cybermate hero: lighter shading than the standard dark hero (ticket #80) */
.hero-soft.hero-dark .hero-photo-bg { filter: contrast(1.1) saturate(1.08) brightness(0.94); }
.hero-soft.hero-dark .hero-bg {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.28) 75%, rgba(0, 0, 0, 0.16) 100%);
}
@media (max-width: 860px) {
  .hero.has-photo.hero-soft.hero-dark .hero-bg, .page-hero.has-photo.hero-soft.hero-dark .hero-bg {
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.48) 52%, rgba(0,0,0,0.3) 80%, rgba(0,0,0,0.16) 100%);
  }
}

/* Homepage hero: darker shading on the left of the photo, over the standard soft/dark hero (ticket #102) */
/* Deepened further to a more black, longer-fading wash while keeping the photo readable on the right (ticket #105) */
/* Two shades darker again, right-hand side of the photo left as-is so it stays light (ticket #106) */
/* Lightened back up for a more transparent tint, kept dark enough under the hero text for contrast (ticket #126) */
/* Tint stays black, pushed as transparent as the hero text's contrast will allow (ticket #128) */
/* Solid black from the left edge through to the middle, fade starts at the midpoint instead of immediately (ticket #130) */
.hero.hero-soft.hero-dark .hero-bg {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.92) 50%, rgba(0, 0, 0, 0.4) 75%, rgba(0, 0, 0, 0.06) 100%);
}
@media (max-width: 860px) {
  .hero.has-photo.hero-soft.hero-dark .hero-bg {
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.06) 100%);
  }
}

/* SME/small-business hero: lighter shading on the right side of the photo (ticket #93) */
.hero-smb.hero-dark .hero-photo-bg { filter: contrast(1.12) saturate(1.1) brightness(1); }
.hero-smb.hero-dark .hero-bg {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.78) 45%, rgba(0, 0, 0, 0.28) 75%, rgba(0, 0, 0, 0.1) 100%);
}

/* Sub-menu (Platform + Industry dropdown) hero pages: matched to the SME treatment above -- no tint on the right side of the photo, original image showing through (ticket #354) */
.hero-submenu.hero-dark .hero-photo-bg { filter: contrast(1.12) saturate(1.1) brightness(1); }
.hero-submenu.hero-dark .hero-bg {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.78) 45%, rgba(0, 0, 0, 0.28) 75%, rgba(0, 0, 0, 0.1) 100%);
}

/* Pricing hero: split-tone treatment -- solid black text zone on the left (no grey wash, no filter on the photo), original photo fully untouched from the middle onward (ticket #355) */
.hero-split.hero-dark .hero-photo-bg { filter: none; }
.hero-split.hero-dark .hero-bg {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.9) 44%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0) 74%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width: 860px) {
  .hero.has-photo.hero-split.hero-dark .hero-bg, .page-hero.has-photo.hero-split.hero-dark .hero-bg {
    background: linear-gradient(180deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.9) 46%, rgba(0,0,0,0.35) 62%, rgba(0,0,0,0) 78%, rgba(0,0,0,0) 100%);
  }
}

/* ---------- Enterprise-grade standards block (static, logos only) ---------- */
.standards-block { background: var(--white); padding-block: clamp(4.5rem, 8vw, 7rem); }
.standards-head { max-width: 820px; margin: 0 auto 3.5rem; text-align: center; }
.standards-head h2 { margin-bottom: 1.4rem; }
.standards-intro { font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 0 auto 1.1rem; max-width: 60ch; }
.standards-sub { font-size: 1.02rem; font-weight: 300; color: var(--grey-balance); margin: 0 auto; max-width: 70ch; }
.std-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; justify-items: center;
  gap: 3rem 2.5rem; max-width: 980px; margin-inline: auto;
}
.std-grid img {
  height: 120px; width: auto; max-width: 100%; object-fit: contain;
  mix-blend-mode: multiply; filter: contrast(1.02) saturate(0.98);
}
@media (max-width: 760px) {
  .std-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.6rem; }
  .std-grid img { height: 88px; }
}

/* Centre the free-tools chips row */
.badge-row { justify-content: center; }

/* ---------- Announcement bar (Cybermate 3.0 launch) ---------- */
.announce-bar { background: var(--blue-depth); color: var(--paper); text-align: center; padding: .55rem 1rem; }
.announce-bar p { margin: 0; font-size: .88rem; color: rgba(245, 245, 245, 0.92); max-width: none; }
.announce-bar a { color: var(--white); text-decoration: underline; font-weight: 500; }

/* ---------- Launch note (Cybermate 3.0 mentions in hero/rebuild copy) ---------- */
.launch-note { font-size: .92rem; font-weight: 600; color: var(--orange); margin: -.6rem 0 1.2rem; }
.launch-note a { color: inherit; text-decoration: underline; }
.launch-note-center { text-align: center; margin: 0 0 1rem; }
.whats-new-note { text-align: left; font-weight: 600; color: var(--orange); margin: -1rem 0 1.6rem; }

/* ---------- Sign-in pop-up (Cybermate 3.0 launch notice) ---------- */
.signin-modal-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(13, 13, 11, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 1.2rem;
}
.signin-modal-overlay[hidden] { display: none; }
.signin-modal {
  position: relative; max-width: 460px; width: 100%;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 2rem 1.8rem;
}
.signin-modal h3 { margin-bottom: .6rem; }
.signin-modal p { margin-bottom: .8rem; color: var(--grey-balance); }
.signin-modal-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.signin-modal-close {
  position: absolute; top: .8rem; right: .8rem;
  background: none; border: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--grey-balance);
}

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  max-width: 720px; margin: 0 auto;
  background: var(--blue-depth); color: var(--paper);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
  padding: 1.1rem 1.3rem;
}
.cookie-notice-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.cookie-notice p { margin: 0; font-size: .92rem; color: rgba(245,245,245,.85); max-width: 56ch; }
.cookie-notice a { color: var(--white); text-decoration: underline; }
.cookie-notice .btn { flex-shrink: 0; }
@media (max-width: 480px) { .cookie-notice-inner { flex-direction: column; align-items: stretch; text-align: center; } }
