:root {
  --temelj-bg: #07122c;
  --temelj-bg-deep: #050d21;
  --temelj-bg-soft: #1a2141;
  --temelj-surface: #fcfaf7;
  --temelj-surface-soft: #f4f0eb;
  --temelj-ink: #0d1733;
  --temelj-logo-purple: #2d075b;
  --temelj-logo-purple-soft: rgba(45, 7, 91, 0.12);
  --temelj-muted: #b9c4de;
  --temelj-muted-dark: #5a647f;
  --temelj-line: rgba(255, 255, 255, 0.1);
  --temelj-card-line: rgba(13, 23, 51, 0.11);
  --temelj-blue: #3a63ff;
  --temelj-blue-strong: #244bff;
  --temelj-cyan: #45d3ff;
  --temelj-link: #3157c8;
  --temelj-link-hover: #2d075b;
  --temelj-red: #ff3152;
  --temelj-shadow: 0 26px 60px rgba(1, 7, 23, 0.2);
  --temelj-shadow-deep: 0 38px 90px rgba(1, 7, 23, 0.34);
  --container: 1240px;
  --page-pad: clamp(22px, 4vw, 54px);
  --radius: 22px;
  color: var(--temelj-ink);
  background: var(--temelj-surface);
  font-family: Inter, ui-s74, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
  background: var(--temelj-bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--temelj-surface);
  font-size: 15px;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  border-radius: 0;
}

button,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--temelj-cyan);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--temelj-blue);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--temelj-bg);
  background: var(--temelj-cyan);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
  border-bottom: 1px solid var(--temelj-line);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(5, 13, 33, 0.96);
  box-shadow: 0 18px 36px rgba(1, 7, 23, 0.22);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(100% - (var(--page-pad) * 2), var(--container));
  min-height: 80px;
  margin: 0 auto;
  gap: clamp(24px, 4vw, 60px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  padding: 3px;
  overflow: hidden;
  place-items: center;
  background: var(--temelj-surface);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 38px);
  font-size: 13px;
  font-weight: 700;
}

.main-nav a,
.nav-actions .text-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 160ms ease;
}

.main-nav a:hover,
.nav-actions .text-link:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 13px;
  font-weight: 750;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  color: #fff;
  background: transparent;
  border: 1px solid var(--temelj-line);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  color: #fff;
  background: var(--temelj-blue-strong);
  border: 1px solid var(--temelj-blue-strong);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(36, 75, 255, 0.26);
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--temelj-blue);
  border-color: var(--temelj-blue);
  box-shadow: 0 18px 36px rgba(36, 75, 255, 0.34);
  transform: translateY(-2px);
}

.button.small {
  min-height: 44px;
  padding: 0 18px;
}

.button.secondary {
  color: var(--temelj-link);
  background: transparent;
  border-color: rgba(49, 87, 200, 0.46);
  box-shadow: none;
}

.button.secondary:hover {
  color: #fff;
  background: var(--temelj-link-hover);
  border-color: var(--temelj-link-hover);
}

.button.ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.button.ghost:hover {
  color: var(--temelj-bg);
  background: #fff;
  border-color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 950px;
  padding: 156px var(--page-pad) 54px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 38%, rgba(58, 99, 255, 0.18), transparent 32%),
    linear-gradient(140deg, var(--temelj-bg-deep), var(--temelj-bg) 62%, #0a1740);
}

