:root {
  --bg: #f4f1e8;
  --bg-strong: #fffdf8;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: #10233a;
  --text: #13253f;
  --muted: #516173;
  --line: rgba(19, 37, 63, 0.12);
  --accent: #0d5c63;
  --accent-2: #f3a73d;
  --accent-3: #2979ff;
  --success: #1d8a63;
  --shadow: 0 24px 70px rgba(19, 37, 63, 0.12);
  --shadow-soft: 0 12px 32px rgba(19, 37, 63, 0.08);
  --radius-xs: 0.85rem;
  --radius-sm: 1.1rem;
  --radius-md: 1.6rem;
  --radius-lg: 2.2rem;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(13, 92, 99, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(243, 167, 61, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f4eb 0%, #f3f7fb 50%, #f7fbff 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 90%);
}

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

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

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

button {
  cursor: pointer;
}

.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;
}

.progress-bar {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
}

.topbar,
.section,
.footer {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(19, 37, 63, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.topbar.is-scrolled {
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding: 0.35rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 37, 63, 0.06);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.topbar__cta {
  white-space: nowrap;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.section--alt::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.42));
  box-shadow: var(--shadow-soft);
  z-index: -1;
}

.section--accent .calculator {
  background:
    radial-gradient(circle at top left, rgba(243, 167, 61, 0.16), transparent 40%),
    radial-gradient(circle at bottom right, rgba(41, 121, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(16, 35, 58, 0.95), rgba(13, 92, 99, 0.92));
  color: #f9fbff;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section--accent .roi-panel {
  background:
    radial-gradient(circle at top left, rgba(243, 167, 61, 0.16), transparent 40%),
    radial-gradient(circle at bottom right, rgba(41, 121, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(16, 35, 58, 0.95), rgba(13, 92, 99, 0.92));
  color: #f9fbff;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section--accent .roi-panel p {
  color: rgba(249, 251, 255, 0.78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 92, 99, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 0.28rem rgba(243, 167, 61, 0.18);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.hero h1,
.calculator__copy h2,
.contact-copy h2 {
  margin: 0.9rem 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(4rem, 6vw, 6rem);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.section-heading h2,
.calculator__copy h2,
.contact-copy h2 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
}

.hero__lead,
.section-heading p,
.results-copy p,
.calculator__copy p,
.contact-copy p {
  font-size: 1.06rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.3rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 68%, var(--accent-3)));
  box-shadow: 0 14px 30px rgba(13, 92, 99, 0.22);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(12px);
}

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

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.metric-card,
.service-card,
.case-card,
.results-panel__card,
.results-panel__stats article,
.delivery-card,
.contact-form,
.contact-point,
.calculator-results article,
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.metric-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.metric-card__value {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.dashboard-frame {
  position: relative;
  isolation: isolate;
  padding: 1rem;
  border-radius: 2rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  container-type: inline-size;
}

.dashboard-frame__glow {
  position: absolute;
  inset: auto auto -5rem -4rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 167, 61, 0.32), transparent 65%);
  z-index: -1;
}

.dashboard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.dashboard-chip-row span,
.status-pill,
.panel-kicker,
.case-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dashboard-chip-row span {
  background: rgba(19, 37, 63, 0.08);
  color: var(--text);
}

.workflow-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.85));
  border: 1px solid rgba(19, 37, 63, 0.08);
}

.workflow-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.workflow-card__header strong {
  display: block;
  font-size: 1.05rem;
}

.workflow-card__header p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.status-pill {
  color: #f9fbff;
  background: linear-gradient(135deg, var(--success), color-mix(in srgb, var(--success) 72%, white));
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.workflow-grid article {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(19, 37, 63, 0.04);
  border: 1px solid rgba(19, 37, 63, 0.06);
}

.workflow-grid h3,
.service-card h3,
.case-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.workflow-grid p,
.service-card p,
.case-card p,
.results-panel__card span,
.contact-point p,
.delivery-list li {
  margin: 0;
  color: var(--muted);
}

.mini-board {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.mini-board__chart,
.mini-board__summary {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 37, 63, 0.06);
}

.mini-board__label,
.stat-label {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.bars {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  min-height: 8rem;
}

.bars span {
  flex: 1;
  min-width: 0;
  height: var(--height);
  border-radius: 999px 999px 0.5rem 0.5rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-3) 52%, white), var(--accent));
}

