/* Aura Browser — shared styles */
:root {
  --bg-deep: #05070f;
  --bg-mid: #0a1020;
  --ink: #eef3ff;
  --ink-muted: #9aa8c7;
  --teal: #2ee6c5;
  --cyan: #4fd0ff;
  --violet: #a78bfa;
  --magenta: #c084fc;
  --line: rgba(158, 190, 255, 0.14);
  --glass: rgba(12, 18, 36, 0.62);
  --radius: 18px;
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-deep);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--cyan);
}

/* Atmosphere */
.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(46, 230, 197, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 90% 5%, rgba(167, 139, 250, 0.28), transparent 50%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(79, 208, 255, 0.1), transparent 55%),
    linear-gradient(180deg, #060a16 0%, var(--bg-deep) 45%, #04060c 100%);
}

.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 28% 42%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 67% 22%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 81% 58%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 45% 72%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 93% 14%, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0.7;
  animation: twinkle 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.aurora {
  position: fixed;
  inset: -20% -10% auto;
  height: 55vh;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 20%, rgba(46, 230, 197, 0.18) 40%, transparent 55%),
    linear-gradient(250deg, transparent 30%, rgba(167, 139, 250, 0.2) 48%, transparent 65%);
  filter: blur(40px);
  animation: aurora-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora-drift {
  from { transform: translate3d(-3%, 0, 0) rotate(-2deg); opacity: 0.75; }
  to { transform: translate3d(4%, 4%, 0) rotate(3deg); opacity: 1; }
}

@keyframes twinkle {
  from { opacity: 0.45; }
  to { opacity: 0.85; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-y {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.reveal {
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-d1 { animation-delay: 0.12s; }
.reveal-d2 { animation-delay: 0.24s; }
.reveal-d3 { animation-delay: 0.36s; }
.reveal-d4 { animation-delay: 0.48s; }

/* Layout */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 15, 0.55);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 24px rgba(46, 230, 197, 0.25);
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.92rem;
}

.nav a {
  color: var(--ink-muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #041018;
  background: linear-gradient(120deg, var(--teal), var(--cyan) 55%, var(--violet));
  box-shadow: 0 10px 40px rgba(46, 230, 197, 0.22);
}

.btn-primary:hover {
  color: #041018;
  box-shadow: 0 14px 48px rgba(79, 208, 255, 0.3);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(46, 230, 197, 0.45);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* Typography */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.lead {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 36rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-head p {
  color: var(--ink-muted);
}

/* Hero — marketing */
.hero {
  min-height: min(100vh, 920px);
  display: grid;
  align-items: end;
  padding: 6rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.hero-copy .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff 10%, var(--teal) 45%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
}

.hero-visual {
  justify-self: end;
  position: relative;
}

.hero-visual .icon-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(46, 230, 197, 0.35), transparent 65%);
  filter: blur(28px);
  animation: float-y 5s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(280px, 70vw);
  border-radius: 28%;
  animation: float-y 5.5s ease-in-out infinite alternate;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(167, 139, 250, 0.25);
}

/* Feature bands */
.band {
  border-top: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 1.75rem;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-block: 0.35rem;
}

.feature-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--violet);
  padding-top: 0.25rem;
  min-width: 2rem;
}

.feature p {
  color: var(--ink-muted);
  max-width: 40rem;
}

/* Help page */
.page-hero {
  padding: 5.5rem 0 2.5rem;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.toc a {
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.02);
}

.toc a:hover {
  color: var(--ink);
  border-color: rgba(46, 230, 197, 0.4);
}

.help-block {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.help-block h2 {
  margin-bottom: 0.85rem;
}

.help-block p,
.help-block li {
  color: var(--ink-muted);
}

.help-block ol,
.help-block ul {
  margin: 1rem 0 0 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.help-block strong {
  color: var(--ink);
  font-weight: 600;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin-left: 0 !important;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #041018;
  background: linear-gradient(135deg, var(--teal), var(--violet));
}

details.faq {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

details.faq[open] summary::after {
  transform: rotate(45deg);
}

details.faq p {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  max-width: 42rem;
}

.contact-box {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.contact-box a {
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.75rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--ink-muted);
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: start;
    order: -1;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
    align-items: start;
  }

  .nav .hide-sm {
    display: none;
  }
}
