/* -----------------------------------------------------------------------------
   Solurics - design tokens & base
   ----------------------------------------------------------------------------- */

:root {
  --bg: #0A0A0B;
  --surface: #111113;
  --surface2: #18181C;
  --surface-elevated: #141416;
  --border: #ffffff0f;
  --border2: #ffffff18;
  --text: #F2F0EB;
  --muted: #8A8880;
  --accent: #C8F04D;
  --accent2: #9EE82B;
  --accent-soft: rgba(200, 240, 77, 0.14);
  --grid-line: rgba(200, 240, 77, 0.07);
  --font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --ls-body: 0.015em;
  --ls-hero-h1: -0.02em;
  --ls-heading: -0.01em;
  --fs-context: 1rem;
  --nav-blur: 14px;
  --nav-height: 5.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--nav-height);
  font-family: "DM Sans", sans-serif;
  font-size: var(--fs-context);
  font-weight: 300;
  letter-spacing: var(--ls-body);
  line-height: 1.75;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin-inline: auto;
}

.bg-grid {
  background-image:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg), var(--surface));
  background-size: 2px 100%, 100% 100%;
}

.display-heading {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
}

.section-head {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-head--left {
  text-align: left;
}

.section--light {
  background: var(--surface-elevated);
}

.eyebrow,
.section-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.section-label {
  display: inline-block;
  margin: 0 0 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.status {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
}

.status--live {
  color: var(--accent2);
  border-color: rgba(158, 232, 43, 0.28);
}

.status--soon {
  color: var(--muted);
  border-color: var(--border2);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-context);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.75;
}

.section-sub.section-sub--center {
  margin-inline: auto;
  text-align: center;
}

.section {
  padding: 5.5rem 2.5rem;
}

.section--contact {
  padding-bottom: 6rem;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0 2.5rem;
}

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

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: var(--ls-heading);
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.site-nav .logo--image {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-nav .logo__img {
  display: block;
  height: 2.5rem;
  width: auto;
}

.site-nav .logo--image:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* -----------------------------------------------------------------------------
   Navigation
   ----------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

.nav-links--desktop {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: normal;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  background: var(--accent);
  color: #0a0a0b;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--border2);
  background: var(--surface2);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-lines {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.site-nav[data-open="true"] .nav-toggle-lines {
  background: transparent;
}

.site-nav[data-open="true"] .nav-toggle-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.site-nav[data-open="true"] .nav-toggle-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
  padding: 0 2.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.nav-links--mobile {
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 0.25rem;
}

/* -----------------------------------------------------------------------------
   Buttons & links shared
   ----------------------------------------------------------------------------- */

.btn {
  cursor: pointer;
  border: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  background: var(--accent);
  color: #0a0a0b;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: normal;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
  font-weight: 500;
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-swap {
  position: relative;
  min-width: 9.5rem;
}

.btn-swap-default,
.btn-swap-hover {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s ease;
}

.btn-swap-hover {
  position: absolute;
  inset: 0;
  justify-content: center;
  opacity: 0;
}

.btn-swap:hover .btn-swap-default {
  opacity: 0;
}

.btn-swap:hover .btn-swap-hover {
  opacity: 1;
}

.submit-btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */

.hero--editorial {
  --hero-glow-x: 50%;
  --hero-glow-y: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100dvh - var(--nav-height));
  padding: clamp(1.5rem, 4vh, 2.5rem) 2.5rem 0;
  overflow: visible;
  background:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg), #0d0d0f 72%, var(--surface));
  background-size: 2px 100%, 100% 100%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--hero-glow-x) var(--hero-glow-y),
    var(--accent-soft),
    transparent 52%
  );
  transition: background 0.15s ease;
}

.hero-bars {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.75rem);
  height: 58%;
  padding-inline: clamp(0.5rem, 3vw, 2rem);
  pointer-events: none;
  mask-image: linear-gradient(to top, black 25%, transparent 100%);
}