.hero::before {
  position: absolute;
  width: 580px;
  height: 580px;
  right: -260px;
  bottom: -340px;
  content: "";
  border: 1px solid rgba(69, 211, 255, 0.13);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(560px, 1.2fr);
  align-items: center;
  width: min(100%, var(--container));
  min-height: 650px;
  margin: 0 auto;
  gap: clamp(42px, 5vw, 80px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 40px;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy > p:not(.trial-note) {
  max-width: 630px;
  margin: 30px 0 34px;
  color: var(--temelj-muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
}

.trial-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 22px 0 0;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.trial-note::before {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  content: "✓";
  color: var(--temelj-cyan);
  border: 1px solid rgba(69, 211, 255, 0.5);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.trial-note span {
  color: rgba(255, 255, 255, 0.28);
}

.hero-product {
  position: relative;
  min-height: 610px;
}

.dashboard-demo {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  background: rgba(8, 19, 48, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 24px;
  box-shadow: var(--temelj-shadow-deep);
}

.dash-side {
  display: flex;
  flex-direction: column;
  padding: 18px 10px;
  gap: 8px;
  background: rgba(4, 12, 31, 0.76);
  border-right: 1px solid var(--temelj-line);
}

.dash-brand {
  margin-bottom: 14px;
}

.dash-brand .brand-name {
  display: none;
}

.dash-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.dash-side > span {
  padding: 10px;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
}

.dash-side > span.active {
  color: #fff;
  background: rgba(58, 99, 255, 0.19);
}

.dash-main {
  min-width: 0;
  padding: 20px;
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.dash-head div {
  display: grid;
  gap: 4px;
}

.dash-head small,
.dash-kpis small,
.dash-chart small,
.incident-row small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.dash-head > span {
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--temelj-line);
  border-radius: 6px;
  font-size: 8px;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-kpis > div {
  display: grid;
  min-width: 0;
  min-height: 76px;
  padding: 12px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--temelj-line);
  border-radius: 10px;
}

.dash-kpis strong {
  font-size: 21px;
}

.dash-kpis .danger {
  color: var(--temelj-red);
}

.dash-chart {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  min-height: 178px;
  margin-top: 10px;
  gap: 10px;
}

.dash-chart > div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--temelj-line);
  border-radius: 10px;
}

.dash-chart svg {
  width: 100%;
  height: 112px;
  margin-top: 12px;
  overflow: visible;
}

.dash-chart path {
  fill: none;
  stroke: var(--temelj-blue);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.dash-chart path.muted-line {
  stroke: var(--temelj-cyan);
  stroke-dasharray: 5 6;
  opacity: 0.42;
}

.location-score p {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.location-score strong {
  color: #fff;
}

.incident-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-top: 10px;
  padding: 11px;
  gap: 10px;
  background: rgba(255, 49, 82, 0.06);
  border: 1px solid rgba(255, 49, 82, 0.2);
  border-radius: 10px;
}

.incident-row > div {
  display: grid;
  gap: 2px;
  font-size: 10px;
}

.incident-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--temelj-red);
  border-radius: 50%;
  font-weight: 900;
}

.incident-row .status {
  color: var(--temelj-red);
  font-size: 9px;
}

.phone-shell {
  width: 258px;
  padding: 18px 16px 15px;
  color: var(--temelj-ink);
  background: var(--temelj-surface);
  border: 7px solid #10131c;
  border-radius: 38px;
  box-shadow: var(--temelj-shadow-deep);
}

.hero-product > .phone-shell {
  position: absolute;
  z-index: 4;
  right: 58%;
  bottom: 0;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-top > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 850;
}

.phone-top .brand-mark {
  width: 22px;
  height: 22px;
}

.phone-top .brand-name {
  font-size: 13px;
}

.phone-top > strong {
  padding: 5px 7px;
  color: var(--temelj-muted-dark);
  background: var(--temelj-surface-soft);
  border-radius: 6px;
  font-size: 9px;
}

.survey-progress {
  height: 3px;
  margin: 16px 0 20px;
  overflow: hidden;
  background: rgba(13, 23, 51, 0.08);
  border-radius: 99px;
}

.survey-progress span {
  display: block;
  width: 56%;
  height: 100%;
  background: var(--temelj-blue);
}

.survey-context {
  margin: 0 0 10px;
  color: var(--temelj-muted-dark);
  font-size: 9px;
}

.phone-shell h3 {
  min-height: 52px;
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.survey-helper {
  min-height: 30px;
  margin: 6px 0 14px;
  color: var(--temelj-muted-dark);
  font-size: 10px;
  line-height: 1.45;
}

.rating {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.rating button {
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  color: var(--temelj-ink);
  background: #fff;
  border: 1px solid var(--temelj-card-line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 850;
}

.rating button.selected,
.rating button:hover {
  color: #fff;
  background: var(--temelj-blue);
  border-color: var(--temelj-blue);
}

.follow-up {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 24px;
  padding-top: 13px;
  gap: 8px;
  border-top: 1px solid var(--temelj-card-line);
}

.follow-up span {
  color: var(--temelj-muted-dark);
  font-size: 9px;
}

.follow-up button {
  padding: 8px 12px;
  color: #fff;
  background: var(--temelj-blue);
  border: 0;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}

.phone-shell > small {
  display: block;
  margin-top: 13px;
  color: var(--temelj-muted-dark);
  font-size: 8px;
  text-align: center;
}

.context-flow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 980px);
  margin: 22px auto 0;
  gap: 18px;
  color: var(--temelj-muted);
  font-size: 12px;
}

.context-flow span,
.context-flow strong {
  padding: 11px 15px;
  border: 1px solid rgba(69, 211, 255, 0.28);
  border-radius: 8px;
}

.context-flow strong {
  color: #fff;
  border-color: rgba(58, 99, 255, 0.7);
}

.context-flow i {
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--temelj-blue), var(--temelj-cyan));
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  background: var(--temelj-surface);
  border-bottom: 1px solid var(--temelj-card-line);
}

.proof-strip > div {
  display: grid;
  min-height: 112px;
  padding: 28px var(--page-pad);
  align-content: center;
  gap: 4px;
  border-right: 1px solid var(--temelj-card-line);
}

.proof-strip > div:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--temelj-blue-strong);
  font-size: 15px;
}

.proof-strip span {
  color: var(--temelj-muted-dark);
  font-size: 12px;
}

