/* Pelli Live: the Pelli Family Pins stream colors (deep purple, purple glow, green).
   Layout: hero with the invite form, then the tools (Studio View, Camera Window and Tap Challenge featured), benefits, steps, the Fully Managed card. */
:root {
  --bg: #0b0614;
  --bg-2: #140b24;
  --panel: #170d29;
  --panel-solid: #1a0f2e;
  --line: rgba(164, 107, 255, .22);
  --line-strong: rgba(164, 107, 255, .55);
  --purple: #a46bff;
  --purple-2: #c79bff;
  --lavender: #d8c3f9;
  --green: #7ee08a;
  --light-teal: #8ae490;
  --light-teal-bg: rgba(138, 228, 144, .15);
  --text: #f6f1ff;
  --muted: #b9a9d6;
  --faint: rgba(185, 169, 214, .7);
  --ink-on-green: #0d1a10;
  --error: #ff9aa6;
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(80, 30, 160, .55);
  --display: Unbounded, "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Nothing may ever push the page wider than the screen (no sideways sliding on phones). */
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100%; background: var(--bg); color: var(--text); overflow-x: hidden; overflow-x: clip;
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--purple-2); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.01em; }
h1, h2 { font-family: var(--display); font-weight: 800; text-wrap: balance; }
h3 { font-weight: 700; font-size: 18px; }

/* Background: still glows painted once (no moving or blurred layers, so scrolling stays smooth). */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 45vmax at 0% 0%, rgba(107, 47, 214, .38), transparent 70%),
    radial-gradient(45vmax 40vmax at 100% 35%, rgba(31, 143, 74, .2), transparent 70%),
    radial-gradient(50vmax 40vmax at 40% 100%, rgba(138, 60, 255, .2), transparent 70%),
    var(--bg);
}

/* Nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 14px max(20px, calc((100% - 1200px) / 2)); background: rgba(11, 6, 20, .94);
  border-bottom: 1px solid rgba(164, 107, 255, .14);
}
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.nav nav a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 28px; width: auto; filter: drop-shadow(0 0 10px rgba(114, 12, 252, .45)); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(126, 224, 138, .7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(126, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 224, 138, 0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font: 700 16px/1 var(--body); white-space: nowrap;
  color: var(--ink-on-green); background: linear-gradient(135deg, var(--green) 0%, #b8f5a8 100%);
  box-shadow: 0 10px 30px -8px rgba(126, 224, 138, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn:focus-visible, input:focus-visible, .nav nav a:focus-visible, .brand:focus-visible { outline: 3px solid var(--purple-2); outline-offset: 3px; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 14px; }
/* Log In: the quiet partner of Request Invite in the top bar. */
.btn-ghost { color: var(--text); background: transparent; border: 1px solid var(--line-strong); box-shadow: none; }
.btn-block { width: 100%; }
.btn[disabled] { filter: grayscale(.4) brightness(.85); cursor: progress; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 36px 20px 12px;
}
.hero-copy { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(164, 107, 255, .1); font-size: 13px; font-weight: 600; color: var(--lavender); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); }
.grad { background: linear-gradient(100deg, var(--purple-2) 0%, var(--purple) 35%, var(--green) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); margin: 22px 0; max-width: 560px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(126, 224, 138, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%237ee08a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.stats div { min-width: 0; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.stats strong { display: block; font: 800 clamp(22px, 2.6vw, 30px)/1.1 var(--display); color: var(--green); font-variant-numeric: tabular-nums; }
.stats span { font-size: 13px; color: var(--muted); }
.stats-note { margin: 10px 0 0; font-size: 12px; color: var(--faint); }

/* Form */
.form-card {
  position: relative; min-width: 0; padding: 32px; border-radius: 28px; border: 1.5px solid transparent;
  background: linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box, linear-gradient(140deg, var(--purple), rgba(164, 107, 255, .15) 45%, var(--green)) border-box;
  box-shadow: var(--shadow), 0 0 70px -20px rgba(164, 107, 255, .45);
}
.form-card h2 { font-size: 24px; }
.form-sub { margin: 8px 0 22px; color: var(--muted); font-size: 15px; }
form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--lavender); }
input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(164, 107, 255, .3);
  background: rgba(11, 6, 20, .7); color: var(--text); font: 500 16px var(--body); transition: border-color .2s, box-shadow .2s;
}
input::placeholder { color: rgba(185, 169, 214, .45); }
input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(164, 107, 255, .2); }
input[aria-invalid="true"] { border-color: #ff7a8a; box-shadow: 0 0 0 4px rgba(255, 122, 138, .15); }
.at { position: relative; display: block; }
.at::before { content: "@"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.at input { padding-left: 32px; }
.field-error { font-size: 12px; font-weight: 500; color: var(--error); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-msg { margin: 0; font-size: 14px; color: var(--error); }
.form-msg:empty { display: none; }
.fine { margin: 0; font-size: 12px; color: var(--faint); text-align: center; }
.form-done { text-align: center; padding: 28px 8px; }
.form-done p { color: var(--muted); }
.done-icon { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--ink-on-green); font: 700 36px/1 var(--body); box-shadow: 0 0 0 10px rgba(126, 224, 138, .15), 0 0 60px rgba(126, 224, 138, .5); }

/* Sections */
/* Gaps between sections halved (Chad, Oct 27 2026). */
.section { max-width: 1200px; margin: 0 auto; padding: 48px 20px 12px; }
.section-head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-head p:last-child { color: var(--muted); font-size: 17px; margin: 16px 0 0; }
.kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

/* Tools: three featured rows, then a two-column grid. Every picture box has a fixed shape, so nothing jumps while images load. */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center;
  margin: 0 0 24px; padding: 28px; border: 1px solid var(--line-strong); border-radius: 28px;
  background: radial-gradient(ellipse at 0% 0%, rgba(164, 107, 255, .2), transparent 60%), var(--panel);
}
.feature-flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.feature-flip .feature-shot { order: 2; }
.feature-shot { display: grid; place-items: center; min-width: 0; padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.feature-shot img { width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: 10px; }
.feature-body { min-width: 0; }
.feature-body h3 { margin: 12px 0 12px; font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--display); }
.feature-body p { margin: 0; color: var(--muted); font-size: 16px; }
.feature-body .checks { margin: 0; }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tool { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
/* Flat, the same dark as the pictures' own edges, so no seam shows around them. */
.shot { --pad: 20px; position: relative; aspect-ratio: 16 / 9; background: var(--bg); border-bottom: 1px solid var(--line); }
/* The picture is placed inside a box of fixed shape, so its size never changes the layout. */
.shot img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); max-width: none; object-fit: contain; }
/* Wide graphics (bars and strips) get a shorter box, so they read large instead of floating in empty space. */
.shot-mid { aspect-ratio: 16 / 7; }
.shot-6 { aspect-ratio: 16 / 6; }
.shot-tall { aspect-ratio: 4 / 3; }
.tool-body { padding: 20px 22px 24px; }
.tool-body h3 { margin: 10px 0; }
.tool-body p { margin: 0; color: var(--muted); font-size: 15px; }
/* Every tool tag is the light teal of the Request Invite button (Chad, Oct 27 2026). */
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--light-teal-bg); color: var(--light-teal); }
.tools-note { text-align: center; color: var(--faint); font-size: 13px; margin: 24px 0 0; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit { min-width: 0; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.benefit h3 { margin: 18px 0 10px; font-size: 19px; }
.benefit p { margin: 0; color: var(--muted); font-size: 15px; }
.b-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; }
.b-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.b-green { background: rgba(126, 224, 138, .14); color: var(--green); }
.b-purple { background: rgba(164, 107, 255, .18); color: var(--purple-2); }
.b-grad { background: linear-gradient(135deg, var(--purple), var(--green)); color: #fff; }
.benefit-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; background: linear-gradient(120deg, rgba(164, 107, 255, .2), rgba(126, 224, 138, .1)), var(--panel); }
.benefit-wide h3 { margin-top: 0; font-size: 22px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--purple), var(--green)); opacity: .5; }
.steps li { position: relative; min-width: 0; text-align: center; padding: 0 8px; }
.step-n { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--purple); font: 800 22px/1 var(--display); color: var(--green); box-shadow: 0 0 30px rgba(164, 107, 255, .4); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }


