/* ==========================================================================
   Auryte — light base · bold type · BLUE "aura" gradient + glass.
   No build step. Fonts via Fontshare <link>; everything else pure CSS.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;        /* cool blue-tinted off-white */
  --bg-tint: #f7f9ff;
  --ink: #0b0e18;
  --body: #44464f;
  --muted: #767986;
  --line: #e9ecf3;
  --line-strong: #dde1ec;

  /* blue aura palette */
  --blue: #2f6bff;
  --blue-deep: #1f49db;
  --indigo: #6d5ef8;
  --cyan: #21cdf5;
  --sky: #4aa3ff;

  /* gradients — text/buttons stay blue→indigo (legible); decor adds cyan */
  --grad-text: linear-gradient(105deg, #2f8bff, #6d5ef8 48%, #9b5cf6);
  --grad-cta: linear-gradient(100deg, #2f6bff, #4f60f6 55%, #6d5ef8);
  --grad-aura: linear-gradient(120deg, #2f6bff, #6d5ef8 50%, #21cdf5);

  --accent: #2f6bff;
  --accent-ink: #2348d8;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1140px;
  --shadow-sm: 0 1px 2px rgba(11, 14, 24, .04), 0 8px 22px -10px rgba(40, 75, 210, .16);
  --shadow-card: 0 1px 2px rgba(11, 14, 24, .04), 0 22px 48px -18px rgba(40, 75, 210, .24);

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.022em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; }
.skip-link:focus { left: 16px; }

/* ---- Header (glass) ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 20px; letter-spacing: -.02em; }
.brand .logo { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--ink) !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 14px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { position: relative; overflow: hidden; background: var(--grad-cta); color: #fff; box-shadow: 0 10px 26px -10px rgba(47, 107, 255, .6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -10px rgba(47, 107, 255, .65); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -135%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg); transition: left .6s ease; pointer-events: none;
}
.btn-primary:hover::after { left: 135%; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: #c8cfdd; background: var(--bg-soft); transform: translateY(-1px); }
.btn-arrow svg { transition: transform .15s ease; }
.btn:hover .btn-arrow svg { transform: translateX(3px); }

/* ---- Eyebrow pill (gradient ring) ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent-ink);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 24px;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-aura) border-box;
  border: 1.5px solid transparent;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-cta); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 92px 0 76px; }
.hero::before {
  content: ""; position: absolute; inset: -260px -160px auto -160px; height: 920px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 56% at 16% 8%, rgba(33, 205, 245, .30), transparent 70%),
    radial-gradient(50% 52% at 50% -6%, rgba(47, 107, 255, .28), transparent 70%),
    radial-gradient(44% 58% at 84% 6%, rgba(139, 92, 246, .26), transparent 70%),
    radial-gradient(52% 42% at 66% 30%, rgba(47, 230, 208, .14), transparent 72%),
    radial-gradient(40% 44% at 30% 26%, rgba(232, 121, 249, .12), transparent 72%);
  filter: blur(26px);
  animation: auroraDrift 20s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.03) rotate(-1deg); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.09) rotate(1.5deg); }
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; max-width: 15ch; letter-spacing: -.035em; }
.hero .lede { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: var(--body); max-width: 46ch; margin-top: 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* hero visual — floating app tiles over an aura glow */
.hero-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: var(--grad-aura); filter: blur(56px); opacity: .5; z-index: 0;
}
.tiles { position: relative; z-index: 1; display: grid; gap: 18px; width: min(320px, 100%); }
.tile {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-card);
  will-change: transform;
}
.tile:nth-child(1) { transform: translateX(-14px) rotate(-2deg); animation: float1 7s ease-in-out infinite; }
.tile:nth-child(2) { transform: translateX(18px) rotate(2deg); animation: float2 8s ease-in-out infinite; }
.tile img { width: 52px; height: 52px; border-radius: 13px; box-shadow: var(--shadow-sm); }
.tile .t-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.tile .t-cat { font-size: .82rem; color: var(--muted); }
.tile .t-status { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--accent-ink); background: rgba(47, 107, 255, .1); padding: 4px 9px; border-radius: 999px; }
@keyframes float1 { 0%, 100% { transform: translateX(-14px) translateY(0) rotate(-2deg); } 50% { transform: translateX(-14px) translateY(-12px) rotate(-2deg); } }
@keyframes float2 { 0%, 100% { transform: translateX(18px) translateY(0) rotate(2deg); } 50% { transform: translateX(18px) translateY(-9px) rotate(2deg); } }

