:root {
  --bg: #f4f7f5;
  --ink: #10211c;
  --muted: #3d564e;
  --line: #d5e3dc;
  --mint: #0b7a5e;
  --mint-deep: #09664d;
  --mint-soft: #e5f7f1;
  --mint-bright: #3ee0b1;
  --blue: #2f6fed;
  --shadow: 0 18px 50px rgba(16, 33, 28, 0.08);
  --sans: "Outfit", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(16, 40, 34, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 40, 34, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

::selection {
  background: #b7f3df;
  color: #06241c;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 8px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
}

h1, h2, h3, .word {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
}

h3 { font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-primary { background: var(--mint); color: white; }

.btn-primary:hover { background: var(--mint-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #c5d5ce;
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-bright { background: var(--mint-bright); color: #06241c; }

.btn-bright:hover { background: #67f0c4; }

.btn-on-dark {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-on-dark:hover { border-color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 247, 245, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #0f9f78, #2f6fed 46%, #d946a0 78%, #0f9f78);
}

.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.word strong {
  color: var(--mint);
  font-weight: 700;
}

.mark {
  display: block;
  width: 40px;
  height: 40px;
  max-width: none;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a:not(.btn) {
  position: relative;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

.nav-cta,
.nav-login { margin-left: 8px; }

.nav-cta-mobile,
.nav-toggle { display: none; }

.nav-toggle {
  min-height: 42px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 600;
  cursor: pointer;
}

.hero-section { overflow: clip; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 42px 0 8px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -40px;
  right: 0;
  width: min(520px, 80%);
  height: 520px;
  background: radial-gradient(circle, rgba(15, 159, 120, 0.18), transparent 68%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.service > *,
.facts > *,
.industries > *,
.cards-3 > *,
.steps > *,
.footer > *,
.form-grid > *,
.contact > * {
  min-width: 0;
}

.hero .lede {
  max-width: 48ch;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.chips li {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #085743;
  font-size: 0.9rem;
  font-weight: 600;
}

.panel {
  padding: 26px;
  border-radius: 28px;
  color: #e7f6f1;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(47, 111, 237, 0.35), transparent 60%),
    radial-gradient(320px 180px at 0% 100%, rgba(15, 159, 120, 0.28), transparent 55%),
    #071512;
  box-shadow: 0 24px 60px rgba(7, 21, 18, 0.16), 0 0 0 1px rgba(7, 21, 18, 0.05);
}

.panel-top,
.metric-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.metric-top span,
.metric-top strong { min-width: 0; }

.panel-kicker,
.panel-code,
.panel-foot { margin: 0; }

.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint-bright);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-code {
  color: rgba(231, 246, 241, 0.55);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 0 0 rgba(62, 224, 177, 0.7);
  animation: pulse 1.8s infinite;
}

.metric { margin-top: 18px; }

.metric-top strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bar {
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #149e78, var(--mint-bright));
}

.panel.is-in .bar-fill {
  width: var(--w);
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.w-64 { --w: 64%; }
.w-72 { --w: 72%; }
.w-86 { --w: 86%; background: linear-gradient(90deg, #2f6fed, #8eb0ff); }
.w-96 { --w: 96%; }

.panel-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(231, 246, 241, 0.74);
  font-size: 0.95rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
}

.facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.ticker {
  margin-top: 28px;
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker ul {
  display: flex;
  gap: 28px;
  padding-right: 28px;
}

.ticker li {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12a07a;
}

.section { padding: 84px 0; }

.section-tint {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid rgba(213, 227, 220, 0.7);
}

.section-head {
  max-width: 700px;
  margin-bottom: 32px;
}

.section-head h2 { margin: 0 0 12px; }

section[id] { scroll-margin-top: 90px; }

.service {
  display: grid;
  grid-template-columns: 72px 1.4fr 0.9fr;
  gap: 24px;
  align-items: start;
  padding: 28px 18px;
  border-top: 1px solid var(--line);
}

.service:last-child { border-bottom: 1px solid var(--line); }

.service:hover { background: rgba(255, 255, 255, 0.72); }

.service-index {
  margin: 0;
  color: var(--mint);
  font-family: var(--mono);
}

.service h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.service p { color: var(--muted); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 0.86rem;
}

.industries,
.cards-3,
.steps {
  display: grid;
  gap: 14px;
}

.industries { grid-template-columns: repeat(4, 1fr); }

.cards-3 { grid-template-columns: repeat(3, 1fr); }

.steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }

.industry,
.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.industry {
  min-height: 154px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.industry:hover {
  border-color: #8fd9c4;
  transform: translateY(-2px);
}

.industry h3,
.card h3,
.step h3 {
  margin: 8px 0;
  font-size: 1.25rem;
}

.industry p,
.card p,
.step p { color: var(--muted); }

.card {
  background: white;
  box-shadow: 0 10px 30px rgba(16, 33, 28, 0.04);
}

.card span,
.step span {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.step {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.note {
  margin-top: 18px;
  color: var(--muted);
}

.contact-section { padding: 12px 0 72px; }

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  color: #e7f6f1;
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(47, 111, 237, 0.28), transparent 60%),
    #071512;
  box-shadow: 0 30px 70px rgba(7, 21, 18, 0.16);
}

.contact h2 { margin: 8px 0 12px; }

.contact-copy > p:last-of-type { color: rgba(231, 246, 241, 0.76); }

.kicker-light { color: var(--mint-bright); }

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.contact-points li {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(231, 246, 241, 0.86);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field-wide { grid-column: 1 / -1; }

.field label { font-size: 0.92rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: white;
  background: rgba(255, 255, 255, 0.04);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(231, 246, 241, 0.45); }

.field select option { color: var(--ink); background: white; }

.form-error {
  min-height: 1.4em;
  margin: 8px 0;
  color: #ffb4a8;
}

.form-note {
  margin-top: 10px;
  color: rgba(231, 246, 241, 0.62);
  font-size: 0.9rem;
}

.form-success h3 { font-size: 1.8rem; }

.form-success p {
  margin: 10px 0 18px;
  color: rgba(231, 246, 241, 0.78);
}

.site-footer {
  padding: 8px 0 36px;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer .logo { margin-bottom: 12px; }

.footer-label {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
}

.footer li + li { margin-top: 6px; }

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover { color: var(--mint); }

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(62, 224, 177, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 177, 0); }
}

@media (max-width: 980px) {
  .hero,
  .footer { grid-template-columns: 1fr; }

  .facts,
  .industries,
  .cards-3,
  .steps { grid-template-columns: 1fr 1fr; }

  .hero { align-items: start; gap: 28px; }

  .service { grid-template-columns: 64px 1fr; }

  .tags { justify-content: flex-start; grid-column: 2; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav-cta,
  .nav-login { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open { display: flex; }

  .nav-cta-mobile { display: inline-flex; }

  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }

  h1 { font-size: clamp(2.15rem, 10.2vw, 2.9rem); }

  .panel { padding: 20px; border-radius: 22px; }

  .hero,
  .facts,
  .service,
  .industries,
  .cards-3,
  .steps,
  .form-grid,
  .footer { grid-template-columns: 1fr; }

  .tags { grid-column: auto; }

  .hero { padding-top: 28px; }

  .section { padding: 64px 0; }

  .legal { flex-direction: column; }

  .logo { font-size: 1.2rem; }

  .mark { width: 40px; height: 40px; }

  .contact { border-radius: 22px; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 24px); }

  .hero-actions { flex-direction: column; align-items: stretch; }

  .logo { font-size: 1.12rem; }

  .mark { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .btn,
  .industry,
  .nav-links a:not(.btn)::after { transition: none; }

  .ticker-track,
  .pulse { animation: none; }

  .bar-fill {
    width: var(--w);
    transition: none;
  }
}

.auth-main { padding: 48px 0 72px; }

.auth-card,
.tunnel-card {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.auth-card { width: min(460px, 100%); }

.auth-card h1,
.tunnel-card h1 {
  margin: 6px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.auth-card .lede,
.tunnel-card .lede { margin-bottom: 22px; }

.field-light {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field-light span { font-size: 0.92rem; font-weight: 600; }

.field-light input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9dbd4;
  border-radius: 12px;
  color: var(--ink);
  background: white;
  letter-spacing: 0;
}

.field-light input.mono { font-family: var(--mono); font-size: 0.95rem; }

#logout { margin-left: auto; }

.auth-card .form-error,
.tunnel-card .form-error {
  min-height: 1.3em;
  color: #9f1239;
}

.tunnel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.log-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 26px 0 10px;
}

.log-head h2 { font-size: 1.25rem; }

.log-panel {
  min-height: 220px;
  max-height: 360px;
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  border-radius: 18px;
  color: #d7f6ec;
  background: #071512;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.log-line { margin: 0 0 8px; }

.log-line.ok { color: #8dffe4; }

.log-line.error { color: #ffb4a8; }

.log-line.aviso { color: #ffe0a3; }

.log-empty { margin: 0; color: rgba(215, 246, 236, 0.62); }