.hero-bars span {
  flex: 1 1 2px;
  max-width: 3px;
  width: 2px;
  height: var(--bar-h, 38%);
  background: linear-gradient(to top, var(--accent-soft), transparent);
  border-radius: 999px;
  transform-origin: bottom;
  animation:
    hero-bar-rise 1.1s ease forwards,
    hero-bar-breathe 5.5s ease-in-out infinite;
  animation-delay: var(--bar-delay, 0s), calc(var(--bar-delay, 0s) + 1.1s);
  opacity: 0;
}

.hero-bars span:nth-child(1) { --bar-h: 42%; --bar-delay: 0.04s; }
.hero-bars span:nth-child(2) { --bar-h: 58%; --bar-delay: 0.08s; }
.hero-bars span:nth-child(3) { --bar-h: 48%; --bar-delay: 0.12s; }
.hero-bars span:nth-child(4) { --bar-h: 66%; --bar-delay: 0.16s; }
.hero-bars span:nth-child(5) { --bar-h: 44%; --bar-delay: 0.2s; }
.hero-bars span:nth-child(6) { --bar-h: 62%; --bar-delay: 0.24s; }
.hero-bars span:nth-child(7) { --bar-h: 52%; --bar-delay: 0.28s; }
.hero-bars span:nth-child(8) { --bar-h: 70%; --bar-delay: 0.32s; }
.hero-bars span:nth-child(9) { --bar-h: 46%; --bar-delay: 0.36s; }
.hero-bars span:nth-child(10) { --bar-h: 56%; --bar-delay: 0.4s; }
.hero-bars span:nth-child(11) { --bar-h: 64%; --bar-delay: 0.44s; }
.hero-bars span:nth-child(12) { --bar-h: 50%; --bar-delay: 0.48s; }
.hero-bars span:nth-child(13) { --bar-h: 72%; --bar-delay: 0.52s; }
.hero-bars span:nth-child(14) { --bar-h: 40%; --bar-delay: 0.56s; }
.hero-bars span:nth-child(15) { --bar-h: 60%; --bar-delay: 0.6s; }
.hero-bars span:nth-child(16) { --bar-h: 54%; --bar-delay: 0.64s; }
.hero-bars span:nth-child(17) { --bar-h: 68%; --bar-delay: 0.68s; }
.hero-bars span:nth-child(18) { --bar-h: 45%; --bar-delay: 0.72s; }
.hero-bars span:nth-child(19) { --bar-h: 58%; --bar-delay: 0.76s; }
.hero-bars span:nth-child(20) { --bar-h: 63%; --bar-delay: 0.8s; }