.section {
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin: 0 auto;
  padding-top: clamp(88px, 10vw, 150px);
  padding-bottom: clamp(88px, 10vw, 150px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.split-heading h2,
.dynamic-copy > h2,
.evidence-copy h2,
.trust-band h2,
.final-cta h2,
.editorial h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.section-heading p,
.split-heading > p,
.dynamic-copy > p,
.evidence-copy > p,
.trust-band > div > p,
.final-cta > div > p {
  margin: 20px 0 0;
  color: var(--temelj-muted-dark);
  font-size: 15px;
  line-height: 1.65;
}

.section-heading.inverse {
  color: #fff;
}

.section-heading.inverse p {
  color: var(--temelj-muted);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  align-items: end;
  gap: 10vw;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 76px;
  border-top: 1px solid var(--temelj-card-line);
}

.problem-list article {
  min-height: 245px;
  padding: 35px 30px 20px 0;
  border-right: 1px solid var(--temelj-card-line);
}

.problem-list article:not(:first-child) {
  padding-left: 30px;
}

.problem-list article:last-child {
  border-right: 0;
}

.problem-list span,
.capability-rows > a > span,
.feature-sections article > div > span {
  color: var(--temelj-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.problem-list h3 {
  margin: 42px 0 12px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.problem-list p {
  margin: 0;
  color: var(--temelj-muted-dark);
  font-size: 13px;
  line-height: 1.65;
}

.dynamic-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
  border-top: 1px solid var(--temelj-card-line);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--temelj-link);
  font-weight: 850;
}

.arrow-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.arrow-link:hover {
  color: var(--temelj-link-hover);
}

.arrow-link:hover::after {
  transform: translateX(5px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 48px;
  gap: 1px;
  background: var(--temelj-card-line);
  border: 1px solid var(--temelj-card-line);
}

.steps div {
  display: grid;
  padding: 22px;
  gap: 7px;
  background: var(--temelj-surface);
}

.steps span {
  color: var(--temelj-blue);
  font-size: 11px;
  font-weight: 900;
}

.steps strong {
  font-size: 13px;
}

.steps small {
  color: var(--temelj-muted-dark);
}

.dynamic-demo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 0.65fr) auto;
  align-items: center;
  min-height: 560px;
  padding: 34px;
  gap: 28px;
  background: var(--temelj-surface-soft);
  border: 1px solid var(--temelj-card-line);
  border-radius: var(--radius);
}

.dynamic-demo .phone-shell {
  position: relative;
  z-index: 2;
}

.context-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.context-tabs button {
  min-height: 44px;
  padding: 0 14px;
  color: var(--temelj-muted-dark);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--temelj-card-line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
}

.context-tabs button.active,
.context-tabs button:hover {
  color: var(--temelj-blue-strong);
  background: #fff;
  border-color: rgba(58, 99, 255, 0.45);
  box-shadow: 0 8px 22px rgba(36, 75, 255, 0.1);
}

.rule-list {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 8px;
}

.rule-list span {
  padding: 8px 11px;
  color: var(--temelj-muted-dark);
  background: #fff;
  border: 1px solid var(--temelj-card-line);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 750;
}

.capabilities {
  border-top: 1px solid var(--temelj-card-line);
}

.capability-rows {
  border-top: 1px solid var(--temelj-card-line);
}

.capability-rows > a {
  display: grid;
  grid-template-columns: 90px minmax(230px, 0.75fr) minmax(280px, 1fr);
  align-items: center;
  min-height: 118px;
  padding: 24px 0;
  gap: 30px;
  border-bottom: 1px solid var(--temelj-card-line);
  transition: padding 180ms ease, background 180ms ease;
}

.capability-rows > a:hover {
  padding-right: 22px;
  padding-left: 22px;
  background: var(--temelj-surface-soft);
}

.capability-rows strong {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.capability-rows p {
  margin: 0;
  color: var(--temelj-muted-dark);
  font-size: 13px;
  line-height: 1.6;
}

.industry-band,
.trust-band,
.outcome-band {
  padding: clamp(88px, 10vw, 140px) max(var(--page-pad), calc((100vw - var(--container)) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 92% 5%, rgba(58, 99, 255, 0.16), transparent 28%),
    var(--temelj-bg);
}

.industry-band .section-heading,
.outcome-band .section-heading {
  max-width: 820px;
}

.industry-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--temelj-line);
  border-bottom: 1px solid var(--temelj-line);
}

.industry-rail a {
  position: relative;
  min-height: 250px;
  padding: 28px 24px 32px;
  border-right: 1px solid var(--temelj-line);
  transition: background 180ms ease;
}

.industry-rail a:last-child {
  border-right: 0;
}

.industry-rail a:hover {
  background: rgba(58, 99, 255, 0.11);
}

.industry-rail span {
  color: var(--temelj-cyan);
  font-size: 11px;
  font-weight: 900;
}

.industry-rail h3 {
  margin: 52px 0 12px;
  font-size: 18px;
}

.industry-rail p {
  margin: 0;
  color: var(--temelj-muted);
  font-size: 12px;
  line-height: 1.6;
}

.industry-rail b {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--temelj-blue);
  font-size: 18px;
}

.product-evidence {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.evidence-copy ul {
  display: grid;
  padding: 0;
  margin: 30px 0 0;
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--temelj-card-line);
}

.evidence-copy li {
  padding: 14px 0;
  border-bottom: 1px solid var(--temelj-card-line);
  font-size: 13px;
  font-weight: 750;
}

.product-evidence figure {
  margin: 0;
}

.product-evidence img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--temelj-card-line);
  border-radius: var(--radius);
  box-shadow: var(--temelj-shadow);
}

