:root {
  --bg: #f5f8f7;
  --panel: #ffffff;
  --ink: #0b1f2a;
  --muted: #60717b;
  --line: #dce7e2;
  --green: #0f9d58;
  --green-dark: #00684a;
  --green-soft: #dff6e8;
  --aqua: #1fb6a6;
  --blue: #2d7ff9;
  --amber: #f7a928;
  --shadow: 0 24px 70px rgba(7, 37, 30, .14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

body.auth-locked {
  overflow: hidden;
}

body.auth-locked .topbar,
body.auth-locked main,
body.auth-locked .footer {
  visibility: hidden;
  pointer-events: none;
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 70% 20%, rgba(31,182,166,.22), transparent 30%),
    radial-gradient(circle at 20% 15%, rgba(15,157,88,.18), transparent 28%),
    linear-gradient(135deg, #f8fbfa, #eaf6f0);
}

body:not(.auth-locked) .auth-screen {
  display: none;
}

.auth-card {
  width: min(100%, 420px);
  padding: 34px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-card .brand-mark {
  margin-bottom: 20px;
}

.auth-card h2 {
  margin-bottom: 22px;
  font-size: 42px;
}

.auth-card label {
  display: block;
  margin-bottom: 8px;
  color: #213b44;
  font-size: 14px;
  font-weight: 800;
}

.auth-card input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: white;
  font: inherit;
}

.auth-card input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15,157,88,.13);
}

.auth-card button {
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  font-weight: 850;
  cursor: pointer;
}

