/* =========================================================================
   Hypwave — Design System & Global Styles
   Primary brand: #FF6A1A (orange) · Complement: #0D1B2A (dark navy)
   ========================================================================= */

:root {
  --color-primary: #FF6A1A;
  --color-primary-hover: #E85A10;
  --color-primary-light: #FFF3EB;
  --color-primary-pale: #FFE5D4;
  /* Darker orange used only for small text on white so it meets WCAG AA */
  --color-primary-ink: #C2410C;
  --color-navy: #0D1B2A;
  --color-navy-secondary: #172B3A;
  --color-text: #111827;
  --color-muted: #64748B;
  --color-border: #E5E7EB;
  --color-white: #FFFFFF;
  --color-background: #F8FAFC;
  --color-success: #10B981;
  --color-success-light: #ECFDF5;
  --color-error: #DC2626;
  --color-error-light: #FEF2F2;
  --color-on-navy-muted: #A7B4C2;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Manrope', 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 1px 3px rgba(13, 27, 42, .06);
  --shadow: 0 8px 24px -8px rgba(13, 27, 42, .14), 0 2px 6px rgba(13, 27, 42, .05);
  --shadow-lg: 0 24px 60px -18px rgba(13, 27, 42, .25), 0 6px 16px rgba(13, 27, 42, .06);
  --shadow-orange: 0 12px 28px -10px rgba(255, 106, 26, .55);

  --header-h: 80px;
  --container: 1240px;
  --gutter: 24px;
  --section-y: 100px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--color-text); background: var(--color-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); color: var(--color-navy); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
