/* Plandid brand: lavender→sky ground, deep-violet ink, violet accent. */
:root {
  --ground-top: #f0e8ff;
  --ground-bottom: #dde8ff;
  --ink: #211a54;
  --ink-soft: #4a4570;
  --accent: #6647e0;
  --accent-soft: #ece4ff;
  --card: #ffffff;
  --line: rgba(33, 26, 84, 0.1);
  --shadow: 0 18px 50px rgba(46, 31, 115, 0.12);
  --radius: 28px;
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--ground-top) 0%, var(--ground-bottom) 55%, var(--ground-top) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
}

em {
  font-style: normal;
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}

.wrap {
  width: min(1120px, 100% - 48px);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100% - 48px);
}

.center {
  text-align: center;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(240, 232, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
}

.btn-store {
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 28px;
  background: var(--ink);
  color: #fff;
  line-height: 1.1;
  box-shadow: 0 14px 30px rgba(33, 26, 84, 0.28);
}

.btn-store-small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}

.btn-store-big {
  font-size: 22px;
  font-weight: 900;
}

.btn-ghost {
  padding: 16px 24px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

/* Hero */
.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 900;
}

.lede {
  font-size: 21px;
  color: var(--ink-soft);
  margin: 22px 0 26px;
  max-width: 34em;
}

/* A request being typed, like the app's input box. */
.typer {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  min-height: 60px;
  padding: 14px 20px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 18px;
  font-weight: 700;
}

.typer-spark {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
}

.typer-caret {
  width: 2px;
  height: 22px;
  margin-left: -10px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.fine {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-phone::before {
  content: "";
  position: absolute;
  inset: 8% -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 71, 224, 0.28), rgba(102, 71, 224, 0) 70%);
  z-index: -1;
}

.phone {
  width: min(330px, 80vw);
  aspect-ratio: 760 / 1652;
  padding: 10px;
  border-radius: 52px;
  background: #121217;
  box-shadow: 0 40px 90px rgba(46, 31, 115, 0.35);
}

.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 43px;
  background: #f4f5fb;
}

/* Examples */
.examples {
  padding: 32px 0 8px;
}

.examples-title {
  text-align: center;
  font-weight: 800;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chips li {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  font-weight: 700;
}

.chips li::before {
  content: "“";
  color: var(--accent);
}

.chips li::after {
  content: "”";
  color: var(--accent);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 900;
  margin-bottom: 40px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
}

/* Before / after */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.compare-old {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: none;
  border: 1px solid var(--line);
}

.compare-old ol {
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
  font-weight: 600;
}

.compare-old li {
  padding: 4px 0;
}

.compare-new {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #7a5cf0, var(--accent));
  color: #fff;
}

.compare-new h3 {
  color: #fff;
}

.compare-quote {
  color: #fff !important;
  font-size: 24px;
  font-weight: 800;
  margin-top: 10px !important;
}

.compare-arrow {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 28px;
  margin: 6px 0 !important;
}

.compare-result {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 19px;
}

/* Screens */
.screens-section {
  padding-top: 24px;
}

.screens {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px max(24px, calc((100% - 1120px) / 2)) 30px;
  scrollbar-width: none;
}

.screens::-webkit-scrollbar {
  display: none;
}

.screens img {
  flex: none;
  width: min(270px, 68vw);
  height: auto;
  border-radius: 26px;
  box-shadow: var(--shadow);
  scroll-snap-align: center;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--accent-soft);
  font-size: 26px;
}

/* Privacy */
.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
}

.privacy h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 900;
  margin-bottom: 14px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
  color: var(--ink-soft);
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 352px));
  justify-content: center;
  gap: 22px;
}

.plan {
  position: relative;
}

.price {
  font-size: 44px;
  font-weight: 900;
  color: var(--ink) !important;
  margin: 4px 0 2px !important;
}

.price span {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-soft);
}

.price-alt {
  font-weight: 700;
  margin-bottom: 4px !important;
}

.plan .checks {
  margin-top: 20px;
}

.plan-pro {
  /* The border takes 2px, so trim the padding to keep text the same width as the other cards. */
  padding: 28px;
  border: 2px solid var(--accent);
  box-shadow: 0 24px 60px rgba(102, 71, 224, 0.25);
}

.plan-tag {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

/* FAQ */
details {
  background: var(--card);
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(46, 31, 115, 0.07);
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 19px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

/* Final */
.final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.final img {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.final h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 900;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--ink-soft);
  font-size: 15px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer nav {
  display: flex;
  gap: 22px;
}

.footer a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

/* Tablet and phone */
@media (max-width: 900px) {
  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .compare,
  .privacy {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .typer,
  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .typer {
    text-align: left;
  }

  .cta-row {
    justify-content: center;
  }

  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .btn-small {
    margin-left: auto;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .pricing {
    grid-template-columns: minmax(0, 420px);
  }

  /* On a phone: Yearly, then Monthly, then Free. */
  .plan-pro {
    order: -1;
  }

  .plan-free {
    order: 1;
  }
}

@media (max-width: 600px) {

  .typer {
    font-size: 16px;
  }

  .section {
    padding: 52px 0;
  }

  .card {
    padding: 24px;
  }

  .privacy {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .typer-caret {
    animation: none;
  }
}