@keyframes hero-bar-rise {
  from {
    opacity: 0;
    transform: scaleY(0.15);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes hero-bar-breathe {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.55;
  }

  50% {
    transform: scaleY(1.08);
    opacity: 0.85;
  }
}

.hero-stage {
  position: relative;
  z-index: 6;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: min(38vh, 370px);
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
  pointer-events: none;
}

.hero-stage-inner {
  position: relative;
  width: min(980px, 94vw);
  height: 100%;
  padding-bottom: 1.5rem;
  box-sizing: border-box;
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
  will-change: transform;
}

.hero-stage.is-live {
  animation: hero-stage-float 7s ease-in-out infinite;
}

.hero-preview {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  opacity: 0;
}

.hero-stage-labels {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.25rem;
  z-index: 12;
  pointer-events: none;
}

.hero-stage-label {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.78;
  white-space: nowrap;
}

.hero-stage-label--left {
  left: calc(50% - clamp(9rem, 26vw, 13.5rem));
}

.hero-stage-label--right {
  left: calc(50% + clamp(9rem, 26vw, 13.5rem));
}

/* Device mockups */
.hero-preview--phone {
  z-index: 2;
}

.hero-preview--phone.hero-preview--left {
  width: min(148px, 40vw);
}

.hero-preview--phone.hero-preview--right {
  width: min(162px, 44vw);
}

.hero-device {
  position: relative;
}

/* iPhone */
.hero-device--iphone .hero-device__shell {
  border-radius: 30px;
  padding: 3px;
  background: linear-gradient(155deg, #5a5a5e 0%, #3a3a3c 28%, #252527 62%, #141416 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 26px 54px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-device--iphone::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 21%;
  width: 3px;
  height: 16px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(to right, #6e6e70, #434345);
  box-shadow:
    0 24px 0 #434345,
    0 44px 0 #434345;
}

.hero-device--iphone::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 26%;
  width: 3px;
  height: 34px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(to left, #6e6e70, #434345);
}

.hero-device--iphone .hero-device__screen {
  border-radius: 27px;
}

.hero-device__status--ios {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 9px 14px 2px;
  min-height: 26px;
}

.hero-device__island {
  width: 30%;
  max-width: 52px;
  height: 11px;
  border-radius: 999px;
  background: #000;
  justify-self: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-device__home-indicator {
  display: block;
  width: 34%;
  height: 3px;
  margin: 2px auto 7px;
  border-radius: 999px;
  background: rgba(242, 240, 235, 0.38);
}

/* Android */
.hero-device--android .hero-device__shell {
  border-radius: 22px;
  padding: 4px;
  background: linear-gradient(180deg, #2b2b2b, #141414);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 50px rgba(0, 0, 0, 0.46);
}

.hero-device--android .hero-device__screen {
  border-radius: 18px;
}

.hero-device__status--android {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 2px;
  min-height: 24px;
}

.hero-device__hole {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #050505;
  box-shadow:
    0 0 0 1px #222,
    inset 0 0 2px rgba(255, 255, 255, 0.08);
}

.hero-device__gesture-bar {
  display: block;
  width: 30%;
  height: 3px;
  margin: 3px auto 8px;
  border-radius: 999px;
  background: rgba(242, 240, 235, 0.5);
}

.hero-device__screen {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-device__time {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.hero-device__signal {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.hero-device__signal i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 1px;
  background: var(--text);
}

.hero-device__signal i:last-of-type {
  height: 7px;
}

.hero-device__signal b {
  display: block;
  width: 8px;
  height: 5px;
  margin-left: 2px;
  border: 1px solid var(--text);
  border-radius: 2px;
  position: relative;
}

.hero-device__signal b::after {
  content: "";
  position: absolute;
  inset: 1px 1px 1px 2px;
  background: var(--accent2);
  border-radius: 1px;
}

.hero-device__signal--android i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

.hero-device__signal--android b {
  width: 7px;
  height: 4px;
  border-color: var(--muted);
}

.hero-device__signal--android b::after {
  background: var(--muted);
}

.hero-phone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.7rem 0.45rem;
}

.hero-phone__title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text);
}

.hero-phone__badge {
  min-width: 1rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent2);
  font-size: 0.5625rem;
  font-weight: 600;
  text-align: center;
}

.hero-phone__product {
  flex: 1;
  padding: 0 0.65rem;
}

.hero-phone__img {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(200, 240, 77, 0.12), transparent 55%),
    linear-gradient(145deg, var(--surface2), var(--bg));
  border: 1px solid var(--border);
}

.hero-phone__meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.hero-phone__meta span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: var(--border2);
}

.hero-phone__meta span:last-child {
  width: 45%;
}

.hero-phone__header--skeleton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.7rem 0.45rem;
}

.hero-phone__header--skeleton span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: var(--border2);
}

.hero-phone__header--skeleton span:first-child {
  width: 40%;
}

.hero-phone__header--skeleton span:last-child:not(:only-child) {
  width: 16%;
}