.product-evidence figcaption {
  margin-top: 12px;
  color: var(--temelj-muted-dark);
  font-size: 11px;
}

.pricing-preview {
  border-top: 1px solid var(--temelj-card-line);
}

.pricing-preview .section-heading,
.pricing-page + .section-heading {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.billing-toggle {
  display: inline-flex;
  margin-top: 28px;
  padding: 4px;
  background: var(--temelj-surface-soft);
  border: 1px solid var(--temelj-card-line);
  border-radius: 10px;
}

.billing-toggle button {
  min-height: 40px;
  padding: 0 15px;
  color: var(--temelj-muted-dark);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.billing-toggle button.active {
  color: #fff;
  background: var(--temelj-blue);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 560px;
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--temelj-card-line);
  border-radius: 14px;
}

.price-card.featured {
  background: #fff;
  border-color: var(--temelj-blue);
  box-shadow: 0 24px 60px rgba(36, 75, 255, 0.14);
}

.choice-label {
  position: absolute;
  top: -13px;
  left: 22px;
  padding: 6px 10px;
  color: #fff;
  background: var(--temelj-blue);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 850;
}

.price-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.price-card > p {
  min-height: 70px;
  margin: 12px 0 22px;
  color: var(--temelj-muted-dark);
  font-size: 12px;
  line-height: 1.55;
}

.price {
  display: flex;
  align-items: end;
  min-height: 70px;
  padding-bottom: 20px;
  gap: 8px;
  border-bottom: 1px solid var(--temelj-card-line);
}

.price strong {
  font-size: clamp(27px, 2.25vw, 32px);
  line-height: 1;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.price span {
  padding-bottom: 3px;
  color: var(--temelj-muted-dark);
  font-size: 11px;
}

.price-card ul {
  display: grid;
  padding: 0;
  margin: 24px 0 28px;
  gap: 12px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
  color: var(--temelj-muted-dark);
  font-size: 12px;
  line-height: 1.4;
}

.price-card li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--temelj-blue);
  font-weight: 900;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
  padding: 0 12px;
  font-size: 12px;
}

.pricing-note {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--temelj-muted-dark);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.trust-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: clamp(60px, 9vw, 140px);
}

.trust-band .button {
  margin-top: 30px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--temelj-line);
}

.trust-list article {
  display: grid;
  min-height: 126px;
  padding: 24px 22px 20px 0;
  align-content: center;
  gap: 8px;
  border-right: 1px solid var(--temelj-line);
  border-bottom: 1px solid var(--temelj-line);
}

.trust-list article:nth-child(even) {
  padding-left: 22px;
  border-right: 0;
}

.trust-list strong {
  color: #fff;
  font-size: 14px;
}

.trust-list span {
  color: var(--temelj-muted);
  font-size: 12px;
  line-height: 1.55;
}

.trust-band.compact {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 90px;
  padding-bottom: 90px;
}

.performance-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--temelj-line);
}

.performance-numbers strong {
  display: grid;
  min-height: 130px;
  padding: 24px;
  align-content: center;
  gap: 8px;
  color: var(--temelj-cyan);
  background: var(--temelj-bg);
  font-size: 26px;
}

.performance-numbers span {
  color: var(--temelj-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.faq-section .narrow {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--temelj-card-line);
}

.faq-list details {
  border-bottom: 1px solid var(--temelj-card-line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 20px 0;
  gap: 28px;
  font-size: 15px;
  font-weight: 780;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--temelj-blue);
}

.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 760px;
  margin: -4px 0 24px;
  color: var(--temelj-muted-dark);
  line-height: 1.7;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  margin-bottom: clamp(80px, 9vw, 130px);
  padding: clamp(46px, 6vw, 78px);
  gap: 50px;
  background:
    linear-gradient(130deg, rgba(58, 99, 255, 0.1), transparent 42%),
    var(--temelj-surface-soft);
  border: 1px solid var(--temelj-card-line);
  border-radius: var(--radius);
}

.final-cta::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  content: "";
  border: 60px solid rgba(58, 99, 255, 0.04);
  border-radius: 50%;
}

.final-cta h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.2vw, 46px);
}

.final-cta > * {
  position: relative;
  z-index: 2;
}

.final-cta ul {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  padding: 22px 0 0;
  margin: 0;
  gap: 28px;
  border-top: 1px solid var(--temelj-card-line);
  list-style: none;
  color: var(--temelj-muted-dark);
  font-size: 12px;
  font-weight: 750;
}

