/* Upscale Your Systems — shared styles */
:root {
  --navy: #0b1220;
  --navy-2: #131c31;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff4ff;
  --green: #10b981;
  --green-dark: #047857;
  --green-soft: #ecfdf5;
  --gold: #f5b301;
  --ink: #0f172a;
  --slate: #475569;
  --slate-light: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 4px 12px rgba(15,23,42,.05);
  --shadow-md: 0 2px 4px rgba(15,23,42,.05), 0 12px 32px rgba(15,23,42,.10);
  --shadow-lg: 0 4px 8px rgba(15,23,42,.06), 0 24px 56px rgba(15,23,42,.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--slate); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2;
  cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(16,185,129,.3); }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate-light); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--navy); color: #cbd5e1; font-size: 13.5px; text-align: center; padding: 8px 16px;
}
.topbar strong { color: #fff; }
.topbar a { color: #93c5fd; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--slate); letter-spacing: .04em; text-transform: uppercase; margin-top: -2px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav > a, .nav-drop > button {
  color: var(--ink); font: inherit; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav-drop > button:hover { background: var(--bg-soft); text-decoration: none; }
.nav-drop { position: relative; }
.nav-drop > button::after { content: " ▾"; font-size: 11px; color: var(--slate); }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.nav-drop-menu a span { display: block; font-weight: 400; font-size: 12.5px; color: var(--slate); }
.nav-drop-menu a:hover { background: var(--bg-soft); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .ext::after { content: "↗"; font-size: 12px; opacity: .6; }

.menu-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; font-size: 20px; color: var(--ink);
}

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav, .header-actions { display: none; }
  .site-header.open .nav, .site-header.open .header-actions {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    position: absolute; left: 0; right: 0; background: #fff; padding: 12px 0;
  }
  .site-header.open ~ .chat-fab { display: none; }
  .site-header.open .nav { top: 72px; border-top: 1px solid var(--line); margin: 0; }
  .site-header.open .header-actions { top: auto; position: static; padding-top: 0; }
  .site-header.open .header-inner { flex-wrap: wrap; height: auto; min-height: 72px; }
  .site-header.open .nav { position: static; width: 100%; order: 3; }
  .site-header.open .header-actions { width: 100%; order: 4; padding: 0 0 16px; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; display: block; }
  .nav-drop > button::after { content: ""; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(16,185,129,.10), transparent 60%),
    #fff;
  padding: 64px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-grid > *, .two-col > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  max-width: 100%; line-height: 1.4;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.25); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 900; margin: 22px 0 18px; }
.hero h1 .hl { color: var(--blue); }
.hero .lead { font-size: 18.5px; color: var(--slate); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; max-width: 520px; }
.hero-points li { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: 14.5px; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 900; }

