:root {
  --purple: #997dff;
  --purple-dark: #6f50f5;
  --purple-soft: rgba(153, 125, 255, 0.14);
  --ink: #10111a;
  --navy: #151729;
  --muted: #63687a;
  --line: rgba(19, 22, 38, 0.12);
  --bg: #f7f5ff;
  --white: #ffffff;
  --good: #17b26a;
  --shadow: 0 24px 70px rgba(28, 20, 74, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 92px 0; }
.section-pad-sm { padding: 68px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 154px; height: auto; }
.nav-links { display: flex; gap: 26px; color: #3b4051; font-weight: 700; font-size: 14px; }
.nav-links a:hover, .nav-call:hover { color: var(--purple-dark); }
.nav-call { padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(153,125,255,.34), transparent 34%),
    radial-gradient(circle at 12% 10%, rgba(153,125,255,.18), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f8f6ff 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16,17,26,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(16,17,26,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }
.eyebrow { margin: 0 0 14px; color: var(--purple-dark); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(46px, 6.2vw, 82px); line-height: .94; letter-spacing: -.06em; margin-bottom: 24px; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -.045em; margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.15; margin-bottom: 10px; }
.hero-lead { font-size: 21px; color: #424756; max-width: 670px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--purple); color: #fff; box-shadow: 0 16px 34px rgba(153,125,255,.34); }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 10px 26px rgba(22,24,38,.07); }
.button-full { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; color: #404555; font-weight: 700; font-size: 13px; }

.hero-panel { position: relative; }
.browser-card {
  background: rgba(21,23,41,.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 520px;
}
.browser-dots { display: flex; gap: 8px; margin-bottom: 28px; }
.browser-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.3); }
.preview-top { background: linear-gradient(135deg, rgba(153,125,255,.22), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 22px; margin-bottom: 20px; }
.preview-top strong { display: block; font-size: 28px; letter-spacing: -.03em; margin-top: 10px; }
.pill { display: inline-flex; border-radius: 999px; padding: 6px 10px; background: rgba(153,125,255,.18); color: #d9d0ff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.chat-stack { display: grid; gap: 13px; }
.chat { max-width: 82%; border-radius: 18px; padding: 13px 15px; font-weight: 650; }
.bubble-client { background: #fff; color: var(--ink); justify-self: start; border-bottom-left-radius: 4px; }
.bubble-ai { background: var(--purple); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.lead-card { margin-top: 8px; padding: 18px; border-radius: 20px; background: rgba(23,178,106,.12); border: 1px solid rgba(23,178,106,.32); }
.lead-card span { display: block; color: #87efbd; font-weight: 900; font-size: 13px; margin-bottom: 4px; }
.floating-proof { position: absolute; left: -34px; bottom: 30px; width: 265px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 17px; box-shadow: var(--shadow); }
.floating-proof strong { display: block; }
.floating-proof span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

.split-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.problem-section { background: var(--ink); color: #fff; }
.problem-section .eyebrow { color: #cfc6ff; }
.problem-list { display: grid; gap: 14px; }
.problem-list div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 20px; }
.problem-list strong, .problem-list span { display: block; }
.problem-list span { color: rgba(255,255,255,.72); margin-top: 6px; }

.section-head { text-align: center; max-width: 790px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.feature-card, .process-card, .price-card, details, .demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 32px rgba(18,20,34,.05);
}
.feature-card p, .process-card p, .price-card li, details p, .demo-section p, .founder-section p, .contact-section p { color: var(--muted); }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 16px; background: var(--purple-soft); margin-bottom: 18px; font-size: 24px; }

.ai-section { background: linear-gradient(135deg, #151729 0%, #1f1a3b 100%); color: #fff; }
.ai-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.ai-section p { color: rgba(255,255,255,.76); font-size: 18px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 750; }
.check-list li:before { content: ""; position: absolute; left: 0; color: #9bffcd; font-weight: 900; }
.ai-console { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 30px; padding: 22px; box-shadow: var(--shadow); }
.console-line { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.08); margin-bottom: 14px; }
.console-line span { color: #cfc6ff; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 900; }
.console-line p { margin: 7px 0 0; color: #fff; }
.console-line.purple { background: rgba(153,125,255,.24); }
.console-result { background: var(--good); color: #062916; border-radius: 16px; padding: 14px 18px; font-weight: 900; }

.process-section, .pricing-section, .faq-section { background: #faf9ff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.process-card span { color: var(--purple-dark); font-weight: 900; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--purple); transform: translateY(-10px); box-shadow: 0 24px 60px rgba(153,125,255,.19); }
.badge { position: absolute; top: -16px; left: 22px; background: var(--purple); color: #fff; font-weight: 900; border-radius: 999px; padding: 7px 12px; font-size: 12px; }
.price { font-size: 42px; line-height: 1; font-weight: 900; letter-spacing: -.05em; margin-bottom: 4px; }
.price span { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.monthly { color: var(--purple-dark); font-weight: 900; }
.price-card ul { padding-left: 18px; margin: 18px 0 24px; display: grid; gap: 9px; flex: 1; }
.fine-print { margin-top: 22px; color: var(--muted); text-align: center; font-size: 14px; }

.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.demo-card { min-height: 150px; background: linear-gradient(145deg, #fff, #f4f0ff); }
.demo-card span { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--purple-soft); color: var(--purple-dark); font-weight: 900; margin-bottom: 30px; }
.demo-card strong { display: block; font-size: 21px; letter-spacing: -.03em; }

.founder-grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.founder-photo { border-radius: 30px; overflow: hidden; background: #f2efff; box-shadow: var(--shadow); border: 1px solid var(--line); max-height: 480px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
summary { cursor: pointer; font-weight: 900; font-size: 18px; }
details p { margin: 12px 0 0; }

.contact-section { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.contact-section h2 { color: #fff; }
.contact-section p { color: rgba(255,255,255,.72); font-size: 18px; }
.contact-points { display: grid; gap: 10px; margin-top: 24px; font-weight: 900; }
.contact-form { background: #fff; color: var(--ink); border-radius: 30px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 900; color: #343949; }
.contact-form label:nth-child(6), .contact-form label:nth-child(7), .contact-form .button, .form-note { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px; font: inherit; color: var(--ink); background: #fbfbff; }
textarea { resize: vertical; }
.form-note { margin: 0; color: var(--muted) !important; font-size: 13px !important; }

.site-footer { background: #0d0e16; color: #fff; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-logo { width: 150px; margin-bottom: 16px; }
.site-footer p, .footer-bottom { color: rgba(255,255,255,.65); }
.site-footer h4 { margin: 0 0 12px; }
.site-footer a { display: block; color: rgba(255,255,255,.72); margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 22px; font-size: 14px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .split-grid, .ai-grid, .founder-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid, .pricing-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { gap: 24px; }
  .price-card.featured { transform: none; }
  .floating-proof { position: static; width: auto; margin-top: 16px; }
  .founder-photo { max-width: 420px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 66px 0; }
  .nav-wrap { height: 74px; }
  .brand img { width: 124px; }
  .nav-call { font-size: 13px; padding: 10px 12px; }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .hero-lead { font-size: 18px; }
  .button { width: 100%; }
  .feature-grid, .pricing-grid, .process-grid, .demo-grid, .faq-grid, .footer-grid, .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-child(6), .contact-form label:nth-child(7), .contact-form .button, .form-note { grid-column: auto; }
  .browser-card { min-height: auto; }
  .preview-top strong { font-size: 23px; }
}

/* Team polish pass - 2026-06-17 */
.floating-proof {
  left: auto;
  right: 20px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-color: var(--purple);
}

.price-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(153,125,255,.14);
}

.price-card.featured:hover {
  transform: translateY(-12px);
}

.demo-card {
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 10px;
  font-size: 58px;
  opacity: .08;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 38px;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-card.featured:hover,
  .price-card:hover {
    transform: none;
  }
}

/* v4 footer logo */
.footer-logo-v4 {
  width: 230px;
  max-width: 100%;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

/* v4 header logo */
.brand img.header-logo-v4 {
  width: 300px;
  max-height: 64px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand img.header-logo-v4 {
    width: 210px;
    max-height: 54px;
  }
}

/* v4 SVG icon system - replaces emoji icons */
.svg-icon,
.mini-icon,
.heart-icon,
.success-icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.15em;
}

.svg-icon {
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mini-icon {
  width: 1em;
  height: 1em;
  margin-right: .45rem;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon .svg-icon {
  width: 25px;
  height: 25px;
  color: var(--purple-dark);
}

.contact-points span,
.icon-list-item,
.button,
.nav-call,
.footer-bottom p,
.footer-bottom {
  gap: .45rem;
}

.contact-points span,
.icon-list-item {
  display: flex;
  align-items: center;
}

.contact-points .svg-icon,
.icon-list-item .svg-icon,
.button .svg-icon,
.nav-call .svg-icon {
  width: 1.05em;
  height: 1.05em;
}

.heart-icon {
  width: 1.05em;
  height: 1.05em;
  fill: var(--purple);
  transform: translateY(.12em);
}

.success-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  margin-bottom: 2rem;
  border-radius: 999px;
  background: rgba(153, 125, 255, .14);
  color: var(--purple-dark);
}

.success-icon {
  width: 52px;
  height: 52px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.success-icon circle {
  fill: rgba(153, 125, 255, .08);
}

.check-list li:before {
  content: "";
  top: .45em;
  width: 14px;
  height: 8px;
  border-left: 3px solid #9bffcd;
  border-bottom: 3px solid #9bffcd;
  transform: rotate(-45deg);
}

.demo-card::before {
  content: "";
  width: 70px;
  height: 70px;
  border-radius: 24px;
  border: 2px solid var(--purple);
  opacity: .08;
  right: 18px;
  bottom: 18px;
}

/* v4 red phone handle for header CTA */
.nav-call {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.nav-call .phone-red-icon {
  color: #ff4d5e;
  stroke-width: 2.35;
  filter: drop-shadow(0 0 8px rgba(255, 77, 94, .24));
}

/* v5 above-the-fold hero graphic */
.hero-image-panel {
  align-self: center;
}

.hero-graphic-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #151729;
  border: 1px solid rgba(153, 125, 255, .24);
  box-shadow: var(--shadow);
}

.hero-graphic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(153,125,255,.18), transparent 44%);
  z-index: 1;
}

.hero-graphic-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-graphic-proof {
  right: 24px;
  bottom: 24px;
  left: auto;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}

@media (max-width: 980px) {
  .hero-image-panel {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-graphic-card {
    border-radius: 24px;
  }

  .hero-graphic-proof {
    position: static;
    margin-top: 14px;
  }
}

/* v6 full-background hero image */
.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 11, 20, .92) 0%, rgba(10, 11, 20, .72) 42%, rgba(10, 11, 20, .24) 72%, rgba(10, 11, 20, .08) 100%),
    url("assets/mrwow-hero-ai-tradie-v4-upscaled-2400.jpg") center right / cover no-repeat;
}

.hero:before {
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  opacity: .42;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.65), transparent 76%);
}

.hero-grid {
  grid-template-columns: minmax(0, 680px) minmax(280px, 420px);
  gap: 44px;
  width: 100%;
}

.hero-copy {
  color: #fff;
  padding: 36px;
  border-radius: 34px;
  background: rgba(8, 9, 18, .54);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy .eyebrow {
  color: #d8d0ff;
}

.hero-lead {
  color: rgba(255,255,255,.84);
}

.hero .button-secondary {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.26);
  box-shadow: none;
}

.hero .trust-row span {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.18);
}

.hero-proof-stack {
  align-self: end;
  justify-self: end;
  width: min(100%, 390px);
}

.hero-proof-card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-proof-card strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.hero-proof-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(10,11,20,.88) 0%, rgba(10,11,20,.62) 48%, rgba(10,11,20,.36) 100%),
      url("assets/mrwow-hero-ai-tradie-v4-upscaled-2400.jpg") center top / cover no-repeat;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-proof-stack {
    justify-self: start;
    align-self: start;
  }
}

@media (max-width: 640px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(10,11,20,.9) 0%, rgba(10,11,20,.72) 52%, rgba(10,11,20,.45) 100%),
      url("assets/mrwow-hero-ai-tradie-v4-upscaled-2400.jpg") center top / cover no-repeat;
  }

  .hero-copy {
    padding: 24px;
    border-radius: 26px;
  }
}

/* v8 hero copy/CTA polish */
.hero-note {
  margin: -12px 0 18px;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  font-weight: 700;
}

.hero .button-secondary .phone-red-icon {
  color: #ff4d5e;
  filter: drop-shadow(0 0 8px rgba(255, 77, 94, .22));
}

/* v9 remove hero side proof box */
.hero-grid {
  grid-template-columns: minmax(0, 700px) 1fr;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* v10 centre hero text box */
.hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
}

.hero-actions,
.trust-row {
  justify-content: center;
}

@media (max-width: 640px) {
  .hero-grid {
    text-align: left;
    justify-items: stretch;
  }

  .hero-actions,
  .trust-row {
    justify-content: flex-start;
  }
}

/* v11 position hero copy in left 50% zone */
.hero-grid {
  grid-template-columns: minmax(0, 50%) 1fr;
  justify-items: start;
  text-align: left;
}

.hero-copy {
  max-width: 700px;
  margin: 0;
}

.hero-actions,
.trust-row {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }
}

/* v12 nudge hero copy inward from far-left */
.hero-grid {
  grid-template-columns: minmax(0, 58%) 1fr;
  justify-items: start;
}

.hero-copy {
  margin-left: clamp(36px, 7vw, 120px);
  max-width: 720px;
}

@media (max-width: 980px) {
  .hero-copy {
    margin-left: 0;
  }
}

/* v13 move hero copy further inward */
.hero-copy {
  margin-left: clamp(72px, 12vw, 210px);
}

@media (max-width: 980px) {
  .hero-copy {
    margin-left: 0;
  }
}

/* v14 move hero copy approx another 4cm inward */
.hero-copy {
  margin-left: clamp(210px, 20vw, 360px);
}

@media (max-width: 980px) {
  .hero-copy {
    margin-left: 0;
  }
}

/* v15 move hero copy approx another 2cm inward */
.hero-copy {
  margin-left: clamp(285px, 24vw, 450px);
}

@media (max-width: 980px) {
  .hero-copy {
    margin-left: 0;
  }
}

/* v16 move hero copy approx another 2cm inward */
.hero-copy {
  margin-left: clamp(360px, 28vw, 540px);
}

@media (max-width: 980px) {
  .hero-copy {
    margin-left: 0;
  }
}

/* v19 pricing tier rollover/click details */
.tier-details {
  position: relative;
  margin: 0 0 18px;
}

.tier-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(153,125,255,.34);
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 900;
}

.tier-details summary::-webkit-details-marker {
  display: none;
}

.tier-details summary::after {
  content: "+";
  margin-left: .5rem;
  font-size: 18px;
  line-height: 1;
}

.tier-details[open] summary::after {
  content: "−";
}

.tier-panel {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #fbfaff;
  border: 1px solid rgba(153,125,255,.2);
  box-shadow: 0 14px 34px rgba(32, 23, 84, .08);
}

.tier-panel strong {
  display: block;
  line-height: 1.2;
  margin-bottom: 8px;
}

.tier-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.price-card .tier-panel ul {
  margin: 0;
  padding-left: 18px;
  gap: 6px;
  flex: initial;
  font-size: 14px;
}

.price-card:hover .tier-details:not([open]) .tier-panel,
.price-card:focus-within .tier-details:not([open]) .tier-panel {
  display: block;
}

.tier-details:not([open]) .tier-panel {
  display: none;
}

@media (hover: hover) and (min-width: 981px) {
  .tier-details:not([open]) .tier-panel {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 8;
  }
}

/* v20 demo examples + trade list */
.demo-card .demo-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--purple-dark);
  font-weight: 900;
  font-size: 14px;
}

.trade-list-card {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f4f0ff);
  border: 1px solid rgba(153,125,255,.22);
  box-shadow: 0 16px 42px rgba(18,20,34,.07);
}

.trade-list-card h3 {
  max-width: 760px;
  font-size: 28px;
}

.trade-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.trade-chip-grid span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid rgba(153,125,255,.22);
  color: #343949;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .trade-list-card {
    padding: 22px;
  }

  .trade-list-card .button {
    width: 100%;
  }
}

/* v21 And More trade chip */
.trade-more-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--purple);
  border: 1px solid var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(153,125,255,.24);
}

.trade-more-chip:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

/* v22 consistent purple small section title */
.trade-list-eyebrow {
  color: var(--purple-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}

/* v23 consistent purple Demo Examples title */
.demo-eyebrow {
  color: var(--purple-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}

/* v24 make all small section titles consistently purple */
.eyebrow,
.hero-copy .eyebrow,
.problem-section .eyebrow,
.ai-section .eyebrow,
.contact-section .eyebrow,
.demo-eyebrow,
.trade-list-eyebrow {
  color: var(--purple) !important;
}

/* v25 founder story polish + show full graphic */
.founder-grid {
  grid-template-columns: minmax(360px, 460px) 1fr;
  align-items: center;
}

.founder-photo {
  max-height: none;
  background: linear-gradient(135deg, #f2efff 0%, #e8e3ff 100%);
  padding: 16px;
}

.founder-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
}

.founder-copy p {
  font-size: 17px;
}

.founder-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 26px;
}

.founder-points span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--purple-soft);
  border: 1px solid rgba(153,125,255,.24);
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Demo screenshot cards */
.demo-screenshot-grid {
  align-items: stretch;
}

.demo-screenshot-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: auto;
  padding: 14px;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.demo-screenshot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, .36);
  box-shadow: 0 26px 70px rgba(124, 58, 237, .16);
}

.demo-screenshot-card::before {
  display: none;
}

.demo-screenshot-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.demo-screenshot-card span {
  align-self: flex-start;
  margin-bottom: 0;
}

.demo-screenshot-card strong {
  min-height: 56px;
}

.demo-screenshot-card .demo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--purple);
  color: #fff;
  font-style: normal;
  font-weight: 900;
}

/* v21 HVAC demo card screenshot */
.demo-card-with-shot {
  padding-top: 18px;
}

.demo-card-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(153,125,255,.18);
  box-shadow: 0 14px 34px rgba(18,20,34,.12);
}