.final-cta li::before {
  margin-right: 8px;
  content: "✓";
  color: var(--temelj-blue);
}

.site-footer {
  padding: 80px var(--page-pad) 34px;
  color: #fff;
  background: var(--temelj-bg-deep);
  border-top: 1px solid var(--temelj-line);
}

.footer-grid,
.footer-bottom {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 54px;
}

.footer-brand p {
  max-width: 300px;
  margin: 20px 0 0;
  color: var(--temelj-muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer-brand p + p {
  font-size: 12px;
}

.footer-brand p a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-grid h2 {
  margin: 4px 0 9px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
  color: var(--temelj-muted);
  font-size: 12px;
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--temelj-cyan);
}

.footer-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 64px;
  padding-top: 26px;
  gap: 30px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid var(--temelj-line);
  font-size: 11px;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  gap: 18px;
}

.footer-bottom a:hover {
  color: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin: 0 auto;
  padding-top: 118px;
  gap: 9px;
  color: var(--temelj-muted);
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: var(--temelj-cyan);
}

.breadcrumbs + .page-hero,
.breadcrumbs + .contact-layout,
.breadcrumbs + .article,
.breadcrumbs + .legal-page {
  padding-top: 65px;
}

body:has(.breadcrumbs) {
  background: var(--temelj-surface);
}

body:has(.breadcrumbs) .site-header {
  color: #fff;
  background: var(--temelj-bg-deep);
}

.page-hero {
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin: 0 auto;
  padding: 150px 0 105px;
}

.page-hero h1,
.contact-layout h1,
.article header h1,
.legal-page header h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.063em;
}

.page-hero > p,
.contact-layout > div > p,
.article header > p:last-child,
.legal-page header > p:last-child {
  max-width: 820px;
  margin: 28px 0 36px;
  color: var(--temelj-muted-dark);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.58;
}

.page-hero.centered {
  max-width: 1050px;
  text-align: center;
}

.page-hero.centered > p {
  margin-right: auto;
  margin-left: auto;
}

.page-hero.centered .button-row {
  justify-content: center;
}

.page-hero.dynamic-hero {
  position: relative;
}

.page-hero.dynamic-hero::after {
  position: absolute;
  top: 60px;
  right: 0;
  width: 260px;
  height: 260px;
  content: "";
  background: radial-gradient(circle, rgba(58, 99, 255, 0.13), transparent 68%);
  pointer-events: none;
}

.use-case-grid,
.control-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--temelj-card-line);
  border-left: 1px solid var(--temelj-card-line);
}

.use-case-grid article,
.control-grid article {
  min-height: 260px;
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--temelj-card-line);
  border-bottom: 1px solid var(--temelj-card-line);
}

.use-case-grid article > span {
  color: var(--temelj-blue);
  font-size: 11px;
  font-weight: 900;
}

.use-case-grid h3,
.control-grid h3 {
  margin: 50px 0 14px;
  font-size: clamp(20px, 2.2vw, 29px);
  letter-spacing: -0.04em;
}

.use-case-grid p,
.control-grid p {
  max-width: 500px;
  margin: 0;
  color: var(--temelj-muted-dark);
  line-height: 1.7;
}

.dynamic-explainer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 100px;
  border-top: 1px solid var(--temelj-card-line);
}

.dynamic-explainer h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.dynamic-explainer > div > p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--temelj-muted-dark);
  font-size: 16px;
  line-height: 1.7;
}

.outcome-band ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--temelj-line);
  border-left: 1px solid var(--temelj-line);
  list-style-position: inside;
}

.outcome-band li {
  min-height: 160px;
  padding: 30px 24px;
  color: var(--temelj-muted);
  border-right: 1px solid var(--temelj-line);
  border-bottom: 1px solid var(--temelj-line);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.outcome-band li::marker {
  color: var(--temelj-cyan);
  font-weight: 900;
}

.solution-list {
  border-top: 1px solid var(--temelj-card-line);
}

.solution-list a {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  min-height: 168px;
  padding: 28px 0;
  gap: 30px;
  border-bottom: 1px solid var(--temelj-card-line);
}

.solution-list a:hover {
  color: var(--temelj-link-hover);
}

.solution-list > a > span {
  color: var(--temelj-blue);
  font-size: 12px;
  font-weight: 900;
}

.solution-list h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.solution-list p {
  max-width: 820px;
  margin: 0;
  color: var(--temelj-muted-dark);
  line-height: 1.55;
}

.solution-list b {
  padding: 16px;
  color: var(--temelj-blue);
  border: 1px solid var(--temelj-card-line);
  border-radius: 50%;
}

.compare-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-top: 1px solid var(--temelj-card-line);
}

.compare-strip h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.045em;
}

.compare-strip p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--temelj-muted-dark);
  line-height: 1.65;
}

.feature-sections {
  border-top: 1px solid var(--temelj-card-line);
}

