/* ==========================================================================
   TradeyHub marketing site
   Built on the TradeyHub brand system: teal / blue / dark navy, orange + yellow
   accents, Montserrat (web-safe alternative to Gotham), pill CTAs, 16px cards.
   ========================================================================== */

:root {
  /* Brand primary */
  --teal: #26B29C;
  --teal-600: #1E9485;
  --teal-700: #177566;
  --teal-50: #EAF7F4;
  --teal-100: #CDEDE6;
  --blue: #3A93A7;
  --blue-50: #EAF4F7;
  --navy: #1B3240;
  --navy-700: #24404F;
  --navy-900: #132530;

  /* Brand accents */
  --orange: #E58033;
  --orange-50: #FCF1E8;
  --yellow: #E4AC38;
  --yellow-50: #FCF5E6;

  /* Neutrals (brand light grey #BCBCBC sits at 300) */
  --white: #FFFFFF;
  --gray-25: #FAFBFC;
  --gray-50: #F5F7F8;
  --gray-100: #E9EDF0;
  --gray-200: #D8DEE2;
  --gray-300: #BCBCBC;
  --gray-400: #6E7B88;
  --gray-500: #55626E;
  --gray-600: #3A4752;
  --green: #16A34A;
  --red: #DC2626;

  /* Aliases used by migrated feature mock-ups */
  --teal-dark: var(--teal-600);
  --teal-light: rgba(38,178,156,0.08);
  --teal-mid: rgba(38,178,156,0.12);
  --navy-light: var(--navy-700);
  --off-white: var(--gray-50);

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 2px rgba(27,50,64,.06), 0 1px 3px rgba(27,50,64,.06);
  --shadow-md: 0 6px 20px -4px rgba(27,50,64,.12);
  --shadow-lg: 0 24px 60px -16px rgba(27,50,64,.28);
  --shadow-teal: 0 6px 16px -6px rgba(38,178,156,.6);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font); font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--gray-600); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { text-wrap: pretty; }
h1 span, h2 span { color: var(--teal); }
:focus-visible { outline: 3px solid rgba(38,178,156,.5); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-flush-top { padding-top: 0; }
.bg-white { background: var(--white); }
.bg-muted { background: var(--gray-50); }
.bg-teal-tint { background: var(--teal-50); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,.75); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .section-heading p { color: rgba(255,255,255,.72); }
.bg-pattern { position: relative; overflow: hidden; isolation: isolate; }
.bg-pattern::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/brand-pattern.png') right center / 900px auto no-repeat; opacity: .07; }
.grid { display: grid; gap: 24px; }
.grid.features-grid { gap: 48px 40px; }
.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)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.mt-md { margin-top: 28px; }

/* ---------- Buttons (brand: pill, Montserrat 700, bold CTAs) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; line-height: 1; padding: 15px 28px; border-radius: var(--radius-pill); border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn i { font-size: 1.15em; font-weight: 400; }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-600); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--gray-200); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn-link { padding: 0; color: var(--teal-700); border: 0; }
.btn-link:hover { color: var(--navy); }
.btn-sm { font-size: 14px; padding: 11px 20px; }
.btn-lg { font-size: 16px; padding: 18px 34px; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-group, .btn-group.center { justify-content: center; }

/* ---------- Labels ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 14px; }
.bg-navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--teal); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; background: var(--teal-50); color: var(--teal-700); }
.badge-dark { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--teal-50); color: var(--teal-700); }

.section-heading { max-width: 700px; margin-bottom: 48px; }
.section-heading.center { margin-left: auto; margin-right: auto; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { font-size: 1.0625rem; color: var(--gray-500); }

/* ---------- Announcement ---------- */
.announce { background: var(--navy-900); color: rgba(255,255,255,.85); font-size: 13.5px; font-weight: 500; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; text-align: center; }
.announce a { color: var(--teal); font-weight: 700; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { position: relative; display: flex; align-items: center; height: var(--header-h); gap: 28px; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav > li { list-style: none; position: relative; }
.nav > li.wide { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--navy); }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.active { color: var(--teal-600); }
.nav-link i { font-size: 18px; transition: transform .2s; }
.nav-link[aria-expanded="true"] i { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); padding: 8px 12px; }
.header-phone i { color: var(--teal); font-size: 17px; }
.header-login { font-size: 15px; font-weight: 600; color: var(--navy); padding: 10px 14px; }
.header-login:hover { color: var(--teal-600); }

