:root {
  color-scheme: light;
  --background: #f8f5ee;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-solid: #fffdfa;
  --ink: #17141f;
  --muted: #645f6f;
  --purple: #6655f5;
  --purple-dark: #4937d1;
  --purple-soft: #e9e5ff;
  --line: rgba(35, 29, 48, 0.12);
  --shadow: 0 28px 80px rgba(42, 31, 70, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(102, 85, 245, 0.14), transparent 29rem),
    radial-gradient(circle at 92% 28%, rgba(239, 174, 120, 0.14), transparent 31rem),
    var(--background);
  font-size: 17px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(102, 85, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 85, 245, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  content: "";
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--purple-dark);
  text-underline-offset: 0.2em;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  opacity: 0;
  transform: translateY(-150%);
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(66, 46, 170, 0.18);
}

.site-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}

.site-header nav a,
footer nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
footer nav a:hover {
  color: var(--purple-dark);
}

main {
  padding-bottom: 100px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  min-height: 760px;
  padding: 72px 0 100px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #c9c1ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7.5vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.066em;
}

h2 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 5.4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

p,
li {
  color: var(--muted);
}

.lede {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--purple);
  color: white;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(102, 85, 245, 0.22);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.button:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.button--secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button--secondary:hover {
  background: white;
  color: var(--purple-dark);
}

.text-link {
  padding: 10px;
  font-weight: 750;
  text-decoration: none;
}

.trust-list,
.check-list {
  padding: 0;
  list-style: none;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin: 28px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.trust-list li::before,
.check-list li::before {
  margin-right: 8px;
  color: var(--purple);
  font-weight: 900;
  content: "✓";
}

.hero-visual,
.saved-visual,
.export-visual button,
.screenshot-card button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-visual img,
.saved-visual img,
.export-visual img,
.screenshot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 642 / 1389;
  object-fit: contain;
}

.hero-visual {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  border-radius: 48px;
}

.hero-visual img {
  position: relative;
  border-radius: 42px;
  box-shadow: var(--shadow);
  transition: transform 240ms ease;
}

.hero-visual:hover img {
  transform: translateY(-7px) rotate(0.5deg);
}

.visual-glow {
  position: absolute;
  inset: 10% -12% -5%;
  border-radius: 50%;
  background: rgba(102, 85, 245, 0.22);
  filter: blur(52px);
}

.feature-section,
.showcase,
.saved-projects,
.export-section,
.premium-section,
.privacy-callout,
.product-callout,
.availability {
  margin-top: 130px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.feature-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 15px 42px rgba(42, 31, 70, 0.06);
  backdrop-filter: blur(14px);
}

.feature-card--accent {
  background: var(--purple);
  color: white;
}

.feature-card--accent p,
.feature-card--accent .feature-number {
  color: rgba(255, 255, 255, 0.8);
}

.feature-number {
  display: block;
  margin-bottom: 46px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 50px;
}

.section-heading p:last-child {
  margin-bottom: 24px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 55px;
}

.screenshot-card {
  margin: 0;
}

.screenshot-card--large {
  margin-top: 56px;
}

.screenshot-card button {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(39, 29, 64, 0.11);
}

.screenshot-card img {
  transition: transform 240ms ease;
}

.screenshot-card button:hover img {
  transform: scale(1.012);
}

figcaption {
  display: grid;
  gap: 4px;
  padding: 15px 4px 0;
}

figcaption span {
  color: var(--muted);
  font-size: 0.88rem;
}

.saved-projects,
.export-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.68fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding: clamp(42px, 7vw, 80px);
  border: 1px solid var(--line);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.saved-visual,
.export-visual button {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 22px 58px rgba(45, 30, 81, 0.16);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
}

.export-section {
  grid-template-columns: minmax(330px, 0.68fr) minmax(0, 1fr);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.spec-grid div {
  display: grid;
  gap: 3px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.spec-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.premium-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.65fr);
  gap: 60px;
  padding: clamp(42px, 8vw, 90px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 92% 12%, rgba(130, 108, 255, 0.42), transparent 24rem), #17141f;
  color: white;
}

.premium-section p {
  color: rgba(255, 255, 255, 0.7);
}

.premium-card {
  align-self: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.premium-card > strong,
.premium-card > span {
  display: block;
}

.premium-card > strong {
  margin-top: 16px;
  font-size: 2rem;
  line-height: 1.05;
}

.premium-card > span:not(.premium-label) {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.66);
}

.premium-label {
  color: #c9c1ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-card ul {
  display: grid;
  gap: 8px;
  margin: 25px 0 0;
  padding-left: 1.2rem;
}