.feature-sections article {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 300px;
  padding: 55px 0;
  gap: 100px;
  border-bottom: 1px solid var(--temelj-card-line);
}

.feature-sections h2 {
  margin: 30px 0 16px;
  font-size: clamp(29px, 3.2vw, 44px);
  letter-spacing: -0.045em;
}

.feature-sections p {
  max-width: 720px;
  margin: 0;
  color: var(--temelj-muted-dark);
  font-size: 15px;
  line-height: 1.7;
}

.feature-sections ul {
  display: grid;
  align-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-sections li {
  padding: 15px 0;
  border-bottom: 1px solid var(--temelj-card-line);
  font-weight: 750;
}

.feature-sections li::before {
  margin-right: 10px;
  content: "✓";
  color: var(--temelj-blue);
}

.dynamic-lab {
  padding-right: clamp(22px, 5vw, 70px);
  padding-left: clamp(22px, 5vw, 70px);
  background: var(--temelj-surface-soft);
  border: 1px solid var(--temelj-card-line);
  border-radius: var(--radius);
}

.dynamic-lab > .context-tabs {
  flex-direction: row;
  justify-content: center;
  margin-bottom: 60px;
}

.dynamic-lab > .context-tabs button {
  min-width: 130px;
  text-align: center;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  gap: 100px;
}

.lab-grid h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.lab-grid p {
  margin: 22px 0;
  color: var(--temelj-muted-dark);
  line-height: 1.65;
}

.lab-grid .rule-list {
  justify-content: flex-start;
}

.rules-section {
  border-top: 1px solid var(--temelj-card-line);
}

.resolution-order {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--temelj-card-line);
  border-left: 1px solid var(--temelj-card-line);
  list-style-position: inside;
}

.resolution-order li {
  min-height: 260px;
  padding: 34px;
  color: var(--temelj-blue);
  border-right: 1px solid var(--temelj-card-line);
  border-bottom: 1px solid var(--temelj-card-line);
  font-weight: 900;
}

.resolution-order strong,
.resolution-order span {
  display: block;
}

.resolution-order strong {
  margin: 48px 0 12px;
  color: var(--temelj-ink);
  font-size: 17px;
}

.resolution-order span {
  color: var(--temelj-muted-dark);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--temelj-line);
  border-left: 1px solid var(--temelj-line);
}

.signal-grid span {
  display: grid;
  min-height: 82px;
  padding: 12px;
  place-items: center;
  color: var(--temelj-muted);
  border-right: 1px solid var(--temelj-line);
  border-bottom: 1px solid var(--temelj-line);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.pricing-page {
  padding-top: 40px;
}

.pricing-clarity {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  margin-top: 80px;
  padding-top: 60px;
  gap: 100px;
  border-top: 1px solid var(--temelj-card-line);
}

.pricing-clarity h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.045em;
}

.pricing-clarity p {
  margin: 0;
  padding: 16px 0;
  color: var(--temelj-muted-dark);
  border-bottom: 1px solid var(--temelj-card-line);
}

.pricing-clarity strong {
  color: var(--temelj-ink);
}

.comparison-table {
  border-top: 1px solid var(--temelj-card-line);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--temelj-card-line);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 19px 18px;
  border-right: 1px solid var(--temelj-card-line);
  border-bottom: 1px solid var(--temelj-card-line);
  font-size: 12px;
}

thead th {
  color: #fff;
  background: var(--temelj-bg);
}

tbody th {
  background: var(--temelj-surface-soft);
}

td {
  color: var(--temelj-muted-dark);
}

.control-grid h3 {
  margin-top: 0;
}