.hero-phone__cta {
  margin-top: 0.55rem;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-phone__appointments {
  flex: 1;
  display: grid;
  gap: 0.4rem;
  padding: 0 0.65rem;
}

.hero-phone__appt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  align-items: center;
  padding: 0.35rem 0.45rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.hero-phone__appt--active {
  border-color: rgba(158, 232, 43, 0.35);
  background: rgba(158, 232, 43, 0.08);
}

.hero-phone__appt span {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-phone__appt i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: var(--border2);
}

.hero-phone__appt--active i {
  background: rgba(158, 232, 43, 0.45);
}

.hero-phone__tabs {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
}

.hero-phone__tabs--ios {
  grid-template-columns: repeat(4, 1fr);
  padding: 0.45rem 0.7rem 0.15rem;
  border-top: 1px solid var(--border);
  background: rgba(17, 17, 19, 0.92);
  backdrop-filter: blur(8px);
}

.hero-phone__tabs--ios span {
  height: 13px;
  border-radius: 4px;
  background: var(--border);
}

.hero-phone__tabs--ios span.is-active {
  background: rgba(158, 232, 43, 0.35);
}

.hero-phone__tabs--android {
  grid-template-columns: repeat(3, 1fr);
  padding: 0.5rem 1.25rem 0.2rem;
  background: var(--surface2);
  border-top: 1px solid var(--border);
}

.hero-phone__tabs--android span {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.hero-phone__tabs--android span.is-active {
  background: var(--accent2);
  width: 60%;
  margin-inline: auto;
}

.hero-preview--phone.hero-preview--left {
  animation: hero-preview-phone-left 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-preview--phone.hero-preview--right {
  animation: hero-preview-phone-right 1s cubic-bezier(0.22, 1, 0.36, 1) 0.62s forwards;
}

/* SaaS dashboard */
.hero-preview--saas {
  width: min(380px, 90vw);
  z-index: 4;
}

.hero-saas {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.hero-saas__chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0.65rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.hero-saas__chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border2);
}

.hero-saas__chrome span:first-child {
  background: rgba(158, 232, 43, 0.45);
}

.hero-saas__url {
  flex: 1;
  height: 7px;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--border);
  max-width: 55%;
}

.hero-saas__layout {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 148px;
}

.hero-saas__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem 0.5rem;
  border-right: 1px solid var(--border);
  background: var(--bg);
}

.hero-saas__sidebar span {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}

.hero-saas__sidebar span.is-active {
  background: rgba(158, 232, 43, 0.4);
}

.hero-saas__main {
  padding: 0.65rem 0.75rem 0.75rem;
}

.hero-saas__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.hero-saas__kpis div {
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.hero-saas__kpis strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-saas__kpis span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-saas__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 58px;
}

.hero-saas__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(158, 232, 43, 0.55), rgba(158, 232, 43, 0.1));
  transform-origin: bottom;
  animation: preview-bar-pulse 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.12s);
}

.hero-saas__chart span:nth-child(1) { --i: 0; }
.hero-saas__chart span:nth-child(2) { --i: 1; }
.hero-saas__chart span:nth-child(3) { --i: 2; }
.hero-saas__chart span:nth-child(4) { --i: 3; }
.hero-saas__chart span:nth-child(5) { --i: 4; }
.hero-saas__chart span:nth-child(6) { --i: 5; }

