/* ============================================================
   LNX — refreshed design system
   A warm, friendly, modern evolution of the violet brand.
   ============================================================ */

:root {
  /* brand */
  --violet:      #6655F0;
  --violet-700:  #5341DA;
  --violet-600:  #5d4be8;
  --violet-100:  #ECE9FE;
  --violet-50:   #F4F2FF;

  /* warm friendly accent */
  --peach:       #FF9D6C;
  --peach-soft:  #FFE7D6;
  --amber:       #FFC773;

  /* ink + neutrals (warm-tinted) */
  --ink:         #1B1A2E;
  --ink-2:       #4A4860;
  --muted:       #6E6C84;
  --line:        #ECE9E3;
  --line-2:      #E4E1EE;

  /* surfaces */
  --bg:          #FBFAF7;   /* warm off-white page */
  --surface:     #FFFFFF;
  --surface-2:   #F5F3EE;   /* warm card */
  --cool:        #F3F2FB;   /* cool light section */

  /* dark sections */
  --navy:        #15152C;
  --navy-2:      #1E1D3D;
  --indigo-deep: #211F4D;

  --radius:      22px;
  --radius-sm:   14px;
  --radius-lg:   30px;
  --shadow-sm:   0 2px 8px rgba(27,26,46,.05);
  --shadow:      0 18px 50px -24px rgba(27,26,46,.22);
  --shadow-lg:   0 40px 90px -40px rgba(35,30,90,.45);

  --container:   1180px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--violet-100); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- typography ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.04; font-weight: 800; }
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet); margin: 0 0 18px;
}
.eyebrow.on-dark { color: #B7AEFF; }
.lead { font-size: 19px; color: var(--ink-2); line-height: 1.6; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 15.5px;
  border: none; cursor: pointer; border-radius: 999px;
  padding: 14px 24px; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 14px 28px -12px rgba(102,85,240,.7); }
.btn-primary:hover { background: var(--violet-700); box-shadow: 0 18px 34px -12px rgba(102,85,240,.8); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--violet-50); color: var(--violet-700); }
.btn-ghost:hover { background: var(--violet-100); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav-shell { position: sticky; top: 0; z-index: 50; padding: 16px 0; }
.nav {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 12px 11px 22px; box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand .mark { width: 30px; height: 30px; display: grid; place-items: center; }
.logo-img { height: 30px; width: auto; display: block; }
.foot-logo { height: 28px; filter: brightness(0) invert(1); opacity: .92; }
.brand .dim { color: var(--muted); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-link { font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.nav-link:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(102,85,240,.13), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, rgba(255,157,108,.10), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 40px; align-items: start;
  padding-top: 18px; padding-bottom: 52px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 7px 15px 7px 11px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-sm); margin-bottom: 14px; white-space: nowrap;
}
.badge .star { color: var(--amber); }
h1.hero-title { font-size: clamp(46px, 6.4vw, 80px); }
h1.hero-title .accent { color: var(--violet); }
.hero p.lead { margin: 14px 0 0; max-width: 460px; }

.claim {
  display: flex; align-items: center; gap: 8px; margin-top: 18px; max-width: 480px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 7px 7px 7px 20px; box-shadow: var(--shadow);
}
.claim .pfx { font-weight: 700; color: var(--muted); }
.claim input {
  flex: 1; border: none; outline: none; font-family: inherit; font-size: 16px; font-weight: 600;
  color: var(--ink); background: transparent; min-width: 0; padding: 8px 4px;
}
.claim input::placeholder { color: #B6B3C4; font-weight: 600; }
.hero .trust { display: flex; align-items: center; gap: 11px; margin-top: 20px; font-size: 14px; color: var(--muted); font-weight: 500; }
.avatars { display: flex; }
.avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--bg); margin-left: -9px; }
.avatars span:first-child { margin-left: 0; }

/* ---------- phone ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.blob { position: absolute; width: 420px; height: 420px; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; background: linear-gradient(150deg, var(--violet-100), var(--peach-soft)); filter: blur(2px); }
.phone {
  position: relative; z-index: 2; width: 312px; border-radius: 46px; background: #14131c; padding: 12px;
  box-shadow: var(--shadow-lg); transform: rotate(-2deg);
}
.phone-screen { border-radius: 36px; overflow: hidden; background: #f3f0ea; height: 600px; display: flex; flex-direction: column; }
.phone-cover { height: 158px; position: relative; background: linear-gradient(160deg,#6a5bf2,#4a3ad6); }
.ph-status { position: absolute; top: 12px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 20px; color: #fff; font-size: 12px; font-weight: 700; opacity: .95; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.ph-name { position: absolute; left: 20px; bottom: 16px; color: #fff; }
.ph-name b { font-size: 17px; font-weight: 800; letter-spacing: .01em; display: block; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.ph-name small { font-size: 12px; opacity: .92; font-weight: 500; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.phone-body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.ph-bio { font-size: 10.5px; line-height: 1.5; color: #5a5768; margin: 0 0 6px; }
.ph-btn { border-radius: 12px; padding: 11px; text-align: center; font-size: 12.5px; font-weight: 700; }
.ph-btn.solid { background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ph-btn.soft { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.06); border: 1px solid #eceaf4; }

/* float cards on hero phone */
.float {
  position: absolute; z-index: 3; background: #fff; border-radius: 14px; padding: 11px 14px;
  box-shadow: var(--shadow); font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line);
}
.float .dot { width: 9px; height: 9px; border-radius: 50%; }
.float.f1 { top: 150px; left: -14px; transform: rotate(-5deg); }
.float.f2 { bottom: 104px; right: -16px; transform: rotate(5deg); }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.text-right .col-text { order: 2; }

