:root {
  --bg: #0e0e10;
  --bg-soft: #18181b;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --bronze: #b48a59;
  --bronze-dark: #9b744c;
  --gold: #d4a66a;
  --text: #f8f5ef;
  --muted: #a1a1aa;
  --line: rgba(248, 245, 239, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 22% 8%, rgba(180, 138, 89, 0.24), transparent 28rem),
    radial-gradient(circle at 78% 0%, rgba(212, 166, 106, 0.14), transparent 26rem),
    linear-gradient(180deg, #0e0e10 0%, #111113 48%, #0e0e10 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(248, 245, 239, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 245, 239, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 72%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #17110b;
  font-size: 0.9rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.68);
  backdrop-filter: blur(20px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(212, 166, 106, 0.32);
  background: rgba(14, 14, 16, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(212, 166, 106, 0.55);
  border-radius: 12px;
  background: rgba(180, 138, 89, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px rgba(180, 138, 89, 0.16);
}

.brand-mark img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

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

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.site-nav .nav-cta {
  color: #17110b;
  background: linear-gradient(135deg, var(--gold), var(--bronze));
}

.nav-toggle {
  display: none;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.88fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 64px 0 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.7vw, 5.85rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4.15rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.cta-panel p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #17110b;
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  box-shadow: 0 18px 46px rgba(180, 138, 89, 0.24);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.proof-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(212, 166, 106, 0.22);
  border-radius: 999px;
  background: rgba(212, 166, 106, 0.07);
  color: #d7d2c9;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.orbital-grid {
  position: absolute;
  inset: 46px 8px;
  border: 1px solid rgba(212, 166, 106, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(248, 245, 239, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(900px) rotateY(-9deg) rotateX(7deg);
}

.mockup,
.mini-panel,
.glass-card,
.process-step,
.product-card,
.why-item,
.cta-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.main-mockup {
  position: absolute;
  top: 104px;
  right: 0;
  left: 18px;
  min-height: 430px;
  padding: 20px;
  border-radius: 28px;
  animation: float 7s ease-in-out infinite;
}

.mockup-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 28px;
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(248, 245, 239, 0.22);
}

.metric-row,
.mockup-grid {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.metric-row {
  align-items: flex-start;
}

small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

strong {
  display: block;
}

.metric-row strong {
  margin-top: 4px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.status-pill {
  padding: 7px 10px;
  border: 1px solid rgba(212, 166, 106, 0.28);
  border-radius: 999px;
  background: rgba(212, 166, 106, 0.1);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
}

.signal-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  height: 180px;
  margin: 42px 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(14, 14, 16, 0.4);
}

.signal-chart span {
  display: block;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--gold), var(--bronze-dark));
  box-shadow: 0 14px 30px rgba(180, 138, 89, 0.22);
  transform-origin: bottom;
  animation: grow 900ms ease both;
}

.signal-chart .bar-42 {
  height: 42%;
}

.signal-chart .bar-52 {
  height: 52%;
}

.signal-chart .bar-64 {
  height: 64%;
}

.signal-chart .bar-68 {
  height: 68%;
}

.signal-chart .bar-78 {
  height: 78%;
}

.signal-chart .bar-88 {
  height: 88%;
}

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

.mockup-grid div,
.mini-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.mini-panel {
  position: absolute;
  max-width: 190px;
}

.panel-a {
  top: 20px;
  left: 0;
  animation: float 6s ease-in-out infinite 400ms;
}

.panel-b {
  right: 2px;
  bottom: 34px;
  animation: float 6.4s ease-in-out infinite 800ms;
}

.panel-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 10px;
  background: rgba(212, 166, 106, 0.14);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.section {
  padding: 94px 0;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

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

.glass-card {
  min-height: 238px;
  padding: 22px;
  border-radius: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 166, 106, 0.32);
  background: linear-gradient(145deg, rgba(180, 138, 89, 0.13), rgba(255, 255, 255, 0.055));
}

.card-number {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 900;
}

.glass-card p,
.process-step p,
.product-card p,
.why-item p,
.site-footer p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 44px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-list span {
  padding: 16px 18px;
  border: 1px solid rgba(212, 166, 106, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: #e8e0d4;
  font-weight: 800;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.process-step {
  min-height: 260px;
  padding: 24px;
  border-radius: 24px;
}

.process-step span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 58px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 166, 106, 0.2), rgba(180, 138, 89, 0.08));
  color: var(--gold);
  font-weight: 900;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  grid-column: span 2;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
  border-radius: 26px;
}

.product-card::before {
  position: absolute;
  right: -64px;
  bottom: -74px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(212, 166, 106, 0.22);
  border-radius: 999px;
  content: "";
  z-index: 0;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-topline {
  margin-bottom: 0;
}

.product-topline h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.product-topline span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-logo {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  margin: 22px 0 28px;
  pointer-events: none;
}

.product-logo img {
  display: block;
  width: auto;
  max-width: 118px;
  height: auto;
  max-height: 112px;
  object-fit: contain;
  opacity: 0.94;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
}

.product-logo-taxeron img {
  max-width: 124px;
  max-height: 116px;
}

.product-logo-operyx img {
  max-width: 128px;
  max-height: 118px;
}

.product-logo-fancygit img {
  max-width: 114px;
  max-height: 108px;
}

.product-logo-loren img {
  max-width: 142px;
  max-height: 106px;
}

.product-logo-finnman img {
  max-width: 104px;
  max-height: 128px;
}

.product-card p {
  margin-bottom: 0;
  margin-top: auto;
}

.product-link {
  align-self: flex-start;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(212, 166, 106, 0.28);
  border-radius: 999px;
  background: rgba(212, 166, 106, 0.08);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.product-link:hover,
.product-link:focus-visible {
  border-color: rgba(212, 166, 106, 0.48);
  background: rgba(212, 166, 106, 0.14);
  color: var(--text);
}

.why-section {
  padding-top: 42px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.why-item {
  padding: 24px;
  border-radius: 22px;
}

.why-item strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.08rem;
}

.final-cta {
  padding: 70px 0 96px;
}

.cta-panel {
  overflow: hidden;
  position: relative;
  padding: clamp(28px, 6vw, 70px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(180, 138, 89, 0.24), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.05);
}

.cta-panel::after {
  position: absolute;
  right: -12%;
  bottom: -34%;
  width: 44%;
  min-width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(212, 166, 106, 0.2);
  border-radius: 999px;
  content: "";
}

.cta-panel h2 {
  max-width: 920px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 420px;
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  max-width: 520px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

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

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

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

@keyframes grow {
  from {
    transform: scaleY(0.25);
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 16px;
    min-height: auto;
    padding-top: 62px;
  }

  .hero-visual {
    min-height: 560px;
  }

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

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

  .product-card {
    grid-column: auto;
    min-height: 340px;
  }

  .product-topline {
    margin-bottom: 0;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .hero {
    padding-top: 48px;
  }

  h1 {
    max-width: 720px;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 0.98;
  }

  .hero-text {
    max-width: 620px;
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 520px;
  }

  .main-mockup {
    top: 92px;
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(14, 14, 16, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .section-shell {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.9rem);
  }

  .hero-text,
  .section-heading p,
  .cta-panel p {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 480px;
  }

  .main-mockup {
    top: 80px;
    left: 0;
    min-height: 380px;
  }

  .mini-panel {
    max-width: 168px;
  }

  .panel-a {
    top: 18px;
  }

  .panel-b {
    bottom: 0;
  }

  .service-grid,
  .process,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .product-logo {
    min-height: 104px;
    margin: 18px 0 24px;
  }

  .product-logo img {
    max-width: 104px;
    max-height: 100px;
  }

  .section {
    padding: 70px 0;
  }

  .split-section {
    padding: 62px 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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