@font-face {
  font-family: Poppins;
  src: url('/assets/poppins-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/assets/poppins-semibold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/assets/poppins-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --purple: #5b00e6;
  --purple-deep: #25004d;
  --yellow: #ffe600;
  --white: #fff;
  --ink: #23152f;
  --muted: #5d5367;
  --line: #dbd2e6;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Poppins, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}

.site-header a:focus-visible,
.hero a:focus-visible,
.download-section a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--yellow);
}

.idea-section a:focus-visible,
.button-primary:focus-visible,
.store-button-android:focus-visible {
  outline-color: var(--purple-deep);
}

.wrap {
  width: min(1280px, calc(100% - 72px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: -100px;
  left: 18px;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--purple-deep);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--purple);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 94px;
  gap: 36px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 48px;
}

.brand-link img {
  display: block;
  width: 174px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}

.top-nav a,
.footer-layout nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-underline-offset: 5px;
}

.top-nav a:hover,
.footer-layout nav a:hover {
  text-decoration: underline;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--yellow);
  border-radius: 100px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.header-cta:hover {
  color: var(--purple-deep);
  background: var(--yellow);
}

.hero {
  overflow: hidden;
  background: var(--purple);
  color: var(--white);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.09fr) minmax(0, 0.91fr);
  align-items: center;
  gap: clamp(34px, 5vw, 84px);
  min-height: 712px;
  padding-block: 42px 54px;
}

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

.hero-copy-inner {
  max-width: 690px;
  padding-block: 16px;
}

.hero h1 {
  max-width: 740px;
  margin-top: 0;
  font-size: clamp(66px, 6.7vw, 108px);
  font-weight: 700;
  line-height: 1.025;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  color: var(--yellow);
}

.hero-lead {
  max-width: 520px;
  margin-top: 30px;
  color: #f6f0ff;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.button-primary {
  background: var(--yellow);
  color: var(--purple-deep);
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #fff47a;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.65);
  text-underline-offset: 6px;
}

.hero-secondary:hover {
  text-decoration-color: var(--yellow);
}

.hero-photo {
  min-width: 0;
  width: 100%;
  padding: 0 16px 0 0;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 0.91;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 83%, 83% 100%, 0 100%);
}

.hero-photo img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  clip-path: polygon(0 0, 100% 0, 100% 83%, 83% 100%, 0 100%);
}

.hero-photo figcaption {
  max-width: 520px;
  margin-top: 30px;
  color: #e1d2fb;
  font-size: 10px;
  line-height: 1.6;
}

.hero-photo figcaption a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.idea-section {
  background: var(--yellow);
  color: var(--purple-deep);
}

.idea-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(48px, 8vw, 140px);
  padding-block: clamp(100px, 10vw, 160px);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.idea-section h2,
.download-section h2,
.faq-section h2 {
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.idea-section h2 {
  max-width: 760px;
  margin-top: 22px;
}

.idea-copy {
  align-self: end;
  padding-bottom: 7px;
  font-size: 18px;
  line-height: 1.7;
}

.idea-copy p + p {
  margin-top: 20px;
}

.idea-copy a {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  min-height: 48px;
  margin-top: 30px;
  border-bottom: 2px solid var(--purple-deep);
  font-size: 14px;
  font-weight: 700;
}

.idea-copy a:hover {
  gap: 32px;
}

.download-section {
  background: var(--purple-deep);
  color: var(--white);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
  padding-block: clamp(95px, 10vw, 152px);
}

.download-section h2 {
  max-width: 540px;
  margin-top: 20px;
}

.download-copy > p:last-child {
  max-width: 530px;
  margin-top: 30px;
  color: #e6ddf2;
  font-size: 16px;
  line-height: 1.75;
}

.download-actions {
  display: grid;
  gap: 14px;
}

.store-button {
  position: relative;
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 112px;
  width: 100%;
  padding: 22px 72px 22px 28px;
  border-radius: 4px;
  text-align: left;
}

.store-platform {
  font-size: 12px;
  font-weight: 600;
}

.store-button strong {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.store-unavailable {
  position: absolute;
  top: 50%;
  right: 27px;
  transform: translateY(-50%);
  font-size: 27px;
  font-weight: 400;
}

.store-button-android {
  background: var(--yellow);
  color: var(--purple-deep);
  cursor: not-allowed;
}

.store-button-ios {
  border: 1px solid #8a75a4;
  background: transparent;
  color: #d4c8e3;
  cursor: not-allowed;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(55px, 8vw, 120px);
  padding-block: clamp(95px, 10vw, 150px);
}

.faq-intro {
  align-self: start;
}

.faq-intro .section-label {
  color: var(--purple);
}

.faq-section h2 {
  max-width: 400px;
  margin-top: 22px;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
  padding-block: 18px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

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

.faq-list summary span {
  flex: none;
  color: var(--purple);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

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

.faq-list details > p {
  max-width: 630px;
  padding: 0 34px 26px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.site-footer {
  background: var(--purple);
  color: var(--white);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-block: 62px 55px;
}

.footer-layout img {
  display: block;
  width: 190px;
  height: auto;
}

.footer-layout p {
  margin-top: 13px;
  color: #e2d4f6;
  font-size: 13px;
}

.footer-layout nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 32px;
  font-size: 13px;
  font-weight: 600;
}

.footer-bottom {
  padding-block: 20px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #e2d4f6;
  font-size: 11px;
}

@media (max-width: 1050px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    min-height: 610px;
  }

  .hero h1 {
    font-size: clamp(55px, 6.6vw, 74px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .idea-copy {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 36px, 560px);
  }

  .header-inner {
    min-height: 72px;
    gap: 16px;
  }

  .brand-link img {
    width: 143px;
  }

  .top-nav {
    display: none;
  }

  .header-cta {
    min-height: 44px;
    gap: 10px;
    margin-left: auto;
    padding: 10px 13px;
    font-size: 11px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding-block: 38px 52px;
  }

  .hero-copy-inner {
    padding: 0;
  }

  .hero h1 {
    max-width: 590px;
    font-size: clamp(48px, 10.5vw, 76px);
  }

  .hero-lead {
    max-width: 530px;
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-photo {
    max-width: 530px;
  }

  .hero-photo-frame {
    aspect-ratio: 1.22;
  }

  .hero-photo figcaption {
    margin-top: 27px;
  }

  .idea-layout,
  .download-layout,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .idea-layout {
    padding-block: 80px 88px;
  }

  .idea-section h2,
  .download-section h2,
  .faq-section h2 {
    font-size: clamp(40px, 8vw, 58px);
  }

  .idea-copy {
    max-width: 540px;
  }

  .download-layout,
  .faq-section {
    padding-block: 86px 92px;
  }

  .download-copy > p:last-child {
    margin-top: 22px;
  }

  .faq-section {
    gap: 36px;
  }

  .footer-layout {
    flex-direction: column;
    gap: 26px;
    padding-block: 50px 35px;
  }
}

@media (max-width: 400px) {
  .brand-link img {
    width: 123px;
  }

  .header-cta {
    padding-inline: 10px;
  }

  .hero h1 {
    font-size: clamp(43px, 10.5vw, 48px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .button {
    width: 100%;
  }

  .hero-photo-frame {
    aspect-ratio: 1;
  }

  .store-button {
    min-height: 104px;
    padding: 18px 52px 18px 18px;
  }

  .store-unavailable {
    right: 18px;
  }
}

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

  .header-cta,
  .button {
    transition: none;
  }
}