.demo-card-with-shot::before {
  display: none;
}


/* v28 completed builds inside demo section */
.demo-subhead {
  grid-column: 1 / -1;
  margin: 8px 0 2px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(153,125,255,.12), rgba(255,255,255,.92));
  border: 1px solid rgba(153,125,255,.2);
}

.demo-subhead span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.demo-subhead strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -.03em;
}

/* v29 - 6 completed builds in 1 horizontal row */
.demo-row-six {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  grid-column: 1 / -1;
}

.demo-row-six .demo-card {
  flex: 0 0 calc(16.666% - 12px);
  min-width: 140px;
  max-width: 180px;
}

.demo-row-six .demo-card strong {
  font-size: 13px;
  min-height: auto;
}

.demo-row-six .demo-card span {
  font-size: 10px;
}

.demo-row-six .demo-card .demo-link {
  font-size: 11px;
  padding: 6px 10px;
}

/* Move subhead outside grid */
.demo-subhead {
  grid-column: 1 / -1;
  margin: 24px 0 12px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(153,125,255,.12), rgba(255,255,255,.92));
  border: 1px solid rgba(153,125,255,.2);
}

/* v27 above-fold intro video popup */

/* Pulse + wobble animation for video button */
@keyframes pulse-wobble {
  0% {
    box-shadow: 0 0 0 0 rgba(153, 125, 255, 0.8), 0 0 10px rgba(153, 125, 255, 0.4);
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-2deg);
  }
  20% {
    transform: rotate(2deg);
  }
  30% {
    transform: rotate(-1deg);
  }
  40% {
    transform: rotate(1deg);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(153, 125, 255, 0), 0 0 20px rgba(153, 125, 255, 0.6);
    transform: rotate(0deg);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(153, 125, 255, 0), 0 0 10px rgba(153, 125, 255, 0.4);
    transform: rotate(0deg);
  }
}

