:root {
  --ink: #14141f;
  --muted: #5e606f;
  --surface: #f7f7fb;
  --surface-raised: rgba(255, 255, 255, 0.86);
  --line: rgba(27, 27, 48, 0.1);
  --accent: #5b45e6;
  --accent-deep: #402dcc;
  --accent-soft: #e8e6ff;
  --gold: #d6a84e;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 22%, rgba(91, 69, 230, 0.12), transparent 25rem),
    linear-gradient(145deg, #fbfbfd 0%, #f6f6fb 52%, #f1f1fb 100%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  pointer-events: none;
  content: "";
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.wordmark > span:first-child,
.wordmark-dot {
  color: var(--accent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.58rem 0.84rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 69, 230, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(5rem, 12vh, 9rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1.55rem;
  color: var(--accent-deep);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 7.15rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

h1 span {
  display: block;
  margin-top: 0.12em;
  color: var(--accent);
}

.intro {
  max-width: 610px;
  margin: 2.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 490px;
}

.hero-visual::before {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(91, 69, 230, 0.12);
  border-radius: 43% 57% 56% 44% / 47% 42% 58% 53%;
  transform: rotate(-12deg);
  content: "";
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  top: 10%;
  right: 3%;
  width: 145px;
  height: 145px;
  background: linear-gradient(145deg, #bcb4ff, #6551e9);
  box-shadow: 0 30px 90px rgba(91, 69, 230, 0.28);
}

.orb-two {
  bottom: 9%;
  left: 4%;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(214, 168, 78, 0.4);
  background: rgba(252, 242, 219, 0.8);
}

.audit-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: var(--surface-raised);
  box-shadow:
    0 26px 80px rgba(40, 34, 96, 0.15),
    inset 0 0 0 1px rgba(42, 38, 74, 0.05);
  backdrop-filter: blur(24px);
  transform: rotate(2.5deg);
}

.card-topline,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #717383;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-badge {
  padding: 0.35rem 0.52rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.4rem;
}

.card-heading small,
.card-heading strong {
  display: block;
}

.card-heading small {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.card-heading strong {
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.card-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 30px rgba(91, 69, 230, 0.25);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-lines {
  display: grid;
  gap: 0.7rem;
  margin-block: 2.2rem 2rem;
}

.card-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #ececf3;
}

.card-lines span:first-child {
  width: 92%;
}

.card-lines span:nth-child(2) {
  width: 77%;
}

.card-lines span:last-child {
  width: 57%;
}

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.arrow {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: sans-serif;
  font-size: 0.9rem;
}

.site-footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: #777988;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual {
    opacity: 0;
    animation: reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .hero-visual {
    animation-delay: 0.12s;
  }

  .audit-card {
    animation: drift 7s ease-in-out 1s infinite alternate;
  }

  .status-dot {
    animation: pulse 2.6s ease-out infinite;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: rotate(2.5deg) translateY(0);
  }
  to {
    transform: rotate(1deg) translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(91, 69, 230, 0.1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(91, 69, 230, 0);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 4.5rem 3rem;
  }

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

  h1 {
    font-size: clamp(3.5rem, 15vw, 6rem);
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 88px;
  }

  .status-pill {
    padding: 0.48rem 0.62rem;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .hero {
    padding-top: 3.6rem;
  }

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

  .audit-card {
    width: 92%;
  }

  .orb-one {
    width: 105px;
    height: 105px;
  }

  .site-footer {
    min-height: 72px;
  }
}