/* ---- Sections ---- */
.section { position: relative; padding: 88px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 52px 0; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.025em; }
.section-head p { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }

/* ---- Facts strip ---- */
.facts-card { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.fact { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }
.fact .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; line-height: 1.1; }
.fact .l { margin-top: 8px; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .facts-card { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: none; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---- App cards ---- */
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.app-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-aura); opacity: 0; transition: opacity .2s ease; }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.app-card:hover::before { opacity: 1; }
.app-card__top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow-sm); flex: 0 0 auto; }
.app-card__title h3 { font-size: 1.4rem; font-weight: 600; }
.app-card__cat { font-size: .92rem; color: var(--muted); margin-top: 3px; }
.app-card__body { color: var(--body); font-size: 1.02rem; flex: 1 0 auto; }
.app-card__foot { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-top: 26px; }
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-aura) border-box;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -18px rgba(47, 107, 255, .55);
}
.app-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-ink); font-weight: 600; font-size: 15px; transition: gap .15s ease; }
.app-link:hover { gap: 11px; }

/* ---- Values ---- */
.lead { max-width: 62ch; font-size: 1.12rem; color: var(--body); margin-bottom: 40px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value .v-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-cta); box-shadow: 0 10px 22px -10px rgba(47, 107, 255, .55); margin-bottom: 18px; }
.value h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 9px; }
.value p { color: var(--muted); font-size: 1rem; }
.studio-note { margin-top: 40px; font-size: 1.02rem; color: var(--body); max-width: 62ch; }
.studio-note strong { color: var(--ink); }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: border-color .15s ease, box-shadow .2s ease; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--body); font-size: 1rem; }
.faq-a a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Contact (vivid aura band) ---- */
.contact-card { position: relative; overflow: hidden; border-radius: 30px; padding: 64px 40px; text-align: center; background: var(--grad-cta); box-shadow: 0 30px 60px -24px rgba(40, 90, 220, .6); }
.contact-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 240px at 82% 120%, rgba(33, 205, 245, .5), transparent 60%); pointer-events: none; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
.contact-card p { color: rgba(255, 255, 255, .88); margin: 16px auto 0; max-width: 48ch; }
.contact-card .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.contact-card .meta { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .76); }
.contact-card .btn-primary { background: #fff; color: var(--accent-ink); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .3); }
.contact-card .btn-primary::after { background: linear-gradient(105deg, transparent, rgba(47, 107, 255, .16), transparent); }
.contact-card .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.contact-card .btn-ghost:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }

/* ---- Footer ---- */
.site-footer { padding: 56px 0 48px; border-top: 1px solid var(--line); background: #fff; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 15px; transition: color .15s ease; }
.footer-links a:hover { color: var(--ink); }
.legal { color: var(--muted); font-size: 13.5px; line-height: 1.7; max-width: 72ch; }
.legal strong { color: #54565f; font-weight: 600; }

/* ---- Legal pages ---- */
.doc { padding: 64px 0 84px; }
.doc .container { max-width: 760px; }
.doc h1 { font-size: clamp(2.1rem, 4vw, 2.8rem); font-weight: 600; margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 1.3rem; font-weight: 600; margin: 40px 0 12px; }
.doc p { margin-bottom: 16px; }
.doc a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.doc ul.bullets { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.doc ul.bullets li { margin-bottom: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.back-link:hover { color: var(--ink); }

/* ---- Focus ---- */
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 999px; }

/* ---- Scroll reveal (JS-gated so content is visible without JS) ---- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 280px; order: -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links .nav-only-desktop { display: none; }
  .hero { padding: 60px 0 52px; }
  .section { padding: 62px 0; }
  .apps-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-card { padding: 48px 24px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
