/* RPM Enterprises — dark, modern, one theme everywhere */
:root {
  color-scheme: dark;
  --bg: #07060a;
  --bg2: #0e0c14;
  --card: rgba(255, 255, 255, 0.045);
  --card-solid: #14111b;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f1ec;
  --sub: #a59fae;
  --dim: #6f6878;
  --orange: #ff7a1a;
  --violet: #7c5cff;
  --teal: #2dd4bf;
  --radius: 22px;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--orange); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 6, 10, 0.62);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: conic-gradient(from 210deg, var(--violet), var(--orange), var(--teal), var(--violet));
  color: #0b0a10; font-weight: 900; font-size: 10px; letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: var(--sub); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-links .pill { color: #0b0a10; background: var(--text); font-weight: 600; }
.nav-links .pill:hover { color: #0b0a10; background: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 120px 0 96px; isolation: isolate; }
.glow { position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .55; }
.glow span { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.glow .a { width: 520px; height: 520px; left: 8%; top: 0; background: var(--violet); }
.glow .b { width: 440px; height: 440px; right: 6%; top: 60px; background: var(--orange); animation-delay: -6s; }
.glow .c { width: 360px; height: 360px; left: 40%; top: 260px; background: var(--teal); opacity: .6; animation-delay: -12s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: .5;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--sub); font-size: 14px; margin-bottom: 26px;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.hero h1 {
  font-family: var(--display); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(48px, 9vw, 104px); line-height: 0.98; margin: 0 0 26px; max-width: 900px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--violet), var(--orange) 55%, #ffc46b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--sub); font-size: clamp(18px, 2.2vw, 21px); max-width: 620px; margin: 0 0 36px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn.primary { background: var(--text); color: #0b0a10; box-shadow: 0 10px 40px -10px rgba(255, 122, 26, .55); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(255, 122, 26, .7); }
.btn.ghost { color: var(--text); border: 1px solid var(--line); background: var(--card); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.kicker { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.5vw, 60px); line-height: 1.02; letter-spacing: -0.015em; margin: 0 0 18px; }
.section-lead { color: var(--sub); font-size: 19px; max-width: 640px; margin: 0 0 44px; }

/* product panels */
.product {
  position: relative; overflow: hidden; border-radius: 30px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(124, 92, 255, .16), rgba(255, 122, 26, .07) 55%, rgba(255, 255, 255, .02));
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding: 48px;
  margin-bottom: 22px;
}
.product.teal { background: linear-gradient(160deg, rgba(45, 212, 191, .14), rgba(124, 92, 255, .06) 60%, rgba(255, 255, 255, .02)); }
.product .tag { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product .tag img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 30px -8px rgba(124, 92, 255, .6); }
.product .tag img.round { border-radius: 50%; box-shadow: 0 10px 30px -8px rgba(45, 212, 191, .55), 0 0 0 2px rgba(45, 212, 191, .45); }
.product .tag .emoji { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 34px; background: rgba(45, 212, 191, .15); border: 1px solid rgba(45, 212, 191, .3); }
.product .tag b { display: block; font-size: 24px; letter-spacing: -0.01em; }
.product .tag small { color: var(--sub); font-size: 15px; }
.product p { color: var(--sub); margin: 0 0 22px; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.chips li { font-size: 14px; color: var(--text); padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.links { display: flex; flex-wrap: wrap; gap: 18px; }
.links a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 2px; }
.links a:hover { border-color: var(--orange); }
.shot {
  justify-self: center; width: min(360px, 100%); border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 8px rgba(255, 255, 255, .03);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform .5s ease;
}
.shot:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; justify-self: stretch; }
.stat { padding: 22px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--sub); font-size: 14px; }
.quote { grid-column: 1 / -1; padding: 22px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); color: var(--sub); font-size: 15px; }
.quote q { color: var(--text); font-style: italic; }

/* values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.value .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(255, 122, 26, .12); color: var(--orange); }
.value h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.value p { margin: 0; color: var(--sub); font-size: 16px; }

/* contact */
.contact {
  text-align: center; border-radius: 34px; padding: 72px 28px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 92, 255, .28), transparent 65%), var(--bg2);
}
.contact h2 { margin-bottom: 14px; }
.contact p { color: var(--sub); font-size: 19px; margin: 0 auto 30px; max-width: 520px; }

/* footer */
footer.site { border-top: 1px solid var(--line); margin-top: 40px; }
footer.site .wrap { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--dim); font-size: 14px; }
footer.site a { color: var(--sub); text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* documents (privacy, support) */
.doc { max-width: 760px; padding: 72px 22px 24px; }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 68px); line-height: 1; letter-spacing: -0.015em; margin: 0 0 12px; }
.doc .updated { color: var(--sub); margin: 0 0 40px; }
.doc h2 { font-family: var(--sans); font-weight: 650; font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; margin: 26px 0 6px; }
.doc p, .doc li { color: #d8d3dc; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc strong { color: var(--text); }
.doc .note { padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .glow span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot { transform: none; }
}

/* phones */
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; padding: 30px 24px; }
  .shot { transform: none; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-links a:not(.pill) { display: none; }
  .hero { padding: 84px 0 64px; }
  section { padding: 52px 0; }
  .stat b { font-size: 36px; }
}
