/* ==========================================================================
   ARIA — soft gradient consumer canvas.
   Pale violet ground, airy mesh gradients, pill everything, soft shadows,
   friendly grotesk display. The approachable one.
   ========================================================================== */

.theme-aria {
  --paper:        #fbfaff;
  --paper-2:      #f4f1fe;
  --paper-3:      #ebe6fd;
  --dark:         #241f3d;
  --dark-2:       #2d2750;
  --dark-3:       #383163;
  --ink:          #241f3d;
  --ink-2:        #4c4568;
  --muted:        #8d87a8;
  --muted-dark:   #a8a3c2;
  --clay:         #7c6cf0;
  --clay-deep:    #6047e8;
  --clay-soft:    #d9d2ff;
  --sky:          #38bdf8;
  --sage:         #34d399;
  --line:         rgba(36, 31, 61, 0.12);
  --line-strong:  rgba(36, 31, 61, 0.22);
  --line-dark:    rgba(251, 250, 255, 0.16);
  --r-xs: 10px;
  --r-sm: 14px;
  --r:    20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;
  --serif: "Space Grotesk", "Inter", sans-serif;
  --sans:  "Inter", sans-serif;
}

.theme-aria ::selection { background: var(--clay-soft); }
.theme-aria :focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* ---- chrome ---------------------------------------------------------- */

.theme-aria .site-header {
  background: rgba(251, 250, 255, 0.8);
}
.theme-aria .site-header.is-scrolled { background: rgba(251, 250, 255, 0.92); }
.theme-aria .promo { background: linear-gradient(110deg, #6047e8, #38bdf8); color: #fff; }
.theme-aria .promo a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.55); }
.theme-aria .promo a:hover { color: var(--paper); }

.theme-aria .brand-mark { color: var(--clay); }
.theme-aria .brand { font-family: var(--serif); font-weight: 600; }

.theme-aria .nav-link:hover, .theme-aria .nav-trigger:hover { background: var(--paper-2); color: var(--clay-deep); }
.theme-aria .mega { background: rgba(251, 250, 255, 0.98); box-shadow: 0 28px 60px -28px rgba(96, 71, 232, 0.35); }
.theme-aria .mega__link:hover { background: var(--paper-2); color: var(--clay-deep); }
.theme-aria .drawer { background: var(--paper); }

/* ---- buttons & links -------------------------------------------------- */