.auth-error {
  min-height: 20px;
  margin: 12px 0 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 30;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(10, 38, 33, .12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 12px;
  color: #33454d;
  font-size: 14px;
  font-weight: 650;
  border-radius: 8px;
}

.nav a:hover, .nav a.active { background: #ecf7f1; color: var(--green-dark); }
.nav .nav-cta { background: var(--ink); color: white; }
.nav .nav-cta:hover { background: var(--green-dark); color: white; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: #eef6f2;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section { padding: 106px 0; position: relative; overflow: hidden; }
.section.soft { background: #ffffff; }
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 130px;
  background:
    radial-gradient(circle at 78% 16%, rgba(31,182,166,.18), transparent 28%),
    radial-gradient(circle at 12% 16%, rgba(15,157,88,.14), transparent 32%),
    linear-gradient(180deg, #f8fbfa 0%, #eef7f2 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7,37,30,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,37,30,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.hero-grid, .two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 58px;
}

.two-col.reverse { grid-template-columns: 1fr .95fr; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 8px;
  font-size: clamp(58px, 7vw, 108px);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 { margin-bottom: 10px; font-size: 20px; letter-spacing: 0; }
p { color: var(--muted); }

.hero-subtitle {
  margin-bottom: 18px;
  color: #18323c;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 750;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: 20px;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-row span, .event-grid span, .cap-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #19313b;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(18, 54, 45, .06);
}

.feature-row span::before, .cap-grid span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero-stage {
  position: relative;
  z-index: 1;
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.hero-stage img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.float-card {
  position: absolute;
  min-width: 152px;
  padding: 14px 16px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: float 5s ease-in-out infinite;
}

.float-card strong { display: block; font-size: 20px; }
.float-card span { color: var(--muted); font-size: 12px; font-weight: 650; }
.float-card-a { left: -26px; top: 18%; }
.float-card-b { right: -22px; top: 46%; animation-delay: -1.4s; }
.float-card-c { left: 12%; bottom: -24px; animation-delay: -2.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.compact { max-width: 820px; }
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.card, .road-step, .price-card, .tube-card, .dashboard-mock, .route-card, .billing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(21, 55, 46, .08);
}

.card { padding: 24px; }
.card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 8px;
  font-weight: 800;
}

.flow-panel {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr 70px 1fr;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  background: #06261f;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flow-step {
  min-height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
}

.flow-step span { color: white; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.flow-step small { color: #a9d9cb; font-weight: 650; }
.flow-line {
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--aqua));
  position: relative;
}
.flow-line::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--aqua);
  border-right: 2px solid var(--aqua);
  transform: translateY(-50%) rotate(45deg);
}

.event-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.section-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.section-gallery.single {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.proposal-shot {
  margin: 0;
  padding: 12px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(220,231,226,.92);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(21,55,46,.12);
  backdrop-filter: blur(14px);
}

.proposal-shot.wide {
  max-width: 920px;
  margin: 34px auto 0;
}

.proposal-shot.inline {
  margin-top: 24px;
}

.proposal-shot img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e3ece8;
}

.proposal-shot figcaption {
  padding: 10px 4px 2px;
  color: #5a6d75;
  font-size: 13px;
  font-weight: 650;
}

.module-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.module-list div {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.module-list strong, .module-list span { display: block; }
.module-list span { color: var(--muted); margin-top: 4px; }

.dashboard-mock { padding: 18px; }
.mock-header { display: flex; gap: 8px; margin-bottom: 18px; }
.mock-header span { width: 12px; height: 12px; border-radius: 50%; background: #dfe8e4; }
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.metric-strip div {
  padding: 18px;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.metric-strip strong { display: block; font-size: 30px; }
.metric-strip small { color: var(--muted); font-weight: 700; }
.chart-row {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 12px;
  margin-top: 12px;
}
.line-chart, .donut {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}
.line-chart {
  position: relative;
  overflow: hidden;
}
.line-chart::before {
  content: "";
  position: absolute;
  inset: 32px 24px;
  background: linear-gradient(135deg, transparent 8%, rgba(15,157,88,.18) 8% 24%, transparent 24% 35%, rgba(45,127,249,.14) 35% 54%, transparent 54%);
  clip-path: polygon(0 70%, 18% 48%, 34% 58%, 54% 34%, 74% 42%, 100% 18%, 100% 100%, 0 100%);
}
.donut {
  background:
    radial-gradient(circle, #fbfdfc 0 36%, transparent 37%),
    conic-gradient(var(--green) 0 42%, var(--blue) 42% 73%, var(--amber) 73% 88%, #8bd16c 88% 100%);
}
.table-mock {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.table-mock span {
  height: 22px;
  background: linear-gradient(90deg, #eff6f3, #dfeee8);
  border-radius: 8px;
}

.tube-card { padding: 26px; }
.tube-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.tube-head small, .tube-head strong { display: block; }
.tube-head strong { font-size: 34px; }
.tube-head span {
  align-self: flex-start;
  padding: 8px 12px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 8px;
  font-weight: 800;
}
.tube-data { padding: 20px 0 8px; }
.tube-data p { margin-bottom: 8px; color: #2d434b; }
.history { display: grid; gap: 18px; margin-top: 14px; }
.history div {
  display: grid;
  grid-template-columns: 62px 16px 1fr;
  gap: 14px;
  align-items: center;
}
.history time { color: var(--green-dark); font-weight: 800; }
.history span {
  width: 16px;
  height: 16px;
  background: white;
  border: 4px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--green-soft);
}
.history p { margin: 0; color: #17313b; font-weight: 700; }

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  color: white;
  background: var(--green);
  border-radius: 8px;
}

.phone {
  justify-self: center;
  width: 300px;
  padding: 14px;
  background: #101719;
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.phone-screen {
  min-height: 590px;
  padding: 16px;
  background: #f8fbfa;
  border-radius: 26px;
  overflow: hidden;
}
.app-top {
  margin: -16px -16px 18px;
  padding: 20px 16px;
  color: white;
  background: linear-gradient(135deg, #005b49, #07945b);
  text-align: center;
  font-weight: 800;
}
.scan-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 168px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.scan-card strong { margin-top: 56px; font-size: 22px; }
.scan-card small { color: var(--green-dark); font-weight: 800; }
.scan-corners {
  position: absolute;
  top: 24px;
  width: 72px;
  height: 72px;
  border: 3px solid var(--green);
  border-radius: 8px;
}
.phone button {
  width: calc(50% - 5px);
  margin: 16px 5px 12px 0;
  padding: 13px;
  border: 0;
  color: white;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}
.phone button.secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.client-line {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}
.primary-action {
  margin-top: 18px;
  padding: 16px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 8px;
  text-align: center;
  font-weight: 850;
}

.sync-visual {
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  background: #06261f;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.node {
  position: absolute;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: white;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  font-weight: 850;
}
.offline-node { left: 18%; background: rgba(247,169,40,.2); }
.cloud-node { right: 18%; background: rgba(31,182,166,.2); }
.sync-orbit {
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(255,255,255,.36);
  border-radius: 50%;
  animation: rotate 5s linear infinite;
}
.sync-orbit span {
  display: block;
  width: 18px;
  height: 18px;
  margin: 20px auto;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 28px var(--aqua);
}
@keyframes rotate { to { transform: rotate(360deg); } }

.check-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.check-columns div {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.check-columns p {
  margin-bottom: 10px;
  color: #203842;
  font-weight: 700;
}
.check-columns p::before { content: "✓ "; color: var(--green); font-weight: 900; }

.bluetooth-flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 24px;
  margin: 26px auto 24px;
  max-width: 860px;
}
.device-mini, .bt-signal, .printer {
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(21,55,46,.08);
  font-weight: 850;
}
.bt-signal {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  position: relative;
}
.bt-signal::before, .bt-signal::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 56px;
  height: 2px;
  background: var(--aqua);
}
.bt-signal::before { left: -40px; }
.bt-signal::after { right: -40px; }
.printer {
  align-content: center;
  gap: 6px;
}
.printer small {
  padding: 16px;
  background: #f5f8f7;
  border: 1px dashed #a9bab2;
}
.cap-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.route-card, .billing-card { padding: 28px; }
.route-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}
.route-head span {
  padding: 7px 10px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 8px;
  font-weight: 800;
}
.route-list { display: grid; gap: 12px; margin-top: 18px; }
.route-list div {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.route-list span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: white;
  background: var(--green);
  border-radius: 8px;
  font-weight: 850;
}
.route-list p { margin: 0; color: var(--ink); font-weight: 750; }
.route-list small { color: var(--amber); font-weight: 850; }

.billing-card small { color: var(--green-dark); font-weight: 850; text-transform: uppercase; }
.billing-card h3 { font-size: 34px; }
.billing-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.billing-row span { color: var(--muted); font-weight: 700; }
.billing-row strong { font-size: 28px; }
.billing-total {
  margin-top: 24px;
  padding: 18px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  text-align: center;
  font-weight: 850;
}

.roadmap, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.road-step { padding: 24px; position: relative; }
.road-step::before {
  content: "";
  position: absolute;
  top: 36px;
  right: -16px;
  width: 16px;
  height: 2px;
  background: var(--green);
}
.road-step:last-child::before { display: none; }
.road-step span, .price-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-weight: 850;
  text-transform: uppercase;
}

.investment {
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 36, 30, .96), rgba(9, 69, 55, .96)),
    radial-gradient(circle at 12% 18%, rgba(31,182,166,.35), transparent 30%);
}
.investment p, .investment .eyebrow { color: #aee8d8; }
.investment h2 { color: white; }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.price-card {
  padding: 28px;
  color: var(--ink);
}
.price-card.featured {
  color: white;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  border-color: rgba(255,255,255,.2);
  transform: translateY(-12px);
}
.price-card.featured p, .price-card.featured span { color: #d8fff0; }
.price-card strong {
  display: block;
  margin: 6px 0 22px;
  font-size: 30px;
}
.price-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-card li {
  display: flex;
  gap: 8px;
  color: #435760;
  font-size: 14px;
  font-weight: 650;
}
.price-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}
.price-card.featured li {
  color: #e7fff6;
}
.price-card.featured li::before {
  color: white;
}

.investment-summary {
  display: grid;
  grid-template-columns: .65fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
}
.investment-summary div {
  padding: 20px;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
}
.investment-summary span {
  display: block;
  color: #aee8d8;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.investment-summary strong {
  display: block;
  margin-top: 6px;
  color: white;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}
.investment-summary p {
  margin: 0;
  color: #d5f4eb;
  font-size: 18px;
}

.footer {
  padding: 30px 0;
  background: #061a16;
  color: white;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer span { color: #a7c6bc; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }

@media (max-width: 1060px) {
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .road-step::before { display: none; }
  .hero-grid, .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .hero-stage { transform: none; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 76px 0; }
  .hero { padding-top: 116px; }
  .hero-lead { font-size: 18px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px; }
  .feature-row span { width: 100%; }
  .float-card {
    position: static;
    width: 100%;
    margin-top: 10px;
  }
  .flow-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-line {
    width: 2px;
    height: 36px;
    justify-self: center;
  }
  .flow-line::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(-50%) rotate(135deg);
  }
  .metric-strip, .chart-row, .steps, .check-columns, .bluetooth-flow, .pricing-grid,
  .auto-grid, .compliance-grid, .roi-grid, .terms-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: none;
  }
  .investment-summary {
    grid-template-columns: 1fr;
  }
  .section-gallery {
    grid-template-columns: 1fr;
  }
  .challenge-grid, .roadmap { grid-template-columns: 1fr; }
  .bt-signal::before, .bt-signal::after { display: none; }
  .phone { width: min(100%, 310px); }
  .footer .container { flex-direction: column; }
}

/* --- Bloques añadidos: cumplimiento, alcance, arquitectura, ROI, condiciones --- */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* --- Evolutivo: bloque fuera del alcance de la propuesta --- */
.scope-badge {
  display: inline-block;
  margin: 4px 0 14px;
  padding: 7px 15px;
  color: #9a6a00;
  background: #fff3da;
  border: 1px solid rgba(247,169,40,.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
}
.evolutivo-grid .card {
  background: #fbfdfc;
  border-style: dashed;
  box-shadow: none;
}
.evolutivo-grid .card .icon {
  color: #9a6a00;
  background: #fff3da;
}

.note-line {
  max-width: 880px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.note-line.light { color: #aee8d8; }
.note-line strong { color: var(--ink); }

.tag-ok {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.tag-opt {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  color: #9a6a00;
  background: #fff3da;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

.compliance {
  margin-top: 44px;
  padding: 30px;
  background: #06261f;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.compliance-head { max-width: 760px; margin-bottom: 24px; }
.compliance-head .eyebrow { color: var(--aqua); }
.compliance-head h3 { color: white; font-size: 26px; }
.compliance-head p { color: #a9d9cb; }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.compliance-grid div {
  padding: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
}
.compliance-grid strong { display: block; color: white; margin-bottom: 6px; }
.compliance-grid span { color: #a9d9cb; font-size: 14px; }

.road-time, .price-time {
  display: block;
  margin-top: 14px;
  color: var(--green-dark);
  font-style: normal;
  font-weight: 800;
  font-size: 14px;
}
.road-time { color: var(--amber); }
.price-card.featured .price-time { color: #d8fff0; }

.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.roi-grid div {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(21, 55, 46, .08);
}
.roi-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 22px;
}
.roi-grid span { color: var(--muted); font-weight: 600; }

.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.terms-grid div {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.terms-grid strong { display: block; margin-bottom: 6px; }
.terms-grid span { color: var(--muted); font-size: 14px; }

@media (min-width: 781px) and (max-width: 1060px) {
  .auto-grid, .compliance-grid, .roi-grid, .terms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .auto-grid, .compliance-grid, .roi-grid, .terms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .auth-screen { padding: 14px; }
  .auth-card { padding: 24px; }
  .auth-card h2 { font-size: 34px; }
  h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  .topbar { top: 8px; width: calc(100% - 16px); }
  .brand { font-size: 14px; }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .hero-subtitle { font-size: 21px; }
  .proposal-shot { padding: 8px; }
  .proposal-shot figcaption { font-size: 12px; }
  .tube-head, .route-head, .billing-row { flex-direction: column; }
  .route-list div { grid-template-columns: 34px 1fr; }
  .route-list small { grid-column: 2; }
  .sync-visual { min-height: 300px; }
  .offline-node { left: 8%; }
  .cloud-node { right: 8%; }
}
