:root {
  --ink: #050505;
  --muted: #33353c;
  --bluewash: #aebfd3;
  --lime: #dfff35;
  --dark: #1a1c21;
  --teal: #24464c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

main { background: #fff; }

a { color: inherit; }

button { font: inherit; color: inherit; }

.dot-bg,
.dot-bg-blue,
.dot-bg-green,
.dot-bg-dark {
  background-image: radial-gradient(circle, rgba(12, 28, 45, .13) 1px, transparent 1px);
  background-size: 10px 10px;
}

.dot-bg-blue {
  background-color: var(--bluewash);
  background-image: radial-gradient(circle, rgba(47, 74, 100, .22) 1px, transparent 1px);
}

.dot-bg-green {
  background-color: #dff0d7;
  background-image: radial-gradient(circle, rgba(58, 92, 60, .14) 1px, transparent 1px);
}

.dot-bg-dark {
  background-color: var(--teal);
  background-image: radial-gradient(circle, rgba(255, 255, 255, .13) 1px, transparent 1px);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  text-decoration: none;
}

.pill.dark { background: #000; color: #fff; }
.pill.light { background: #fff; color: #121212; }

.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .9fr);
  grid-template-rows: 1fr auto;
  column-gap: 9vw;
  padding: 150px 5vw 38px;
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(5rem, 8vw, 10.5rem);
  line-height: .92;
  font-weight: 300;
  letter-spacing: 0;
}

.hero-side {
  align-self: center;
  max-width: 610px;
  font-size: clamp(1.5rem, 1.55vw, 2rem);
  line-height: 1.35;
}

.hero-side p { margin: 0 0 42px; }

.tile-tabs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
  align-self: end;
}

.tile-tabs a {
  min-height: 205px;
  display: flex;
  align-items: flex-end;
  padding: 28px 26px;
  border-radius: 8px;
  background: var(--tile);
  text-decoration: none;
  font-size: 1.32rem;
}

.split-head {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 10vw;
  padding: 42px 5.5vw 112px;
  border-top: 1px solid #e1e7ee;
}

.split-head h2,
.feature-head h2,
.mobile h2,
.handover h2,
.asset-head h2,
.enterprise h2,
.faq h2,
.final-copy h2 {
  margin: 0;
  font-size: clamp(4rem, 5.2vw, 7rem);
  line-height: .98;
  font-weight: 300;
  letter-spacing: 0;
}

.split-head p {
  margin: 18px 0 0;
  font-size: 1.32rem;
  line-height: 1.45;
}

.workspace-stage {
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, .68fr);
  gap: 56px;
  align-items: center;
  padding: 105px 11vw;
  background: var(--bluewash);
}

.dashboard-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(36, 60, 84, .24);
}

.summary-stack {
  display: grid;
  gap: 44px;
}

.summary-card {
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(39, 58, 76, .16);
}

