/* Prompt AI Solutions house system. Every page on promptaisolutions.com that this site owns loads
   this file and nothing else for layout. Dark first; data-theme="light" flips it (toggle in pas.js). */
:root {
  --bg: #0a0a0b; --bg-2: #111113; --bg-3: #18181b; --line: #1f1f23; --line-2: #2a2a30;
  --faint: #8e8e96; --quiet: #9a9aa2; --text: #f0f0f3; --strong: #ffffff;
  --accent: #8b6dff; --accent-2: #3b82f6; --on-accent: #ffffff;
  --grad: linear-gradient(135deg, #6d4aed, #2563eb);
  --glow: rgba(124, 92, 255, 0.22); --glow-soft: rgba(124, 92, 255, 0.12);
  --nav-bg: rgba(10, 10, 11, 0.72); --nav-bg-2: rgba(10, 10, 11, 0.94);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --max: 1040px; --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #ffffff; --bg-2: #f7f7f9; --bg-3: #eeeef2; --line: #e4e4e7; --line-2: #d1d1d6;
  --faint: #66666e; --quiet: #55555c; --text: #1d1d1f; --strong: #111113;
  --accent: #6d4aed; --accent-2: #2563eb; --grad: linear-gradient(135deg, #6d4aed, #2563eb);
  --glow: rgba(109, 74, 237, 0.12); --glow-soft: rgba(109, 74, 237, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.72); --nav-bg-2: rgba(255, 255, 255, 0.94);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; color: var(--strong); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--strong); }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 200; background: var(--bg-2); padding: 8px 12px; border-radius: 8px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: var(--nav-bg-2); border-bottom-color: var(--line); }
.nav__in { max-width: var(--max); margin: 0 auto; padding-inline: 24px; height: 56px; display: flex; align-items: center; gap: 20px; }
.brand { font-weight: 700; font-size: 16px; color: var(--strong); letter-spacing: -0.01em; white-space: nowrap; }
.brand span { color: var(--faint); font-weight: 500; }
.brand:hover { color: var(--accent); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { color: var(--quiet); font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--strong); }
.theme { background: none; border: 0; cursor: pointer; color: var(--quiet); padding: 6px; display: flex; }
.theme:hover { color: var(--strong); }
.theme .moon { display: none; }
[data-theme="light"] .theme .sun { display: none; }
[data-theme="light"] .theme .moon { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 148px 0 72px; }
.hero::before { content: ""; position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  width: min(900px, 140vw); height: 440px; background: radial-gradient(ellipse, var(--glow) 0%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero--center { text-align: center; }
.hero--center .lede { margin-inline: auto; }
.hero--split .wrap { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 880px) { .hero--split .wrap { grid-template-columns: 1.05fr 1fr; } }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
h1 { font-size: clamp(40px, 6.6vw, 68px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--quiet); max-width: 38ch; line-height: 1.6; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero--center .actions, .cta .actions { justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font); padding: 15px 26px; border-radius: 999px;
  background: var(--grad); color: var(--on-accent); border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { color: var(--strong); border-color: var(--quiet); box-shadow: none; }

/* Sections */
section { padding: clamp(64px, 9vw, 104px) 0; }
section.tight { padding-top: 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h2 { font-size: clamp(28px, 4.2vw, 42px); letter-spacing: -0.025em; margin-bottom: 14px; }
.sub { font-size: clamp(16px, 1.9vw, 18px); color: var(--quiet); max-width: 56ch; line-height: 1.65; margin-bottom: clamp(28px, 4vw, 40px); }
.prose p { color: var(--quiet); font-size: clamp(16px, 1.8vw, 18px); max-width: 62ch; line-height: 1.75; margin-bottom: 16px; }
.prose p strong { color: var(--text); font-weight: 600; }

/* Cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px; color: var(--text); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s var(--ease); }
a.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 10px 30px rgba(0,0,0,.18); color: var(--text); }
.card h3 { font-family: var(--font); font-size: 18px; font-weight: 600; }
.card p { font-size: 15px; color: var(--quiet); line-height: 1.6; }
.card .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.card .go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent); }
.card--feature { padding: clamp(26px, 4vw, 36px); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.card--feature h3 { font-family: var(--display); font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--quiet); font-size: 15px; }
.card li { margin: 5px 0; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 34px/1 var(--display); color: var(--accent); opacity: .45; margin-bottom: 12px; }
.steps h3 { font-family: var(--font); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--quiet); line-height: 1.6; }

/* Media */
.film { margin: 0; background: #000; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0,0,0,.3), 0 0 60px var(--glow-soft); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.filmnote { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 13px; font-weight: 500; color: var(--faint); padding-top: 14px; }

/* Stat */
.stat { display: grid; gap: 12px 40px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(26px, 5vw, 44px); }
@media (min-width: 640px) { .stat { grid-template-columns: auto 1fr; } }
.stat .big { font: 700 clamp(56px, 9vw, 96px)/.9 var(--display); }
.stat p { font-size: clamp(16px, 2vw, 19px); max-width: 36ch; }
.stat .vs { color: var(--quiet); font-size: 15px; margin-top: 6px; }
.stat cite { display: block; font-style: normal; font-size: 13px; color: var(--faint); margin-top: 14px; }
.stat cite a { color: var(--faint); text-decoration: underline; }

/* Quote band */
.band { border-block: 1px solid var(--line); padding-block: clamp(28px, 5vw, 44px); display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .band { grid-template-columns: 1.4fr auto; } }
.band p:not(.eyebrow) { color: var(--quiet); font-size: 17px; max-width: 48ch; }

/* Closing CTA */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; top: 18%; left: 50%; transform: translateX(-50%); width: min(640px, 120vw); height: 300px;
  background: radial-gradient(ellipse, var(--glow) 0%, transparent 70%); pointer-events: none; }
.cta .wrap { position: relative; }
.cta .sub { margin-inline: auto; }
.cta .mail { display: block; margin-top: 16px; font-size: 14px; color: var(--quiet); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 13px; color: var(--faint); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--quiet); font-weight: 500; }
.foot a:hover { color: var(--strong); }
.foot .fine { flex-basis: 100%; max-width: 70ch; line-height: 1.6; }

@media (max-width: 640px) {
  .nav__in { gap: 12px; }
  .nav__links { gap: 14px; }
  .nav__links a.opt, .brand span { display: none; }
  .brand { font-size: 15px; }
  .theme { padding: 4px; margin-right: -4px; }
  .hero { padding: 116px 0 48px; }
  .wrap, .nav__in { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