.mini-board__summary strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.floating-card {
  position: absolute;
  padding: 0.95rem 1rem;
  max-width: 14rem;
  border-radius: 1.2rem;
  background: rgba(16, 35, 58, 0.92);
  color: #eef5ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.floating-card--one {
  top: 1.5rem;
  right: 1rem;
}

.floating-card--two {
  bottom: 1.2rem;
  left: 1rem;
}

.floating-card__label {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(238, 245, 255, 0.72);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.floating-card strong {
  display: block;
  font-size: 1rem;
}

.floating-card p {
  margin: 0.35rem 0 0;
  color: rgba(238, 245, 255, 0.75);
  font-size: 0.85rem;
}

.trust-strip {
  padding-top: 1rem;
}

.trust-strip__inner {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
}

.trust-strip__inner > span {
  display: block;
  margin-bottom: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

.trust-strip__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-strip__pills span {
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
  background: rgba(19, 37, 63, 0.06);
  font-weight: 700;
}

.service-grid,
.case-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

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

.service-card,
.case-card {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before,
.case-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 92, 99, 0.13), transparent 65%);
}

.service-card:hover,
.case-card:hover,
.faq-item:hover,
.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__index {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 92, 99, 0.08);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.service-card ul,
.delivery-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.service-card li,
.delivery-list li {
  margin-top: 0.42rem;
}

.results-layout,
.process-layout,
.contact-layout,
.calculator__grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}

.results-layout,
.contact-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: start;
}

.results-copy,
.contact-copy {
  padding-right: 1rem;
}

.result-points,
.results-panel,
.contact-points {
  display: grid;
  gap: 1rem;
}

.result-points article {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.result-points strong,
.contact-point span,
.calculator-results span {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 800;
}

.results-panel__card,
.delivery-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
}

.panel-kicker,
.case-card__tag {
  margin-bottom: 1rem;
  color: var(--accent);
  background: rgba(13, 92, 99, 0.08);
}

.outcome-list {
  display: grid;
  gap: 1rem;
}

.outcome-list strong,
.results-panel__stats strong {
  display: block;
  font-size: 1.05rem;
}

.results-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.results-panel__stats article {
  padding: 1rem;
  border-radius: 1.2rem;
}

.results-panel__stats span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: timeline;
  display: grid;
  gap: 1rem;
}

.timeline li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.timeline li::before {
  counter-increment: timeline;
  content: counter(timeline);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, white));
  color: #ffffff;
}

.timeline strong {
  display: block;
  margin-bottom: 0.4rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.delivery-card {
  align-self: start;
}

.calculator {
  display: grid;
  gap: 1.4rem;
}

.calculator__grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
}

.calculator-form {
  display: grid;
  gap: 1.2rem;
}

.range-field {
  padding: 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.range-field span {
  display: block;
  font-weight: 700;
}

.range-field output {
  display: inline-block;
  margin: 0.35rem 0 0.75rem;
  font-size: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.range-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent-2);
}

.calculator-results {
  display: grid;
  gap: 1rem;
}

.calculator-results article {
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.calculator-results strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

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

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 800;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(19, 37, 63, 0.06);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 11rem;
}

.contact-form__note,
.footer__meta {
  margin: 0;
  color: var(--muted);
}

.contact-points {
  margin-top: 2rem;
}

.contact-point {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
}

.contact-point a {
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 1.5rem;
  align-items: end;
  padding: 0 0 2.5rem;
}

.footer__brand p {
  max-width: 38rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 1rem;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(24rem, calc(100% - 2rem));
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(16, 35, 58, 0.94);
  color: #eef5ff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@container (max-width: 560px) {
  .workflow-grid,
  .mini-board {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }
}

@media (max-width: 1080px) {
  .hero,
  .results-layout,
  .process-layout,
  .contact-layout,
  .calculator__grid {
    grid-template-columns: 1fr;
  }

  .hero__content,
  .results-copy,
  .contact-copy {
    padding-right: 0;
  }

  .service-grid,
  .case-grid,
  .faq-list,
  .hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 1rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .topbar__cta {
    justify-self: end;
  }
}

