.business-tools-page {
  --business-navy: #0f2233;
  --business-muted: #51677a;
  --business-blue: #2563eb;
  --business-teal: #0f9aa8;
  --business-green: #16a34a;
  --business-purple: #7c3aed;
  --business-border: #d7e8f5;
  color: var(--business-navy);
  background: #ffffff;
}

.business-tools-page .container,
.business-tools-page .nav-shell,
.business-hero-inner,
.available-business-section,
.coming-business-section,
.business-notice-wrap {
  width: min(100% - 2rem, 1180px);
}

.business-tools-page .site-header {
  border-bottom: 1px solid rgba(215, 232, 245, 0.95);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(42, 79, 108, 0.045);
}

.business-tools-page .nav-shell {
  min-height: 76px;
}

.business-tools-page .brand {
  gap: 0.78rem;
  color: var(--business-navy);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.business-tools-page .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, #12a8b2, #087e9b);
  box-shadow: 0 8px 18px rgba(15, 154, 168, 0.2);
  font-size: 1rem;
}

.business-tools-page .nav-links > a,
.business-tools-page .nav-dropdown-toggle {
  color: #26394b;
  font-size: 0.96rem;
  font-weight: 700;
}

.business-tools-page .nav-dropdown-toggle {
  gap: 0.5rem;
}

.business-tools-page .nav-dropdown-toggle[aria-current="page"] {
  position: relative;
  color: #0759b9;
  background: #eaf2ff;
}

.business-tools-page .nav-dropdown-toggle[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0.82rem;
  bottom: -0.48rem;
  left: 0.82rem;
  height: 2px;
  border-radius: 999px;
  background: #2563eb;
}

.business-nav-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.business-tools-page .nav-dropdown.is-open .business-nav-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.business-tools-main {
  overflow: hidden;
  background: #ffffff;
}

.business-hero {
  position: relative;
  padding: 62px 0 64px;
  background:
    radial-gradient(circle at 2% 60%, rgba(255, 255, 255, 0.86) 0 90px, transparent 91px),
    radial-gradient(circle at 83% 18%, rgba(255, 255, 255, 0.9) 0 120px, transparent 121px),
    linear-gradient(135deg, #eef8ff 0%, #f6fbff 50%, #e9f6ff 100%);
}

.business-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(155deg, transparent 0 23%, rgba(211, 232, 250, 0.5) 23.2% 35%, transparent 35.2%),
    radial-gradient(ellipse at 58% 53%, rgba(214, 233, 252, 0.8) 0 72px, transparent 73px);
}

.business-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: 38px;
  align-items: center;
  margin: 0 auto;
}

.hero-pills,
.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pills span,
.tool-pills span {
  display: inline-flex;
  min-height: 28px;
  padding: 4px 12px;
  align-items: center;
  border-radius: 999px;
  color: #075985;
  background: #e4f2ff;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
}

.hero-pills span:first-child,
.tool-pills span:first-child {
  color: #166534;
  background: #e5f8ec;
}

