:root {
  color-scheme: light;
  --ink: #20172f;
  --muted: #6e647b;
  --paper: #ffffff;
  --soft: #f6f2fb;
  --line: #e6dff0;
  --brand: #6f3df2;
  --brand-dark: #3c246d;
  --teal: #12bfa7;
  --orange: #ff8a3d;
  --shadow: 0 18px 50px rgba(45, 30, 78, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fbf9ff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(111, 61, 242, 0.12);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 54px;
  align-items: center;
  padding: 72px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-weight: 800;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(45, 30, 78, 0.08);
}

.button.primary {
  border-color: transparent;
  background: var(--brand);
  color: #ffffff;
}

.button.secondary {
  color: var(--brand-dark);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
}

.phone-stage {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 18px;
  align-items: center;
}

.phone-frame {
  overflow: hidden;
  border: 10px solid #191225;
  border-radius: 34px;
  background: #191225;
  box-shadow: var(--shadow);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.mini-stack {
  display: grid;
  gap: 14px;
}

.mini-shot {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(45, 30, 78, 0.1);
}

.mini-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 58px 0;
}

.section.alt {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.feature {
  min-height: 156px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(45, 30, 78, 0.06);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.feature p,
.legal-card p {
  color: var(--muted);
}

.feature:nth-child(3n) strong {
  color: #087f73;
}

.feature:nth-child(4n) strong {
  color: #a84c0c;
}

.screenshots {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.72fr);
  gap: 18px;
  align-items: start;
}

.screenshot {
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.legal-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(45, 30, 78, 0.06);
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 78px;
}

.legal-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.legal-box h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal-box h2 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.legal-box ul {
  padding-left: 1.2rem;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 920px) {
  .hero,
  .phone-stage,
  .screenshots {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 14px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 44px;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 8px 18px rgba(45, 30, 78, 0.06);
}

.language-switch svg {
  width: 18px;
  height: 18px;
}

.language-switch select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  outline: 0;
}

.product-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  padding-top: 64px;
}

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

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 18px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #17111f;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(23, 17, 31, 0.24);
}

.store-button img {
  width: 34px;
  height: 34px;
}

.store-button span {
  display: grid;
  line-height: 1.08;
}

.store-button small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.store-button strong {
  font-size: 1.08rem;
}

.store-button-large {
  min-width: 230px;
  justify-content: center;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(190px, 0.48fr);
  gap: 18px;
  align-items: end;
}

.phone-shell {
  overflow: hidden;
  margin: 0;
  border: 10px solid #1b1425;
  border-radius: 34px;
  background: #1b1425;
  box-shadow: 0 24px 60px rgba(45, 30, 78, 0.22);
}

.phone-shell img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-shell-main {
  transform: rotate(-1.2deg);
}

.visual-notes {
  display: grid;
  gap: 14px;
  align-self: center;
}

.visual-notes article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(45, 30, 78, 0.1);
}

.visual-notes strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1rem;
}

.visual-notes p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.showcase-wide {
  display: grid;
  grid-template-columns: 0.92fr 0.72fr;
  align-items: center;
}

.showcase-card h3 {
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.showcase-card p {
  color: var(--muted);
}

.screen-shot {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 220px;
  margin: 0;
  border-radius: 18px;
  background: #f3ecfb;
}

.screen-shot img {
  display: block;
  width: min(100%, 340px);
  height: auto;
}

.download-section {
  background:
    linear-gradient(135deg, rgba(111, 61, 242, 0.12), rgba(18, 191, 167, 0.12)),
    #ffffff;
  border-block: 1px solid var(--line);
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
}

.download-panel .lead {
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  .product-hero,
  .hero-visual,
  .showcase-grid,
  .showcase-wide {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
    margin: 0 auto;
  }

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

@media (max-width: 720px) {
  .nav-links {
    align-items: center;
  }

  .language-switch {
    width: auto;
  }

  .visual-notes {
    grid-template-columns: 1fr;
  }

  .download-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-button,
  .store-button-large {
    width: 100%;
    justify-content: center;
  }

  .phone-shell {
    border-width: 8px;
    border-radius: 28px;
  }
}