@media (max-width: 720px) {
  .section,
  .topbar,
  .footer {
    width: min(var(--max-width), calc(100% - 1.1rem));
  }

  .topbar {
    padding: 0.75rem 0.85rem;
    gap: 0.7rem;
    grid-template-columns: auto auto 1fr;
  }

  .topbar__cta {
    display: none;
  }

  .hero {
    padding-top: 3.3rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .service-grid,
  .case-grid,
  .faq-list,
  .hero__metrics,
  .results-panel__stats {
    grid-template-columns: 1fr;
  }

  .workflow-card,
  .metric-card,
  .service-card,
  .case-card,
  .contact-form,
  .results-panel__card,
  .delivery-card {
    padding: 1rem;
  }

  .timeline li {
    padding-left: 1rem;
    padding-top: 4rem;
  }

  .timeline li::before {
    left: 1rem;
    top: 1rem;
  }

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

  .footer__links {
    justify-content: start;
  }
}

:root {
  --accent: #0f6c78;
  --accent-2: #ffbf47;
  --accent-3: #5885ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-dark: #0c1c31;
  --shadow: 0 28px 80px rgba(15, 29, 53, 0.16);
  --shadow-soft: 0 14px 36px rgba(15, 29, 53, 0.1);
}

body {
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: -12% -8%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 25%, rgba(88, 133, 255, 0.14), transparent 22%),
    radial-gradient(circle at 75% 12%, rgba(255, 191, 71, 0.14), transparent 20%),
    radial-gradient(circle at 85% 70%, rgba(15, 108, 120, 0.1), transparent 24%);
  filter: blur(24px);
  animation: auroraShift 16s ease-in-out infinite alternate;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 40;
  background:
    radial-gradient(circle, rgba(88, 133, 255, 0.24), rgba(88, 133, 255, 0.08) 34%, transparent 68%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 220ms ease;
  mix-blend-mode: screen;
}

body.has-fine-pointer .cursor-glow {
  opacity: 0.65;
}

.topbar {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(251, 253, 255, 0.64);
  box-shadow: 0 18px 50px rgba(15, 29, 53, 0.08);
}

.brand {
  position: relative;
  z-index: 1;
}

.brand img {
  width: clamp(148px, 19vw, 176px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(15, 108, 120, 0.18));
}

.nav a.is-active {
  color: var(--text);
}

.nav a.is-active::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}

.button::after {
  content: "";
  position: absolute;
  inset: -160% auto auto -35%;
  width: 34%;
  height: 420%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg);
  transition: opacity 220ms ease, transform 320ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  transform: rotate(18deg) translateX(340%);
}

.button--primary {
  background:
    linear-gradient(135deg, #0a4856 0%, #0f6c78 52%, #2c78ff 100%);
  box-shadow: 0 16px 32px rgba(15, 108, 120, 0.22);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.74);
}

.hero {
  min-height: min(960px, calc(100vh - 5rem));
}

.hero__content {
  position: relative;
  z-index: 1;
}

.metric-card,
.service-card,
.case-card,
.results-panel__card,
.results-panel__stats article,
.delivery-card,
.contact-form,
.contact-point,
.calculator-results article,
.faq-item,
.workflow-card,
.floating-card,
.trust-strip__inner {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transform:
    perspective(1100px)
    rotateX(var(--card-rotate-x, 0deg))
    rotateY(var(--card-rotate-y, 0deg))
    translate3d(0, var(--card-lift, 0px), 0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.metric-card::after,
.service-card::after,
.case-card::after,
.results-panel__card::after,
.results-panel__stats article::after,
.delivery-card::after,
.contact-form::after,
.contact-point::after,
.calculator-results article::after,
.faq-item::after,
.workflow-card::after,
.floating-card::after,
.trust-strip__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--spotlight-opacity, 0);
  background: radial-gradient(
    circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(88, 133, 255, 0.16),
    transparent 38%
  );
  transition: opacity 220ms ease;
}

.metric-card:hover,
.service-card:hover,
.case-card:hover,
.results-panel__card:hover,
.results-panel__stats article:hover,
.delivery-card:hover,
.contact-form:hover,
.contact-point:hover,
.calculator-results article:hover,
.faq-item:hover,
.workflow-card:hover,
.floating-card:hover,
.trust-strip__inner:hover {
  --card-lift: -8px;
  border-color: rgba(15, 108, 120, 0.18);
  box-shadow: 0 24px 60px rgba(15, 29, 53, 0.14);
}