.mega { position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr 1fr 270px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.mega.mega-sm { top: calc(100% + 14px); left: -20px; right: auto; }
.nav > li.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col { padding: 26px 18px; }
.mega-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-400); padding: 0 12px 10px; }
.mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); }
.mega-item:hover { background: var(--gray-50); }
.mega-item .mega-item-icon { flex: none; display: block; margin: 1px 0 0; font-size: 20px; line-height: 1; color: var(--teal-600); }
.mega-item strong { display: block; font-size: 14.5px; color: var(--navy); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.mega-item:hover strong { color: var(--teal-700); }
.mega-item .mega-item-text { display: block; }
.mega-item .mega-item-desc { display: block; font-size: 13px; color: var(--gray-400); line-height: 1.4; margin-top: 2px; }
.mega-links { list-style: none; display: grid; gap: 2px; }
.mega-links a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; color: var(--navy); }
.mega-links a i { color: var(--teal-600); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.mega-links a:hover { background: var(--gray-50); color: var(--teal-700); }
.mega-links a:hover i { opacity: 1; transform: none; }
.mega-all { display: inline-block; margin: 12px 12px 0; font-size: 14px; font-weight: 600; color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.mega.mega-sm { width: 540px; grid-template-columns: 1fr 250px; }
.mega-aside { position: relative; overflow: hidden; background: var(--navy); color: rgba(255,255,255,.75); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; isolation: isolate; }
.mega-aside::after { content: ''; position: absolute; right: -60px; bottom: -50px; width: 180px; height: 162px; background: url('../images/brand-mark.png') center / contain no-repeat; opacity: .18; z-index: -1; }
.mega-aside h4 { color: var(--white); font-size: 17px; }
.mega-aside p { font-size: 14px; line-height: 1.55; }
.mega-aside a.mega-aside-link { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--white); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mega-aside a.mega-aside-link:hover { color: var(--teal); }
.mega-aside .btn { margin-top: auto; align-self: flex-start; }

.menu-toggle { display: none; width: 44px; height: 44px; font-size: 26px; color: var(--navy); place-items: center; margin-left: auto; }
.mobile-nav { display: none; }

/* ---------- Home hero ---------- */
.hero { background: var(--navy); color: rgba(255,255,255,.78); padding: 80px 0 0; }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.hero h1 { color: var(--white); margin: 18px 0 20px; font-size: clamp(2.4rem, 5vw, 4rem); }
.hero h1 span { color: var(--teal); }
.hero-lead { font-size: 1.1875rem; max-width: 680px; margin: 0 auto 32px; }
.hero .btn-group { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 24px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust i { color: var(--teal); font-size: 18px; }
.hero-product { position: relative; padding-top: 64px; background: linear-gradient(to bottom, var(--navy) 0, var(--navy) 58%, var(--white) 58%); }
.hero-product .container { position: relative; }
.hero-product .dash { width: calc(100% - 210px); }

/* Product dashboard mock (brand: Jobs dashboard first) */
.dash { display: grid; grid-template-columns: 210px 1fr; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); overflow: hidden; font-size: 13px; text-align: left; }
.dash-side { background: var(--gray-25); border-right: 1px solid var(--gray-100); padding: 20px 14px; }
.dash-side img { height: 26px; width: auto; margin: 0 8px 24px; }
.dash-side ul { list-style: none; display: grid; gap: 2px; }
.dash-side li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-weight: 600; color: var(--gray-500); }
.dash-side li i { font-size: 17px; color: var(--gray-400); }
.dash-side li.on { background: var(--teal-50); color: var(--teal-700); }
.dash-side li.on i { color: var(--teal-600); }
.dash-main { padding: 22px 26px 26px; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.dash-top h4 { font-size: 20px; margin-right: auto; }
.dash-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--gray-200); border-radius: var(--radius-pill); padding: 7px 14px; color: var(--gray-400); min-width: 200px; }
.dash-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--teal); color: #fff; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-pill); }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.dash-stat { border: 1px solid var(--gray-100); border-radius: 12px; padding: 12px 14px; }
.dash-stat small { display: block; font-size: 12px; color: var(--gray-400); font-weight: 600; }
.dash-stat strong { display: block; font-size: 20px; font-weight: 800; color: var(--navy); margin-top: 2px; }
.dash-stat em { font-style: normal; font-size: 11.5px; font-weight: 700; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--gray-100); }
.dash-table td { padding: 11px 10px; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); white-space: nowrap; }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table td strong { color: var(--navy); font-weight: 700; }
.dash-table .who { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10.5px; font-weight: 800; color: #fff; }

/* Phone mock (brand: built for mobile + field use) */
.phone { position: absolute; right: 0; bottom: -40px; width: 250px; background: var(--navy-900); border-radius: 36px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone-screen { background: var(--white); border-radius: 28px; overflow: hidden; font-size: 12.5px; }
.phone-bar { background: var(--navy); color: #fff; padding: 22px 18px 16px; }
.phone-bar small { display: block; font-size: 11px; color: var(--teal); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.phone-bar strong { display: block; font-size: 16px; font-weight: 800; margin-top: 2px; }
.phone-bar span { font-size: 12px; color: rgba(255,255,255,.7); }
.phone-body { padding: 14px 16px 18px; display: grid; gap: 10px; }
.phone-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 9px; border-bottom: 1px solid var(--gray-100); }
.phone-row span { color: var(--gray-400); }
.phone-row b { color: var(--navy); font-weight: 700; }
.phone-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.phone-actions span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; background: var(--gray-50); font-weight: 600; color: var(--navy); font-size: 11.5px; }
.phone-actions i { font-size: 18px; color: var(--teal-600); }
.phone-cta { display: block; text-align: center; background: var(--teal); color: #fff; font-weight: 700; border-radius: var(--radius-pill); padding: 11px; }

/* ---------- Trades row ---------- */
.trades { padding: 72px 0 56px; }
.trades-label { text-align: center; font-size: 14px; font-weight: 600; color: var(--gray-400); margin-bottom: 20px; }
.trade-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.trade-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--gray-100); border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--navy); }
.trade-chip i { color: var(--teal); font-size: 17px; }