.page-hero { padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.breadcrumbs { font-size: 13.5px; color: var(--slate); margin-bottom: 14px; }
.breadcrumbs a { color: var(--slate); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
}
@media (max-width: 520px) {
  .hero-points { grid-template-columns: 1fr; }
}

/* ---------- Calculator ---------- */
.calc {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.calc-body { padding: 24px 24px 8px; }
.calc-title { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }
.calc label, .calc .label { display: flex; justify-content: space-between; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.calc .field { margin-bottom: 18px; }
.calc select, .calc input[type=number] {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
}
.calc select:focus, .calc input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.calc .slider-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.calc input[type=range] { width: 100%; accent-color: var(--blue); height: 6px; }
.calc .range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate-light); margin-top: 4px; padding-left: 124px; }
.calc-result {
  background: var(--bg-soft); border-top: 1px solid var(--line); padding: 20px 24px 24px;
}
.calc-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.calc-price .lbl { font-size: 13.5px; font-weight: 700; color: var(--slate); }
.calc-price .val { font-size: 46px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.calc-price .val small { font-size: 15px; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.calc-save {
  background: var(--green-soft); border: 1px solid #a7f3d0; border-radius: 14px; padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-save .lbl { font-size: 12.5px; font-weight: 700; color: var(--green-dark); }
.calc-save .val { font-size: 24px; font-weight: 900; color: var(--green-dark); line-height: 1.2; }
.calc-save .sub { font-size: 12px; color: var(--green-dark); }
.calc-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.calc-chips div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.calc-chips span { display: block; font-size: 11.5px; color: var(--slate); font-weight: 600; }
.calc-chips strong { font-size: 14.5px; }
.calc .btn { width: 100%; }
.calc-note { font-size: 12px; color: var(--slate); margin: 10px 0 0; text-align: center; }
.calc-enterprise { font-size: 12.5px; color: var(--slate); margin: 8px 0 0; }
.calc-quote { display: none; }
.calc.is-quote .calc-quote { display: block; }
.calc.is-quote .calc-priced { display: none; }
@media (max-width: 520px) {
  .calc-result-grid { grid-template-columns: 1fr; }
  .calc-chips { grid-template-columns: repeat(2, 1fr); }
  .calc .slider-row { grid-template-columns: 90px 1fr; }
  .calc .range-ends { padding-left: 104px; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }
section.dark { background: var(--navy); color: #e2e8f0; }
section.dark h2 { color: #fff; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; }
.section-sub { font-size: 17.5px; color: var(--slate); max-width: 680px; margin: 0 auto 40px; }
section.dark .section-sub { color: #94a3b8; }

.trust-strip { padding: 22px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.trust-strip li { font-weight: 700; color: var(--slate); font-size: 14.5px; }
.trust-strip li b { color: var(--ink); }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  position: relative;
}
.tier.best { border: 2px solid var(--blue); box-shadow: var(--shadow-md); }
.tier .badge { position: absolute; top: -12px; left: 20px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.tier h3 { font-size: 15px; color: var(--slate); font-weight: 700; margin-bottom: 8px; }
.tier .price { font-size: 40px; font-weight: 900; letter-spacing: -.03em; }
.tier .price small { font-size: 14px; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.tier .save { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--green-dark); background: var(--green-soft); padding: 3px 9px; border-radius: 999px; }
.tier ul { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; color: var(--slate); }
.tier li { padding: 4px 0; }
.tier li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.tier-foot { font-size: 13px; color: var(--slate); margin-top: 18px; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }

/* Cards / products */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card h3 { font-size: 20px; font-weight: 800; }
.card p { color: var(--slate); font-size: 15px; flex: 1; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card .status { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.status.live { background: var(--green-soft); color: var(--green-dark); }
.status.soon { background: #fff7e0; color: #92400e; }
.status.call { background: var(--blue-soft); color: var(--blue-dark); }
.card .more { font-weight: 700; margin-top: 8px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Workspace apps */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.app h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.app p { color: var(--slate); font-size: 14.5px; margin: 0; }
@media (max-width: 960px) { .apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .apps { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 18px; }
.step p { color: var(--slate); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Sister brands */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.brand-card {
  background: var(--navy-2); border: 1px solid #22304d; border-radius: var(--radius); padding: 28px; color: #e2e8f0;
  display: flex; flex-direction: column; gap: 6px;
}
.brand-card h3 { color: #fff; font-size: 22px; margin: 0; }
.brand-card p { color: #94a3b8; flex: 1; }
.brand-card .tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #93c5fd; }
.brand-card .btn { align-self: flex-start; }
.brands-single { grid-template-columns: minmax(0, 560px); justify-content: center; }
@media (max-width: 760px) { .brands { grid-template-columns: 1fr; } }

/* Testimonial shorts (from Upscale B2B) */
.shorts-row {
  display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 22px;
  justify-content: safe center; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shorts-row::-webkit-scrollbar { height: 8px; }
.shorts-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.short-card {
  flex: 0 0 250px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #000;
  scroll-snap-align: start; border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.short-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.short-card.channel-card {
  background: radial-gradient(360px 240px at 50% 0%, rgba(37,99,235,.4), transparent 65%), var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; padding: 26px; color: #fff; transition: transform .18s ease;
}
.short-card.channel-card:hover { transform: translateY(-4px); text-decoration: none; }
.channel-card .play {
  width: 62px; height: 62px; border-radius: 50%; background: #ff0033; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; box-shadow: 0 8px 24px rgba(255,0,51,.4);
}
.channel-card strong { font-size: 17px; font-weight: 800; line-height: 1.35; }
.channel-card span { font-size: 13.5px; color: #cbd5e1; }
.shorts-note { text-align: center; margin-top: 6px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
details.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--slate); }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding: 0 22px 18px; margin: 0; color: var(--slate); }

/* Content pages */
.prose { max-width: 780px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose p, .prose li { color: #334155; font-size: 17px; }
.two-col { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
.two-col .sticky { position: sticky; top: 96px; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .two-col .sticky { position: static; } }
.notice {
  border: 1px dashed #f59e0b; background: #fffbeb; color: #92400e; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 0 0 24px;
}
.compare { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; }
.compare th, .compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; max-width: 100%; }
.compare code { word-break: break-word; overflow-wrap: anywhere; }
.compare th { background: var(--bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 18px 0; padding: 0; list-style: none; }
.link-grid a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); background: #fff; }
.link-grid a:hover { border-color: var(--blue); text-decoration: none; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #172554 100%); color: #fff; border-radius: 24px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 6px; }
.cta-band p { color: #cbd5e1; margin: 0; }
@media (max-width: 620px) { .cta-band { padding: 32px 24px; } }

/* Footer */
.site-footer { background: var(--navy); color: #94a3b8; padding: 64px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cbd5e1; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: #94a3b8; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating chat button */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 800; box-shadow: 0 10px 30px rgba(16,185,129,.4);
}
.chat-fab:hover { text-decoration: none; background: var(--green-dark); }