.metric-card p,
.service-card p,
.case-card p,
.contact-point p,
.faq-item p,
.delivery-list li {
  position: relative;
  z-index: 1;
}

.dashboard-frame {
  min-height: 42rem;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(232, 244, 255, 0.56)),
    linear-gradient(145deg, rgba(12, 28, 49, 0.2), rgba(15, 108, 120, 0.08));
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 34px 90px rgba(15, 29, 53, 0.18);
}

.dashboard-frame::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 48%);
  pointer-events: none;
}

.dashboard-frame__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(15, 108, 120, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 133, 255, 0.08) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  animation: meshDrift 16s linear infinite;
}

.dashboard-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(88, 133, 255, 0.18);
  translate:
    calc(var(--scene-x, 0px) * var(--depth-factor, 0))
    calc(var(--scene-y, 0px) * var(--depth-factor, 0));
  transition: translate 180ms ease;
}

.dashboard-orbit--one {
  width: 15rem;
  height: 15rem;
  top: 12%;
  right: -4%;
}

.dashboard-orbit--two {
  width: 8rem;
  height: 8rem;
  left: -1rem;
  bottom: 24%;
  border-color: rgba(255, 191, 71, 0.22);
}

.dashboard-orbit--three {
  width: 4rem;
  height: 4rem;
  top: 34%;
  right: 18%;
  border-color: rgba(15, 108, 120, 0.22);
}

.dashboard-chip-row,
.workflow-card,
.live-strip,
.floating-card {
  z-index: 1;
  translate:
    calc(var(--scene-x, 0px) * var(--depth-factor, 0))
    calc(var(--scene-y, 0px) * var(--depth-factor, 0));
  transition: translate 180ms ease, transform 220ms ease;
}

.dashboard-chip-row span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 37, 63, 0.08);
}

.workflow-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 255, 0.9));
  border-color: rgba(19, 37, 63, 0.1);
}

.signal-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
  margin-top: 1rem;
}

.signal-flow__line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(50% - 1px);
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 108, 120, 0.2), rgba(88, 133, 255, 0.32), rgba(255, 191, 71, 0.2));
}

.signal-flow__line::after {
  content: "";
  position: absolute;
  left: -8%;
  top: -2px;
  width: 22%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  animation: scanLine 3.8s ease-in-out infinite;
}

