/* Terbo.co · composed from BoringFunnels agency references */
:root {
  --site-max: 1180px;
  --site-pad: clamp(20px, 4vw, 56px);
  --site-ease: cubic-bezier(.2,.8,.2,1);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
a { text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

.tb-wrap {
  width: min(var(--site-max), calc(100% - (var(--site-pad) * 2)));
  margin-inline: auto;
}

.tb-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.tb-nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tb-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font: 800 25px/1 var(--fd);
  letter-spacing: -.045em;
}

.tb-logo-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font: 800 15px/1 var(--fd);
  letter-spacing: -.08em;
}

.tb-logo-dot { color: var(--accent); }

.tb-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.tb-menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.tb-menu a:not(.tb-btn):hover { text-decoration: underline; }

.tb-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  cursor: pointer;
}

.tb-menu-toggle span,
.tb-menu-toggle::before,
.tb-menu-toggle::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #000;
  transition: transform .2s var(--site-ease), opacity .2s var(--site-ease);
}

.tb-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.tb-menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.tb-menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.tb-btn {
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--cta);
  color: var(--cta-ink);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 3px 3px 0 #000;
  transition: transform .18s var(--site-ease), box-shadow .18s var(--site-ease), background .18s;
}

.tb-btn:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 #000;
  background: #ff6c35;
}

.tb-btn:active {
  transform: translate(2px,2px);
  box-shadow: 1px 1px 0 #000;
}

.tb-btn-dark {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 3px 3px 0 var(--accent);
}

.tb-btn-dark:hover { background: #1b1b1b; box-shadow: 5px 5px 0 var(--accent); }
.tb-btn-light { background: #fff; color: #000; }
.tb-arrow { font-size: 21px; line-height: 0; }

.tb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  font: 700 12px/1 var(--fb);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tb-kicker::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,90,31,.16);
}

.tb-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #fff;
  background-size: 44px 44px;
}

.tb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}

.tb-hero-copy { max-width: 700px; }
.tb-hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(58px, 7.2vw, 104px);
  line-height: .91;
  letter-spacing: -.067em;
  text-wrap: balance;
}

.tb-highlight {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.tb-highlight::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -.02em;
  right: -.03em;
  bottom: .03em;
  height: .22em;
  background: var(--accent);
  transform: rotate(-1.5deg);
}

.tb-hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.42;
  color: #292929;
  text-wrap: pretty;
}

.tb-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tb-under-action {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.tb-mobile-path { display: none; }

.tb-pipeline {
  position: relative;
  padding: 24px;
  background: #000;
  color: #fff;
  border-radius: 28px;
  box-shadow: 14px 14px 0 var(--accent);
  overflow: hidden;
}

.tb-pipeline::before {
  content: 'LIVE PATH';
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--accent);
  font: 700 11px/1 ui-monospace, monospace;
  letter-spacing: .12em;
}

.tb-pipeline-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
  font: 600 13px/1 var(--fb);
  color: #aaa;
}

.tb-pipeline-head span { width: 9px; height: 9px; border-radius: 50%; background: #444; }
.tb-pipeline-head span:first-child { background: var(--accent); }

.tb-path { padding: 20px 0 8px; }
.tb-path-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 11px 4px;
}

.tb-path-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 59px;
  width: 2px;
  height: 38px;
  background: #444;
}

.tb-step-n {
  width: 44px;
  height: 44px;
  border: 1px solid #555;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 12px/1 ui-monospace, monospace;
}