.security-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.security-detail h2 {
  margin: 0 0 20px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.security-detail p {
  margin: 0;
  color: var(--temelj-muted-dark);
  line-height: 1.75;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 40px;
  gap: 12px;
}

.resource-grid a {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 38px;
  background: var(--temelj-surface-soft);
  border: 1px solid var(--temelj-card-line);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-grid a:hover {
  border-color: rgba(58, 99, 255, 0.5);
  box-shadow: var(--temelj-shadow);
  transform: translateY(-4px);
}

.resource-grid span {
  color: var(--temelj-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-grid h2 {
  margin: 54px 0 14px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.resource-grid p {
  margin: 0 0 28px;
  color: var(--temelj-muted-dark);
  line-height: 1.65;
}

.resource-grid b {
  margin-top: auto;
  color: var(--temelj-link);
  font-size: 12px;
}

.article,
.legal-page {
  width: min(100% - (var(--page-pad) * 2), 1120px);
  margin: 0 auto;
  padding: 120px 0 150px;
}

.article header,
.legal-page header {
  padding-bottom: 68px;
  border-bottom: 1px solid var(--temelj-card-line);
}

.article-meta,
.legal-page header > p:first-child {
  margin: 0 0 24px;
  color: var(--temelj-blue) !important;
  font-size: 11px !important;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  margin-top: 70px;
  gap: 80px;
}

.article-layout aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  height: max-content;
  padding-top: 18px;
  gap: 14px;
  border-top: 2px solid var(--temelj-blue);
}

.article-layout aside strong {
  margin-bottom: 8px;
  font-size: 12px;
}

.article-layout aside a {
  color: var(--temelj-muted-dark);
  font-size: 11px;
  line-height: 1.45;
}

.article-layout aside a:hover {
  color: var(--temelj-link);
}

.article-content section,
.legal-content section {
  margin-bottom: 56px;
}

.article-content h2,
.legal-content h2 {
  margin: 0 0 20px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.article-content p,
.legal-content p {
  margin: 0 0 18px;
  color: #3c4660;
  font-size: 15px;
  line-height: 1.82;
}

.article-callout {
  margin-top: 70px;
  padding: 32px;
  background: rgba(58, 99, 255, 0.07);
  border-left: 4px solid var(--temelj-blue);
}

.article-callout strong {
  color: var(--temelj-blue);
}

.article-callout p {
  margin: 9px 0 0;
}

.legal-page {
  max-width: 980px;
}

.legal-content {
  max-width: 800px;
  margin: 70px auto 0;
}

.editorial {
  max-width: 900px;
  padding-top: 20px;
}

.editorial h2 {
  margin-top: 80px;
}

.editorial h2:first-child {
  margin-top: 0;
}

.editorial p {
  color: #3c4660;
  font-size: 16px;
  line-height: 1.85;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: start;
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin: 0 auto;
  padding: 145px 0;
  gap: clamp(60px, 8vw, 120px);
}

.contact-layout h1 {
  max-width: 700px;
  font-size: clamp(40px, 5vw, 64px);
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--temelj-card-line);
}

.contact-facts div {
  display: grid;
  min-height: 110px;
  padding: 22px 18px 0 0;
  align-content: start;
  gap: 5px;
  border-right: 1px solid var(--temelj-card-line);
}

.contact-facts div:not(:first-child) {
  padding-left: 18px;
}

.contact-facts strong {
  color: var(--temelj-blue);
  font-size: 14px;
}

.contact-facts span {
  color: var(--temelj-muted-dark);
  font-size: 11px;
}

.lead-form {
  display: grid;
  padding: clamp(28px, 4vw, 48px);
  gap: 18px;
  background: var(--temelj-surface-soft);
  border: 1px solid var(--temelj-card-line);
  border-radius: var(--radius);
  box-shadow: var(--temelj-shadow);
}

.lead-form h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--temelj-ink);
  font-size: 12px;
  font-weight: 750;
}

.lead-form label > span {
  color: var(--temelj-muted-dark);
  font-weight: 500;
}

.lead-form input:not([type="checkbox"]),
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--temelj-ink);
  background: #fff;
  border: 1px solid var(--temelj-card-line);
  border-radius: 8px;
  font-size: 13px;
}

.lead-form input:not([type="checkbox"]),
.lead-form select {
  min-height: 48px;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500;
  line-height: 1.5;
}

.lead-form .consent input {
  margin: 3px 0 0;
}