/* CTA + footer */
.cta { max-width: 1160px; margin: 48px auto 0; padding: 64px 24px; text-align: center; border-radius: 32px; background: radial-gradient(ellipse at 50% 0%, rgba(126, 224, 138, .22), transparent 60%), linear-gradient(135deg, #3a1a72, #1a0f2e 60%); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.cta-logo { width: min(520px, 82%); margin: 0 auto 28px; filter: drop-shadow(0 0 22px rgba(114, 12, 252, .6)); }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); max-width: 760px; margin: 0 auto; }
.cta p { color: var(--lavender); margin: 14px 0 28px; }
.footer { max-width: 1200px; margin: 0 auto; padding: 56px 20px 40px; display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--muted); font-size: 14px; }
.footer p { margin: 0; }
.disclaimer { font-size: 12px; color: rgba(185, 169, 214, .6); }

/* Mouse and trackpad only: small lifts on hover (never on touch screens, where a tap would leave things raised). */
@media (hover: hover) and (pointer: fine) {
  .btn { transition: transform .18s, box-shadow .18s; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(126, 224, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
  .btn-ghost:hover { box-shadow: none; border-color: var(--purple-2); }
  .btn[disabled]:hover { transform: none; }
  .tool, .benefit { transition: transform .25s, border-color .25s, box-shadow .25s; }
  .tool:hover, .benefit:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
  .nav { background: rgba(11, 6, 20, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}

/* Tablet */
@media (max-width: 1020px) {
  /* The form moves up right under the headline on smaller screens. */
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 24px; text-align: center; }
  .hero-copy { display: contents; }
  .hero .pill { order: 1; justify-self: center; }
  .hero h1 { order: 2; }
  .hero .lead { order: 3; margin-left: auto; margin-right: auto; }
  .form-card { order: 4; width: 100%; max-width: 600px; margin: 0 auto 32px; text-align: left; }
  .hero .checks { order: 5; justify-self: center; }
  .hero .stats { order: 6; width: 100%; margin: 0 auto; }
  .hero .stats-note { order: 7; }
  .checks li { text-align: left; }
  .feature, .feature-flip { grid-template-columns: 1fr; gap: 24px; }
  .feature-flip .feature-shot { order: 0; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
}
/* Phone */
@media (max-width: 680px) {
  .nav { gap: 8px; padding: 12px 16px; }
  .nav nav { display: none; }
  .nav .btn-small { min-height: 40px; padding: 0 12px; font-size: 13px; }
  .nav .btn-ghost { margin-left: auto; }
  .brand img { height: 20px; }
  .hero { padding: 16px 16px 8px; }
  .lead { font-size: 16px; }
  .stats { gap: 8px; }
  .stats div { padding: 12px 10px; }
  .stats strong { font-size: 18px; }
  .stats span { font-size: 11px; line-height: 1.3; display: block; }
  .form-card { padding: 24px 18px; border-radius: 22px; }
  .row { grid-template-columns: 1fr; }
  .section { padding: 32px 16px 4px; }
  .feature { padding: 16px; border-radius: 22px; }
  .feature-shot { padding: 12px; }
  .tools, .benefits { grid-template-columns: 1fr; gap: 20px; }
  .shot { --pad: 14px; }
  .phone-strip { aspect-ratio: 16 / 5; }
  .benefit-wide { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta { margin: 32px 16px 0; padding: 44px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Privacy and 404 pages */
.nav-end { margin-left: auto; }
.page { max-width: 760px; }
.page h1 { font-size: 36px; margin-bottom: 20px; }
.page h3 { margin: 28px 0 8px; }
.page p { color: var(--muted); }
.not-found { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; }
.not-found h1 { font-size: 40px; }
.not-found p { color: var(--muted); margin: 0; }