/* ---------- Tabbed product showcase (Win more jobs / Get paid faster / Stay organised) ---------- */
.tab-list { display: flex; justify-content: center; gap: 6px; margin: 0 auto 48px; padding: 6px; width: max-content; max-width: 100%; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-pill); overflow-x: auto; scrollbar-width: none; }
.tab-list [role="tab"] { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15px; color: var(--gray-500); white-space: nowrap; }
.tab-list [role="tab"]:hover { color: var(--navy); }
.tab-list [role="tab"][aria-selected="true"] { background: var(--navy); color: var(--white); }
.tab-list [role="tab"] i { font-size: 18px; }
.js .tab-panel:not(.active) { display: none; }
.tab-panel + .tab-panel { margin-top: 64px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.tab-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -10px 0 28px; font-size: 14.5px; }
.tab-links span { color: var(--gray-400); }
.tab-links a { font-weight: 600; color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.tab-links a:hover { color: var(--navy); }

/* ---------- Cards ---------- */
.card { display: block; }
a.card:hover h3 { color: var(--teal-700); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--gray-500); }
.icon-tile { display: block; color: var(--teal-600); font-size: 30px; line-height: 1; margin-bottom: 16px; flex: none; }
.card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--teal-700); }

.bg-navy .card p { color: rgba(255,255,255,.7); }
.bg-navy .icon-tile { color: var(--teal); }