/* ---------- customize ---------- */
.collage { position: relative; height: 470px; }
.cg {
  position: absolute; display: block; border-radius: 16px; background: #fff;
  box-shadow: 0 26px 50px -22px rgba(27,26,46,.32), 0 0 0 1px rgba(27,26,46,.04);
}
.cg-mid   { width: 332px; left: 50%; top: 28px;  transform: translateX(-50%) rotate(-3deg); z-index: 1; }
.cg-left  { width: 190px; left: 0;   top: 152px; transform: rotate(-6deg); z-index: 2; }
.cg-right { width: 152px; right: 0;  top: 92px;  transform: rotate(5deg);  z-index: 3; }
.preview-frame {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.preview-frame:hover { transform: translateY(-4px); }
.preview-frame img { width: 100%; height: auto; display: block; }
.theme-stack { position: relative; min-height: 440px; }
.theme-card {
  position: absolute; width: 260px; border-radius: 20px; background: #fff; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.theme-card .tc-cover { height: 78px; }
.theme-card .tc-body { padding: 14px 16px 18px; }
.theme-card .tc-av { width: 46px; height: 46px; border-radius: 50%; margin-top: -34px; border: 3px solid #fff; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; }
.theme-card .tc-name { font-weight: 800; font-size: 15px; margin-top: 9px; }
.theme-card .tc-role { font-size: 11.5px; color: var(--muted); }
.theme-card .tc-bar { height: 26px; border-radius: 8px; margin-top: 10px; }
.tc-a { left: 0; top: 30px; transform: rotate(-6deg); z-index: 1; }
.tc-b { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }

/* ---------- share (dark) ---------- */
.dark-sec { background: var(--indigo-deep); color: #fff; overflow: hidden; position: relative; }
.dark-sec .lead { color: #C6C2E8; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 380px; }
.social-tile {
  aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff;
  transition: transform .2s, background .2s;
}
.social-tile:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.social-tile svg { width: 26px; height: 26px; }

/* ---------- analytics ---------- */
.dash { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--cool); border-radius: var(--radius-sm); padding: 18px 20px; }
.stat small { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat b { display: block; font-size: 34px; font-weight: 800; margin-top: 4px; letter-spacing: -.03em; }
.stat.violet b { color: var(--violet); }
.chart { margin-top: 14px; background: var(--cool); border-radius: var(--radius-sm); padding: 18px 20px; }
.chart small { font-size: 13px; color: var(--muted); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 14px; }
.bars span { flex: 1; border-radius: 7px 7px 4px 4px; background: linear-gradient(180deg, var(--violet), #8e80f6); }

/* ---------- personal bio (warm) ---------- */
.warm-sec { background: linear-gradient(170deg, #FFF6EF 0%, #F6F1FF 100%); }
.bio-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.bio-head { display: flex; align-items: center; gap: 14px; }
.bio-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.bio-name { font-weight: 800; font-size: 18px; }
.bio-role { font-size: 13.5px; color: var(--muted); }
.bio-text { margin: 18px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.bio-text mark { background: var(--violet-100); color: var(--violet-700); padding: 0 3px; border-radius: 4px; }
.bio-feat { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.bio-feat .lbl { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; gap: 10px; margin-top: 12px; }
.chip { background: var(--surface-2); border-radius: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 700; }

/* ---------- discover ---------- */
.discover { text-align: center; }
.disc-head { max-width: 600px; margin: 0 auto 44px; }
.rail-wrap { position: relative; }
.rail { display: flex; gap: 20px; overflow-x: auto; padding: 8px 28px 28px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.pcard {
  flex: 0 0 252px; scroll-snap-align: start; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); text-align: left; min-height: 340px; display: flex; flex-direction: column;
  transition: transform .22s; border: 1px solid var(--line);
}
.pcard:hover { transform: translateY(-5px); }
.pcard .pc-inner { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pc-av { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.pc-name { font-weight: 800; font-size: 16px; margin-top: 14px; }
.pc-role { font-size: 12.5px; margin-top: 3px; opacity: .75; }
.pc-links { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; }
.pc-link { border-radius: 9px; padding: 9px; font-size: 12px; font-weight: 700; text-align: center; }
.rail-btn {
  position: absolute; top: 42%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; z-index: 5;
  transition: transform .15s, box-shadow .15s;
}
.rail-btn:hover { transform: scale(1.08); }
.rail-btn.prev { left: -10px; } .rail-btn.next { right: -10px; }

/* ---------- final cta (dark) ---------- */
.cta-sec { background: var(--navy); color: #fff; text-align: center; overflow: hidden; position: relative; }
.cta-sec .glow { position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(102,85,240,.4), transparent 65%); pointer-events: none; }
.cta-sec h2 { font-size: clamp(30px, 4vw, 50px); position: relative; }
.cta-sec p { color: #B7B3D8; max-width: 540px; margin: 18px auto 0; position: relative; }

/* ---------- footer ---------- */
.footer { background: #101023; color: #fff; padding: 48px 0 38px; text-align: center; }
.footer .brand { justify-content: center; color: #fff; }
.footer .brand .dim { color: #7C79A0; }
.foot-links { display: flex; justify-content: center; gap: 26px; margin: 22px 0 20px; flex-wrap: wrap; }
.foot-links a { color: #B7B3D8; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.foot-links a:hover { color: #fff; }
.copyright { color: #5E5C7E; font-size: 13px; }

/* ---------- reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal.d1 { transition-delay: .08s; }
  html.js .reveal.d2 { transition-delay: .16s; }
  html.js .reveal.d3 { transition-delay: .24s; }

  /* === hero phone: rise + scale + settle, blob blooms behind === */
  html.js .reveal.a-phone { opacity: 1; transform: none; }
  html.js .a-phone .phone {
    opacity: 0; transform: rotate(-2deg) translateY(60px) scale(.9);
    transition: opacity 1s cubic-bezier(.2,.7,.3,1), transform 1.1s cubic-bezier(.16,.84,.32,1);
  }
  html.js .a-phone.in .phone { opacity: 1; transform: rotate(-2deg) translateY(0) scale(1); }
  html.js .a-phone .blob {
    opacity: 0; transform: scale(.55); transform-origin: center;
    transition: opacity 1.1s ease, transform 1.3s cubic-bezier(.16,.84,.32,1);
  }
  html.js .a-phone.in .blob { opacity: 1; transform: scale(1); }

  /* === customize: three theme pages fan in individually === */
  html.js .reveal.a-collage { opacity: 1; transform: none; }
  html.js .a-collage .cg { opacity: 0; transition: opacity .7s ease, transform .95s cubic-bezier(.16,.84,.32,1); }
  html.js .a-collage .cg-mid   { transform: translateX(-50%) translateY(46px) scale(.86) rotate(-3deg); }
  html.js .a-collage .cg-left  { transform: translateX(-70px) rotate(-6deg) scale(.9); }
  html.js .a-collage .cg-right { transform: translateX(70px) rotate(5deg) scale(.9); }
  html.js .a-collage.in .cg { opacity: 1; }
  html.js .a-collage.in .cg-mid   { transform: translateX(-50%) rotate(-3deg); transition-delay: .06s; }
  html.js .a-collage.in .cg-left  { transform: rotate(-6deg); transition-delay: .22s; }
  html.js .a-collage.in .cg-right { transform: rotate(5deg);  transition-delay: .36s; }

  /* === share: social icons pop in, staggered === */
  html.js .reveal.a-stagger { opacity: 1; transform: none; }
  html.js .a-stagger .social-tile {
    opacity: 0; transform: translateY(26px) scale(.6);
    transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.5,1);
  }
  html.js .a-stagger.in .social-tile { opacity: 1; transform: none; }
  html.js .a-stagger.in .social-tile:nth-child(1) { transition-delay: .04s; }
  html.js .a-stagger.in .social-tile:nth-child(2) { transition-delay: .10s; }
  html.js .a-stagger.in .social-tile:nth-child(3) { transition-delay: .16s; }
  html.js .a-stagger.in .social-tile:nth-child(4) { transition-delay: .22s; }
  html.js .a-stagger.in .social-tile:nth-child(5) { transition-delay: .28s; }
  html.js .a-stagger.in .social-tile:nth-child(6) { transition-delay: .34s; }
  html.js .a-stagger.in .social-tile:nth-child(7) { transition-delay: .40s; }
  html.js .a-stagger.in .social-tile:nth-child(8) { transition-delay: .46s; }

  /* === analytics: bars grow up, staggered; numbers handled by dash fade === */
  html.js .a-chart .bars span {
    transform: scaleY(0); transform-origin: bottom;
    transition: transform .8s cubic-bezier(.16,.84,.32,1);
  }
  html.js .a-chart.in .bars span { transform: scaleY(1); }
  html.js .a-chart.in .bars span:nth-child(1) { transition-delay: .15s; }
  html.js .a-chart.in .bars span:nth-child(2) { transition-delay: .23s; }
  html.js .a-chart.in .bars span:nth-child(3) { transition-delay: .31s; }
  html.js .a-chart.in .bars span:nth-child(4) { transition-delay: .39s; }
  html.js .a-chart.in .bars span:nth-child(5) { transition-delay: .47s; }
  html.js .a-chart.in .bars span:nth-child(6) { transition-delay: .55s; }
  html.js .a-chart.in .bars span:nth-child(7) { transition-delay: .63s; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.text-right .col-text { order: 0; }
  .phone-stage { min-height: 0; }
  .theme-stack { min-height: 360px; }
  .nav .nav-mid { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .social-grid { max-width: none; }
  .nav-link.hide-sm { display: none; }
  .claim { flex-wrap: nowrap; }
}

/* ============================================================
   Use-cases page (from LNX Use Cases.html)
   ============================================================ */
.uc-hero { position: relative; overflow: hidden; text-align: center; padding: 70px 0 24px; }
.uc-hero .hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 0%, rgba(102,85,240,.12), transparent 70%); }
.uc-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--violet-50); color: var(--violet-700); border: 1px solid var(--violet-100); border-radius: 999px; padding: 7px 16px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; white-space: nowrap; }
.uc-h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 0; color: var(--ink); text-wrap: balance; }
.uc-sub { font-size: 19px; line-height: 1.6; color: var(--ink-2); font-weight: 500; max-width: 640px; margin: 24px auto 0; text-wrap: pretty; }
.uc-claim { margin: 40px auto 14px; }
.uc-note { font-size: 14px; color: var(--muted); font-weight: 500; }
.uc-section { padding: 80px 0 90px; text-align: center; }
.uc-section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.025em; margin: 0; color: var(--ink); }
.uc-section .uc-lead { font-size: 18px; color: var(--ink-2); font-weight: 500; max-width: 560px; margin: 14px auto 0; line-height: 1.6; text-wrap: pretty; }
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; text-align: left; }
.uc-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-height: 92px; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, border-color .18s; }
.uc-card .uc-name { font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.uc-card .uc-go { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--violet-50); color: var(--violet-700); display: grid; place-items: center; opacity: 0; transform: translateX(-6px); transition: opacity .18s, transform .18s; }
.uc-card:hover { transform: translateY(-3px); border-color: var(--violet); box-shadow: 0 18px 40px -22px rgba(102,85,240,.4); }
.uc-card:hover .uc-go { opacity: 1; transform: none; }
.uc-cta-wrap { padding: 0 0 90px; }
.uc-cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 30px; text-align: center; padding: 70px 32px; }
.uc-cta .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 90% at 50% 0%, rgba(102,85,240,.45), transparent 60%); }
.uc-cta h2 { position: relative; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.025em; margin: 0; }
.uc-cta p { position: relative; color: #B7B3D8; font-size: 17px; font-weight: 500; margin: 16px auto 0; max-width: 520px; }
.uc-cta .btn { position: relative; margin-top: 30px; }
@media (max-width: 900px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .uc-grid { grid-template-columns: 1fr; } .uc-claim { flex-wrap: nowrap; } }

/* ============================================================
   Shared form controls (design-system inputs/selects)
   ============================================================ */
.input, textarea.input, select.input {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 13px 15px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #9A98AD; }
.input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-50); }
.form-group { margin-bottom: 18px; text-align: left; }
.form-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.form-error { background: #FDECEC; border: 1px solid #F6C9C9; color: #B23B3B; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.form-success { background: var(--green-bg, #E4F4EC); border: 1px solid #BFE6D2; color: #1F8A5B; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.btn-block { width: 100%; justify-content: center; }
.oauth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; font-family: inherit; font-weight: 700; font-size: 15px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 999px; padding: 13px 20px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.oauth-btn:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 600; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

/* ============================================================
   Auth pages (centered card) — same design language
   ============================================================ */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 22px; position: relative; }
.auth-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 0%, rgba(102,85,240,.12), transparent 70%), radial-gradient(40% 50% at 12% 100%, rgba(255,157,108,.08), transparent 70%); }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 38px 36px; text-align: center; }
.auth-logo { display: inline-flex; margin-bottom: 22px; }
.auth-logo img { height: 32px; width: auto; }
.auth-card h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.auth-card .auth-sub { font-size: 15px; color: var(--muted); margin: 0 0 26px; line-height: 1.55; }
.auth-meta { font-size: 14.5px; color: var(--muted); margin-top: 22px; }
.auth-meta a { color: var(--violet-700); font-weight: 700; }
.auth-link { color: var(--violet-700); font-weight: 600; font-size: 14px; }

/* ============================================================
   Error pages — same design language
   ============================================================ */
.err-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 22px; text-align: center; position: relative; }
.err-card { max-width: 520px; }
.err-code { font-size: clamp(64px, 12vw, 112px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--violet); }
.err-title { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 12px; color: var(--ink); }
.err-msg { font-size: 18px; color: var(--ink-2); line-height: 1.6; margin: 0 0 28px; }
.err-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
