@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ==========================================================================
   Reset — nothing is loaded before this file on lp-standalone templates.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg, video, iframe { display: block; max-width: 100%; }
img, svg, video { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 600; }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --brand:        #4A35F0;
  --brand-hover:  #3826C0;
  --brand-tint:   #EEEBFE;
  --green:        #16A34A;

  --ink:          #17103F;
  --text:         #4C4A63;
  --muted:        #6C6A85;
  --faint:        #8D8BA3;
  --nav:          #3D4761;
  --on-dark:      #CFC7F2;

  --line:         #EAE8F5;
  --line-soft:    #E8E5F6;
  --line-pill:    #DFDAF5;
  --line-btn:     #D8D3F0;

  --wash:         #F7F6FD;
  --wash-2:       #FAF9FF;
  --white:        #ffffff;

  --shadow-card:  0 1px 2px rgba(10, 22, 51, .04);
  --shadow-pill:  0 1px 2px rgba(10, 22, 51, .05);
  --shadow-cta:   0 6px 18px rgba(74, 53, 240, .28);
  --shadow-lift:  0 10px 40px rgba(23, 16, 63, .10);

  --gutter:       40px;
  --wrap:         1080px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  background: var(--white);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }

.wrap { max-width: var(--wrap); margin: 0 auto; }

/* ==========================================================================
   Header
   ========================================================================== */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lp-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.lp-brand img { height: 30px; width: auto; }
.lp-brand-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.lp-brand-name span { color: var(--muted); font-weight: 400; }

.lp-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--nav); }
.lp-nav a { color: var(--nav); }
.lp-nav a:hover { color: var(--ink); }
.lp-nav .is-current { color: var(--brand); font-weight: 500; }
.lp-nav .is-current:hover { color: var(--brand-hover); }
.lp-nav a.lp-signin {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 500;
}
.lp-nav a.lp-signin:hover { background: var(--brand-hover); color: var(--white); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--brand-hover); color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-btn);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-sm { padding: 13px 22px; font-size: 15px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Shared bits
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
}
.check { color: var(--green); font-weight: 700; flex: none; }
.footnote { font-size: 13px; color: var(--faint); }

@keyframes prestonPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.8); }
}
@keyframes prestonRise { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.lp-footer {
  padding: 56px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  background: var(--wash-2);
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.lp-footer-logo { display: inline-flex; }
.lp-footer-logo img { height: 44px; width: auto; }
.lp-footer-blurb {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.lp-footer h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.lp-footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.lp-footer-links a { color: var(--muted); }
.lp-footer-links a:hover { color: var(--brand); }
.lp-footer-links a.is-strong { color: var(--brand); font-weight: 600; }
.lp-footer-bottom {
  max-width: var(--wrap);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 88px var(--gutter) 72px;
  background: linear-gradient(180deg, var(--wash) 0%, var(--white) 100%);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-pill);
  box-shadow: var(--shadow-pill);
  font-size: 13px;
  color: var(--nav);
}
.hero-badge strong { color: var(--ink); }
.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  animation: prestonPulse 2.4s ease-in-out infinite;
}
.hero h1 {
  max-width: 15ch;
  margin: 26px 0 0;
  font-size: 68px;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 span { color: var(--brand); }
.hero-lede {
  max-width: 62ch;
  margin: 26px 0 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
}
.hero-ctas { justify-content: center; margin-top: 34px; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Dark band
   ========================================================================== */
.band { padding: 0 var(--gutter); }
.band-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 34px 38px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--on-dark);
}
.band-icon { font-size: 26px; line-height: 1; flex: none; }
.band-inner p { font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.band-inner strong { color: var(--white); }

/* ==========================================================================
   How it works
   ========================================================================== */
.how { padding: 96px var(--gutter) 88px; }
.how-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.how-head h2 { font-size: 44px; line-height: 1.1; }
.how-head p { font-size: 18px; color: var(--muted); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.card-stack { display: flex; flex-direction: column; gap: 14px; }
.card-stack h3 { font-size: 22px; letter-spacing: -.02em; }
.card-stack p { font-size: 16px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.how-foot { margin: 26px 0 0; font-size: 16px; color: var(--muted); }

/* ==========================================================================
   Demo
   ========================================================================== */
.demo { padding: 0 var(--gutter) 96px; }
.demo h2 { font-size: 36px; }
.demo-lede { margin: 8px 0 0; font-size: 17px; color: var(--muted); }
.demo-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 26px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: var(--shadow-lift);
}
.demo-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.demo-ctas { margin-top: 28px; }

.assure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.assure {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--wash-2);
}
.assure-title { font-size: 16px; font-weight: 600; }
.assure-note { font-size: 15px; color: var(--muted); margin-top: 3px; }

/* ==========================================================================
   Deliverables
   ========================================================================== */
.deliver {
  padding: 80px var(--gutter);
  background: var(--wash);
  border-top: 1px solid var(--line);
}
.deliver h2 { font-size: 40px; }
.deliver-lede { margin: 10px 0 36px; font-size: 18px; color: var(--muted); }
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--white);
}
.tile-title { font-size: 17px; font-weight: 600; }
.tile-note { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  :root { --gutter: 28px; }
  .hero h1 { font-size: 56px; }
}

@media (max-width: 900px) {
  .lp-header { padding: 14px 20px; }
  .lp-nav { gap: 18px; font-size: 13px; }
  .hero { padding: 64px var(--gutter) 56px; }
  .hero h1 { font-size: 44px; max-width: 20ch; }
  .hero-lede { font-size: 17px; }
  .how { padding: 72px var(--gutter) 64px; }
  .how-head h2 { font-size: 34px; }
  .how-grid { grid-template-columns: 1fr; }
  .demo { padding: 0 var(--gutter) 72px; }
  .demo h2 { font-size: 30px; }
  .assure-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver { padding: 64px var(--gutter); }
  .deliver h2 { font-size: 32px; }
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .lp-header { flex-wrap: wrap; gap: 12px; }
  .lp-brand-name span { display: none; }
  .hero { padding: 48px var(--gutter) 44px; }
  .hero h1 { font-size: 34px; letter-spacing: -.025em; }
  .hero-badge { font-size: 12px; text-align: left; }
  .btn { padding: 14px 20px; font-size: 15px; }
  .hero-ctas .btn, .demo-ctas .btn { flex: 1 1 100%; }
  .band-inner { flex-direction: column; gap: 14px; padding: 26px 24px; }
  .band-inner p { font-size: 16px; }
  .how-head h2 { font-size: 28px; }
  .how-head p { font-size: 16px; }
  .card { padding: 24px; }
  .card-stack h3 { font-size: 20px; }
  .demo h2 { font-size: 26px; }
  .assure-grid { grid-template-columns: 1fr; }
  .deliver h2 { font-size: 26px; }
  .deliver-grid { grid-template-columns: 1fr; }
  .lp-footer { padding: 44px var(--gutter) 28px; }
  .lp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