/* Feature index */
.feature-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 32px; }
.feature-index a { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.feature-index a:hover strong { color: var(--teal-700); }
.feature-index i { font-size: 22px; color: var(--teal-600); line-height: 1.3; }
.feature-index strong { display: block; color: var(--navy); font-size: 15px; font-weight: 700; }
.feature-index span { display: block; font-size: 13.5px; color: var(--gray-400); line-height: 1.45; margin-top: 2px; }

/* Check list */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--gray-600); }
.check-list li::before { content: '\eb7b'; font-family: 'remixicon'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 13px; margin-top: 2px; }
.bg-navy .check-list li { color: rgba(255,255,255,.88); }

/* Split feature copy + visuals */
.feature-copy h2 { margin-bottom: 16px; }
.feature-copy > p { font-size: 1.0625rem; color: var(--gray-500); margin-bottom: 24px; }
.feature-copy .check-list { margin-bottom: 30px; }
.visual-wrap { position: relative; padding: 36px; border-radius: var(--radius-lg); background: var(--teal-50); overflow: hidden; isolation: isolate; }
.visual-wrap::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/brand-pattern.png') center / 700px auto; opacity: .045; }
.visual-wrap.tone-orange-bg { background: var(--orange-50); }
.visual-wrap.tone-blue-bg { background: var(--blue-50); }
.photo { border-radius: var(--radius-lg); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.app-window { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); overflow: hidden; }
.app-window-bar { display: flex; align-items: center; gap: 8px; padding: 13px 20px; border-bottom: 1px solid var(--gray-100); }
.app-window-bar .dot { display: none; }
.app-window-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.app-window-body { padding: 20px; font-size: 14px; }