code { font-size: .9em; background: rgba(13,27,42,.06); padding: 1px 5px; border-radius: 4px; }
[hidden] { display: none !important; }
.icon { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }
.selectable { user-select: all; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--color-navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: 64px; position: relative; }
.section-alt { background: var(--color-background); }
.section-orange { background: var(--color-primary-light); }
.section-navy { background: var(--color-navy); color: #fff; position: relative; overflow: hidden; }
.section-navy::before { content: ''; position: absolute; width: 640px; height: 640px; left: -260px; top: -300px; background: radial-gradient(circle, rgba(255,106,26,.22), transparent 62%); pointer-events: none; }
.section-navy > .container { position: relative; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; color: var(--color-muted); }
.section-navy .section-head p { color: var(--color-on-navy-muted); }
.text-orange { color: var(--color-primary); }
.text-muted { color: var(--color-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Eyebrow, badges, notes ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-navy); padding: 6px 14px 6px 7px; border-radius: 99px; background: var(--color-primary-light); border: 1px solid var(--color-primary-pale); margin-bottom: 18px; }
.eyebrow-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary); color: var(--color-navy); display: grid; place-items: center; }
.eyebrow--dark { background: rgba(255,106,26,.12); border-color: rgba(255,106,26,.3); color: #fff; }
.eyebrow--white { background: #fff; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 99px; background: var(--color-background); color: var(--color-navy); border: 1px solid var(--color-border); white-space: nowrap; }
.badge-orange { background: var(--color-primary-light); color: var(--color-primary-ink); border-color: var(--color-primary-pale); }
.badge-solid { background: var(--color-primary); color: var(--color-navy); border-color: var(--color-primary); }
.badge-navy { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.badge-green { background: var(--color-success-light); color: #047857; border-color: #A7F3D0; }
.badge-demo { background: #FEF9C3; color: #854D0E; border-color: #FDE68A; text-transform: uppercase; letter-spacing: .06em; font-size: .64rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.55); } 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.demo-note { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: #854D0E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: var(--radius); padding: 12px 16px; }
.demo-note .icon { margin-top: 2px; color: #B45309; }
.demo-note a { text-decoration: underline; font-weight: 600; }
.demo-note--dark { background: rgba(254,249,195,.08); border-color: rgba(253,230,138,.3); color: #FDE68A; }
.demo-note--dark .icon { color: #FDE68A; }

/* ---------- Buttons (navy text on orange keeps WCAG AA contrast) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; font-weight: 700; font-size: .97rem; line-height: 1.2; border-radius: var(--radius); border: 2px solid transparent; transition: background-color .2s var(--ease), border-color .2s, color .2s, transform .2s var(--ease); text-align: center; white-space: nowrap; position: relative; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-navy); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-outline { background: #fff; color: var(--color-navy); border-color: var(--color-navy); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary-ink); background: var(--color-primary-light); }
.btn-navy { background: var(--color-navy); color: #fff; }
.btn-navy:hover { background: var(--color-navy-secondary); }
.btn-ghost { color: var(--color-navy); }
.btn-ghost:hover { background: var(--color-primary-light); color: var(--color-primary-ink); }
.btn-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .88rem; border-radius: 10px; }
.btn-xs { min-height: 34px; padding: 6px 12px; font-size: .8rem; border-radius: 8px; box-shadow: none; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .75; cursor: not-allowed; transform: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--color-navy); border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-primary-ink); transition: gap .2s, color .2s; }
.text-link:hover { gap: 10px; color: var(--color-primary-hover); }
.section-navy .text-link, .agency .text-link { color: var(--color-primary); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.card-hover:hover { border-color: var(--color-primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.card p { color: var(--color-muted); font-size: .95rem; }
a.card { display: flex; flex-direction: column; }
a.card p { flex: 1; }
.icon-tile { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--color-primary-light); color: var(--color-primary); margin-bottom: 18px; transition: background-color .25s, color .25s; flex-shrink: 0; }
.card-hover:hover .icon-tile { background: var(--color-primary); color: #fff; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--color-primary); margin-top: 3px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card .icon-tile { margin: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.relative { position: relative; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--color-navy); }
.req { color: var(--color-primary-ink); margin-left: 2px; }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--color-border); border-radius: 10px; font-size: .95rem; color: var(--color-text); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D1B2A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: #94A3B8; }
.input:hover, .select:hover, .textarea:hover { border-color: #CBD5E1; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(255,106,26,.16); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--color-error); background: var(--color-error-light); }
.field.is-valid .input { border-color: var(--color-success); }
.field-error { font-size: .82rem; color: var(--color-error); font-weight: 500; display: none; align-items: center; gap: 6px; }
.field.has-error .field-error { display: flex; }
.field-hint { font-size: .8rem; color: var(--color-muted); }
.input-wrap { position: relative; }
.input-wrap .input { padding-left: 44px; }
.input-wrap > .input-icon { display: flex; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--color-muted); pointer-events: none; }
.input-wrap .pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: var(--color-muted); }
.input-wrap .pw-toggle:hover { color: var(--color-primary); background: var(--color-primary-light); }
.input-wrap.has-toggle .input { padding-right: 50px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--color-muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; margin: 2px 0 0; width: 20px; height: 20px; border: 1.5px solid #CBD5E1; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.check input:checked { background: var(--color-primary); border-color: var(--color-primary); }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid var(--color-navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.check a { color: var(--color-primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.field.has-error .check input { border-color: var(--color-error); }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 15px 17px; border-radius: var(--radius); font-size: .92rem; line-height: 1.5; }
.form-alert .icon { margin-top: 2px; }
.form-alert strong { display: block; margin-bottom: 2px; }
.form-alert--success { background: var(--color-success-light); border: 1px solid #A7F3D0; color: #065F46; }
.form-alert--info { background: var(--color-primary-light); border: 1px solid var(--color-primary-pale); color: var(--color-navy); }
.form-alert--info .icon { color: var(--color-primary); }
.form-alert--error { background: var(--color-error-light); border: 1px solid #FECACA; color: #991B1B; }
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ''; position: absolute; top: -1px; left: 34px; right: 34px; height: 3px; background: var(--color-primary); border-radius: 0 0 4px 4px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-footnote { font-size: .8rem; color: var(--color-muted); }

/* ---------- Header ---------- */
#site-header { min-height: var(--header-h); }
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--color-border); box-shadow: 0 6px 24px -12px rgba(13,27,42,.18); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.header-logo { flex-shrink: 0; border-radius: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { display: block; width: auto; height: 56px; }
.site-footer .logo img { height: 64px; }
.auth-brand .logo img, .auth-single-top .logo img { height: 56px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-item { position: static; }
.nav-item--small { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; height: 44px; padding: 0 12px; font-weight: 600; font-size: .94rem; color: var(--color-navy); border-radius: 10px; position: relative; transition: color .2s, background-color .2s; }
.nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--color-primary-ink); background: var(--color-primary-light); }
.nav-item.is-current > .nav-link::after, .nav-item.is-open > .nav-link::after { transform: scaleX(1); }
.nav-chevron { transition: transform .25s var(--ease); }
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-item--cta { display: flex; align-items: center; margin-left: 12px; }
.nav-item--cta .btn { box-shadow: 0 8px 20px -10px rgba(255,106,26,.6); }
.nav-signin { font-weight: 600; font-size: .94rem; color: var(--color-navy); padding: 8px 10px; border-radius: 8px; }
.nav-signin:hover { color: var(--color-primary-ink); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; place-items: center; color: var(--color-navy); border: 1px solid var(--color-border); margin-left: auto; }
.nav-toggle-close { display: none; }
.menu-open .nav-toggle-open { display: none; }
.menu-open .nav-toggle-close { display: block; }

.mega-menu, .dropdown-menu { position: absolute; top: calc(100% - 6px); z-index: 90; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
.mega-menu { left: 50%; width: min(1140px, calc(100vw - 48px)); margin-left: calc(min(1140px, calc(100vw - 48px)) / -2); }
.mega-menu--md { width: min(920px, calc(100vw - 48px)); margin-left: calc(min(920px, calc(100vw - 48px)) / -2); }
.nav-item.is-open > .mega-menu, .nav-item.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; background: #fff; border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px; }
.mega-inner--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.mega-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary-ink); margin: 0 0 8px 12px; }
.mega-grid { display: grid; gap: 4px; }
.mega-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 26px; }
.mega-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mega-group-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 800; font-size: .93rem; color: var(--color-navy); padding-bottom: 9px; margin-bottom: 7px; border-bottom: 1px solid var(--color-border); }
.mega-group-title .icon { color: var(--color-primary); }
.mega-group-title:hover { color: var(--color-primary-ink); }
.mega-group ul { list-style: none; display: grid; gap: 1px; }
.mega-group ul a { display: block; font-size: .88rem; color: var(--color-muted); padding: 5px 8px; margin-left: -8px; border-radius: 8px; transition: .15s; }
.mega-group ul a:hover, .mega-group ul a[aria-current] { color: var(--color-primary-ink); background: var(--color-primary-light); }
.mega-card { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background-color .15s; }
.mega-card:hover { background: var(--color-primary-light); }
.mega-card strong { display: block; font-size: .92rem; color: var(--color-navy); }
.mega-card small { display: block; font-size: .8rem; color: var(--color-muted); line-height: 1.4; margin-top: 2px; }
.mega-card-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--color-primary-light); color: var(--color-primary); }
.mega-card:hover .mega-card-icon { background: var(--color-primary); color: #fff; }
.mega-list { list-style: none; display: grid; gap: 2px; background: var(--color-background); border-radius: var(--radius); padding: 10px; }
.mega-list a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; font-weight: 600; font-size: .9rem; color: var(--color-navy); }
.mega-list a .icon { color: var(--color-primary); }
.mega-list a:hover, .mega-list a[aria-current] { background: #fff; color: var(--color-primary-ink); }
.mega-promo { background: linear-gradient(160deg, var(--color-primary-light), #fff); border: 1px solid var(--color-primary-pale); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mega-promo h3 { font-size: 1.06rem; }
.mega-promo p { font-size: .86rem; color: var(--color-muted); margin-bottom: 4px; }
.mega-promo--navy { background: radial-gradient(circle at 100% 0, rgba(255,106,26,.35), transparent 55%), var(--color-navy); border-color: var(--color-navy); }
.mega-promo--navy h3 { color: #fff; }
.mega-promo--navy p { color: var(--color-on-navy-muted); }
.dropdown-menu { left: 50%; width: 320px; margin-left: -160px; background: #fff; border: 1px solid var(--color-border); border-top: 3px solid var(--color-primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px; }

.mobile-nav { border-top: 1px solid var(--color-border); background: #fff; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav-inner { padding: 8px var(--gutter) 28px; }
.m-acc { border-bottom: 1px solid var(--color-border); }
.m-acc-btn, .m-plain { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-weight: 700; font-size: 1.04rem; color: var(--color-navy); }
.m-plain { border-bottom: 1px solid var(--color-border); }
.m-acc-btn[aria-expanded="true"] { color: var(--color-primary-ink); }
.m-acc-btn[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.m-acc-panel { padding: 0 0 14px; display: grid; }
.m-acc-panel a { padding: 8px 12px; color: var(--color-muted); font-size: .96rem; border-left: 2px solid var(--color-border); border-radius: 0 8px 8px 0; }
.m-acc-panel a strong { color: var(--color-navy); }
.m-acc-panel a:hover { color: var(--color-primary-ink); border-left-color: var(--color-primary); background: var(--color-primary-light); }
.m-group-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary-ink); margin: 12px 0 4px; }
.mobile-nav-cta { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-navy); color: var(--color-on-navy-muted); position: relative; overflow: hidden; padding-top: 64px; }
.footer-glow { position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(255,106,26,.28), transparent 65%); pointer-events: none; }
.footer-cta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 34px; margin-bottom: 56px; border-radius: var(--radius-xl); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.footer-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 4px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 36px; position: relative; }
.footer-brand p { margin: 18px 0 20px; font-size: .94rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); color: #fff; transition: .2s; }
.social-link:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-navy); }
.footer-mail { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #fff; margin: 16px 0 0 !important; }
.footer-mail + .footer-mail { margin-top: 10px !important; }
.footer-mail a { display: inline-flex; align-items: center; gap: 8px; color: #fff; transition: color .2s; }
.footer-mail a:hover { color: var(--color-primary); text-decoration: none; }
.info-card .text-link { word-break: break-word; }
.footer-title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { font-size: .88rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--color-primary); padding-left: 4px; }
.footer-bottom { margin-top: 56px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-legal { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--color-primary); }

/* ---------- Homepage hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before { content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -280px; background: radial-gradient(circle, rgba(255,106,26,.16), transparent 62%); }
.hero-grid-lines { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(var(--color-border) 1px, transparent 1px), linear-gradient(90deg, var(--color-border) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 60%); mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 60%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 20px; }
.hero-lead { font-size: 1.1rem; color: var(--color-muted); max-width: 580px; margin-bottom: 26px; }
.hero-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-bottom: 32px; max-width: 560px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--color-navy); font-size: .95rem; }
.pt-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--color-primary-light); color: var(--color-primary); display: grid; place-items: center; flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: var(--color-navy); }
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span:nth-child(2) { background: var(--color-primary); color: var(--color-navy); }
.avatar-stack span:nth-child(3) { background: var(--color-navy-secondary); }
.avatar-stack span:nth-child(4) { background: #FF8F52; color: var(--color-navy); }
.trust-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-stat strong { display: block; font-family: var(--font-heading); font-size: 1.28rem; color: var(--color-navy); line-height: 1.1; }
.trust-stat span { font-size: .8rem; color: var(--color-muted); }
.trust-note { font-size: .74rem; color: var(--color-muted); margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.hero-visual { position: relative; padding: 40px 0 48px; }
.showcase { position: relative; z-index: 2; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.showcase::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--color-primary), #FF9A5C, var(--color-primary)); }
.showcase-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 22px 14px; }
.showcase-head h2 { font-size: 1.1rem; letter-spacing: -.01em; }
.showcase-status { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; color: #047857; background: var(--color-success-light); padding: 6px 10px; border-radius: 99px; }
.showcase-filters { display: flex; gap: 8px; padding: 0 22px 14px; flex-wrap: wrap; }
.chip { font-size: .78rem; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: var(--color-background); border: 1px solid var(--color-border); color: var(--color-navy); transition: .2s; }
.chip.is-active, .chip:hover { background: var(--color-primary-light); border-color: var(--color-primary); color: var(--color-primary-ink); }
.showcase-list { list-style: none; padding: 0 10px 10px; display: grid; gap: 4px; }
.showcase-row { width: 100%; text-align: left; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 14px; border: 1px solid transparent; transition: .2s var(--ease); }
.showcase-row:hover, .showcase-row.is-selected { background: var(--color-primary-light); border-color: var(--color-primary-pale); }
.site-fav { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-family: var(--font-heading); font-size: .95rem; flex-shrink: 0; }
.fav-0 { background: var(--color-navy); color: #fff; } .fav-1 { background: var(--color-primary); color: var(--color-navy); } .fav-2 { background: var(--color-navy-secondary); color: #fff; } .fav-3 { background: #FF8F52; color: var(--color-navy); }
.site-name { display: block; font-weight: 700; color: var(--color-navy); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 3px; font-size: .74rem; color: var(--color-muted); align-items: center; }
.site-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: #CBD5E1; }
.dr-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--color-primary-light); color: var(--color-primary-ink); }
.site-price { display: block; text-align: right; font-weight: 800; font-family: var(--font-heading); color: var(--color-navy); margin-top: 4px; }
.showcase-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 22px; border-top: 1px solid var(--color-border); background: var(--color-background); font-size: .76rem; color: var(--color-muted); flex-wrap: wrap; }
.float-card { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; box-shadow: var(--shadow); padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: .78rem; animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--color-navy); font-size: .86rem; }
.float-card small { color: var(--color-muted); }
.fc-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--color-primary); color: var(--color-navy); flex-shrink: 0; }
.float-card--a { left: -36px; bottom: 0; }
.float-card--b { right: -20px; top: 0; animation-delay: -3s; }
.float-card--b .fc-icon { background: var(--color-success-light); color: var(--color-success); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Homepage hero (v2): navy stage, centred copy, wide marketplace preview ---------- */
.hero2 { position: relative; overflow: hidden; background: var(--color-navy); color: #fff; padding: 84px 0 96px; }
.hero2-bg { position: absolute; inset: 0; pointer-events: none; }
.hero2-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 20%, #000, transparent 70%); }
.hero2-glow { position: absolute; border-radius: 50%; }
.hero2-glow--a { width: 900px; height: 900px; left: 50%; top: -520px; transform: translateX(-50%); background: radial-gradient(circle, rgba(255,106,26,.34), transparent 62%); }
.hero2-glow--b { width: 640px; height: 640px; right: -260px; bottom: -280px; background: radial-gradient(circle, rgba(255,106,26,.2), transparent 62%); }
.hero2-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; color: var(--color-primary); }
.hero2-inner { position: relative; display: grid; gap: 72px; }
.hero2-copy { max-width: 1000px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero2 h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.7rem); line-height: 1.03; letter-spacing: -.04em; margin-bottom: 22px; }
.hero2-lead { color: var(--color-on-navy-muted); font-size: 1.14rem; max-width: 720px; margin-bottom: 30px; }
.hero2-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.hero2-points li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-weight: 600; font-size: .92rem; color: #fff; }
.hero2-points .pt-icon { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,106,26,.18); color: var(--color-primary); }
.hero2-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 38px; }
.hero2-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; padding: 14px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.hero2 .avatar-stack span { border-color: var(--color-navy); }
.hero2 .trust-stats { gap: 0; }
.hero2 .trust-stat { padding: 0 22px; text-align: left; }
.hero2 .trust-stat + .trust-stat { border-left: 1px solid rgba(255,255,255,.14); }
.hero2 .trust-stat strong { color: #fff; }
.hero2 .trust-stat span { color: var(--color-on-navy-muted); }
.hero2 .trust-note { color: var(--color-on-navy-muted); justify-content: center; margin-top: 14px; }
.hero2-stage { position: relative; width: 100%; max-width: 1080px; margin: 0 auto; }
.showcase--wide { box-shadow: 0 50px 100px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); }
.showcase--wide .showcase-head { flex-wrap: wrap; justify-content: flex-start; gap: 12px 14px; padding: 20px 24px; border-bottom: 1px solid var(--color-border); }
.showcase--wide .showcase-filters { padding: 0; margin-left: auto; }
.window-dots { display: inline-flex; gap: 6px; margin-right: 4px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.window-dots i:first-child { background: var(--color-primary); }
.showcase-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px; }
.showcase-list--grid .showcase-row { height: 100%; padding: 16px; border-color: var(--color-border); }
.showcase-list--grid .showcase-row:hover, .showcase-list--grid .showcase-row.is-selected { border-color: var(--color-primary); }
/* Badges rest on the card's top corners, clear of the header content */
.hero2 .float-card--a { left: 28px; right: auto; top: -46px; bottom: auto; }
.hero2 .float-card--b { right: 28px; left: auto; top: -46px; bottom: auto; }

