:root {
  --ink: #202333;
  --muted: #696f82;
  --paper: #fffdf9;
  --white: #ffffff;
  --purple: #6153bb;
  --purple-dark: #4a3d9e;
  --blue: #4a7bea;
  --coral: #ff6d61;
  --mint: #47ad7d;
  --lilac: #ebe5ff;
  --peach: #ffe3dc;
  --sky: #e6efff;
  --green-soft: #e1f5eb;
  --border: #e7e3ef;
  --shadow: 0 24px 70px rgba(39, 31, 83, 0.15);
  --radius: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-rounded, "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(97, 83, 187, 0.1);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  position: relative;
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand > span > span {
  color: var(--purple);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

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

.language-picker {
  display: inline-flex;
  flex: 0 0 auto;
}

.language-picker select {
  min-width: 66px;
  height: 40px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  background-color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--lilac);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  display: grid;
  min-height: 760px;
  padding-top: 84px;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(350px, 0.96fr);
  gap: 68px;
}

.eyebrow {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 28px;
  height: 4px;
  flex: 0 0 28px;
  border-radius: 4px;
  background: var(--coral);
}

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

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

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

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  margin-bottom: 42px;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  background: var(--purple);
  box-shadow: 0 10px 28px rgba(97, 83, 187, 0.24);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--purple-dark);
  box-shadow: 0 14px 32px rgba(97, 83, 187, 0.3);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 13px;
}

.button-light {
  color: var(--purple) !important;
  background: var(--white);
}

.button-light:hover {
  background: #f5f2ff;
}