.button-video {
  background: #fff;
  color: var(--purple-dark);
  border-color: rgba(153,125,255,.32);
  box-shadow: 0 12px 30px rgba(153,125,255,.16);
  animation: pulse-wobble 2s ease-in-out infinite;
}

.button-video:hover {
  background: var(--purple-soft);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 20, .78);
  backdrop-filter: blur(12px);
}

.video-modal-card {
  position: relative;
  width: min(940px, 100%);
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 30px 100px rgba(0,0,0,.34);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(16,17,26,.82);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.video-modal-frame {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #151729 0%, #2b2358 100%);
  display: grid;
  place-items: center;
  padding: 34px;
}

.video-modal-frame iframe,
.video-modal-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 0;
  background: #000;
}

.intro-video-placeholder {
  max-width: 720px;
  text-align: center;
  color: #fff;
}

.intro-video-placeholder .eyebrow {
  color: #d9d0ff;
}

.intro-video-placeholder h2 {
  color: #fff;
  margin-bottom: 16px;
}

.intro-video-placeholder p:not(.eyebrow) {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  margin-bottom: 0;
}

.intro-play-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  font-size: 34px;
  margin-bottom: 22px;
  box-shadow: 0 18px 44px rgba(153,125,255,.42);
}

.video-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  background: #fff;
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .video-modal { padding: 14px; }
  .video-modal-frame { padding: 22px; aspect-ratio: 4 / 5; }
  .intro-video-placeholder h2 { font-size: 30px; }
  .video-modal-actions .button { width: 100%; }
}
