/* tridi landing — HUBi brand tokens until tridi gets its own identity */
:root {
  --ink: #111111;
  --fire: #FF4D00;
  --bone: #F7F4EF;
  --cream: #EDE8DF;
  --dust: #C8C0B4;
  --muted-dark: #57514A; /* text on light, AA on bone and cream */
  --line-dark: #2a2724;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  background: var(--ink);
  color: var(--bone);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }

section, .hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.light { background: var(--bone); color: var(--ink); }
.cream { background: var(--cream); color: var(--ink); }
.dark  { background: var(--ink); color: var(--bone); }
.dark + .dark, .hero + main > .dark:first-child { border-top: 1px solid var(--line-dark); }

/* Type */
.kicker, .label {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 14px;
}
.kicker, .dark .label { color: var(--fire); }
.light .label, .cream .label { color: var(--muted-dark); }

h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 9vw, 72px);
  line-height: .95;
  margin-bottom: 28px;
  max-width: 16ch;
}
.call h2 { max-width: 20ch; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.sub-h {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: .02em;
  margin: 40px 0 14px;
}
p + p { margin-top: 14px; }
p { max-width: 62ch; }
.big { font-size: clamp(21px, 3.4vw, 28px); font-weight: 500; line-height: 1.3; margin-bottom: 18px; }
.big em { font-style: normal; color: var(--fire); }
.note { margin-top: 24px; font-size: 15px; color: var(--muted-dark); }
.dark .note { color: var(--dust); }
small { font-size: .82em; font-weight: 400; }

/* Hero */
.hero { background: var(--ink); }
.mark {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(96px, 30vw, 200px);
  line-height: .85;
  letter-spacing: -.01em;
}
.mark span { color: var(--fire); }
.tagline { font-size: clamp(22px, 4vw, 32px); font-weight: 500; line-height: 1.25; margin-top: 24px; max-width: 20ch; }
.lede { margin-top: 28px; color: var(--dust); max-width: 52ch; }
.lede strong { color: var(--bone); }

.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 22px;
  min-height: 48px;
  background: var(--fire);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 20px;
  text-decoration: none;
  border-radius: 2px;
  overflow-wrap: anywhere;
}
.btn:hover, .btn:focus-visible { background: var(--bone); }
a:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; }

/* Steps */
.steps { list-style: none; display: grid; gap: 28px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.n, .ph {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: .9;
  color: var(--fire);
}

/* Actor cards */
.cards { display: grid; gap: 16px; }
.card { background: var(--bone); padding: 22px 20px; border-top: 4px solid var(--fire); }
.card h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; margin-bottom: 12px; }
.card h3 small { display: block; font-family: var(--body); text-transform: none; font-weight: 500; font-size: 14px; color: var(--muted-dark); }
.card dt { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--muted-dark); margin-top: 10px; }
.card dd { font-size: 16px; }

/* Stat */
.stat { display: grid; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.stat-n { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 18vw, 120px); line-height: .85; color: var(--fire); }
.stat-t { color: var(--dust); max-width: 46ch; }

/* Node standard */
.grid { display: grid; gap: 22px; }
.item { border-left: 3px solid var(--fire); padding-left: 14px; }
.item p { font-size: 16px; }

.sla, .goals { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sla li, .goals li { padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.sla li { background: var(--cream); }
.goals li { background: #1d1b19; }
.sla b, .goals b { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; }
.goals b { color: var(--fire); }
.sla span, .goals span { font-size: 15px; line-height: 1.35; }
.goals span { color: var(--dust); }

/* Modules */
.modules { display: grid; gap: 16px; }
.mod { background: var(--ink); color: var(--bone); padding: 22px 20px; }
.mod h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: 1; margin-bottom: 10px; }
.mod h3 span { color: var(--fire); }
.mod p { font-size: 16px; color: var(--dust); }

/* Money */
.bar { display: flex; height: 28px; margin: 28px 0 18px; }
.bar span { display: block; }
.b-node { background: var(--ink); }
.b-des  { background: var(--fire); }
.b-plat { background: #8a8278; }
.b-pay  { background: var(--dust); }
.b-res  { background: #e0d9cd; outline: 1px solid var(--dust); outline-offset: -1px; }
.money { width: 100%; border-collapse: collapse; font-size: 16px; }
.money td { padding: 10px 0; border-bottom: 1px solid var(--dust); vertical-align: top; }
.money td:nth-child(2), .money td:nth-child(3) { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.money td:nth-child(2) { font-weight: 700; }
.money i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.money small { display: block; padding-left: 20px; color: var(--muted-dark); }

/* Phases */
.phases { list-style: none; display: grid; gap: 26px; }
.phases li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.phases p { font-size: 16px; }
.phases .out { margin-top: 6px; font-weight: 700; }

/* Footer */
.foot {
  border-top: 1px solid var(--line-dark);
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--dust);
}
.foot a { color: var(--bone); text-decoration: none; }
.foot a span { color: var(--fire); }

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .sla { grid-template-columns: repeat(4, 1fr); }
  .goals { grid-template-columns: repeat(5, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .phases { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