/* ---------- Ticker ---------- */
.ticker { background: var(--color-primary-light); border-block: 1px solid var(--color-primary-pale); display: flex; overflow: hidden; }
.ticker-label { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 0 18px; background: var(--color-navy); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ticker-toggle { color: #fff; font-size: .66rem; width: 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); }
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-track { display: flex; width: max-content; animation: marquee var(--ticker-duration, 48s) linear infinite; }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; font-size: .9rem; font-weight: 500; color: var(--color-navy); white-space: nowrap; border-right: 1px solid var(--color-primary-pale); }
.ticker-item .t-status { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); }
.ticker-item .icon { color: var(--color-primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Logos ---------- */
.logo-carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 20px; width: max-content; }
.logo-item { width: 200px; height: 82px; flex-shrink: 0; border: 1px solid var(--color-border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #94A3B8; font-family: var(--font-heading); font-weight: 800; transition: .25s; }
.logo-item:hover { color: var(--color-primary); border-color: var(--color-primary); }
.logo-item { padding: 12px 22px; }
.client-logo { display: block; max-width: 100%; max-height: 50px; width: auto; height: auto; object-fit: contain; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.carousel-controls .badge { white-space: normal; text-align: center; line-height: 1.4; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--color-border); color: var(--color-navy); background: #fff; transition: .2s; }
.icon-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-light); }

/* ---------- Agency banner & dashboard mock ---------- */
.agency { background: var(--color-navy); color: #fff; overflow: hidden; }
.agency::before { content: ''; position: absolute; width: 700px; height: 700px; left: -300px; top: -300px; background: radial-gradient(circle, rgba(255,106,26,.22), transparent 62%); pointer-events: none; }
.agency-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.agency h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: #fff; margin-bottom: 14px; }
.agency-lead { color: var(--color-on-navy-muted); font-size: 1.1rem; margin-bottom: 30px; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.benefit { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--color-primary); border-radius: var(--radius); padding: 18px; }
.benefit .b-icon { color: var(--color-primary); display: block; margin-bottom: 10px; }
.benefit h3 { font-size: 1rem; color: #fff; margin-bottom: 5px; }
.benefit p { font-size: .87rem; color: var(--color-on-navy-muted); }
.agency-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.dash { background: #fff; color: var(--color-text); border-radius: var(--radius-xl); box-shadow: 0 40px 80px -30px rgba(0,0,0,.45), var(--shadow); padding: 22px; border: 1px solid var(--color-border); }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; }
.dash-title { font-family: var(--font-heading); font-weight: 800; color: var(--color-navy); }
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.dash-stat { background: var(--color-background); border: 1px solid var(--color-border); border-radius: 12px; padding: 11px; }
.dash-stat small { display: block; font-size: .7rem; color: var(--color-muted); }
.dash-stat strong { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-navy); }
.dash-stat.is-accent { background: var(--color-primary-light); border-color: var(--color-primary-pale); }
.dash-stat.is-accent strong { color: var(--color-primary-ink); }
.campaign { padding: 13px 0; border-top: 1px solid var(--color-border); }
.campaign-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.campaign-name { font-weight: 700; font-size: .88rem; color: var(--color-navy); }
.campaign-client { font-size: .72rem; color: var(--color-muted); }
.progress { height: 8px; background: var(--color-background); border-radius: 99px; overflow: hidden; border: 1px solid var(--color-border); }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-primary), #FF9A5C); border-radius: 99px; }
.progress-meta { display: flex; justify-content: space-between; font-size: .72rem; color: var(--color-muted); margin-top: 5px; }
.status { display: inline-flex; font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.status--live { background: var(--color-success-light); color: #047857; }
.status--review { background: var(--color-primary-light); color: var(--color-primary-ink); }
.status--writing { background: #EEF2F6; color: var(--color-navy-secondary); }
.status--brief { background: #F1F5F9; color: var(--color-muted); }
.dash-report { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 12px; background: var(--color-navy); color: #fff; }
.dash-report strong { display: block; font-size: .88rem; }
.dash-report small { color: var(--color-on-navy-muted); font-size: .74rem; }

/* ---------- "Content featured on" strip ---------- */
/* Card lifts over the bottom edge of the navy hero */
.featured { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 8px; }
.featured-card { display: flex; align-items: center; gap: 28px; padding: 22px 26px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: 0 24px 50px -28px rgba(13,27,42,.35), var(--shadow-sm); }
.featured-head { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-right: 28px; border-right: 1px solid var(--color-border); }
.featured-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--color-primary); color: var(--color-navy); }
.featured-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; color: var(--color-navy); }
.featured-list { list-style: none; flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
/* Auto slider */
.featured-viewport { flex: 1; min-width: 0; overflow: hidden; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.featured-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-right: 10px; animation: featured-marquee var(--featured-duration, 30s) linear infinite; }
.featured-viewport:hover .featured-track, .featured-viewport:focus-within .featured-track { animation-play-state: paused; }
.featured-track .featured-item { flex: 0 0 auto; }
@keyframes featured-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .featured-viewport { -webkit-mask-image: none; mask-image: none; }
  .featured-track { animation: none; flex-wrap: wrap; width: auto; padding-right: 0; }
}
/* Publication logo tiles: brand colours (grayscale made light logos like Moz/Reuters unreadable) */
.featured-item { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; height: 64px; padding: 0 26px; border-radius: 12px; border: 1px solid var(--color-border); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.featured-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.featured-logo { display: block; height: 28px; width: auto; max-width: 150px; object-fit: contain; mix-blend-mode: multiply; opacity: .9; transition: opacity .25s; }
.featured-item:hover .featured-logo { opacity: 1; }
.featured-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: .74rem; color: var(--color-muted); }
.featured-note .icon { color: var(--color-primary); }

/* ---------- Services (homepage) ---------- */
.svc-card { position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.svc-card::before { content: ''; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--color-primary); transform: scaleX(.2); transform-origin: left; transition: transform .35s var(--ease); }
.svc-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--color-primary-light); color: var(--color-primary); transition: background-color .25s, color .25s; }
.svc-card:hover .svc-icon { background: var(--color-primary); color: var(--color-navy); }
.svc-num { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--color-border); }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.svc-card h3 a:hover { color: var(--color-primary-ink); }
.svc-card > p { flex: 1; color: var(--color-muted); font-size: .94rem; margin-bottom: 18px; }
.svc-card .svc-more { display: flex; padding-top: 16px; border-top: 1px solid var(--color-border); }
.svc-links { list-style: none; display: grid; gap: 2px; padding: 12px 0; margin-bottom: 18px; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); flex: 1; align-content: start; }
.svc-links a { display: flex; align-items: center; gap: 6px; padding: 5px 0; font-size: .9rem; font-weight: 500; color: var(--color-navy); transition: color .15s, padding .15s; }
.svc-links a .icon { color: var(--color-primary); }
.svc-links a:hover { color: var(--color-primary-ink); padding-left: 4px; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--color-primary-ink); transition: gap .2s; }
.svc-more:hover { gap: 10px; }

