/* =========================================================================
   OmniAlign — Design System
   A Desk2Cloud Platform · Premium enterprise SaaS aesthetic
   ========================================================================= */

:root{
  /* Brand palette */
  --ink:            #0A0E1B;
  --ink-2:          #0F1530;
  --ink-3:          #141B3C;
  --line-dark:      rgba(255,255,255,0.09);
  --line-dark-soft: rgba(255,255,255,0.05);

  --paper:          #FFFFFF;
  --paper-tint:     #F6F7FB;
  --paper-tint-2:   #EEF1F8;
  --line:           #E4E7F1;

  --ink-text:       #0B0F1E;
  --body-text:      #454B63;
  --muted:          #6C7290;
  --on-dark:        #F4F6FC;
  --on-dark-dim:    #A6ADCC;

  --brand:          #2F5CFF;
  --brand-2:        #7C5CFF;
  --brand-ink:      #1739C9;
  --amber:          #FFA928;
  --amber-ink:      #B9740A;
  --teal:           #17C3B2;
  --success:        #1FAA59;
  --danger:         #E5484D;

  --grad-hero: linear-gradient(135deg, #0A0E1B 0%, #121A3E 45%, #1B2657 75%, #2A2E75 100%);
  --grad-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  --grad-amber: linear-gradient(135deg, #FFC661 0%, var(--amber) 100%);
  --grad-mesh: radial-gradient(circle at 15% 20%, rgba(47,92,255,0.35), transparent 40%),
               radial-gradient(circle at 85% 15%, rgba(124,92,255,0.30), transparent 45%),
               radial-gradient(circle at 50% 90%, rgba(23,195,178,0.18), transparent 45%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15,20,40,0.06), 0 1px 1px rgba(15,20,40,0.04);
  --shadow-md: 0 8px 24px rgba(15,20,45,0.10), 0 2px 6px rgba(15,20,45,0.06);
  --shadow-lg: 0 24px 60px rgba(15,20,45,0.16), 0 8px 20px rgba(15,20,45,0.08);
  --shadow-glow: 0 0 0 1px rgba(47,92,255,0.15), 0 20px 50px rgba(47,92,255,0.20);

  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                            */
/* ---------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-sans);
  color: var(--body-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul, ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5,p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
input, textarea, select{ font-family:inherit; }

.container{
  width:100%;
  max-width: var(--container);
  margin:0 auto;
  padding: 0 24px;
}
@media (max-width: 640px){ .container{ padding:0 20px; } }

section{ position:relative; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  color: var(--brand-ink);
  background: rgba(47,92,255,0.08);
  border: 1px solid rgba(47,92,255,0.18);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background: var(--brand); }
section.on-dark .eyebrow{
  color:#CBD6FF; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16);
}
section.on-dark .eyebrow .dot{ background: #8FB0FF; }

h1, .h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink-text);
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink-text);
}
h3, .h3{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.3;
  color: var(--ink-text);
}
.lede{
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}
section.on-dark h1, section.on-dark h2, section.on-dark h3{ color: var(--on-dark); }
section.on-dark p, section.on-dark .lede{ color: var(--on-dark-dim); }
section.on-dark{ color: var(--on-dark-dim); }

.section-head{
  max-width: 760px;
  margin: 0 auto 56px;
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:18px;
}
.section-head.left{ margin:0 0 48px; align-items:flex-start; text-align:left; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47,92,255,0.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47,92,255,0.45); }
.btn-amber{
  background: var(--grad-amber);
  color: #3A2400;
  box-shadow: 0 10px 24px rgba(255,169,40,0.35);
}
.btn-amber:hover{ transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,169,40,0.45); }
.btn-ghost{
  background: transparent;
  color: var(--ink-text);
  border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--brand); color: var(--brand-ink); background: rgba(47,92,255,0.05); }
.btn-ghost-dark{
  background: rgba(255,255,255,0.06);
  color: var(--on-dark);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.btn-ghost-dark:hover{ background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.32); transform: translateY(-2px); }
.btn-sm{ padding: 10px 18px; font-size: 13.5px; }
.btn-block{ width:100%; }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                            */
/* ---------------------------------------------------------------------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  padding: 14px 0;
  background: rgba(10,14,27,0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{ box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight: 800; font-size: 19px; color: var(--on-dark); letter-spacing: -0.01em;
}
.brand-mark{
  width:34px; height:34px; border-radius:10px;
  background: var(--grad-brand);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 16px rgba(47,92,255,0.45);
  flex-shrink:0;
}
.brand-mark svg{ width:19px; height:19px; }
.brand-logo-img{ height:26px; width:auto; display:block; flex-shrink:0; }
.brand small{
  display:block; font-size: 10px; font-weight:600; letter-spacing:0.09em;
  text-transform:uppercase; color: var(--on-dark-dim); margin-top:1px;
}
.brand-text-wrap{ display:flex; flex-direction:column; line-height:1.05; }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav a{
  display:inline-block; padding:9px 14px; border-radius:999px;
  font-size: 14px; font-weight:600; color: var(--on-dark-dim);
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover{ color: var(--on-dark); background: rgba(255,255,255,0.07); }
.main-nav a.active{ color: var(--on-dark); background: rgba(255,255,255,0.1); }

.nav-actions{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:none; width:40px; height:40px; border-radius:10px; border:1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06); align-items:center; justify-content:center; flex-direction:column; gap:4px;
}
.nav-toggle span{ width:18px; height:2px; background:#fff; border-radius:2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px){
  .main-nav{
    position: fixed; inset: 66px 12px auto 12px;
    background: rgba(10,14,27,0.97); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 18px;
    flex-direction:column; align-items:stretch; padding: 10px;
    transform: translateY(-12px) scale(0.98); opacity:0; pointer-events:none;
    transition: all .3s var(--ease);
    max-height: 74vh; overflow:auto;
  }
  .main-nav.is-open{ transform:none; opacity:1; pointer-events:auto; }
  .main-nav a{ padding:13px 16px; }
  .nav-toggle{ display:flex; }
  .nav-actions .btn-sm.desktop-only{ display:none; }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero{
  position:relative;
  background: var(--grad-hero);
  padding: 96px 0 120px;
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:0; background: var(--grad-mesh); opacity:.9; pointer-events:none;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(to bottom, black, transparent 75%);
  opacity:.35; pointer-events:none;
}
.hero-inner{ position:relative; z-index:2; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:56px; align-items:center; }
@media (max-width: 980px){ .hero-grid{ grid-template-columns:1fr; } }
.hero h1{ margin: 20px 0 22px; }
.hero .lede{ color: var(--on-dark-dim); max-width: 560px; }
.hero-stats{ display:flex; gap:34px; margin-top:40px; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family: var(--font-display); font-size: 2rem; color:#fff; }
.hero-stat span{ font-size:13px; color: var(--on-dark-dim); }

/* Simulated dashboard preview panel */
.panel{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.panel-chrome{ display:flex; align-items:center; gap:8px; margin-bottom:14px; padding: 0 4px; }
.chrome-dot{ width:9px; height:9px; border-radius:50%; background: rgba(255,255,255,0.22); }
.panel-titlebar{ margin-left:8px; font-size:12px; color: var(--on-dark-dim); font-weight:600; letter-spacing:.02em; }
.panel-body{
  background: var(--ink-2); border-radius: 16px; padding:20px; border:1px solid var(--line-dark-soft);
}
.kpi-strip{ display:grid; grid-template-columns: repeat(4,1fr); gap:10px; margin-bottom:16px; }
.kpi-tile{
  background: rgba(255,255,255,0.045); border:1px solid var(--line-dark-soft); border-radius:12px; padding:12px 10px;
}
.kpi-tile b{ display:block; font-family:var(--font-display); font-size:1.35rem; color:#fff; }
.kpi-tile span{ font-size:10.5px; color: var(--on-dark-dim); font-weight:600; }
.kpi-tile.pos b{ color:#8FE6B7; }
.mini-chart{
  height:120px; border-radius:12px; background: rgba(255,255,255,0.035); border:1px solid var(--line-dark-soft);
  display:flex; align-items:flex-end; gap:6px; padding:14px; margin-bottom:12px;
}
.mini-chart i{
  flex:1; border-radius:5px 5px 0 0;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  transform-origin:bottom; animation: growBar 1.4s var(--ease) both;
}
.mini-chart i:nth-child(odd){ background: linear-gradient(180deg, #57E3D3, var(--teal)); }
@keyframes growBar{ from{ transform: scaleY(0);} to{ transform: scaleY(1);} }
.row-list{ display:flex; flex-direction:column; gap:8px; }
.row-item{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background: rgba(255,255,255,0.035); border:1px solid var(--line-dark-soft); border-radius:10px; padding:9px 12px;
  font-size:12px; color: var(--on-dark-dim);
}
.row-item b{ color:#fff; font-weight:600; }
.tag{ font-size:10px; font-weight:700; padding:3px 8px; border-radius:999px; letter-spacing:.03em; }
.tag.green{ background: rgba(31,170,89,0.18); color:#7CEAA6; }
.tag.amber{ background: rgba(255,169,40,0.18); color:#FFCE7E; }
.tag.blue{ background: rgba(47,92,255,0.2); color:#9EB5FF; }

.marquee-strip{
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  padding: 22px 0;
}
.marquee-strip .container{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px;
  font-size: 12.5px; color: var(--on-dark-dim); font-weight:600; letter-spacing:.03em; text-transform:uppercase;
}

/* ---------------------------------------------------------------------- */
/* Generic sections                                                        */
/* ---------------------------------------------------------------------- */
.section{ padding: 108px 0; }
.section.tight{ padding: 76px 0; }
.section.on-dark{ background: var(--ink); }
.section.on-tint{ background: var(--paper-tint); }
.section.on-tint-2{ background: var(--paper-tint-2); }
.divider-fade{ height:1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

.grid{ display:grid; gap:24px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3{ grid-template-columns: repeat(2,1fr); } .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; } }

.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(47,92,255,0.25); }
.card .icon-badge{ margin-bottom:18px; }
.card h3{ margin-bottom:10px; }
.card p{ font-size:14.5px; line-height:1.65; color: var(--muted); }

.icon-badge{
  width:48px; height:48px; border-radius:14px;
  background: rgba(47,92,255,0.09);
  display:flex; align-items:center; justify-content:center;
  color: var(--brand);
}
.icon-badge svg{ width:24px; height:24px; }
.icon-badge.amber{ background: rgba(255,169,40,0.14); color: var(--amber-ink); }
.icon-badge.teal{ background: rgba(23,195,178,0.14); color: #0C8D80; }
.icon-badge.violet{ background: rgba(124,92,255,0.13); color: var(--brand-2); }

.on-dark .card{
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.09);
}
.on-dark .card:hover{ border-color: rgba(255,255,255,0.22); }
.on-dark .card p{ color: var(--on-dark-dim); }
.on-dark .icon-badge{ background: rgba(255,255,255,0.08); color:#AFC2FF; }

/* Feature split (image/panel + text) */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center; }
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }
@media (max-width: 940px){ .split, .split.reverse{ grid-template-columns:1fr; direction:ltr; } }
.feature-list{ display:flex; flex-direction:column; gap:16px; margin-top:26px; }
.feature-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; color: var(--body-text); }
.feature-list .check{
  flex-shrink:0; width:22px; height:22px; border-radius:50%; background: rgba(31,170,89,0.12); color: var(--success);
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.feature-list .check svg{ width:12px; height:12px; }

/* Stat band */
.stat-band{
  display:grid; grid-template-columns: repeat(4,1fr); gap:1px;
  background: var(--line-dark);
  border-radius: var(--radius-lg); overflow:hidden;
}
@media (max-width: 760px){ .stat-band{ grid-template-columns: repeat(2,1fr); } }
.stat-cell{
  background: var(--ink-2); padding: 34px 24px; text-align:center;
}
.stat-cell b{ display:block; font-family: var(--font-display); font-size: 2.4rem; color:#fff; }
.stat-cell span{ font-size:13px; color: var(--on-dark-dim); font-weight:600; }

/* Tables */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius: var(--radius-md); }
table.data{ width:100%; border-collapse:collapse; min-width: 640px; font-size:14px; }
table.data caption{ text-align:left; caption-side:top; padding:16px 20px 0; font-weight:700; color:var(--ink-text); font-size:15px; }
table.data th, table.data td{ padding: 13px 18px; text-align:left; border-bottom:1px solid var(--line); }
table.data thead th{
  background: var(--paper-tint); font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color: var(--muted);
  font-weight:700;
}
table.data tbody tr:last-child td{ border-bottom:none; }
table.data tbody tr:hover{ background: rgba(47,92,255,0.035); }
.pill{ display:inline-block; padding:3px 10px; border-radius:999px; font-size:11.5px; font-weight:700; }
.pill.admin{ background: rgba(47,92,255,0.1); color: var(--brand-ink); }
.pill.pm{ background: rgba(23,195,178,0.12); color:#0C8D80; }
.pill.customer{ background: rgba(255,169,40,0.14); color: var(--amber-ink); }

/* Tabs */
.tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:32px; }
.tab-btn{
  padding:10px 18px; border-radius:999px; border:1px solid var(--line); background: var(--paper);
  font-size:13.5px; font-weight:600; color: var(--muted); transition: all .2s ease;
}
.tab-btn.active{ background: var(--ink-text); color:#fff; border-color: var(--ink-text); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(10px);} to{ opacity:1; transform:none; } }

/* Steps / workflow */
.steps{ display:grid; grid-template-columns: repeat(5,1fr); gap:18px; }
@media (max-width: 980px){ .steps{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr; } }
/* Center a shorter step sequence (e.g. a 4-step flow) instead of stretching
   it across the full 5-column grid. */
.steps.steps-4{ grid-template-columns: repeat(4, minmax(180px,240px)); justify-content:center; }
@media (max-width: 980px){ .steps.steps-4{ grid-template-columns: repeat(2, minmax(180px,240px)); } }
@media (max-width: 560px){ .steps.steps-4{ grid-template-columns: minmax(0,320px); } }
.step{
  position:relative; background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px 20px;
}
.step b.num{
  display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%;
  background: var(--grad-brand); color:#fff; font-size:13px; font-weight:800; margin-bottom:14px;
}
.step h4{ font-size:15px; font-weight:700; color: var(--ink-text); margin-bottom:6px; }
.step p{ font-size:13px; color: var(--muted); line-height:1.55; }
.step-arrow{ position:absolute; right:-24px; top:50%; transform: translateY(-50%); color: var(--line); }
@media (max-width: 980px){ .step-arrow{ display:none; } }

/* Timeline (vertical) */
.timeline{ display:flex; flex-direction:column; gap:0; }
.tl-item{ display:grid; grid-template-columns: 120px 24px 1fr; gap:0; }
.tl-when{ padding: 4px 20px 34px 0; font-weight:700; font-size:13px; color: var(--brand-ink); text-align:right; }
.tl-rail{ position:relative; display:flex; justify-content:center; }
.tl-rail::before{ content:""; position:absolute; top:4px; bottom:0; width:2px; background: var(--line); }
.tl-dot{ position:relative; z-index:1; width:14px; height:14px; border-radius:50%; background: var(--grad-brand); margin-top:4px; box-shadow: 0 0 0 4px rgba(47,92,255,0.15); }
.tl-item:last-child .tl-rail::before{ display:none; }
.tl-content{ padding: 0 0 34px 24px; }
.tl-content h4{ font-size:16px; font-weight:700; color: var(--ink-text); margin-bottom:6px; }
.tl-content p{ font-size:14px; color: var(--muted); }
@media (max-width: 640px){ .tl-when{ display:none; } .tl-item{ grid-template-columns: 24px 1fr; } }

/* Accordion / FAQ */
.accordion-item{ border-bottom:1px solid var(--line); }
.accordion-q{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding: 22px 4px; width:100%; text-align:left; background:none; border:none;
  font-size:16px; font-weight:700; color: var(--ink-text);
}
.accordion-q .plus{
  flex-shrink:0; width:26px; height:26px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; position:relative; transition: transform .3s ease;
}
.accordion-q .plus::before, .accordion-q .plus::after{ content:""; position:absolute; background: var(--ink-text); }
.accordion-q .plus::before{ width:10px; height:2px; }
.accordion-q .plus::after{ width:2px; height:10px; transition: transform .3s ease; }
.accordion-item.open .accordion-q .plus{ transform: rotate(180deg); background: var(--ink-text); }
.accordion-item.open .accordion-q .plus::before, .accordion-item.open .accordion-q .plus::after{ background:#fff; }
.accordion-item.open .accordion-q .plus::after{ transform: scaleY(0); }
.accordion-a{ max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.accordion-a-inner{ padding: 0 34px 24px 4px; font-size:14.5px; line-height:1.7; color: var(--muted); }

/* Phone mockup (mobile app illustrative UI) */
.phone{
  width: 260px; margin: 0 auto;
  background: #05070F; border-radius: 40px; padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.phone-notch{ width:80px; height:18px; background:#05070F; border-radius:0 0 14px 14px; margin: 0 auto 8px; position:relative; z-index:2; }
.phone-screen{
  background: linear-gradient(180deg, #101733, #0B0F22);
  border-radius: 26px; padding:16px; min-height: 430px; margin-top:-26px;
  display:flex; flex-direction:column; gap:12px;
}
.phone-status{ display:flex; justify-content:space-between; font-size:10px; color:#8993BF; padding: 6px 4px 2px; }
.phone-card{ background: rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:16px; padding:14px; }
.phone-card h5{ font-size:12px; color:#fff; margin:0 0 8px; font-weight:700; }
.phone-kpi-row{ display:flex; gap:8px; }
.phone-kpi{ flex:1; background: rgba(255,255,255,0.05); border-radius:12px; padding:10px; text-align:center; }
.phone-kpi b{ display:block; color:#fff; font-size:15px; font-family: var(--font-display); }
.phone-kpi span{ font-size:9px; color:#8993BF; }
.phone-list-row{ display:flex; justify-content:space-between; align-items:center; font-size:11px; color:#C6CCE6; padding:8px 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.phone-tabbar{ margin-top:auto; display:flex; justify-content:space-around; padding-top:10px; border-top:1px solid rgba(255,255,255,0.08); }
.phone-tabbar span{ width:20px; height:20px; border-radius:6px; background: rgba(255,255,255,0.12); }
.phone-tabbar span.active{ background: var(--grad-brand); }

/* Role-based access infographic (Admin -> Project Manager -> Customer) */
.rbac-flow{ display:flex; align-items:stretch; gap:16px; flex-wrap:wrap; justify-content:center; }
.rbac-node{
  flex:1 1 220px; max-width:260px; background: var(--paper); border:1px solid var(--line);
  border-radius: var(--radius-md); padding:26px 22px; text-align:center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.rbac-node:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(47,92,255,0.25); }
.rbac-node .icon-badge{ margin:0 auto 16px; }
.rbac-node h4{ font-size:15px; font-weight:700; color: var(--ink-text); margin-bottom:8px; }
.rbac-node p{ font-size:13px; color: var(--muted); line-height:1.6; }
.rbac-arrow{ display:flex; align-items:center; justify-content:center; color: var(--line); flex:0 0 auto; }
.rbac-arrow svg{ width:22px; height:22px; }
@media (max-width: 780px){ .rbac-flow{ flex-direction:column; align-items:center; } .rbac-arrow svg{ transform:rotate(90deg); } }

/* Real product screenshots (framed) */
.shot{
  border-radius: var(--radius-lg); overflow:hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: var(--paper);
}
.shot img{ width:100%; display:block; }
.on-dark .shot, section.on-dark .shot{ border-color: rgba(255,255,255,0.12); }
.shot-caption{ margin-top:12px; font-size:12.5px; color: var(--muted); text-align:center; }
section.on-dark .shot-caption{ color: var(--on-dark-dim); }

/* Real mobile-app screenshots, presented in a simple device frame */
.phone-frame{
  width: 260px; margin: 0 auto;
  background: #05070F; border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.phone-frame .phone-notch{ width:80px; height:18px; background:#05070F; border-radius:0 0 14px 14px; margin: 0 auto 6px; position:relative; z-index:2; }
.phone-frame img{ width:100%; display:block; border-radius:26px; }

/* Logo / partner strip */
.logo-strip{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:center; }
.logo-chip{
  padding:10px 20px; border:1px solid var(--line); border-radius:999px; font-weight:700; font-size:13px; color: var(--muted);
  background: var(--paper);
}

/* CTA band */
.cta-band{
  position:relative; overflow:hidden;
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:22px;
}
.cta-band::before{ content:""; position:absolute; inset:0; background: var(--grad-mesh); opacity:.8; }
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ color:#fff; max-width:640px; }
.cta-band p{ color: var(--on-dark-dim); max-width:520px; }
@media (max-width: 640px){ .cta-band{ padding: 52px 26px; } }

/* Footer */
.site-footer{ background: var(--ink); color: var(--on-dark-dim); padding: 72px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap:32px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h5{ color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.footer-grid ul{ display:flex; flex-direction:column; gap:11px; }
.footer-grid a{ font-size:14px; color: var(--on-dark-dim); transition: color .2s ease; }
.footer-grid a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:28px; flex-wrap:wrap; gap:14px; font-size:13px; }
.footer-brand-blurb{ font-size:14px; line-height:1.6; max-width:280px; margin-top:14px; color: var(--on-dark-dim); }
.social-row{ display:flex; gap:10px; }
.social-row a{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.14); display:flex; align-items:center; justify-content:center; }
.social-row a:hover{ background: rgba(255,255,255,0.08); }

/* Reveal animation — progressive enhancement only.
   Content is visible by default; it is hidden-then-revealed ONLY when the
   early inline script has confirmed JS is running (html.js) AND
   IntersectionObserver is supported (html.observer). If either is missing,
   everything stays fully visible with no animation. This guarantees the
   page is never blank for a visitor without JavaScript. */
html.js.observer .reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js.observer .reveal.in{ opacity:1; transform:none; }
html.js.observer .reveal-stagger > *{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js.observer .reveal-stagger.in > *{ opacity:1; transform:none; }
.reveal-stagger.in > *:nth-child(1){ transition-delay: .02s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: .14s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: .2s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay: .26s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay: .32s; }

/* Page header (interior pages) */
.page-hero{
  background: var(--grad-hero); padding: 84px 0 92px; position:relative; overflow:hidden;
}
.page-hero::before{ content:""; position:absolute; inset:0; background: var(--grad-mesh); opacity:.85; }
.page-hero .container{ position:relative; z-index:1; }
.breadcrumb{ font-size:13px; color: var(--on-dark-dim); margin-bottom:18px; display:flex; gap:8px; align-items:center; }
.breadcrumb a:hover{ color:#fff; }
.page-hero h1{ color:#fff; max-width:820px; }
.page-hero .lede{ color: var(--on-dark-dim); max-width:640px; margin-top:16px; }

/* Quote card */
.quote-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-md); padding:26px;
  font-size:15px; color: var(--ink-text); font-weight:500; position:relative;
}
.quote-card::before{ content:"\201C"; font-family: var(--font-display); font-size:60px; color: rgba(47,92,255,0.18); position:absolute; top:6px; left:16px; }
.quote-card p{ position:relative; z-index:1; padding-left:8px; color: var(--ink-text); }
.quote-card footer{ margin-top:14px; font-size:12.5px; color: var(--muted); font-weight:600; }

/* Definition / answer box (AI-answer optimized) */
.answer-box{
  background: var(--paper-tint); border-left:4px solid var(--brand); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px; font-size:15px; line-height:1.7; color: var(--ink-text);
}
.answer-box strong{ color: var(--brand-ink); }

/* Utility */
.mt-0{ margin-top:0 !important; }
.text-center{ text-align:center; }
.na{ color: var(--muted); font-size:13px; }
.small-caps{ font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--muted); }
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{ padding:7px 14px; border-radius:999px; background: var(--paper-tint); border:1px solid var(--line); font-size:12.5px; font-weight:600; color: var(--body-text); }
.two-col-list{ columns:2; gap:32px; }
@media (max-width: 640px){ .two-col-list{ columns:1; } }
.two-col-list li{ break-inside: avoid; margin-bottom:10px; font-size:14px; color: var(--body-text); display:flex; gap:8px; }
.back-to-top{ position:fixed; right:22px; bottom:22px; width:46px; height:46px; border-radius:50%; background: var(--ink-text); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition: opacity .3s ease, transform .3s ease; z-index:90; box-shadow: var(--shadow-md); }
.back-to-top.visible{ opacity:1; pointer-events:auto; }
.back-to-top:hover{ transform: translateY(-3px); }