.summary-card h3 { margin: 0 0 22px; font-size: 1.28rem; }
.summary-card h3 span { color: #949aae; }

.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.metric-row b { border: 1px solid #edf0f5; padding: 12px; font-size: 1.1rem; }
.metric-row small { display: block; margin-top: 4px; font-size: .68rem; line-height: 1.1; }
.metric-row b:last-child small { color: #c94b45; }

.fake-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px 20px;
}
.fake-table span {
  height: 9px;
  border-radius: 999px;
  background: #eef0f2;
}
.fake-table.tickets { grid-template-columns: 1fr 1.6fr .8fr; }
.fake-table.tickets span:nth-child(3n) {
  height: auto;
  background: transparent;
  color: #47a071;
  font-size: .78rem;
  font-weight: 700;
}

.feature-head {
  padding: 26px 5.2vw 72px;
  background: #fff;
}

.feature-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.5vw;
  margin-top: 58px;
}

.feature-tab {
  border: 0;
  border-left: 4px solid #e5edf6;
  background: transparent;
  text-align: left;
  padding: 4px 0 4px 34px;
  cursor: pointer;
}

.feature-tab.active { border-left-color: #4b5a69; }
.feature-tab strong { display: block; margin-bottom: 16px; font-size: 1.72rem; font-weight: 500; }
.feature-tab span { display: block; max-width: 48ch; font-size: 1.2rem; line-height: 1.25; color: #2c2d31; }

.collab-stage {
  min-height: 690px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 90px 5vw;
}

.collab-panel {
  display: none;
  width: 100%;
}
.collab-panel.active { display: grid; place-items: center; }

.people-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
}

.person,
.invite {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 150px;
  text-align: center;
  font-size: 1.2rem;
}

.person img,
.invite i {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.person img { object-fit: cover; border: 8px solid var(--ring); }
.person.lime { --ring: #e7ff25; }
.person.green { --ring: #2ea92a; }
.person.blue { --ring: #2c2ce8; }
.person.pink { --ring: #d62fd2; }
.person b { font-size: 1.15rem; }

.invite i {
  display: grid;
  place-items: center;
  border: 6px solid #4f5f6d;
  font-size: 3rem;
  font-style: normal;
  color: #4f5f6d;
}

.builder-card {
  width: min(720px, 82vw);
  display: grid;
  grid-template-columns: 1fr .96fr;
  background: #fff;
  box-shadow: 0 24px 64px rgba(60, 80, 110, .22);
}

.builder-left { padding: 20px; }
.builder-left label { display: inline-block; margin-top: 34px; padding: 8px 16px; background: #54b942; color: #fff; }
.builder-left label.yellow { background: #e6ff39; color: #111; margin-top: 22px; }
.builder-left h3 { width: max-content; margin: 4px 0 10px; border: 4px solid #54b942; font-size: 4rem; line-height: .9; font-weight: 400; }
.builder-left p { max-width: 320px; font-size: 1.05rem; line-height: 1.25; }
.bike-img { height: 160px; border: 4px solid #e6ff39; background: linear-gradient(120deg, #f3f3f3, #fff); position: relative; }
.bike-img::after { content: ""; position: absolute; inset: 40px 45px; border: 8px solid #111; border-top-color: transparent; border-radius: 50%; box-shadow: 100px 0 0 -8px #fff, 100px 0 0 0 #111; opacity: .8; }
.builder-card pre { margin: 0; padding: 34px; background: #101c2a; color: #afc5d9; border: 4px solid #db28d6; font-size: .9rem; overflow: auto; }

.comment-demo { display: flex; align-items: center; justify-content: center; gap: 22px; }
.comment-image { width: 375px; height: 265px; background: linear-gradient(135deg, #efefef, #b9c0c7); border: 3px solid #2e2bea; position: relative; }
.comment-image::after { content: ""; position: absolute; inset: 64px 30px; border: 13px solid #fff; border-left-color: transparent; border-right-color: transparent; border-radius: 45% 45% 0 0; transform: rotate(10deg); }
.comment-image span { position: absolute; right: 0; top: -30px; padding: 8px 16px; color: #fff; background: #2e2bea; }
.comment-card { width: 320px; padding: 26px; background: #fff; box-shadow: 0 18px 42px rgba(64, 83, 106, .18); }
.comment-card div, .comment-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.comment-card h3 { margin: 0; font-size: 1.45rem; }
.comment-card button { border: 1px solid #dfe5ed; border-radius: 4px; padding: 8px 18px; background: #fff; }
.comment-card p { border-bottom: 1px solid #e5e8ed; padding-bottom: 20px; line-height: 1.25; color: #4e5660; }
.comment-card footer button { background: #3474f7; color: #fff; padding: 3px 10px; }

.mobile {
  min-height: 940px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mobile-copy {
  padding: 145px 5.6vw;
  display: grid;
  align-content: space-between;
}

.mobile-copy p {
  max-width: 650px;
  margin: 34px 0 0;
  font-size: 1.35rem;
  line-height: 1.45;
}

.app-store { display: flex; align-items: center; gap: 36px; font-size: 1.15rem; }
.app-store span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(#7394ff, #0e55d6);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: .95;
}

.phone-zone { display: grid; place-items: center; padding: 80px 4vw; }
.phone {
  width: 380px;
  height: 690px;
  padding: 28px 18px;
  border: 14px solid rgba(255, 255, 255, .74);
  border-radius: 44px;
  background: #f5f7f7;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 30px 90px rgba(68, 92, 70, .18);
}
.phone-screen { display: none; height: 100%; padding: 16px; border-radius: 26px; background: #fff; overflow: hidden; }
.phone-screen.active { display: block; }
.phone-screen h3 { margin: 0 0 22px; font-size: 1.48rem; }
.search { padding: 18px 20px; border: 1px solid #e4e8ee; border-radius: 4px; color: #5b606a; box-shadow: 0 3px 10px rgba(0,0,0,.04); }
.folder { border-bottom: 1px solid #e9edf1; padding: 16px 0; margin: 0; font-weight: 600; }
.site-list { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 18px; margin-top: 30px; }
.site-list span, .phone-cards span { height: 62px; border-radius: 5px; background: linear-gradient(135deg, #c49c2f, #f4d979); }
.site-list span:nth-of-type(2), .phone-cards span:nth-child(2) { background: #f28542; }
.site-list span:nth-of-type(3), .phone-cards span:nth-child(3) { background: #cdf56b; }
.chips { display: flex; gap: 8px; margin: 50px 0 22px; }
.chips * { border: 1px solid #e5e9ef; border-radius: 999px; padding: 8px 13px; font-size: .84rem; }
.chips b { color: #2372ef; border-color: #2372ef; }
.lead-list { list-style: none; padding: 0; margin: 0; }
.lead-list li { display: flex; justify-content: space-between; padding: 19px 0; border-bottom: 1px solid #edf0f3; font-weight: 700; }
.lead-list em { padding: 7px 10px; border-radius: 7px; background: #ddf5e8; color: #36a36e; font-style: normal; font-size: .78rem; }
.lead-list li:nth-child(3) em { background: #fff0cc; color: #5d5140; }
.lead-list li:nth-child(4) em { background: #e6f0ff; color: #2372ef; }
.lead-list li:nth-child(5) em { background: #ffe7df; color: #c64737; }
.phone-cards { display: flex; gap: 14px; overflow: hidden; }
.phone-cards span { min-width: 145px; height: 120px; display: block; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.actions button, .business-card { min-height: 105px; border: 1px solid #e5eaf0; border-radius: 5px; background: #fff; text-align: left; padding: 18px; }
.actions button:nth-child(2) { background: var(--lime); }
.business-card { margin-top: 12px; }

.enterprise { padding: 56px 3vw 0; background: #e7eeee; }
.enterprise-card {
  min-height: 760px;
  padding: 76px 54px;
  border-radius: 18px;
  color: #fff;
  overflow: hidden;
}
.enterprise-card > p { margin: 0 0 36px; font-size: 1.12rem; }
.enterprise-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.enterprise-copy p { max-width: 640px; margin: 8px 0 28px; font-size: 1.25rem; line-height: 1.38; }
.enterprise-copy a + a { margin-left: 24px; text-underline-offset: 6px; }
.enterprise-art { margin-top: 80px; }
.enterprise-art img { width: 100%; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.18); }
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 44px 0 58px;
  font-size: clamp(1.3rem, 2vw, 2.1rem);
}

.handover {
  display: grid;
  grid-template-columns: .78fr 1fr;
  min-height: 850px;
}
.handover-copy { padding: 160px 5.8vw; }
.handover article { margin-top: 54px; max-width: 470px; }
.handover h3 { margin: 0 0 14px; font-size: 1.58rem; font-weight: 500; }
.handover p { font-size: 1.12rem; line-height: 1.34; }
.handover-art { display: grid; place-items: center; background: #d6fbff; }
.handover-art img { width: min(82%, 940px); border-radius: 8px; box-shadow: 0 30px 90px rgba(30, 76, 88, .17); }

.assets {
  position: relative;
  padding: 64px 0 0;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.asset-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 9vw;
  padding: 0 5.8vw 86px;
}
.asset-head p { max-width: 680px; margin: 18px 0 0; font-size: 1.35rem; line-height: 1.45; color: #e5e5e5; }
.asset-toggle {
  position: absolute;
  right: 5.8vw;
  top: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.asset-grid {
  width: 130vw;
  margin-left: -9vw;
  display: grid;
  grid-template-columns: repeat(5, minmax(260px, 1fr));
  gap: 36px;
  align-items: start;
}
.asset-grid img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #fff;
}
.assets.wireframe .asset-grid img {
  filter: grayscale(1) contrast(.42) brightness(1.42);
}

.final-copy {
  min-height: 600px;
  display: grid;
  align-items: center;
  padding: 8vw 3.8vw;
}
.final-copy h2 { font-size: clamp(4.5rem, 7vw, 9.2rem); }

.faq {
  padding: 98px 3.9vw 72px;
}
.faq h2 { margin-bottom: 58px; }
.faq-list { border-top: 1px solid #111; }
.faq details { border-bottom: 1px solid #111; }
.faq summary {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 2rem; font-weight: 300; }
.faq details[open] summary::after { content: "-"; }
.faq details p { max-width: 860px; margin: -22px 0 36px; font-size: 1.18rem; line-height: 1.45; color: #333; }

.start-cta a {
  display: grid;
  grid-template-columns: 1fr 240px;
  min-height: 170px;
  background: var(--lime);
  color: #000;
  text-decoration: none;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}
.start-cta span {
  display: flex;
  align-items: center;
  padding-left: 4vw;
  font-size: clamp(5rem, 7vw, 9.5rem);
  line-height: .9;
}
.start-cta i {
  display: grid;
  place-items: center;
  background: #050505;
  color: #000;
  font-style: normal;
  font-size: 4rem;
}
.start-cta i::before {
  content: "";
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
}
.start-cta i { position: relative; }
.start-cta i { z-index: 0; }
.start-cta i::after { content: "↗"; position: relative; z-index: 1; color: #000; }
.start-cta i { font-size: 0; }

.site-footer {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 8vw;
  padding: 78px 5vw 88px;
  background: #101010;
  color: #e8e8e8;
}
.footer-brand .brand-mark {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  width: 32px;
  height: 32px;
  background: #fff;
  position: relative;
}
.footer-brand .brand-mark::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 7px;
  top: 7px;
  border-radius: 50%;
  background: #101010;
}
.footer-brand p { margin-top: 32px; line-height: 1.45; color: #c7c7c7; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
}
.footer-cols div { display: grid; align-content: start; gap: 16px; }
.footer-cols strong { margin-bottom: 16px; font-size: .9rem; }
.footer-cols a { color: #d0d0d0; text-decoration: none; }

@media (max-width: 1100px) {
  .hero,
  .split-head,
  .workspace-stage,
  .mobile,
  .enterprise-copy,
  .handover,
  .asset-head,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .tile-tabs { grid-template-columns: repeat(2, 1fr); }
  .feature-tabs { grid-template-columns: 1fr; }
  .people-row { flex-wrap: wrap; }
  .mobile-copy { gap: 70px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .hero { padding-top: 78px; }
  .hero h1 { font-size: 4.4rem; }
  .tile-tabs { grid-template-columns: 1fr; }
  .tile-tabs a { min-height: 110px; }
  .split-head h2,
  .feature-head h2,
  .mobile h2,
  .handover h2,
  .asset-head h2,
  .enterprise h2,
  .faq h2,
  .final-copy h2 { font-size: 3.35rem; }
  .workspace-stage,
  .feature-head,
  .collab-stage,
  .mobile-copy,
  .handover-copy,
  .enterprise-card { padding-left: 24px; padding-right: 24px; }
  .phone { width: 330px; height: 640px; }
  .builder-card { grid-template-columns: 1fr; }
  .comment-demo { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr; }
  .start-cta a { grid-template-columns: 1fr 140px; }
}

/* Shared generated BUGENCE brand mark. */
.brand-mark,
.bugence-logo::before,
.logo::before {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: inline-block !important;
  border-radius: 0 !important;
  background: url("../Images/bugence-logo-mark.png") center / cover no-repeat !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
  overflow: hidden !important;
}

.brand-mark::after,
.bugence-logo::after,
.logo::after {
  display: none !important;
  content: none !important;
}

.bugence-logo,
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.bugence-logo::before,
.logo::before {
  content: "" !important;
}