.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }
.mock-row .meta { flex: 1; min-width: 0; }
.mock-row .meta strong { display: block; color: var(--navy); font-size: 14px; }
.mock-row .meta small { color: var(--gray-400); font-size: 12.5px; }
.mock-row .amount { font-weight: 700; color: var(--navy); }
.status { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.status.paid, .status.completed { background: rgba(22,163,74,.1); color: var(--green); }
.status.overdue { background: rgba(220,38,38,.08); color: var(--red); }
.status.sent, .status.scheduled { background: var(--blue-50); color: var(--blue); }
.status.draft { background: var(--gray-50); color: var(--gray-400); }
.status.accepted { background: var(--teal-50); color: var(--teal-700); }
.status.pending { background: var(--yellow-50); color: #A77716; }
.status.progress { background: var(--orange-50); color: #B75F1E; }
.tone-green { background: rgba(22,163,74,.1); color: var(--green); }
.tone-teal { background: var(--teal-50); color: var(--teal-600); }
.tone-orange { background: var(--orange-50); color: var(--orange); }
.tone-blue { background: var(--blue-50); color: var(--blue); }

/* Calendar mock */
.cal { display: grid; grid-template-columns: 70px repeat(5, 1fr); gap: 6px; font-size: 12px; }
.cal .h { font-weight: 700; color: var(--gray-400); text-align: center; padding-bottom: 4px; }
.cal .who { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.cal .who i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: #fff; font-size: 10px; }
.cal .slot { border-radius: 8px; background: var(--gray-50); min-height: 44px; }
.cal .job { border-radius: 8px; padding: 6px 8px; font-weight: 600; line-height: 1.3; min-height: 44px; min-width: 0; overflow-wrap: anywhere; font-size: 11.5px; }
.cal .job small { display: block; font-weight: 500; opacity: .8; font-size: 11px; }

/* Legacy mock helpers (migrated feature pages) */
.mock-bar { height: 8px; border-radius: 8px; background: var(--gray-100); flex: 1; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mock-dot.green { background: var(--green); } .mock-dot.red { background: var(--red); } .mock-dot.blue { background: var(--blue); } .mock-dot.yellow { background: var(--yellow); } .mock-dot.teal { background: var(--teal); } .mock-dot.orange { background: var(--orange); }
.mock-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.mock-badge.paid, .mock-badge.green { background: rgba(22,163,74,.1); color: var(--green); }
.mock-badge.overdue, .mock-badge.red { background: rgba(220,38,38,.08); color: var(--red); }
.mock-badge.sent, .mock-badge.blue { background: var(--blue-50); color: var(--blue); }
.mock-badge.draft, .mock-badge.gray { background: var(--gray-50); color: var(--gray-400); }
.mock-badge.teal { background: var(--teal-50); color: var(--teal-700); }
.mock-badge.orange, .mock-badge.yellow { background: var(--orange-50); color: var(--orange); }
.w40 { max-width: 40%; } .w50 { max-width: 50%; } .w60 { max-width: 60%; } .w70 { max-width: 70%; } .w80 { max-width: 80%; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 3px solid var(--teal); padding-top: 20px; }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-size: 14px; font-weight: 800; color: var(--teal-700); margin-bottom: 8px; }
.bg-navy .step::before { color: var(--teal); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--gray-500); }
.bg-navy .step p { color: rgba(255,255,255,.7); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--gray-100); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.stat { padding: 26px 22px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--gray-100); }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
.stat-num span { color: var(--teal); }
.stat-label { font-size: 14px; color: var(--gray-400); margin-top: 4px; font-weight: 500; }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-pill); margin-top: 28px; }
.billing-toggle button { padding: 10px 20px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; color: rgba(255,255,255,.8); display: inline-flex; gap: 8px; align-items: center; }
.billing-toggle button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.billing-toggle .save { font-size: 11px; background: var(--orange); color: #fff; padding: 3px 8px; border-radius: var(--radius-pill); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid var(--teal); }
.price-card .ribbon { position: absolute; top: -14px; left: 30px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: var(--radius-pill); }
.price-card h3 { font-size: 22px; font-weight: 800; }
.price-card .users { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal-700); margin-top: 4px; }
.price-card .desc { font-size: 15px; color: var(--gray-500); margin: 10px 0 22px; min-height: 3.4em; }
.price { display: flex; align-items: flex-start; gap: 2px; color: var(--navy); }
.price .cur { font-size: 24px; font-weight: 700; margin-top: 8px; }
.price .amt { font-size: 50px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.price .per { align-self: flex-end; font-size: 15px; font-weight: 600; color: var(--gray-400); margin-bottom: 6px; margin-left: 4px; }
.price-note { font-size: 13px; color: var(--gray-400); margin: 8px 0 22px; }
.price-card .btn { margin-bottom: 26px; }
.price-card .check-list { gap: 10px; }
.price-card .check-list li { font-size: 15px; }
/* Cards that overlap the navy hero. flow-root stops the negative margin collapsing into the section,
   which would drag the section's white background up over the hero. */
.overlap-section { display: flow-root; }
.overlap-up { margin-top: -120px; position: relative; z-index: 2; }
.page-hero.overlap { padding-bottom: 160px; }
.price-teaser { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 48px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-md); }
.price-teaser .from { color: var(--navy); font-size: 15px; font-weight: 600; }
.price-teaser .from strong { font-size: 44px; font-weight: 900; letter-spacing: -0.03em; }
.price-teaser .from small { font-size: 15px; color: var(--gray-400); font-weight: 600; }
.price-teaser ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin-top: 10px; font-size: 14.5px; font-weight: 500; }
.price-teaser li { display: inline-flex; gap: 6px; align-items: center; }
.price-teaser li i { color: var(--teal); }
.price-teaser .btn-group { flex-wrap: nowrap; flex: none; }
.include-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.include-item { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--gray-200); font-weight: 600; color: var(--navy); font-size: 15px; }
.include-item i { color: var(--teal); font-size: 20px; }
.guarantee { display: flex; gap: 20px; align-items: center; justify-content: center; text-align: left; }
.guarantee .icon-tile { margin: 0; font-size: 40px; }
.guarantee h3 { margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-weight: 700; color: var(--navy); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\ea13'; font-family: 'remixicon'; font-weight: 400; font-size: 20px; color: var(--teal-600); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 48px 24px 0; color: var(--gray-500); font-size: 15.5px; }
.faq .faq-a a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-layout .section-heading { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }

/* ---------- CTA band (navy + brand mark) ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--navy); padding: 64px 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; color: rgba(255,255,255,.78); }
.cta-band::after { content: ''; position: absolute; z-index: -1; right: -70px; bottom: -90px; width: 380px; height: 342px; background: url('../images/brand-mark.png') center / contain no-repeat; opacity: .16; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { font-size: 1.0625rem; }
.cta-band .cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-band .cta-actions small { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.cta-band .cta-actions small span { display: inline-flex; align-items: center; gap: 6px; }
.cta-band .cta-actions small i { color: var(--teal); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: rgba(255,255,255,.78); padding: 72px 0 80px; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/brand-pattern.png') right -120px center / 1000px auto no-repeat; opacity: .05; }
.page-hero h1 { color: var(--white); margin: 4px 0 18px; max-width: 860px; }
.page-hero h1 span { color: var(--teal); }
.page-hero p.lead { font-size: 1.125rem; max-width: 680px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center p.lead { margin-left: auto; margin-right: auto; }
.page-hero .btn-group { margin-top: 30px; }
.page-hero-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; }
.center .page-hero-icon { margin-left: auto; margin-right: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.6); margin-bottom: 18px; list-style: none; }
.center .breadcrumbs { justify-content: center; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs li + li::before { content: '\ea6e'; font-family: 'remixicon'; margin-right: 6px; opacity: .6; }
.breadcrumbs [aria-current] { color: rgba(255,255,255,.9); }

/* ---------- Comparison ---------- */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; max-width: 620px; margin: 36px auto 0; }
.vs-card { padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.vs-card.us { background: var(--teal); border-color: var(--teal); }
.vs-card strong { display: block; color: var(--white); font-size: 19px; font-weight: 800; }
.vs-card small { font-size: 13px; color: rgba(255,255,255,.75); }
.vs-badge { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.summary-card { padding: 34px; border-radius: var(--radius); border: 1px solid var(--gray-100); background: var(--white); box-shadow: var(--shadow-sm); }
.summary-card.us { border: 2px solid var(--teal); }
.summary-card .pill { margin-bottom: 14px; }
.summary-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.summary-card > p { color: var(--gray-500); margin-bottom: 20px; font-size: 15.5px; }
.summary-card.them .check-list li::before { background: var(--gray-300); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-100); background: var(--white); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
.compare-table thead th { font-size: 15px; font-weight: 800; color: var(--navy); background: var(--gray-50); }
.compare-table thead th.us { background: var(--teal); color: #fff; }
.compare-table tbody th { font-weight: 600; color: var(--navy); width: 34%; }
.compare-table td.us { background: rgba(38,178,156,.05); }
.compare-table .cat td { background: var(--gray-50); font-weight: 800; color: var(--navy); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; padding: 11px 22px; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.cell { display: flex; gap: 8px; align-items: flex-start; color: var(--gray-500); }
.cell i { font-size: 19px; flex: none; margin-top: -1px; }
.cell .yes { color: var(--teal); } .cell .partial { color: var(--orange); } .cell .no { color: var(--gray-300); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 13px; color: var(--gray-400); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.compare-list { column-gap: 40px; row-gap: 0; }
.compare-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.compare-list a:hover strong { color: var(--teal-700); }
.compare-list strong { color: var(--navy); font-size: 17px; font-weight: 800; }

.bg-navy .compare-list small { color: rgba(255,255,255,.6) !important; }
.bg-navy .compare-list strong { color: var(--white); }

/* ---------- Blog ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filter-bar button { padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--gray-200); font-weight: 600; font-size: 14px; color: var(--gray-500); background: var(--white); }
.filter-bar button:hover { border-color: var(--navy); color: var(--navy); }
.filter-bar button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; height: 100%; }
.post-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.post-thumb { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.post-thumb::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/brand-pattern.png') center / 600px auto; opacity: .08; }
.post-thumb i { font-size: 44px; }
.thumb-crm { background: var(--teal); }
.thumb-growth { background: var(--orange); }
.thumb-ops { background: var(--navy); }
.thumb-finance { background: var(--blue); }
.thumb-feature { background: var(--navy-700); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-400); margin-bottom: 12px; }
.post-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.post-card p { font-size: 14.5px; color: var(--gray-500); flex: 1; }
.post-card .card-link { margin-top: 16px; }
.post-card.featured { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 48px; }
.post-card.featured .post-thumb { aspect-ratio: auto; min-height: 320px; }
.post-card.featured .post-thumb i { font-size: 72px; }
.post-card.featured h3 { font-size: 26px; }
.post-card[hidden] { display: none; }

.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 14px; color: rgba(255,255,255,.75); margin-top: 6px; }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.author-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.aside-cta { position: relative; overflow: hidden; isolation: isolate; padding: 28px; border-radius: var(--radius); background: var(--navy); color: rgba(255,255,255,.78); font-size: 14.5px; }
.aside-cta::after { content: ''; position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 140px; height: 126px; background: url('../images/brand-mark.png') center / contain no-repeat; opacity: .18; }
.aside-cta h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.aside-cta .btn { margin-top: 18px; width: 100%; }
.toc { padding: 22px; border: 1px solid var(--gray-100); border-radius: var(--radius); }
.toc h4 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.toc a { color: var(--gray-500); display: block; line-height: 1.45; }
.toc a:hover { color: var(--teal-700); }

.prose { font-size: 17px; line-height: 1.8; color: var(--gray-600); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.45rem, 2.3vw, 1.8rem); margin-top: 2em; }
.prose h2 span { color: inherit; }
.prose h3 { font-size: 1.25rem; margin-top: 1.75em; }
.prose h2 + *, .prose h3 + * { margin-top: .75em; }
.prose a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--navy); }
.prose .lead { font-size: 1.2rem; color: var(--navy); line-height: 1.65; font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--teal); }
.prose ul.check-list { padding-left: 0; }
.prose blockquote { border-left: 4px solid var(--teal); padding: 6px 0 6px 24px; font-size: 1.2rem; font-weight: 600; color: var(--navy); line-height: 1.55; }
.prose .callout { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--teal-50); }
.prose .callout-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 22px; }
.prose .callout h4 { font-size: 1.05rem; margin-bottom: 6px; }
.prose .callout p { font-size: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--gray-100); padding: 10px 14px; text-align: left; }
.prose th { background: var(--gray-50); color: var(--navy); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--gray-100); }
.tag-list span { font-size: 13px; font-weight: 600; color: var(--gray-500); background: var(--gray-50); padding: 6px 12px; border-radius: var(--radius-pill); }

/* ---------- About / contact ---------- */
.company-card { display: flex; gap: 16px; align-items: flex-start; }
.company-card .icon-tile { margin: 0; font-size: 24px; }
.company-card h3 { font-size: 16px; margin-bottom: 6px; }
.company-card p { font-size: 15px; color: var(--gray-500); }
.company-card a { color: var(--teal-700); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 0; border-top: 1px solid var(--gray-200); }
.contact-info .card { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--gray-200); }
.contact-info .icon-tile { margin: 0; font-size: 24px; }
.contact-info h3 { font-size: 16px; margin-bottom: 4px; }
.contact-info p { font-size: 15px; color: var(--gray-500); }
.contact-info a { color: var(--teal-700); font-weight: 600; }
.form-card { padding: 40px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--gray-500); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--gray-400); }
.input { width: 100%; font: inherit; font-size: 15px; padding: 13px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(38,178,156,.15); }
textarea.input { min-height: 140px; resize: vertical; }
.input.is-invalid { border-color: var(--red); }
.field-error { font-size: 13px; color: var(--red); margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: rgba(22,163,74,.08); color: var(--green); }
.alert-error { background: rgba(220,38,38,.07); color: var(--red); }
.form-note { font-size: 13px; color: var(--gray-400); margin-top: 14px; text-align: center; }
.form-note a { color: var(--teal-700); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: rgba(255,255,255,.62); font-size: 14.5px; padding: 80px 0 32px; }
.site-footer::before { content: ''; position: absolute; z-index: -1; right: -120px; top: -80px; width: 460px; height: 414px; background: url('../images/brand-mark.png') center / contain no-repeat; opacity: .05; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 36px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 300px; margin-bottom: 20px; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 8px; align-items: center; color: rgba(255,255,255,.82); }
.footer-contact i { color: var(--teal); }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a:hover, .footer-contact a:hover { color: var(--teal); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 28px; font-size: 13px; }
.footer-bottom .legal { max-width: 720px; }
.footer-bottom a { color: rgba(255,255,255,.78); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .header-phone { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .phone { right: -10px; width: 220px; }
}
@media (max-width: 1024px) {
  .nav, .header-actions .header-login, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); overflow-y: auto; padding: 16px var(--gutter) 32px; transform: translateX(100%); transition: transform .25s; z-index: 99; }
  .mobile-nav.open { transform: none; }
  .mobile-nav > ul { list-style: none; }
  .mobile-nav > ul > li { border-bottom: 1px solid var(--gray-100); }
  .mobile-nav > ul > li > a, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-weight: 700; font-size: 17px; color: var(--navy); list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav details[open] summary i { transform: rotate(180deg); }
  .mobile-nav .sub { padding: 0 0 12px; display: grid; gap: 2px; }
  .mobile-nav .sub-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-400); padding: 12px 4px 6px; }
  .mobile-nav .sub a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; font-weight: 600; color: var(--gray-600); }
  .mobile-nav .sub a i { color: var(--teal); font-size: 19px; }
  .mobile-nav .mobile-actions { display: grid; gap: 12px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
  .dash { grid-template-columns: 1fr; }
  .hero-product .dash { width: 100%; }
  .price-teaser .btn-group { flex-wrap: wrap; }
  .dash-side { display: none; }
  .phone { display: none; }
  .steps { grid-template-columns: 1fr 1fr 1fr; row-gap: 32px; }
  .grid-4, .include-grid, .feature-index { grid-template-columns: repeat(2, 1fr); }
  .feature-index { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .article-aside .toc { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 48px 36px; }
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .faq-layout .section-heading { position: static; margin-bottom: 36px; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--gray-100); }
  .contact-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-thumb { min-height: 200px; }
  .price-teaser { flex-direction: column; align-items: flex-start; padding: 32px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-table .hide-md { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 66px; }
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .section-heading { margin-bottom: 32px; }
  .tab-list { width: auto; justify-content: flex-start; margin-bottom: 32px; }
  .tab-list [role="tab"] { padding: 10px 16px; font-size: 14px; }
  .grid-3, .grid-4, .include-grid, .feature-index, .check-list.cols-2, .form-row, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-product { padding-top: 40px; }
  .dash-main { padding: 16px; }
  .dash-top { flex-wrap: wrap; }
  .dash-search { display: none; }
  .dash-table .hide-sm { display: none; }
  .btn-group .btn { width: 100%; }
  .page-hero { padding: 56px 0 60px; }
  .cta-band { padding: 40px 24px; }
  .form-card { padding: 28px 20px; }
  .vs { grid-template-columns: 1fr; }
  .vs-badge { margin: 0 auto; }
  .guarantee { flex-direction: column; text-align: center; padding: 28px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .announce .hide-sm { display: none; }
  .visual-wrap { padding: 16px; }
  .summary-card, .pillar { padding: 26px 22px; }
  .cal { grid-template-columns: 56px repeat(3, 1fr); }
  .cal .d4, .cal .d5 { display: none; }
  .trade-list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .trade-chip { flex: none; }
  .trades { padding: 48px 0 40px; }
}