.premium-card li {
  color: rgba(255, 255, 255, 0.78);
}

.privacy-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
}

.privacy-callout h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.privacy-callout p:last-child {
  margin-bottom: 0;
}

.privacy-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 19px;
  background: var(--purple-soft);
  color: var(--purple-dark);
  font-size: 2.4rem;
  font-weight: 850;
}

.product-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: clamp(36px, 6vw, 62px);
  border: 1px solid rgba(102, 85, 245, 0.22);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(233, 229, 255, 0.9), rgba(255, 253, 250, 0.86));
}

.product-callout h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.product-callout p:last-child {
  max-width: 720px;
  margin-bottom: 0;
}

.product-callout .button {
  white-space: nowrap;
}

.availability {
  display: grid;
  justify-items: center;
  padding: 90px 24px;
  text-align: center;
}

.availability img {
  margin-bottom: 25px;
  border-radius: 23px;
  box-shadow: 0 20px 46px rgba(52, 36, 137, 0.2);
}

.availability h2 {
  margin-bottom: 14px;
}

.availability p:not(.eyebrow) {
  max-width: 620px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 50px;
  padding: 38px 0 50px;
  border-top: 1px solid var(--line);
}

.brand--footer {
  font-size: 1rem;
}

footer p {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.image-dialog {
  width: fit-content;
  max-width: calc(100% - 24px);
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  box-shadow: 0 35px 100px rgba(15, 10, 28, 0.4);
}

.image-dialog::backdrop {
  background: rgba(18, 14, 27, 0.78);
  backdrop-filter: blur(10px);
}

.image-dialog img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 24px);
  height: auto;
  aspect-ratio: 642 / 1389;
  object-fit: contain;
  border-radius: 30px;
}

.dialog-close {
  position: fixed;
  z-index: 2;
  top: 22px;
  right: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(20, 16, 29, 0.76);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Legal and support pages */
.content-shell {
  width: min(830px, calc(100% - 40px));
  margin: 0 auto;
}

.content-main {
  padding: 80px 0 110px;
}

.content-main h1 {
  max-width: none;
  font-size: clamp(3rem, 9vw, 5.4rem);
}

.updated {
  margin: -7px 0 22px;
  font-size: 0.9rem;
}

.content-card {
  margin-top: 42px;
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin: 2.4rem 0 0.7rem;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  font-size: 0.98rem;
}

.content-card li + li {
  margin-top: 8px;
}

.faq-grid {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

details {
  padding: 21px 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

summary {
  font-weight: 780;
  cursor: pointer;
}

details p,
details ul {
  margin-bottom: 0;
}

.support-contact {
  margin-top: 42px;
  padding: 30px;
  border-radius: 26px;
  background: var(--purple-soft);
}

.support-contact h2 {
  margin-top: 0;
}

.not-found {
  display: grid;
  min-height: 72vh;
  align-content: center;
  justify-items: start;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr minmax(280px, 0.7fr);
    gap: 45px;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 230px;
  }

  .saved-projects,
  .export-section {
    gap: 45px;
    padding: 45px;
  }
}

@media (max-width: 760px) {
  .site-shell,
  .content-shell {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    align-items: flex-start;
    padding-top: 18px;
  }

  .site-header nav {
    justify-content: flex-end;
    gap: 7px 14px;
  }

  .site-header nav a:nth-child(1),
  .site-header nav a:nth-child(2) {
    display: none;
  }

  .hero,
  .saved-projects,
  .export-section,
  .premium-section,
  .privacy-callout,
  .product-callout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 74px 0 40px;
  }

  .hero-visual {
    width: min(84vw, 410px);
    margin-top: 25px;
  }

  .feature-section,
  .showcase,
  .saved-projects,
  .export-section,
  .premium-section,
  .privacy-callout,
  .product-callout,
  .availability {
    margin-top: 95px;
  }

  .saved-projects,
  .export-section,
  .premium-section {
    padding: 34px 24px;
    border-radius: 30px;
  }

  .saved-visual,
  .export-visual {
    width: min(82vw, 400px);
    margin: 0 auto;
  }

  .export-visual {
    order: 2;
  }

  .privacy-callout {
    justify-items: start;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .site-header nav a {
    font-size: 0.82rem;
  }

  .feature-grid,
  .screenshot-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card,
  .screenshot-card--large {
    width: min(82vw, 370px);
    margin: 0 auto;
  }

  .feature-number {
    margin-bottom: 28px;
  }

  .feature-card {
    min-height: 0;
  }

  .privacy-callout {
    padding: 28px 22px;
  }

  .content-main {
    padding-top: 56px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
