:root {
  --bg: #08090f;
  --bg-2: #0d0e15;
  --surface: #12131b;
  --surface-2: #171923;
  --text: #f7f7fb;
  --muted: #9b9ca9;
  --faint: #6f7180;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #8b8cff;
  --accent-2: #6ee7d8;
  --warm: #f2a65a;
  --paper: #f7f4ed;
  --paper-text: #171821;
  --paper-muted: #5d606b;
  --max: 1180px;
  --header-h: 72px;
  --radius: 18px;
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: rgba(247, 247, 251, 0.86);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.compact {
  color: var(--paper-text);
  background: rgba(247, 244, 237, 0.86);
  border-bottom: 1px solid rgba(23, 24, 33, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 760;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
  font-size: 0.84rem;
}

.site-header.is-scrolled .site-nav,
.site-header.compact .site-nav {
  border-color: rgba(23, 24, 33, 0.1);
  background: rgba(255, 255, 255, 0.54);
}

.site-nav a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  opacity: 0.84;
  transition: opacity 160ms ease, background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.compact .site-nav a:hover {
  background: rgba(23, 24, 33, 0.06);
}

.site-nav a[href="#contact"] {
  color: #090a10;
  background: rgba(247, 247, 251, 0.92);
  opacity: 1;
}

.site-header.is-scrolled .site-nav a[href="#contact"],
.site-header.compact .site-nav a[href="#contact"] {
  color: #f7f7fb;
  background: #171821;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-h) + 86px) 20px 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 20%, rgba(139, 140, 255, 0.24), transparent 28%),
    radial-gradient(circle at 84% 42%, rgba(110, 231, 216, 0.1), transparent 22%),
    linear-gradient(180deg, #090a11 0%, #0b0c12 62%, #0f1017 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 84%);
  opacity: 0.28;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 220px;
  content: "";
  background: linear-gradient(180deg, rgba(8, 9, 15, 0), #0d0e15 72%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(940px, 100%);
  margin: 0 auto;
  text-align: center;
}

.announcement {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(247, 247, 251, 0.72);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: min(980px, 100%);
  margin: 0 auto 22px;
  font-size: clamp(3.4rem, 8.2vw, 7.45rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto 32px;
  color: rgba(247, 247, 251, 0.64);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 690;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #090a10;
  background: #f7f7fb;
}

.button.secondary {
  color: rgba(247, 247, 251, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-product {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100vw - 28px));
  margin: 72px auto -22px;
  perspective: 1200px;
}

.hero-product::before {
  position: absolute;
  inset: 5% 9% -5%;
  content: "";
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 10%, rgba(139, 140, 255, 0.42), transparent 38%),
    radial-gradient(circle at 75% 50%, rgba(110, 231, 216, 0.14), transparent 34%);
  filter: blur(34px);
  opacity: 0.86;
}

.hero-visual {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotateX(5deg);
  transform-origin: top center;
  animation: floatVisual 9s ease-in-out infinite;
}

.identity-strip {
  position: relative;
  z-index: 4;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  background: #0d0e15;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.identity-strip div {
  min-height: 138px;
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.018);
}

.identity-strip span {
  display: block;
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-strip strong {
  display: block;
  color: rgba(247, 247, 251, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.35;
  overflow-wrap: break-word;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 156px) 0;
}

.intro {
  text-align: center;
}

.intro-grid {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.intro h2 {
  max-width: 930px;
}

.intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.18rem);
}

.service-section {
  padding-top: 34px;
}

.service-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.service-header h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.service-header p {
  max-width: 340px;
  margin-bottom: 8px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.026);
}

.service-card {
  min-height: 300px;
  display: grid;
  align-content: space-between;
  gap: 34px;
  padding: 26px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 140, 255, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.012);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 140, 255, 0.18), transparent 48%),
    rgba(255, 255, 255, 0.035);
  transform: translateY(-3px);
}

.service-card span {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 760;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.06;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(139, 140, 255, 0.28), rgba(110, 231, 216, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.process-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 20% 15%, rgba(139, 140, 255, 0.16), transparent 28%),
    #0b0c12;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 112px;
}

.process-copy h2 {
  margin-bottom: 24px;
}

.process-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.process-list span {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 780;
}

.process-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.workflow-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
}

.workflow-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: rgba(247, 247, 251, 0.68);
  font-size: 0.84rem;
}