.text-link {
  color: var(--purple);
  font-weight: 850;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-facts {
  display: flex;
  margin: 0;
  gap: 0;
}

.hero-facts div {
  min-width: 128px;
  padding: 0 22px;
  border-left: 1px solid var(--border);
}

.hero-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts dt {
  font-size: 1.15rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 670px;
  align-items: center;
  justify-content: center;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.halo-one {
  width: min(480px, 100%);
  height: auto;
  aspect-ratio: 1;
  background: var(--lilac);
}

.halo-two {
  top: 48px;
  right: 1%;
  width: 160px;
  height: 160px;
  background: var(--peach);
}

.phone {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 10px solid #252738;
  border-radius: 42px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone-hero {
  width: min(350px, 74vw);
  max-width: 100%;
  transform: rotate(2deg);
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 9px;
  left: 50%;
  width: 76px;
  height: 7px;
  border-radius: 8px;
  background: #252738;
  transform: translateX(-50%);
}

.screenshot-label {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 84px;
  display: flex;
  padding: 13px 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(39, 31, 83, 0.13);
  font-size: 0.78rem;
}

.screenshot-label span {
  color: var(--muted);
}

.trust-strip {
  display: flex;
  padding: 22px max(20px, calc((100% - var(--max)) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--white);
  background: var(--purple);
}

.trust-strip p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.trust-strip span {
  margin-right: 7px;
  color: #b9f1d4;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-section {
  padding-bottom: 120px;
}

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

.feature-card {
  min-height: 330px;
  padding: 34px 30px;
  border-radius: var(--radius);
}

.feature-card p {
  margin-bottom: 0;
  color: #555b6d;
}

.feature-coral {
  background: var(--peach);
}

.feature-lilac {
  background: var(--lilac);
}

.feature-blue {
  background: var(--sky);
}

.feature-mint {
  background: var(--green-soft);
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 58px;
  border-radius: 18px;
  place-items: center;
  color: var(--white);
  background: var(--purple);
  font-size: 1rem;
  font-weight: 900;
}

.feature-coral .feature-icon {
  background: var(--coral);
}

.feature-blue .feature-icon {
  background: var(--blue);
}

.feature-mint .feature-icon {
  background: var(--mint);
}

.language-line {
  margin: 28px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  background: var(--white);
}

.new-feature {
  display: grid;
  margin-top: 22px;
  padding: 28px 30px;
  border: 1px solid rgba(97, 83, 187, 0.18);
  border-radius: var(--radius);
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #f3efff, #e6efff);
}

.new-feature .eyebrow {
  margin-bottom: 10px;
}

.new-feature h3,
.new-feature > p {
  margin-bottom: 0;
}

.new-feature > p {
  color: var(--muted);
}

.app-section {
  width: 100%;
  max-width: none;
  padding: 108px max(20px, calc((100% - var(--max)) / 2));
  background: #f3efff;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 72px;
}

.new-feature {
  grid-template-columns: 1fr;
  gap: 10px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.showcase-card {
  display: flex;
  min-width: 0;
  padding: 34px 28px 0;
  overflow: hidden;
  border-radius: 30px;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(39, 31, 83, 0.08);
}

.showcase-card:nth-child(2) {
  background: #fff7f3;
}

.showcase-card:nth-child(3) {
  background: #f3fbf7;
}

.showcase-card:nth-child(4) {
  background: #f3f7ff;
}

.showcase-copy {
  align-self: stretch;
}

.showcase-copy p:not(.step-number) {
  min-height: 112px;
  color: var(--muted);
  font-size: 0.92rem;
}

.step-number {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.phone-showcase {
  width: min(270px, 88%);
  margin-bottom: -160px;
  border-width: 7px;
  border-radius: 32px;
  transition: transform 220ms ease;
}

.showcase-card:hover .phone-showcase {
  transform: translateY(-8px);
}

.how-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 86px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  grid-template-columns: 58px 1fr;
  gap: 22px;
}

.steps li:last-child {
  border-bottom: 1px solid var(--border);
}

.steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  place-items: center;
  color: var(--purple);
  background: var(--lilac);
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-section {
  display: grid;
  padding: 72px;
  border-radius: 34px;
  grid-template-columns: 150px 1fr;
  gap: 48px;
  background: var(--ink);
  color: var(--white);
}

.about-section h2 {
  max-width: 700px;
}

.about-section p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: #c9cbd6;
}

.about-mark {
  display: grid;
  width: 132px;
  height: 132px;
  border-radius: 30px;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}

.about-mark img {
  border-radius: 24px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 86px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  display: flex;
  padding: 24px 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--purple);
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 42px 24px 0;
  color: var(--muted);
}

.download-section {
  display: grid;
  width: 100%;
  max-width: none;
  padding: 94px max(20px, calc((100% - var(--max)) / 2));
  grid-template-columns: 1.1fr 0.9fr;
  gap: 74px;
  align-items: center;
  color: var(--white);
  background: var(--purple);
}

.download-copy p:not(.eyebrow) {
  max-width: 670px;
  color: #ddd9ff;
}

.download-copy .eyebrow {
  color: #ffc4bc;
}

.release-card {
  display: grid;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  grid-template-columns: 72px 1fr;
  gap: 20px 26px;
  background: rgba(255, 255, 255, 0.1);
}

.release-card img {
  border-radius: 18px;
  grid-row: 1 / 4;
}

.release-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.release-card span {
  color: #ddd9ff;
  font-size: 0.86rem;
}

.site-footer {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 52px 0;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: none;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--purple);
}

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

dialog {
  width: min(calc(100% - 36px), 580px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(24, 22, 40, 0.65);
  backdrop-filter: blur(3px);
}

.dialog-content {
  position: relative;
  padding: 42px;
}

.dialog-content p:last-child {
  margin-bottom: 0;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: #f0edf8;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(320px, 100%);
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 32px;
  }

  .hero-visual {
    min-height: 590px;
  }

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

  .split-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-copy p:not(.step-number) {
    min-height: auto;
  }

  .how-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-section {
    padding: 54px;
  }

  .download-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 74px 0;
  }

  .hero {
    padding-top: 58px;
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.5rem);
  }

  .hero-visual {
    min-height: 590px;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-facts div {
    min-width: 0;
    padding: 0 12px;
  }

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

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

  .showcase-card:last-child {
    grid-column: auto;
  }

  .showcase-card {
    padding-top: 28px;
  }

  .phone-showcase {
    margin-bottom: -130px;
  }

  .about-section {
    padding: 38px 28px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-mark {
    width: 104px;
    height: 104px;
  }

  .about-mark img {
    width: 72px;
  }

  .download-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .release-card {
    grid-template-columns: 56px 1fr;
    padding: 22px;
  }

  .release-card img {
    width: 56px;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  html,
  body {
    overflow-x: hidden;
  }

  .nav-shell,
  .section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    font-size: 1.2rem;
  }

  .nav-shell {
    gap: 8px;
  }

  .nav-shell > .brand > span {
    display: none;
  }

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

  h1 {
    max-width: 100%;
    font-size: 2.35rem;
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .hero .eyebrow {
    display: block;
  }

  .hero .eyebrow span {
    display: inline-block;
    margin-right: 9px;
    vertical-align: middle;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-facts {
    width: 100%;
    font-size: 0.9rem;
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .hero-facts div:first-child {
    padding: 11px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .hero-facts div:first-child {
    border-top: 0;
  }

  .hero-facts dd {
    font-size: 0.72rem;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone-hero {
    width: 265px;
  }

  .screenshot-label {
    right: 4px;
    bottom: 35px;
  }

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

  .feature-icon {
    margin-bottom: 42px;
  }

  .showcase-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .release-card div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .dialog-content {
    padding: 38px 24px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