.tb-step-copy strong { display: block; font-size: 17px; }
.tb-step-copy small { color: #999; font-size: 12px; }
.tb-state { font: 700 11px/1 ui-monospace, monospace; color: #6fe39b; }
.tb-path-step[data-leak="true"] .tb-step-n { color: #000; background: var(--accent); border-color: var(--accent); }
.tb-path-step[data-leak="true"] .tb-state { color: var(--accent); }

.tb-leak-note {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid #444;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #ddd;
  font-size: 13px;
}
.tb-leak-note b { color: var(--accent); }

.tb-section { padding-block: clamp(84px, 11vw, 150px); }
.tb-section-dark { background: #000; color: #fff; }
.tb-section-sand { background: var(--sand); }
.tb-section-orange { background: var(--accent); color: #000; }

.tb-section-head {
  display: grid;
  grid-template-columns: minmax(0,.62fr) minmax(0,1.38fr);
  gap: 40px;
  margin-bottom: clamp(54px, 7vw, 92px);
  align-items: start;
}

.tb-section-head h2,
.tb-scan-copy h2,
.tb-fit h2,
.tb-close h2 {
  font-size: clamp(45px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.tb-section-head p {
  max-width: 650px;
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--muted);
}
.tb-section-dark .tb-section-head p { color: #aaa; }

.tb-loss-list { border-top: 2px solid currentColor; }
.tb-loss-row {
  display: grid;
  grid-template-columns: 92px minmax(220px,.8fr) minmax(0,1.2fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid currentColor;
  align-items: start;
}
.tb-loss-num { font: 700 14px/1 ui-monospace, monospace; color: var(--accent); }
.tb-loss-row h3 { margin: 0; font-size: clamp(25px,3vw,38px); letter-spacing: -.04em; }
.tb-loss-row p { margin: 0; max-width: 700px; color: #bcbcbc; }

.tb-scan {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}
.tb-scan-number { font: 800 clamp(150px,22vw,340px)/.72 var(--fd); letter-spacing: -.1em; }
.tb-scan-number span { color: var(--accent); }
.tb-scan-copy p { max-width: 620px; font-size: 20px; color: var(--muted); }
.tb-scan-note { padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 13px !important; color: #777 !important; }

.tb-system { display: grid; grid-template-columns: 1fr; }
.tb-system-row {
  display: grid;
  grid-template-columns: 100px .72fr 1fr;
  gap: 28px;
  padding: 38px 0;
  border-top: 1px solid #333;
  align-items: start;
}
.tb-system-row:last-child { border-bottom: 1px solid #333; }
.tb-system-n { color: var(--accent); font: 700 14px/1 ui-monospace, monospace; }
.tb-system-row h3 { margin: 0; font-size: clamp(32px,4vw,54px); letter-spacing: -.05em; }
.tb-system-row p { margin: 0; color: #aaa; font-size: 18px; }
.tb-system-row ul { margin: 18px 0 0; padding: 0; list-style: none; color: #fff; }
.tb-system-row li { margin: 8px 0; }
.tb-system-row li::before { content: '→'; margin-right: 10px; color: var(--accent); }

.tb-install-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
}
.tb-install-main,
.tb-install-side {
  min-height: 430px;
  padding: clamp(28px,4vw,52px);
  border: 2px solid #000;
  border-radius: 24px;
  background: #fff;
}
.tb-install-main { display: flex; flex-direction: column; justify-content: space-between; }
.tb-install-main h3 { max-width: 650px; font-size: clamp(40px,5vw,68px); letter-spacing: -.055em; }
.tb-install-side { background: #000; color: #fff; }
.tb-install-side h3 { font-size: 30px; }
.tb-install-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin-top: 40px; }
.tb-install-list span { padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; }
.tb-install-side ol { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: tb; }
.tb-install-side li { counter-increment: tb; padding: 18px 0; border-top: 1px solid #333; color: #ccc; }
.tb-install-side li::before { content: '0' counter(tb); display: block; margin-bottom: 7px; color: var(--accent); font: 700 11px ui-monospace, monospace; }

.tb-pilot {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px,8vw,110px);
  align-items: start;
}
.tb-pilot h2 { font-size: clamp(54px,7vw,92px); line-height: .92; letter-spacing: -.065em; }
.tb-pilot .tb-kicker::before { background: #000; box-shadow: 0 0 0 5px rgba(0,0,0,.12); }
.tb-pilot-card { border: 2px solid #000; border-radius: 24px; background: #fff; overflow: hidden; }
.tb-pilot-row { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 21px 24px; border-bottom: 1px solid #bbb; }
.tb-pilot-row:last-child { border-bottom: 0; }
.tb-pilot-row b { font-size: 18px; }
.tb-pilot-row span:first-child { font: 700 12px/1 ui-monospace, monospace; }
.tb-pilot-fine { margin-top: 24px; font-size: 14px; max-width: 620px; }

.tb-fit { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.tb-fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tb-fit-card { padding: 30px; border-radius: 22px; background: #171717; border: 1px solid #333; }
.tb-fit-card h3 { font-size: 25px; }
.tb-fit-card ul { padding: 0; margin: 24px 0 0; list-style: none; }
.tb-fit-card li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid #333; color: #c9c9c9; }
.tb-fit-card li::before { content: '✓'; position: absolute; left: 0; color: #6fe39b; }
.tb-fit-card.tb-not li::before { content: '×'; color: var(--accent); }

.tb-faq { max-width: 920px; margin-inline: auto; }
.tb-faq > h2 { font-size: clamp(46px,6vw,76px); text-align: center; letter-spacing: -.06em; }
.tb-faq-list { margin-top: 54px; border-top: 2px solid #000; }
.tb-faq details { border-bottom: 1px solid #000; }
.tb-faq summary {
  min-height: 78px;
  padding: 22px 48px 22px 0;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  list-style: none;
  font: 700 clamp(19px,2.2vw,25px)/1.25 var(--fd);
}
.tb-faq summary::-webkit-details-marker { display: none; }
.tb-faq summary::after { content: '+'; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); font-size: 32px; font-weight: 400; }
.tb-faq details[open] summary::after { content: '−'; }
.tb-faq details p { max-width: 740px; padding: 0 60px 28px 0; color: var(--muted); }

.tb-close {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px,13vw,180px);
  background: #000;
  color: #fff;
}
.tb-close::after {
  content: 'T';
  position: absolute;
  right: -3vw;
  bottom: -12vw;
  color: #111;
  font: 800 min(52vw,720px)/1 var(--fd);
  letter-spacing: -.15em;
  pointer-events: none;
}
.tb-close-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.tb-close p { max-width: 650px; color: #aaa; font-size: 20px; }
.tb-close-meta { padding: 26px 0 0; margin-top: 30px; border-top: 1px solid #333; font-size: 14px; color: #aaa; }
.tb-close .tb-btn { min-width: 250px; }

.tb-footer { padding: 34px 0; background: #000; color: #aaa; border-top: 1px solid #333; }
.tb-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 13px; }
.tb-footer a { color: #fff; }

.tb-mobile-cta { display: none; }

@media (max-width: 980px) {
  .tb-hero-grid, .tb-scan, .tb-pilot, .tb-fit, .tb-close-inner { grid-template-columns: 1fr; }
  .tb-hero-grid { gap: 62px; }
  .tb-hero-copy { max-width: 780px; }
  .tb-section-head { grid-template-columns: 1fr; }
  .tb-scan-number { font-size: min(52vw,320px); }
  .tb-install-grid { grid-template-columns: 1fr; }
  .tb-fit { gap: 50px; }
}

@media (max-width: 760px) {
  .tb-wrap { width: min(100% - 36px, var(--site-max)); }
  .tb-nav-inner { min-height: 66px; }
  .tb-menu-toggle { display: block; }
  .tb-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    padding: 20px 18px 26px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .tb-menu[data-open="true"] { display: flex; }
  .tb-menu a { padding: 13px; font-size: 17px; }
  .tb-menu .tb-btn { margin-top: 8px; }
  .tb-hero { min-height: auto; padding: 54px 0 82px; background-size: 32px 32px; }
  .tb-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .tb-hero h1 { font-size: clamp(52px,16vw,74px); }
  .tb-highlight { white-space: normal; }
  .tb-action-row { align-items: stretch; flex-direction: column; }
  .tb-action-row .tb-btn { width: 100%; }
  .tb-hero-lede { font-size: 18px; line-height: 1.42; }
  .tb-mobile-path {
    display: grid;
    grid-template-columns: auto 14px auto 14px auto;
    gap: 4px;
    align-items: center;
    min-height: 94px;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid #000;
    border-radius: 14px;
    background: #fff;
    font: 700 11px/1.2 ui-monospace, monospace;
    text-align: center;
  }
  .tb-mobile-path b { color: var(--accent); }
  .tb-pipeline { padding: 18px; border-radius: 20px; box-shadow: 8px 8px 0 var(--accent); }
  .tb-path-step { grid-template-columns: 40px 1fr; }
  .tb-path-step .tb-state { grid-column: 2; }
  .tb-step-n { width: 40px; height: 40px; }
  .tb-path-step:not(:last-child)::after { left: 20px; }
  .tb-leak-note { flex-direction: column; }
  .tb-section { padding-block: 86px; }
  .tb-section-head { margin-bottom: 48px; }
  .tb-loss-row { grid-template-columns: 52px 1fr; gap: 18px; }
  .tb-loss-row p { grid-column: 2; }
  .tb-system-row { grid-template-columns: 52px 1fr; gap: 16px; }
  .tb-system-row > div:last-child { grid-column: 2; }
  .tb-install-main, .tb-install-side { min-height: 0; padding: 26px; }
  .tb-install-list { grid-template-columns: 1fr; }
  .tb-fit-columns { grid-template-columns: 1fr; }
  .tb-pilot { gap: 40px; }
  .tb-pilot-row { padding: 18px; }
  .tb-close { padding-bottom: 122px; }
  .tb-footer { padding-bottom: 96px; }
  .tb-footer-inner { align-items: flex-start; flex-direction: column; }
  .tb-mobile-cta {
    display: flex;
    position: fixed;
    z-index: 70;
    left: 12px;
    right: 12px;
    bottom: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity .2s var(--site-ease), transform .2s var(--site-ease);
  }
  .tb-mobile-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .tb-mobile-cta .tb-btn { width: 100%; min-height: 56px; }
}

@media (max-width: 380px) {
  .tb-hero h1 { font-size: 49px; }
  .tb-path-step { gap: 10px; }
  .tb-pipeline::before { display: none; }
}
