:root {
  color-scheme: light;
  --ink: #17142c;
  --muted: #64607a;
  --line: rgba(30, 27, 51, 0.11);
  --surface: rgba(255, 255, 255, 0.74);
  --blue: #139df2;
  --violet: #6b48f2;
  --magenta: #e84098;
  --shadow: 0 24px 80px rgba(57, 39, 115, 0.13);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(19, 157, 242, 0.14), transparent 28rem),
    radial-gradient(circle at 91% 12%, rgba(232, 64, 152, 0.11), transparent 24rem),
    linear-gradient(135deg, #fbfcff 0%, #f2effb 55%, #f8f5ff 100%);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page-shell {
  display: flex;
  flex-direction: column;
  width: min(1420px, calc(100% - 48px));
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

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

.brand-bar { padding: 30px 42px 12px; }

.brand { display: inline-flex; }
.brand img { width: 178px; height: auto; }

.status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(107, 72, 242, 0.18);
  border-radius: 999px;
  color: #575169;
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet) 52%, var(--magenta));
  box-shadow: 0 0 0 5px rgba(107, 72, 242, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  min-height: min(680px, calc(100vh - 190px));
  padding: 16px 20px 22px 72px;
}

.hero__copy { position: relative; z-index: 2; max-width: 610px; }

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

h1 {
  max-width: 10ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 6.2vw, 6.8rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -0.058em;
}

h1::after {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet) 52%, var(--magenta));
  content: "";
}

.lede {
  max-width: 54ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(107, 72, 242, 0.25); outline-offset: 3px; }

.button--primary {
  border-color: rgba(23, 20, 44, 0.28);
  color: white;
  background: linear-gradient(125deg, #159cf1, #6948f2 55%, #d939a0);
  background-clip: padding-box;
  box-shadow: 0 10px 28px rgba(23, 20, 44, 0.16);
}

.button--secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.7); }
.button--secondary:hover { border-color: rgba(107, 72, 242, 0.34); }

.technical-note {
  max-width: 58ch;
  margin: 24px 0 0;
  color: #7b768e;
  font-size: 0.78rem;
  line-height: 1.6;
}

code {
  padding: 0.17em 0.45em;
  border: 1px solid rgba(107, 72, 242, 0.12);
  border-radius: 6px;
  color: #5b34d9;
  background: rgba(107, 72, 242, 0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.hero__visual {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  isolation: isolate;
}

.hero__visual::before {
  position: absolute;
  z-index: -2;
  width: min(44vw, 650px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 15%, rgba(201, 184, 255, 0.58) 45%, rgba(19, 157, 242, 0.08) 68%, transparent 69%);
  content: "";
  filter: blur(1px);
}

.hero__visual img {
  width: min(100%, 790px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 34px rgba(45, 31, 92, 0.16));
  animation: settle 850ms cubic-bezier(.2,.75,.25,1) both;
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(107, 72, 242, 0.14);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.orbit--one { width: 76%; aspect-ratio: 1.35; }
.orbit--two { width: 61%; aspect-ratio: 1.1; border-color: rgba(19, 157, 242, 0.12); transform: rotate(18deg); }

.footer {
  margin: auto 42px 0;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: #817d90;
  font-size: 0.76rem;
}

.footer p { margin: 0; }

@keyframes settle {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 46px 42px 20px; text-align: center; }
  .hero__copy { margin-inline: auto; }
  h1 { max-width: 12ch; }
  .lede, .technical-note { margin-inline: auto; }
  .actions { justify-content: center; }
  .hero__visual { margin-top: 12px; }
  .hero__visual img { width: min(88vw, 620px); }
}

@media (max-width: 620px) {
  .page-shell { width: calc(100% - 20px); min-height: calc(100vh - 20px); margin: 10px auto; border-radius: 22px; }
  .brand-bar { padding: 24px 22px 4px; }
  .brand img { width: 142px; }
  .status { width: 10px; height: 10px; padding: 0; border: 0; font-size: 0; background: transparent; }
  .hero { min-height: 0; padding: 64px 24px 24px; }
  h1 { font-size: clamp(3.25rem, 15.8vw, 5rem); }
  .lede { margin-top: 24px; }
  .actions { display: grid; }
  .button { width: 100%; }
  .technical-note { margin-top: 22px; }
  .footer { gap: 10px; margin: auto 22px 0; text-align: left; }
  .footer p:last-child { white-space: nowrap; }
}

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