.business-hero h1 {
  margin: 20px 0 15px;
  color: #0c1f38;
  font-size: clamp(3rem, 4vw, 3.7rem);
  font-weight: 950;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.business-hero-copy > p {
  max-width: 590px;
  margin: 0;
  color: var(--business-muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.hero-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.hero-feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
}

.hero-feature-icon svg {
  width: 31px;
  height: 31px;
}

.hero-feature-icon.profit {
  color: #159447;
  background: #dff6e6;
}

.hero-feature-icon.strategy {
  color: #2563eb;
  background: #e1eeff;
}

.hero-feature-icon.quote {
  color: #7354e4;
  background: #ede8ff;
}

.hero-feature strong,
.hero-feature small {
  display: block;
}

.hero-feature strong {
  margin-bottom: 3px;
  color: #14263d;
  font-size: 0.84rem;
  font-weight: 900;
}

.hero-feature small {
  color: #60758a;
  font-size: 0.72rem;
  line-height: 1.4;
}

.business-dashboard-art {
  position: relative;
  min-height: 360px;
}

.dashboard-card {
  position: absolute;
  top: 18px;
  right: 48px;
  z-index: 3;
  width: 452px;
  padding: 17px;
  border: 1px solid rgba(183, 207, 228, 0.9);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 60px rgba(43, 86, 123, 0.18);
  transform: rotate(2.4deg);
}

.dashboard-card h2 {
  margin: 0 0 12px;
  color: #1b2e48;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.metric-card {
  min-width: 0;
  padding: 9px 8px 7px;
  border: 1px solid #dce8f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(15, 34, 51, 0.04);
}

.metric-card span {
  display: block;
  margin-bottom: 3px;
  color: #52677b;
  font-size: 0.56rem;
  font-weight: 650;
  white-space: nowrap;
}

.metric-card strong {
  display: block;
  color: #2563eb;
  font-size: 0.96rem;
  line-height: 1.1;
}

.metric-card svg {
  display: block;
  width: 100%;
  height: 16px;
  margin-top: 7px;
}

.metric-profit,
.metric-margin {
  color: #22a65a;
}

.metric-profit strong,
.metric-margin strong {
  color: #16a34a;
}

.metric-rate {
  color: #3b82f6;
}

.metric-package {
  color: #7c5ce4;
}

.quote-dashboard-bottom {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 10px;
  margin-top: 11px;
}

.quote-details,
.margin-chart {
  border: 1px solid #dce8f1;
  border-radius: 11px;
  background: #ffffff;
}

.quote-details {
  padding: 10px 12px;
}

.quote-details h3 {
  margin: 0 0 6px;
  color: #23364d;
  font-size: 0.68rem;
  font-weight: 900;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: #61758a;
  font-size: 0.61rem;
  line-height: 1.25;
}

.quote-row strong {
  color: #425b75;
}

.quote-row.total {
  margin-top: 2px;
  padding-top: 5px;
  border-top: 1px solid #e7eef4;
  color: #2563eb;
  font-weight: 900;
}

.quote-row.total strong {
  color: #2563eb;
}

.margin-chart {
  display: grid;
  min-height: 132px;
  place-items: center;
}

.margin-ring {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#42ae68 0 42%, #7657e3 42% 72%, #74aaf5 72% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.margin-ring > div {
  display: grid;
  width: 62px;
  height: 62px;
  place-content: center;
  border-radius: 50%;
  color: #132b4a;
  background: #ffffff;
  text-align: center;
}

.margin-ring strong,
.margin-ring span {
  display: block;
}

.margin-ring strong {
  font-size: 1.15rem;
  line-height: 1;
}

.margin-ring span {
  margin-top: 4px;
  color: #667b90;
  font-size: 0.45rem;
}

.dashboard-calculator {
  position: absolute;
  bottom: 11px;
  left: 0;
  z-index: 2;
  width: 108px;
  padding: 11px;
  border: 2px solid #254c79;
  border-radius: 15px;
  background: linear-gradient(155deg, #496f9c, #1e426e);
  box-shadow: 0 18px 32px rgba(25, 65, 110, 0.28);
  transform: rotate(-7deg);
}

.calculator-screen {
  height: 34px;
  padding: 5px 8px;
  border: 3px solid #183a64;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, #9ec1d7, #d7e8ef);
  font-size: 0.76rem;
  font-style: italic;
  text-align: right;
}

.calculator-button-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 9px;
}

.calculator-button-grid i {
  height: 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: #547faf;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
}

.invoice-clipboard {
  position: absolute;
  right: -7px;
  bottom: 2px;
  z-index: 4;
  width: 119px;
  height: 203px;
  padding: 35px 13px 12px;
  border: 6px solid #3476be;
  border-radius: 12px;
  background: linear-gradient(165deg, #f9fcff, #e6f0f8);
  box-shadow: 0 20px 38px rgba(30, 82, 137, 0.24);
  transform: rotate(8deg);
}

.invoice-clip {
  position: absolute;
  top: -17px;
  left: 50%;
  width: 48px;
  height: 28px;
  border-radius: 7px 7px 4px 4px;
  background: #548dcc;
  transform: translateX(-50%);
}

.invoice-clip::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 15px;
  height: 18px;
  border: 6px solid #548dcc;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
}

.invoice-clipboard > strong {
  display: block;
  margin-bottom: 14px;
  color: #304c70;
  font-size: 0.78rem;
  font-style: italic;
}

.invoice-clipboard > i {
  display: block;
  width: 83%;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: #ccdae6;
}

.invoice-clipboard > i:nth-of-type(2) {
  width: 68%;
}

.invoice-clipboard > i:nth-of-type(3) {
  width: 88%;
}

.invoice-clipboard > i:nth-of-type(4) {
  width: 54%;
}

.invoice-check {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #4db58e;
  box-shadow: 0 6px 12px rgba(36, 126, 91, 0.2);
}

.invoice-check svg {
  width: 20px;
  height: 20px;
}

.growth-chart {
  position: absolute;
  top: 22px;
  right: -42px;
  z-index: 1;
  width: 178px;
  height: 155px;
}

.growth-chart span {
  position: absolute;
  bottom: 0;
  width: 23px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #5e9ef1, #3379d8);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.16);
}

.growth-chart span:nth-child(1) {
  left: 17px;
  height: 44px;
  background: linear-gradient(180deg, #58bed6, #33a3c5);
}

.growth-chart span:nth-child(2) {
  left: 55px;
  height: 69px;
}

.growth-chart span:nth-child(3) {
  left: 93px;
  height: 96px;
}

.growth-chart span:nth-child(4) {
  left: 131px;
  height: 125px;
}

.growth-chart svg {
  position: absolute;
  inset: -18px 0 0 0;
  overflow: visible;
}

.dashboard-dot-field {
  position: absolute;
  top: 35px;
  right: -54px;
  width: 62px;
  height: 80px;
  opacity: 0.65;
  background-image: radial-gradient(circle, #b5dcff 2.3px, transparent 2.8px);
  background-size: 13px 13px;
}

.available-business-section,
.coming-business-section,
.business-notice-wrap {
  margin-right: auto;
  margin-left: auto;
}

.available-business-section {
  padding: 52px 0 26px;
}

.section-heading {
  margin: 0 0 8px;
  color: var(--business-navy);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-subtitle {
  margin: 0 0 27px;
  color: var(--business-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.business-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.business-tool-card {
  display: flex;
  min-height: 310px;
  padding: 20px 17px 18px;
  flex-direction: column;
  border: 1px solid #d9e8f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 34, 51, 0.065);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.business-tool-card:hover {
  border-color: #b9d9ee;
  box-shadow: 0 22px 48px rgba(15, 34, 51, 0.1);
  transform: translateY(-4px);
}

.business-tool-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 16px;
}

.business-tool-icon svg {
  width: 48px;
  height: 48px;
}

.business-tool-icon.green {
  background: #eafaf1;
}

.business-tool-icon.blue {
  background: #eef6ff;
}

.business-tool-icon.purple {
  background: #f3ecff;
}

.business-tool-icon.teal {
  background: #e6fffb;
}

.business-tool-card .tool-pills {
  gap: 6px;
  margin-bottom: 11px;
}

.business-tool-card .tool-pills span {
  min-height: 24px;
  padding: 3px 9px;
  font-size: 0.66rem;
}

.business-tool-card h3 {
  margin: 0 0 8px;
  color: #14263d;
  font-size: 1.03rem;
  font-weight: 950;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.business-tool-card p {
  margin: 0 0 15px;
  color: var(--business-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.business-tool-card a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: #0966b5;
  font-size: 0.83rem;
  font-weight: 900;
  text-decoration: none;
}

.business-tool-card a span {
  transition: transform 160ms ease;
}

.business-tool-card a:hover {
  color: #075091;
  text-decoration: underline;
}

.business-tool-card a:hover span {
  transform: translateX(3px);
}

.coming-business-section {
  padding: 0 0 10px;
}

.coming-business-panel {
  margin-top: 12px;
  padding: 22px 25px 24px;
  border: 1px solid #d7eaf8;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.9) 0 100px, transparent 101px),
    linear-gradient(135deg, #eef8ff, #f6fbff 48%, #e9f6ff);
}

.coming-business-panel .section-heading {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
}

.coming-business-panel .section-subtitle {
  margin-bottom: 14px;
  font-size: 0.91rem;
}

.coming-business-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.coming-business-card {
  display: flex;
  min-height: 210px;
  padding: 13px 10px 12px;
  align-items: center;
  flex-direction: column;
  border: 1px solid #d9e8f5;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 34, 51, 0.065);
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.coming-business-card:hover {
  border-color: #b9d9ee;
  box-shadow: 0 19px 40px rgba(15, 34, 51, 0.1);
  transform: translateY(-3px);
}

.coming-pill {
  display: inline-flex;
  min-height: 23px;
  padding: 3px 12px;
  align-items: center;
  border-radius: 999px;
  color: #9a5a07;
  background: #fff1d6;
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1.2;
}

.coming-business-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 9px auto 8px;
  place-items: center;
  border-radius: 18px;
}

.coming-business-icon svg {
  width: 58px;
  height: 58px;
}

.coming-business-icon.blue {
  background: #eef6ff;
}

.coming-business-icon.green {
  background: #eafaf1;
}

.coming-business-icon.purple {
  background: #f3ecff;
}

.coming-business-icon.orange {
  background: #fff3df;
}

.coming-business-card h3 {
  max-width: 180px;
  margin: auto 0 5px;
  color: #14263d;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.coming-business-card p {
  margin: 0;
  color: #72859a;
  font-size: 0.75rem;
  font-weight: 600;
}

.business-notice-wrap {
  padding: 0 0 38px;
}

.business-planning-notice {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 0;
  padding: 12px 18px;
  border: 1px solid #add8ef;
  border-radius: 12px;
  color: #244966;
  background: #eef8ff;
  font-size: 0.84rem;
  line-height: 1.5;
}

.business-notice-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #397fd5;
  background: #ffffff;
}

.business-notice-icon svg {
  width: 24px;
  height: 24px;
}

.business-planning-notice p {
  margin: 0;
}

.business-planning-notice strong {
  color: #075985;
}

.business-tools-page .site-footer {
  margin-top: 0;
}

@media (min-width: 920px) {
  .business-tools-page .nav-links {
    gap: 8px;
  }

  .business-tools-page .nav-links > a,
  .business-tools-page .nav-dropdown-toggle {
    padding: 0.62rem 0.88rem;
  }
}

@media (min-width: 1061px) {
  .business-hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  .business-hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(490px, 1.08fr);
    gap: 24px;
  }

  .dashboard-card {
    right: 36px;
    width: 420px;
  }

  .invoice-clipboard {
    right: -4px;
  }

  .growth-chart {
    right: -32px;
  }
}

@media (max-width: 1060px) {
  .business-hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .business-hero-copy {
    max-width: 760px;
  }

  .business-dashboard-art {
    width: min(100%, 660px);
    min-height: 390px;
    margin: 0 auto;
  }

  .dashboard-card {
    right: 70px;
    width: 470px;
  }

  .dashboard-calculator {
    left: 22px;
  }

  .invoice-clipboard {
    right: 0;
  }

  .growth-chart {
    right: -30px;
  }

  .business-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-tool-card {
    min-height: 292px;
  }

  .coming-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coming-business-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    justify-self: center;
  }
}

@media (max-width: 919px) {
  .business-tools-page .nav-dropdown-toggle[aria-current="page"]::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .business-hero {
    padding: 44px 0 46px;
  }

  .business-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.65rem);
  }

  .business-hero-copy > p {
    font-size: 1rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .business-dashboard-art {
    min-height: 350px;
  }

  .dashboard-card {
    top: 12px;
    right: 10px;
    left: 10px;
    width: auto;
    padding: 14px;
    transform: none;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card:nth-child(n + 3) {
    display: none;
  }

  .dashboard-calculator {
    bottom: 0;
    left: 0;
    width: 91px;
  }

  .invoice-clipboard {
    right: 0;
    bottom: -4px;
    width: 99px;
    height: 165px;
    padding-top: 30px;
  }

  .invoice-clipboard > i {
    margin-top: 7px;
  }

  .growth-chart,
  .dashboard-dot-field {
    display: none;
  }

  .available-business-section {
    padding-top: 42px;
  }

  .business-tools-grid,
  .coming-business-grid {
    grid-template-columns: 1fr;
  }

  .business-tool-card {
    min-height: 0;
    padding: 22px;
  }

  .coming-business-panel {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .coming-business-card,
  .coming-business-card:last-child {
    width: 100%;
    min-height: 220px;
    grid-column: auto;
  }

  .business-planning-notice {
    align-items: flex-start;
    padding: 15px;
    font-size: 0.88rem;
  }
}

@media (max-width: 430px) {
  .business-dashboard-art {
    min-height: 330px;
  }

  .dashboard-card {
    right: 0;
    left: 0;
  }

  .quote-dashboard-bottom {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .margin-ring {
    width: 82px;
    height: 82px;
  }

  .margin-ring > div {
    width: 52px;
    height: 52px;
  }

  .margin-ring strong {
    font-size: 0.95rem;
  }

  .dashboard-calculator {
    transform: rotate(-4deg) scale(0.88);
    transform-origin: bottom left;
  }

  .invoice-clipboard {
    transform: rotate(5deg) scale(0.9);
    transform-origin: bottom right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .business-tool-card,
  .coming-business-card,
  .business-tool-card a span,
  .business-nav-chevron {
    transition: none;
  }
}