.signal-node {
  position: relative;
  padding: 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(19, 37, 63, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.signal-node::before {
  content: "";
  position: absolute;
  left: calc(50% - 0.36rem);
  top: -0.45rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(88, 133, 255, 0.32);
  box-shadow: 0 0 0 0.22rem rgba(88, 133, 255, 0.12);
}

.signal-node--active::before {
  background: var(--accent-2);
  box-shadow: 0 0 0 0.26rem rgba(255, 191, 71, 0.16);
  animation: pulseDot 1.9s ease-in-out infinite;
}

.signal-node__step {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-node strong {
  display: block;
  font-size: 0.95rem;
}

.live-strip {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 1.3rem;
  color: #eef5ff;
  background:
    linear-gradient(135deg, rgba(12, 28, 49, 0.92), rgba(15, 108, 120, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(12, 28, 49, 0.24);
}

.live-strip__label {
  color: rgba(238, 245, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.live-strip__items span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 600;
}

.live-strip__items i {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #49d7a1;
  box-shadow: 0 0 0 0.22rem rgba(73, 215, 161, 0.18);
  animation: pulseDot 1.9s ease-in-out infinite;
}

.bars span {
  animation: barsRise 2.8s ease-in-out infinite alternate;
}

.bars span:nth-child(2) {
  animation-delay: 0.12s;
}

.bars span:nth-child(3) {
  animation-delay: 0.24s;
}

.bars span:nth-child(4) {
  animation-delay: 0.36s;
}

.bars span:nth-child(5) {
  animation-delay: 0.48s;
}

.bars span:nth-child(6) {
  animation-delay: 0.6s;
}

.floating-card {
  background:
    linear-gradient(135deg, rgba(12, 28, 49, 0.96), rgba(28, 52, 84, 0.9));
  animation: floatCard 5.4s ease-in-out infinite;
}

.floating-card--two {
  animation-delay: 0.8s;
}

.service-card,
.case-card,
.metric-card,
.results-panel__card,
.results-panel__stats article,
.delivery-card,
.contact-point,
.faq-item,
.trust-strip__inner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 250, 255, 0.72));
}

.results-panel__card {
  display: grid;
  gap: 1rem;
}

.insight-board {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(19, 37, 63, 0.08);
}

.insight-board__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.insight-board__row strong {
  display: block;
  font-size: 0.96rem;
}

.insight-board__row span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.insight-board__row b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.insight-board__track {
  height: 0.58rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(19, 37, 63, 0.08);
}

.insight-board__track span {
  display: block;
  width: var(--track-value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
  box-shadow: 0 6px 18px rgba(88, 133, 255, 0.22);
}

.results-panel__stats article strong {
  line-height: 1.2;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(15, 108, 120, 0.36);
  box-shadow: 0 0 0 0.28rem rgba(15, 108, 120, 0.12);
}

.footer__brand img {
  width: clamp(150px, 20vw, 176px);
  height: auto;
}

.cursor-glow {
  width: 16rem;
  height: 16rem;
  background:
    radial-gradient(circle, rgba(88, 133, 255, 0.16), rgba(88, 133, 255, 0.06) 36%, transparent 68%);
}

body.has-fine-pointer .cursor-glow {
  opacity: 0.45;
}

.hero {
  min-height: auto;
}

.hero--internal {
  align-items: start;
}

.dashboard-frame {
  min-height: 0;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.dashboard-frame--compact {
  min-height: 0;
}

.dashboard-orbit--one {
  top: 1.25rem;
  right: 1.5rem;
}

.dashboard-orbit--two {
  left: 1rem;
  bottom: 1rem;
}

.dashboard-orbit--three {
  top: 30%;
  right: 12%;
}

.signal-flow {
  margin-top: 1.1rem;
}

.hero-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  z-index: 1;
  translate:
    calc(var(--scene-x, 0px) * var(--depth-factor, 0))
    calc(var(--scene-y, 0px) * var(--depth-factor, 0));
  transition: translate 180ms ease;
}

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

.hero-signal-card {
  padding: 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(19, 37, 63, 0.08);
  background:
    linear-gradient(180deg, rgba(12, 28, 49, 0.96), rgba(29, 51, 82, 0.88));
  color: #eef5ff;
  box-shadow: 0 18px 40px rgba(12, 28, 49, 0.16);
}

.hero-signal-card__label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(238, 245, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-signal-card strong {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 1rem;
}

.hero-signal-card p {
  margin: 0;
  color: rgba(238, 245, 255, 0.78);
  font-size: 0.88rem;
}

.workflow-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roi-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.88fr);
  gap: clamp(1.4rem, 3vw, 2rem);
  align-items: center;
}

.roi-panel__actions {
  display: grid;
  gap: 1rem;
}

.roi-panel__notes {
  display: grid;
  gap: 1rem;
}

.roi-panel__notes article {
  padding: 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.roi-panel__notes strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.roi-panel__notes p {
  margin: 0;
  color: rgba(249, 251, 255, 0.78);
}

.floating-card,
.live-strip {
  display: none;
}

@media (max-width: 1080px) {
  .dashboard-frame {
    min-height: auto;
  }

  .signal-flow {
    grid-template-columns: 1fr;
  }

  .signal-flow__line {
    display: none;
  }

  .live-strip__items {
    flex-direction: column;
    align-items: start;
  }

  .hero-signal-grid,
  .hero-signal-grid--compact,
  .roi-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .cursor-glow,
  .dashboard-orbit {
    display: none;
  }

  .dashboard-frame {
    padding: 0.95rem;
  }

  .live-strip {
    padding: 0.95rem;
  }

  .insight-board__row {
    grid-template-columns: 1fr;
  }

  .workflow-grid--two,
  .hero-signal-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes auroraShift {
  from {
    transform: translate3d(-1%, 0, 0) scale(1);
  }

  to {
    transform: translate3d(1%, -1%, 0) scale(1.04);
  }
}

@keyframes meshDrift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(2rem);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

@keyframes scanLine {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(490%);
  }
}

@keyframes barsRise {
  from {
    filter: saturate(0.95);
    transform: translateY(0);
  }

  to {
    filter: saturate(1.12);
    transform: translateY(-0.35rem);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.45rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}