.theme-aria .btn { font-weight: 600; }
.theme-aria .btn--primary { background: linear-gradient(120deg, #7c6cf0, #4da2fa); color: #fff; }
.theme-aria .btn--primary:hover { background: linear-gradient(120deg, #6047e8, #38bdf8); }
.theme-aria .btn--clay { background: linear-gradient(120deg, #7c6cf0, #38bdf8); color: #fff; }
.theme-aria .btn--clay:hover { background: linear-gradient(120deg, #6047e8, #22a7f0); }
.theme-aria .btn--outline:hover { background: var(--ink); border-color: var(--ink); }
.theme-aria .arrow-link { color: var(--clay-deep); }
.theme-aria .hub-link:hover, .theme-aria .lang-toggle:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; }

/* ---- type ------------------------------------------------------------- */

.theme-aria .hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.theme-aria .hero h1 a {
  color: var(--clay-deep);
  background: linear-gradient(120deg, #7c6cf0, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.theme-aria .page-hero h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; }
.theme-aria .section-head h2,
.theme-aria .callout__copy h2,
.theme-aria .card h3,
.theme-aria .tile__title,
.theme-aria .release__title,
.theme-aria .timeline__item h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }

.theme-aria .eyebrow { color: var(--clay-deep); }
.theme-aria .mission em {
  font-style: normal;
  background: linear-gradient(110deg, #7c6cf0, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-aria .prose blockquote { border-left-color: var(--clay); }
.theme-aria .prose ul li::before { background: linear-gradient(120deg, #7c6cf0, #38bdf8); }
.theme-aria .chip--clay { color: var(--clay-deep); border-color: var(--clay-soft); background: var(--paper-2); }

/* ---- surfaces --------------------------------------------------------- */

.theme-aria .hero__glow {
  background:
    radial-gradient(closest-side, rgba(124, 108, 240, 0.25), transparent 72%),
    radial-gradient(closest-side at 62% 58%, rgba(56, 189, 248, 0.16), transparent 70%);
  filter: blur(24px);
}

.theme-aria .card {
  border-color: transparent;
  box-shadow: 0 14px 44px -22px rgba(96, 71, 232, 0.35);
}
.theme-aria .card:hover {
  border-color: transparent;
  box-shadow: 0 24px 56px -24px rgba(96, 71, 232, 0.45);
}
.theme-aria .card--dark { background: var(--dark); }

.theme-aria .tiles {
  border-color: transparent;
  background: transparent;
  gap: 16px;
}
.theme-aria .tile {
  border-radius: var(--r-lg);
  box-shadow: 0 10px 36px -20px rgba(96, 71, 232, 0.3);
  border: 1px solid rgba(124, 108, 240, 0.14);
}
.theme-aria .tile:hover { background: var(--paper-2); }
.theme-aria .tile__arrow { color: var(--clay-deep); }

.theme-aria .callout { box-shadow: 0 32px 72px -36px rgba(96, 71, 232, 0.5); }
.theme-aria .callout__viz {
  background:
    radial-gradient(120% 90% at 80% 15%, rgba(124, 108, 240, 0.55), transparent 60%),
    radial-gradient(90% 80% at 12% 90%, rgba(56, 189, 248, 0.35), transparent 62%),
    var(--dark-3);
}

.theme-aria .table thead th { background: var(--paper-2); color: var(--clay-deep); }
.theme-aria .tier { background: linear-gradient(120deg, #7c6cf0, #4da2fa); }

.theme-aria .note { border-left-color: var(--clay); background: var(--paper-2); border-color: rgba(124, 108, 240, 0.25); }
.theme-aria .codeblock { box-shadow: 0 28px 56px -32px rgba(96, 71, 232, 0.5); }
.theme-aria .codeblock__dot:first-child { background: var(--clay); }

.theme-aria .stat dd { color: var(--clay-deep); }
.theme-aria .section--paper2 {
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(124, 108, 240, 0.07), transparent 60%),
    radial-gradient(70% 50% at 90% 100%, rgba(56, 189, 248, 0.06), transparent 60%),
    var(--paper-2);
}
.theme-aria .timeline__year { color: var(--clay-deep); }
.theme-aria .job:hover { color: var(--clay-deep); }
.theme-aria .person__photo {
  background: linear-gradient(160deg, var(--paper-3), var(--paper-2));
  border-color: rgba(124, 108, 240, 0.2);
}

/* ---- forms ------------------------------------------------------------ */

.theme-aria .field input:focus, .theme-aria .field textarea:focus, .theme-aria .subscribe input:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(124, 108, 240, 0.14);
}
.theme-aria .filter.is-active {
  background: linear-gradient(120deg, #7c6cf0, #4da2fa);
  border-color: transparent;
  color: #fff;
}

/* ---- footer ----------------------------------------------------------- */

.theme-aria .site-footer {
  background:
    radial-gradient(70% 50% at 85% 0%, rgba(124, 108, 240, 0.18), transparent 60%),
    var(--dark);
}
.theme-aria .footer__brand .brand-mark { color: #a99bff; }
.theme-aria .footer__social a:hover { background: var(--clay); border-color: var(--clay); }

/* ==========================================================================
   ARIA home — consumer product landing architecture.
   ========================================================================== */

.ar-hero { max-width: 1080px; margin-inline: auto; padding: clamp(44px, 7vw, 88px) var(--gutter) 0; text-align: center; }
.ar-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; color: var(--clay-deep); margin: 0; }
.ar-h1 { margin-top: 20px; font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 8vw, 92px); line-height: 1.02; letter-spacing: -0.035em; }
.ar-grad { background: linear-gradient(110deg, #7c6cf0 5%, #38bdf8 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ar-sub { margin: 22px auto 0; max-width: 54ch; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; color: var(--ink-2); }
.ar-cta-row { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

.ar-panel {
  margin: clamp(36px, 6vw, 64px) auto 0;
  max-width: 720px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid rgba(124, 108, 240, 0.16);
  box-shadow: 0 40px 90px -40px rgba(96, 71, 232, 0.45);
  overflow: hidden;
  text-align: left;
}
.ar-panel-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: var(--paper-2); border-bottom: 1px solid rgba(124, 108, 240, 0.14); }
.ar-panel-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(124, 108, 240, 0.25); }
.ar-panel-bar span:first-child { background: linear-gradient(120deg, #7c6cf0, #38bdf8); }
.ar-panel-bar em { margin-left: 8px; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.ar-panel-body { padding: 22px 20px 26px; display: grid; gap: 12px; }
.ar-msg { max-width: 78%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; }
.ar-msg--user { justify-self: end; background: linear-gradient(120deg, #7c6cf0, #5b8df0); color: #fff; border-bottom-right-radius: 6px; }
.ar-msg--ai { justify-self: start; background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 6px; }
.ar-msg--ai strong { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; color: var(--clay-deep); margin-bottom: 5px; }
.ar-msg--typing { display: flex; gap: 5px; align-items: center; padding: 16px; }
.ar-msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); animation: ar-bounce 1.2s infinite; }
.ar-msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.ar-msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ar-bounce { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ar-msg--typing i { animation: none; opacity: 0.6; } }
.ar-panel-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.ar-features { max-width: 1160px; margin-inline: auto; padding: clamp(56px, 8vw, 104px) var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ar-feature { background: #fff; border: 1px solid rgba(124, 108, 240, 0.14); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: 0 16px 44px -28px rgba(96, 71, 232, 0.3); }
.ar-feature-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, rgba(124, 108, 240, 0.14), rgba(56, 189, 248, 0.12)); color: var(--clay-deep); font-size: 20px; }
.ar-feature h3 { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.ar-feature p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.ar-feature-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--clay-deep); }
@media (max-width: 900px) { .ar-features { grid-template-columns: 1fr; } }

.ar-quote { padding: clamp(56px, 9vw, 112px) var(--gutter); text-align: center; background: radial-gradient(60% 70% at 50% 30%, rgba(124, 108, 240, 0.08), transparent 70%); }
.ar-quote-mark { font-family: var(--serif); font-size: 80px; line-height: 0.4; color: var(--clay); margin: 0; }
.ar-quote blockquote { margin: 18px auto 0; max-width: 34ch; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.3; letter-spacing: -0.02em; }
.ar-quote-by { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

.ar-band { margin: clamp(32px, 5vw, 64px) var(--gutter); border-radius: var(--r-xl); background: linear-gradient(125deg, #241f3d 0%, #3b2d78 55%, #1d4f7e 100%); color: #fff; text-align: center; padding: clamp(56px, 8vw, 104px) var(--gutter); }
.ar-band h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.025em; }
.ar-band p { margin: 18px auto 0; max-width: 46ch; color: rgba(255, 255, 255, 0.75); font-size: 16.5px; }
.ar-band .btn--outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.ar-band .btn--outline:hover { background: #fff; color: var(--dark); border-color: #fff; }

.ar-foot { padding: 28px var(--gutter) 44px; text-align: center; font-size: 13px; color: var(--muted); }
.ar-foot a { color: var(--clay-deep); }