.lead-form .consent a {
  color: var(--temelj-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form .button {
  width: 100%;
  border-radius: 8px;
}

.form-note {
  margin: -5px 0 0;
  color: var(--temelj-muted-dark);
  font-size: 10px;
  line-height: 1.55;
}

.error-code {
  margin: 0 0 20px !important;
  color: var(--temelj-blue) !important;
  font-size: 18px !important;
  font-weight: 900;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .nav-wrap {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 80px;
    right: var(--page-pad);
    left: var(--page-pad);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    background: var(--temelj-bg-deep);
    border: 1px solid var(--temelj-line);
    box-shadow: var(--temelj-shadow-deep);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--temelj-line);
  }

  .nav-actions {
    grid-row: 1;
    grid-column: 2;
  }

  .hero {
    min-height: 1050px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
    padding-bottom: 0;
  }

  .hero-product {
    width: min(100%, 760px);
    min-height: 550px;
    margin-left: auto;
  }

  .dashboard-demo {
    min-height: 410px;
  }

  .hero-product > .phone-shell {
    right: auto;
    left: -60px;
  }

  .dynamic-section,
  .product-evidence,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .dynamic-section {
    gap: 60px;
  }

  .dynamic-demo {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .industry-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .industry-rail a:nth-child(3) {
    border-right: 0;
  }

  .industry-rail a:nth-child(n + 4) {
    border-top: 1px solid var(--temelj-line);
  }

  .product-evidence figure {
    order: -1;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .price-card {
    min-height: 520px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-grid > div:nth-child(n + 4) {
    margin-top: 15px;
  }

  .signal-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 780px) {
  :root {
    --page-pad: 20px;
  }

  .nav-wrap {
    min-height: 70px;
    gap: 12px;
  }

  .nav-actions .text-link {
    display: none;
  }

  .nav-actions .button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 11px;
  }

  .main-nav {
    top: 70px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
    padding-bottom: 46px;
  }

  .hero-grid {
    gap: 55px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .hero-copy > p:not(.trial-note) {
    font-size: 15px;
  }

  .hero-product {
    min-height: 510px;
  }

  .dashboard-demo {
    grid-template-columns: 1fr;
    min-height: 365px;
  }

  .dash-side {
    display: none;
  }

  .dash-main {
    padding: 14px;
  }

  .dash-chart {
    grid-template-columns: 1fr;
  }

  .location-score {
    display: none;
  }

  .hero-product > .phone-shell {
    left: 12px;
    bottom: -30px;
    width: 230px;
    transform: scale(0.92);
    transform-origin: left bottom;
  }

  .context-flow {
    display: none;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip > div {
    min-height: 96px;
    padding: 20px;
  }

  .proof-strip > div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--temelj-card-line);
  }

  .split-heading,
  .dynamic-explainer,
  .feature-sections article,
  .pricing-clarity,
  .security-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 22px;
  }

  .problem-list {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .problem-list article,
  .problem-list article:not(:first-child) {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--temelj-card-line);
  }

  .problem-list h3 {
    margin-top: 18px;
  }

  .dynamic-section {
    display: block;
  }

  .dynamic-demo {
    grid-template-columns: 1fr;
    margin-top: 55px;
    padding: 22px 14px;
  }

  .context-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .dynamic-demo .phone-shell {
    margin: 0 auto;
  }

  .capability-rows > a {
    grid-template-columns: 46px 1fr;
    min-height: 150px;
    padding: 24px 0;
    gap: 14px;
  }

  .capability-rows p {
    grid-column: 2;
  }

  .industry-rail {
    grid-template-columns: 1fr;
  }

  .industry-rail a,
  .industry-rail a:nth-child(3) {
    min-height: 190px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--temelj-line);
  }

  .industry-rail h3 {
    margin-top: 34px;
  }

  .product-evidence {
    gap: 45px;
  }

  .product-evidence img {
    max-height: 460px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .price-card > p {
    min-height: 0;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list article,
  .trust-list article:nth-child(even) {
    min-height: 104px;
    padding: 20px 0;
    border-right: 0;
  }

  .performance-numbers {
    grid-template-columns: 1fr;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 28px;
  }

  .final-cta .button-row {
    width: 100%;
  }

  .final-cta .button {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:nth-child(n + 4) {
    margin-top: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom > div {
    flex-direction: column;
    gap: 8px;
  }

  .breadcrumbs {
    padding-top: 98px;
  }

  .breadcrumbs + .page-hero,
  .breadcrumbs + .contact-layout,
  .breadcrumbs + .article,
  .breadcrumbs + .legal-page {
    padding-top: 48px;
  }

  .page-hero {
    padding-top: 100px;
    padding-bottom: 75px;
  }

  .page-hero h1,
  .contact-layout h1,
  .article header h1,
  .legal-page header h1 {
    font-size: clamp(38px, 10.5vw, 52px);
  }

  .use-case-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .use-case-grid article,
  .control-grid article {
    min-height: 220px;
  }

  .dynamic-explainer {
    gap: 50px;
  }

  .dynamic-explainer .phone-shell {
    margin: 0 auto;
  }

  .outcome-band ol,
  .resolution-order {
    grid-template-columns: 1fr;
  }

  .outcome-band li {
    min-height: 100px;
  }

  .solution-list a {
    grid-template-columns: 44px 1fr;
    min-height: 210px;
    gap: 12px;
  }

  .solution-list b {
    display: none;
  }

  .compare-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-sections article {
    padding: 44px 0;
    gap: 32px;
  }

  .dynamic-lab > .context-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 45px;
  }

  .dynamic-lab > .context-tabs button {
    min-width: 0;
  }

  .lab-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .lab-grid .phone-shell {
    margin: 0 auto;
  }

  .signal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-clarity {
    gap: 30px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-grid a {
    min-height: 270px;
    padding: 28px;
  }

  .article,
  .legal-page {
    padding-bottom: 100px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    margin-top: 45px;
    gap: 40px;
  }

  .article-layout aside {
    position: static;
  }

  .article-content p,
  .legal-content p {
    font-size: 15px;
  }

  .contact-layout {
    padding-bottom: 100px;
    gap: 55px;
  }

  .contact-facts {
    grid-template-columns: 1fr;
  }

  .contact-facts div,
  .contact-facts div:not(:first-child) {
    min-height: 78px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--temelj-card-line);
  }
}

@media (max-width: 480px) {
  .nav-actions .button {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    grid-column: 2;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-product {
    min-height: 470px;
  }

  .dash-kpis > div:nth-child(2) {
    display: none;
  }

  .dash-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--temelj-card-line);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .context-tabs {
    grid-template-columns: 1fr;
  }

  .pricing-preview .section-heading {
    text-align: left;
  }

  .industry-band,
  .trust-band,
  .outcome-band {
    padding-right: var(--page-pad);
    padding-left: var(--page-pad);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

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

  .lead-form {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