.workflow-topbar span:last-child {
  color: var(--accent-2);
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 420px;
}

.workflow-column {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.workflow-column:last-child {
  border-right: 0;
}

.workflow-column h3 {
  margin-bottom: 16px;
  color: rgba(247, 247, 251, 0.58);
  font-size: 0.82rem;
  font-weight: 720;
  text-transform: uppercase;
}

.workflow-item {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.workflow-item strong {
  font-size: 0.94rem;
}

.workflow-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.workflow-meter {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.workflow-meter i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.compliance-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: clamp(40px, 7vw, 96px);
}

.compliance-section h2 {
  margin-bottom: 0;
}

.compliance-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(247, 247, 251, 0.72);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background: rgba(110, 231, 216, 0.18);
  border: 1px solid rgba(110, 231, 216, 0.42);
}

.check-list li::after {
  position: absolute;
  left: 6px;
  top: 0.45em;
  width: 5px;
  height: 9px;
  content: "";
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(38deg);
}

.contact-section {
  padding-top: 22px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: start;
  padding: clamp(32px, 6vw, 66px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 75% 12%, rgba(139, 140, 255, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.035);
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 13px;
  align-content: start;
  color: var(--muted);
}

.contact-details a {
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 730;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 42px clamp(20px, 5vw, 64px);
  color: rgba(247, 247, 251, 0.55);
  background: #07080d;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 8px;
}

.site-footer strong {
  color: var(--text);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.policy-page {
  color: var(--paper-text);
  background:
    radial-gradient(circle at 50% -10%, rgba(139, 140, 255, 0.16), transparent 38%),
    var(--paper);
}

.policy-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 70px) 0 110px;
}

.policy-article {
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid rgba(23, 24, 33, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 80px rgba(23, 24, 33, 0.1);
}

.policy-article h1 {
  color: var(--paper-text);
  font-size: clamp(2.6rem, 7vw, 5.3rem);
}

.policy-article h2 {
  margin: 42px 0 12px;
  color: var(--paper-text);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.policy-article p {
  color: var(--paper-muted);
  font-size: 1.02rem;
}

.policy-article a {
  color: #4a50c8;
  font-weight: 720;
}

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

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

@keyframes floatVisual {
  0% {
    transform: rotateX(5deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotateX(5deg) translate3d(0, -10px, 0);
  }

  100% {
    transform: rotateX(5deg) translate3d(0, 0, 0);
  }
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .process-layout,
  .compliance-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: static;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand-mark {
    max-width: calc(100vw - 88px);
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 10px 18px 24px;
    color: var(--paper-text);
    background: rgba(247, 244, 237, 0.96);
    border: 0;
    border-radius: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid rgba(23, 24, 33, 0.1);
    border-radius: 0;
  }

  .site-nav a[href="#contact"] {
    margin-top: 12px;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #f7f7fb;
    background: #171821;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 72px);
  }

  .hero-content {
    width: calc(100vw - 40px);
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .announcement {
    margin-bottom: 20px;
    max-width: 100%;
    font-size: 0.78rem;
  }

  .hero .eyebrow {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    font-size: 0.64rem;
  }

  h1 {
    max-width: 310px;
    font-size: clamp(2rem, 8.1vw, 2.35rem);
    line-height: 0.98;
  }

  .hero-copy {
    max-width: 300px;
    font-size: 1rem;
  }

  .hero-product {
    margin-top: 52px;
    width: calc(100vw - 40px);
    transform: none;
  }

  .hero-visual {
    width: 100%;
    border-radius: 22px;
    transform: none;
    animation: none;
  }

  .identity-strip {
    grid-template-columns: 1fr;
  }

  .identity-strip div {
    min-height: auto;
    padding: 24px 20px;
  }

  .section {
    width: min(100% - 36px, var(--max));
    padding: 78px 0;
  }

  .service-header {
    display: grid;
  }

  .workflow-board {
    grid-template-columns: 1fr;
  }

  .workflow-column {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-column:last-child {
    border-bottom: 0;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand-mark span:last-child {
    max-width: 212px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 310px;
    margin-right: auto;
    margin-left: auto;
  }

  .button {
    width: 100%;
  }

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

  .service-card,
  .service-card:nth-child(2) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .contact-panel,
  .policy-article {
    padding: 26px 20px;
  }
}

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

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