/* ---------- Case studies (homepage) ---------- */
.cases-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 40px; }
.cases-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 12px; }
.cases-head p { color: var(--color-muted); font-size: 1.06rem; max-width: 540px; }
.cases-head .btn { flex-shrink: 0; }
.case-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.case-card::before { content: ''; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--color-primary); transform: scaleX(.2); transform-origin: left; transition: transform .35s var(--ease); }
.case-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.case-card:hover::before { transform: scaleX(1); }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.case-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; background: var(--color-primary-light); border: 1px solid var(--color-primary-pale); color: var(--color-primary-ink); font-size: .76rem; font-weight: 700; }
.case-text { flex: 1; color: var(--color-text); font-size: .98rem; line-height: 1.65; }
.case-result { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.case-metric { flex-shrink: 0; min-width: 76px; height: 56px; padding: 0 12px; display: grid; place-items: center; border-radius: 14px; background: var(--color-primary); color: var(--color-navy); box-shadow: 0 10px 22px -12px rgba(255,106,26,.7); font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.case-result strong { display: block; font-family: var(--font-heading); color: var(--color-navy); font-size: .98rem; }
.case-result small { color: var(--color-muted); font-size: .8rem; }
.cases-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; font-size: .74rem; color: var(--color-muted); }
.cases-note .icon { color: var(--color-primary); }

/* ---------- Agency partner banner (homepage) ---------- */
.agency2-banner { position: relative; overflow: hidden; background: var(--color-navy); color: #fff; border-radius: var(--radius-xl); padding: 56px 56px 48px; box-shadow: 0 40px 80px -40px rgba(13,27,42,.55); }
.agency2-banner::before { content: ''; position: absolute; width: 620px; height: 620px; right: -200px; top: -320px; background: radial-gradient(circle, rgba(255,106,26,.32), transparent 62%); pointer-events: none; }
.agency2-banner::after { content: ''; position: absolute; width: 480px; height: 480px; left: -220px; bottom: -300px; background: radial-gradient(circle, rgba(255,106,26,.18), transparent 62%); pointer-events: none; }
.agency2-bg { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; color: var(--color-primary); pointer-events: none; }
.agency2-bg svg { width: 100%; height: 100%; }
.agency2-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.agency2-head h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.agency2-lead { color: var(--color-on-navy-muted); font-size: 1.1rem; max-width: 560px; }
.agency2-head .btn { flex-shrink: 0; }
.agency2-grid { position: relative; z-index: 1; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.agency2-card { position: relative; padding: 26px 22px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(2px); transition: background-color .25s, border-color .25s, transform .25s var(--ease); }
.agency2-card::before { content: ''; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--color-primary); transform: scaleX(.25); transform-origin: left; transition: transform .35s var(--ease); }
.agency2-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,106,26,.45); transform: translateY(-4px); }
.agency2-card:hover::before { transform: scaleX(1); }
.agency2-num { position: absolute; top: 18px; right: 20px; font-family: var(--font-heading); font-weight: 800; font-size: 1.9rem; line-height: 1; color: rgba(255,255,255,.08); }
.agency2-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--color-primary); color: var(--color-navy); margin-bottom: 18px; }
.agency2-card h3 { color: #fff; font-size: 1.06rem; margin-bottom: 8px; }
.agency2-card p { color: var(--color-on-navy-muted); font-size: .9rem; line-height: 1.55; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--color-primary) 0 8px, transparent 8px 14px); opacity: .6; }
.step { position: relative; text-align: center; }
.step-num { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; position: relative; background: #fff; border: 2px solid var(--color-primary); color: var(--color-primary); box-shadow: 0 0 0 8px #fff; transition: .3s; }
.step:hover .step-num { background: var(--color-primary); color: var(--color-navy); }
.step-num b { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--color-navy); color: #fff; font-size: .74rem; display: grid; place-items: center; font-family: var(--font-heading); }
.step-body { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px 16px; transition: .25s; }
.step:hover .step-body { border-color: var(--color-primary); box-shadow: var(--shadow); }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .87rem; color: var(--color-muted); }
/* Desktop: equal-height cards, titles in a 2-line slot, descriptions exactly 3 lines */
@media (min-width: 1100px) {
  .step { display: flex; flex-direction: column; }
  .step-body { flex: 1; display: flex; flex-direction: column; }
  .step h3 { min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
  .step p { line-height: 1.6; min-height: 4.8em; }
}
/* Narrower desktops: tighter cards so descriptions still fit in 3 lines */
@media (min-width: 1100px) and (max-width: 1279px) {
  .timeline { gap: 12px; }
  .step-body { padding: 18px 10px; }
  .step h3 { font-size: .94rem; }
  .step p { font-size: .8rem; }
}

/* ---------- Stats ---------- */
.stats { background: var(--color-navy); overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%, rgba(255,106,26,.25), transparent 40%), radial-gradient(circle at 90% 100%, rgba(255,106,26,.18), transparent 40%); pointer-events: none; }
.stats .container { position: relative; }
.stats .section-head h2 { color: #fff; }
.stats .section-head p { color: var(--color-on-navy-muted); }
.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 26px 16px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); text-align: center; transition: border-color .25s; }
.stat:hover { border-color: var(--color-primary); }
.stat-value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--color-primary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { color: #fff; font-weight: 600; margin: 6px 0 10px; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.t-carousel { overflow: hidden; }
.t-track { display: flex; transition: transform .6s var(--ease); }
.t-slide { flex: 0 0 calc(100% / var(--per-view, 3)); padding: 0 11px; }
.t-card { height: 100%; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: .25s; }
.t-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); }
.t-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.t-quote { width: 46px; height: 46px; border-radius: 12px; background: var(--color-primary); color: var(--color-navy); display: grid; place-items: center; }
.t-card blockquote { margin: 0; flex: 1; line-height: 1.65; }
.t-person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--color-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .88rem; border: 3px solid var(--color-primary-pale); flex-shrink: 0; }
.t-person strong { display: block; color: var(--color-navy); }
.t-person > div { min-width: 0; }
.t-person small { display: block; color: var(--color-muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 99px; background: #CBD5E1; transition: .3s; }
.dot.is-active { width: 28px; background: var(--color-primary); }

/* ---------- CTA box ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--color-primary-light); border: 1px solid var(--color-primary-pale); padding: 64px 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cta-box--single { grid-template-columns: minmax(0, 1fr); text-align: center; }
.cta-box--single .cta-actions { justify-content: center; }
.cta-box--single p { margin-inline: auto; }
.cta-box h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.cta-box p { color: var(--color-muted); font-size: 1.08rem; margin-bottom: 28px; max-width: 580px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.network-graphic { width: 100%; max-width: 400px; justify-self: center; }
.network-graphic .n-line { stroke: var(--color-primary); stroke-opacity: .4; stroke-width: 1.5; stroke-dasharray: 4 6; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq-item.is-open { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; font-weight: 700; font-size: 1.01rem; color: var(--color-navy); font-family: var(--font-heading); }
.faq-q:hover { color: var(--color-primary-ink); }
.faq-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--color-background); transition: transform .3s var(--ease), background-color .3s; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); background: var(--color-primary); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; color: var(--color-muted); }
.chip-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }

/* ---------- Blog cards & articles ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-thumb { aspect-ratio: 16 / 10; max-width: 100%; position: relative; overflow: hidden; display: block; }
.post-thumb svg { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb svg { transform: scale(1.05); }
.post-thumb .badge { position: absolute; left: 12px; top: 12px; }
.post-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.post-meta { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: var(--color-muted); }
.post-body h3 { font-size: 1.05rem; line-height: 1.35; margin: 0; }
.post-body h3 a:hover { color: var(--color-primary-ink); }
.post-body p { flex: 1; font-size: .92rem; }
.article-thumb { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; margin-bottom: 32px; }
.article-thumb svg { width: 100%; height: 100%; }

/* ---------- Contact / enquiry section ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 52px; align-items: start; }
.contact-aside h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.contact-aside > p { color: var(--color-muted); font-size: 1.06rem; margin-bottom: 26px; }
.contact-points { list-style: none; display: grid; gap: 16px; }
.contact-points li { display: flex; gap: 14px; }
.contact-points .icon-tile { margin: 0; width: 44px; height: 44px; background: #fff; }
.contact-points strong { display: block; color: var(--color-navy); }
.contact-points span { color: var(--color-muted); font-size: .9rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 68px; background: var(--color-background); border-bottom: 1px solid var(--color-border); }
.page-hero::before { content: ''; position: absolute; width: 640px; height: 640px; right: -200px; top: -320px; background: radial-gradient(circle, rgba(255,106,26,.16), transparent 62%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 880px; margin-bottom: 16px; }
.page-hero .lead { font-size: 1.12rem; color: var(--color-muted); max-width: 720px; }
.page-hero .hero-ctas { margin: 28px 0 0; }
.page-hero--navy { background: var(--color-navy); border-color: var(--color-navy); }
.page-hero--navy::before { background: radial-gradient(circle, rgba(255,106,26,.3), transparent 62%); }
.page-hero--navy h1 { color: #fff; }
.page-hero--navy .lead { color: var(--color-on-navy-muted); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.hero-facts { display: grid; gap: 12px; }
.hero-fact { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.hero-fact strong { display: block; color: var(--color-navy); }
.hero-fact small { color: var(--color-muted); }
.hero-fact .icon-tile { margin: 0; width: 44px; height: 44px; }
.page-hero--navy .hero-fact { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.page-hero--navy .hero-fact strong { color: #fff; }
.page-hero--navy .hero-fact small { color: var(--color-on-navy-muted); }
.page-hero--navy .hero-fact .icon-tile { background: rgba(255,106,26,.15); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; color: var(--color-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--color-primary-ink); font-weight: 600; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #CBD5E1; }
.page-hero--navy .breadcrumb { color: var(--color-on-navy-muted); }
.page-hero--navy .breadcrumb a { color: var(--color-primary); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.split p { color: var(--color-muted); margin-bottom: 16px; }
.panel { background: var(--color-primary-light); border: 1px solid var(--color-primary-pale); border-radius: var(--radius-xl); padding: 34px; }
.panel h3 { font-size: 1.25rem; margin-bottom: 16px; }
.panel--navy { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.panel--navy h3 { color: #fff; }
.numbered { list-style: none; display: grid; gap: 18px; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; transition: .25s; }
.numbered li:hover { border-color: var(--color-primary); box-shadow: var(--shadow); }
.numbered li::before { content: counter(n, decimal-leading-zero); width: 56px; height: 56px; border-radius: 14px; background: var(--color-primary); color: var(--color-navy); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; }
.numbered h3 { font-size: 1.14rem; margin-bottom: 6px; }
.numbered p { color: var(--color-muted); }
.value-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.value-row > div { background: #fff; padding: 22px; }
.value-row strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary-ink); }
.value-row span { color: var(--color-muted); font-size: .9rem; }

/* ---------- Service & solution detail pages ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 22px; }
.aside-card h3 { font-size: 1rem; margin-bottom: 12px; }
.aside-card--cta { background: var(--color-navy); border-color: var(--color-navy); color: var(--color-on-navy-muted); }
.aside-card--cta h3 { color: #fff; font-size: 1.15rem; }
.aside-card--cta p { font-size: .9rem; margin-bottom: 16px; }
.aside-links { list-style: none; display: grid; gap: 2px; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; font-size: .9rem; color: var(--color-muted); }
.aside-links a:hover, .aside-links a[aria-current] { background: var(--color-primary-light); color: var(--color-primary-ink); }
.aside-links a[aria-current] { font-weight: 700; }
.content-block { margin-bottom: 48px; }
.content-block > h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.content-block > p { color: var(--color-muted); margin-bottom: 18px; }
.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.deliverable { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }
.deliverable .icon { color: var(--color-primary); margin-top: 2px; }
.deliverable strong { color: var(--color-navy); font-size: .95rem; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.compare-table th { background: var(--color-background); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 600; color: var(--color-navy); }

/* ---------- Prose & legal ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p, .prose li { color: #334155; margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li::marker { color: var(--color-primary); }
.prose a { color: var(--color-primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); border-left: 2px solid var(--color-border); padding-left: 18px; display: grid; gap: 10px; font-size: .9rem; }
.legal-toc strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-navy); }
.legal-toc a { color: var(--color-muted); }
.legal-toc a:hover { color: var(--color-primary-ink); }
.legal-layout .prose { margin: 0; }

/* ---------- Modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13,27,42,.6); backdrop-filter: blur(3px); }
.modal-dialog { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); animation: modalIn .3s var(--ease); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.toast-stack { position: fixed; z-index: 600; bottom: 20px; right: 20px; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; background: var(--color-navy); color: #fff; padding: 14px 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .9rem; border-left: 4px solid var(--color-primary); animation: modalIn .3s var(--ease); }
.toast .icon { color: var(--color-primary); margin-top: 1px; }

/* ---------- Misc page components ---------- */
.placement-card { display: flex; flex-direction: column; gap: 14px; }
.placement-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.placement-card h3 { font-size: 1.04rem; line-height: 1.4; margin: 0; }
.placement-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--color-border); font-size: .86rem; color: var(--color-muted); }
.tool-status { position: absolute; top: 20px; right: 20px; }
.tool-preview { margin-top: 18px; background: var(--color-background); border: 1px dashed #CBD5E1; border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; }
.tool-preview .input, .tool-preview .textarea { background: #fff; min-height: 44px; }
.tool-preview .textarea { min-height: 90px; }
.team-card { text-align: center; }
.team-card .t-avatar { width: 84px; height: 84px; margin: 0 auto 16px; font-size: 1.3rem; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .code { font-family: var(--font-heading); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--color-primary); letter-spacing: -.06em; }
.review-summary { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }

/* ---------- Scroll reveal (content is visible if JS or IntersectionObserver is unavailable) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { flex-wrap: wrap; width: auto; }
}