.hero-preview--saas.hero-preview--main {
  transform: translate(-50%, 0);
  animation: hero-preview-saas-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

@keyframes hero-preview-saas-in {
  from {
    opacity: 0;
    transform: translate(-50%, 36px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes hero-preview-phone-left {
  from {
    opacity: 0;
    transform: translate(-50%, 28px) rotate(0deg) scale(0.88);
  }

  to {
    opacity: 0.92;
    transform: translate(calc(-50% - clamp(9rem, 26vw, 13.5rem)), 0) rotate(-10deg) scale(0.96);
  }
}

@keyframes hero-preview-phone-right {
  from {
    opacity: 0;
    transform: translate(-50%, 28px) rotate(0deg) scale(0.88);
  }

  to {
    opacity: 0.92;
    transform: translate(calc(-50% + clamp(9rem, 26vw, 13.5rem)), 0) rotate(9deg) scale(0.96);
  }
}

@keyframes preview-bar-pulse {
  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.1);
  }
}

.hero-preview--main {
  z-index: 4;
}

.hero-preview--left {
  z-index: 2;
}

.hero-preview--right {
  z-index: 3;
}

@keyframes hero-stage-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero {
  padding: 5.5rem 2.5rem 4.5rem;
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding-top: clamp(0.75rem, 2vh, 1.25rem);
  padding-bottom: 0;
}

.hero-inner .eyebrow {
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
}

.hero-inner h1,
.hero-inner .hero-sub,
.hero-inner .hero-actions {
  width: 100%;
}

h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 500;
  letter-spacing: var(--ls-hero-h1);
  line-height: 1.02;
  margin: 0 0 1.25rem;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.75;
  letter-spacing: var(--ls-body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: clamp(0.25rem, 1vh, 0.5rem);
}

/* Mission strip */
.mission-strip {
  padding: 3.5rem 2.5rem;
  border-block: 1px solid var(--border);
}

.mission-strip-inner p {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

.mission-strip-inner strong {
  color: var(--text);
  font-weight: 500;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Hero load stagger */
@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stagger > * {
  opacity: 0;
  animation: hero-reveal 0.55s ease forwards;
}

.hero-stagger .eyebrow {
  animation-delay: 0s;
}

.hero-stagger h1 {
  animation-delay: 0.4s;
}

.hero-stagger .hero-sub {
  animation-delay: 0.8s;
}

.hero-stagger .hero-actions {
  animation-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stagger > * {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-bars span {
    animation: hero-bar-rise 1.1s ease forwards;
  }

  .hero-stage.is-live {
    animation: none;
    transform: none;
  }

  .hero-preview {
    opacity: 1;
    animation: none;
  }

  .hero-preview--saas.hero-preview--main {
    transform: translate(-50%, 0) scale(1);
  }

  .hero-preview--phone.hero-preview--left {
    transform: translate(calc(-50% - 9rem), 0) rotate(-10deg) scale(0.96);
    opacity: 0.92;
  }

  .hero-preview--phone.hero-preview--right {
    transform: translate(calc(-50% + 9rem), 0) rotate(9deg) scale(0.96);
    opacity: 0.92;
  }

  .hero-saas__chart span {
    animation: none;
  }

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

  html {
    scroll-behavior: auto;
  }
}

/* -----------------------------------------------------------------------------
   Products
   ----------------------------------------------------------------------------- */

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  background: var(--surface2);
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.product-card--muted {
  opacity: 0.7;
}

.product-name {
  margin: 0 0 0.5rem;
  /* font-family: "Syne", sans-serif; */
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: var(--ls-heading);
}

.product-type {
  margin: 0 0 1rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.product-desc {
  margin: 0;
  font-size: var(--fs-context);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 1.25rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.product-link:hover {
  gap: 8px;
}

/* -----------------------------------------------------------------------------
   Services
   ----------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: #9ee82b33;
  background: var(--surface2);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(158, 232, 43, 0.18);
  border-radius: 8px;
  color: var(--accent);
}

.service-name {
  margin: 0 0 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: var(--ls-heading);
}

.service-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* -----------------------------------------------------------------------------
   About
   ----------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: var(--fs-context);
  font-weight: 300;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-pullquote {
  font-style: italic;
  color: var(--text);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stat:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.stat-num {
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: var(--ls-heading);
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* -----------------------------------------------------------------------------
   Contact
   ----------------------------------------------------------------------------- */

.contact-shell {
  max-width: 920px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-intro {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: var(--fs-context);
  line-height: 1.7;
  font-weight: 300;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.85rem;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent);
}

.contact-text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

a.contact-text:hover {
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9ee82b44;
  box-shadow: 0 0 0 3px rgba(158, 232, 43, 0.08);
}

.contact-form textarea {
  height: 100px;
  resize: none;
}

.submit-btn {
  width: 100%;
  margin-top: 0.25rem;
  background: var(--accent);
  color: #0a0a0b;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: normal;
  border-radius: 8px;
  padding: 0.75rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.submit-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: #050506;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

.footer-logo {
  justify-self: start;
  font-size: 1.2rem;
}

.footer-copy {
  justify-self: center;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* -----------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------------- */

@media (min-width: 769px) {
  :root {
    --nav-height: 5.75rem;
  }

  .hero--editorial {
    padding-top: clamp(2.5rem, 5vh, 3.5rem);
  }

  .hero-inner {
    padding-top: clamp(1rem, 2vh, 1.5rem);
  }

  .hero-inner .eyebrow {
    margin-top: clamp(1rem, 2vh, 1.5rem);
  }

  .hero-stage {
    margin-top: clamp(1.5rem, 3vh, 2.5rem);
  }

  .site-nav .logo__img {
    height: 3rem;
  }

  .footer-logo {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .hero--editorial {
    min-height: calc(100dvh - var(--nav-height));
    padding-top: clamp(1.25rem, 3vh, 1.75rem);
    padding-bottom: clamp(0.75rem, 2vh, 1rem);
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .hero-inner {
    max-width: 100%;
    padding-top: clamp(1rem, 2.5vh, 1.5rem);
  }

  .hero-inner .eyebrow {
    margin-top: clamp(1rem, 2.5vh, 1.5rem);
  }

  .hero-stage {
    height: min(32vh, 300px);
    margin-top: clamp(1.25rem, 3vh, 2rem);
    width: 100%;
  }

  .hero-stage-inner {
    width: 100%;
    max-width: 100%;
    padding-bottom: 1rem;
  }

  .hero-preview--phone.hero-preview--left,
  .hero-preview--phone.hero-preview--right {
    display: none;
  }

  .hero-stage-label--left,
  .hero-stage-label--right {
    display: none;
  }

  .hero-preview--phone.hero-preview--right {
    width: min(130px, 34vw);
  }

  .hero-preview--phone.hero-preview--right .hero-device__screen {
    min-height: 190px;
  }

  .hero-preview--phone.hero-preview--right {
    animation-name: hero-preview-phone-right-mobile;
  }

  @keyframes hero-preview-phone-right-mobile {
    from {
      opacity: 0;
      transform: translate(-50%, 24px) scale(0.9);
    }

    to {
      opacity: 0.9;
      transform: translate(-50%, 0.75rem) rotate(8deg) scale(0.88);
    }
  }

  .hero-preview--saas {
    width: min(320px, 86vw);
  }

  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: unset;
    gap: 1rem;
  }

  .nav-links--desktop {
    position: static;
    transform: none;
    display: none;
  }

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

  .nav-panel[hidden] {
    display: none;
  }

  .nav-panel:not([hidden]) {
    display: block;
  }

  .products-grid,
  .services-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 1;
  }

  .stats-grid {
    order: 2;
  }

  .contact-info {
    order: 1;
  }

  .contact-form {
    order: 2;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.65rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .hero--editorial {
    min-height: calc(100dvh - var(--nav-height));
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .hero-inner {
    padding-top: 1.25rem;
  }

  .hero-inner .eyebrow {
    margin-top: 1.25rem;
  }

  .hero-preview {
    bottom: 1.25rem;
  }

  .hero-stage {
    height: min(30vh, 270px);
    margin-top: 1.25rem;
  }

  .hero-preview--phone.hero-preview--right {
    display: none;
  }

  .hero-preview--saas {
    width: min(300px, 92vw);
  }

  .mission-strip {
    padding: 2.5rem 1.25rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .divider {
    margin: 0 1.25rem;
  }

  .nav-inner {
    padding: 1.1rem 1.25rem;
  }

  .nav-panel {
    padding: 0 1.25rem 1.25rem;
  }

  .footer-inner {
    padding: 2rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
