:root {
  color-scheme: dark;
  --ink: #f8f6ff;
  --muted: #aaa5b7;
  --night: #0e071a;
  --panel: #191321;
  --panel-2: #231b30;
  --violet: #a875ff;
  --cyan: #40d9e8;
  --line: rgba(255, 255, 255, 0.11);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; border-radius: 4px; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(168,117,255,.22), transparent 30rem),
    radial-gradient(circle at 94% 72%, rgba(64,217,232,.13), transparent 34rem),
    var(--night);
}
.ambient::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -18rem;
  top: 7rem;
  border: 4rem solid rgba(255,255,255,.035);
  border-radius: 50%;
  border-bottom-color: transparent;
  transform: rotate(30deg);
}

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--violet), #7548df);
  box-shadow: 0 10px 28px rgba(137, 84, 235, .28);
}
.brand-mark::before { content: "↻"; font-size: 25px; line-height: 1; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }

.hero { padding: 120px 0 94px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 800px; margin-top: 18px; font-size: clamp(54px, 8vw, 100px); }
h2 { font-size: clamp(36px, 5vw, 62px); }
h3 { font-size: 23px; letter-spacing: -.025em; }
.lede { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 23px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--violet); color: #11081e; font-weight: 780; text-decoration: none; }
.button.secondary { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid var(--line); }

.arc-wrap { display: grid; place-items: center; min-height: 360px; }
.arc { width: min(330px, 80vw); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 132deg, var(--cyan) 0 64%, rgba(255,255,255,.10) 64% 76%, transparent 76%); mask: radial-gradient(farthest-side, transparent calc(100% - 42px), #000 0); transform: rotate(3deg); filter: drop-shadow(0 20px 45px rgba(64,217,232,.11)); }
.arc-label { position: absolute; text-align: center; }
.arc-label strong { display: block; font-size: 38px; letter-spacing: -.05em; }
.arc-label span { color: var(--muted); }

.section { padding: 92px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-head p { max-width: 480px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.card-symbol { color: var(--violet); font-size: 31px; }
.card h3 { margin-top: 52px; }
.card p { margin: 12px 0 0; color: var(--muted); }

.legal { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 86px 0 120px; }
.legal h1 { font-size: clamp(44px, 7vw, 76px); }
.legal .updated { margin: 18px 0 52px; color: var(--muted); }
.legal h2 { margin: 46px 0 14px; font-size: 28px; letter-spacing: -.025em; }
.legal h3 { margin: 30px 0 8px; font-size: 20px; }
.legal p, .legal li { color: #c3becb; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--cyan); }
.notice { padding: 22px 24px; border-left: 3px solid var(--cyan); border-radius: 0 18px 18px 0; background: rgba(64,217,232,.07); }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 46px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.support-card p { margin-bottom: 0; }

footer { padding: 38px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }

@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; padding: 78px 0 68px; gap: 18px; }
  .arc-wrap { min-height: 300px; }
  .section { padding: 66px 0; }
  .section-head, .footer-inner { align-items: start; flex-direction: column; }
  .feature-grid, .support-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .arc { animation: settle 900ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: rotate(-28deg) scale(.86); } to { opacity: 1; transform: rotate(3deg) scale(1); } }
}
