@font-face {
  font-family: "Parkinsans";
  src: url("assets/Parkinsans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Parkinsans";
  src: url("assets/Parkinsans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Zalando Sans";
  src: url("assets/ZalandoSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Zalando Sans";
  src: url("assets/ZalandoSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Zalando Sans";
  src: url("assets/ZalandoSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --background: #f5f5f5;
  --surface: #ffffff;
  --ink: #212227;
  --coal: #42444d;
  --muted: rgba(28, 29, 33, 0.6);
  --eggplant: #804c71;
  --eggplant-light: #f4dce9;
  --teal-soft: rgba(0, 229, 205, 0.08);
  --line: rgba(28, 29, 33, 0.1);
  --shadow: 0 14px 30px rgba(33, 34, 39, 0.08);
  --radius-small: 16px;
  --radius-medium: 24px;
  --radius-large: 32px;
  --page-gutter: clamp(20px, 4vw, 56px);
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Zalando Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid #009182;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 16px;
  width: min(calc(100% - 32px), 1120px);
  min-height: 68px;
  margin: 16px auto 0;
  padding: 10px 14px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(33, 34, 39, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--eggplant);
  font-family: "Parkinsans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-logo {
  width: 104px;
  height: 30px;
  display: block;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-navigation a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--coal);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.primary-navigation a:hover {
  background: var(--teal-soft);
  color: var(--eggplant);
}

.primary-navigation a:last-child {
  background: var(--eggplant);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: rgba(28, 29, 33, 0.05);
  color: var(--ink);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 4px auto;
  display: block;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease;
}

.section-shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--max-width));
  margin-inline: auto;
}

.hero {
  min-height: 1230px;
  padding: 70px var(--page-gutter) 70px;
  overflow: hidden;
}

.hero-copy {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hero h1,
.problem-section h2,
.how-section h2,
.download-section h2,
.faq-section h2,
.legal-page h1,
.legal-page h2 {
  margin: 0;
  font-family: "Parkinsans", sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero h1 {
  color: var(--eggplant);
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1.12;
}

.hero-copy > p {
  max-width: 780px;
  margin: 20px auto 36px;
  color: var(--coal);
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.35;
}

.app-store-badge {
  min-width: 188px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #050505;
  color: #fff;
  box-shadow: 0 10px 20px rgba(33, 34, 39, 0.13);
  text-align: left;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(33, 34, 39, 0.18);
}

.app-store-badge svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: currentColor;
}

.app-store-badge span {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.05;
}

.app-store-badge strong {
  margin-top: 2px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-stage {
  position: relative;
  width: min(1163.29px, 100%);
  height: 819px;
  margin: 38px auto 0;
}

.hero-mnemonic {
  --mnemonic-parallax-offset: 0px;
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: 250px;
  transform: translate3d(0, var(--mnemonic-parallax-offset), 0) translateX(-50%) rotate(-7deg);
  will-change: transform;
}

.hero-canvas {
  position: absolute;
  top: 96px;
  right: 0;
  left: 0;
  aspect-ratio: 1163.29 / 723.014;
}

.hero-swoosh {
  position: absolute;
  z-index: 0;
  top: 3.91%;
  left: 1.16%;
  width: 97.68%;
  height: 92.18%;
  transform: rotate(-2.88deg) skewX(-0.44deg);
}

.hero-wordmark {
  position: absolute;
  z-index: 1;
  top: 8.27%;
  left: 23.7%;
  width: 56.22%;
  height: 25.92%;
  transform: rotate(-6.03deg);
}

.hero-mascot {
  position: absolute;
  z-index: 3;
  top: 20.33%;
  left: 36.5%;
  width: 27.56%;
}

.hero-item {
  position: absolute;
  z-index: 2;
  object-fit: cover;
}

.hero-item-keys {
  top: 71.84%;
  left: 24.21%;
  width: 9.62%;
  height: 9.85%;
}

.hero-item-glasses {
  top: 75.78%;
  left: 33.05%;
  width: 17.48%;
  height: 14.23%;
  transform: rotate(-1.49deg);
}

.hero-item-cable {
  top: 74.96%;
  left: 51.7%;
  width: 14.22%;
  height: 16.02%;
}

.hero-item-wallet {
  top: 72.82%;
  left: 63.83%;
  width: 14.79%;
  height: 10.36%;
}

.memory-bubble {
  --bubble-parallax-offset: 0px;
  position: absolute;
  z-index: 4;
  margin: 0;
  padding: 15px 20px;
  border: 1px solid rgba(28, 29, 33, 0.08);
  border-radius: 26px;
  background: linear-gradient(var(--teal-soft), var(--teal-soft)), #fff;
  box-shadow: 0 12px 18px rgba(33, 34, 39, 0.08);
  color: var(--coal);
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
  transform: translate3d(0, var(--bubble-parallax-offset), 0);
  will-change: transform;
}

.memory-bubble strong {
  color: var(--eggplant);
  font-weight: 600;
}

.memory-bubble-left {
  top: 379px;
  right: 13.1%;
}

.memory-bubble-mid {
  top: 513px;
  left: 7%;
}

.memory-bubble-right {
  top: 503px;
  right: 4.35%;
}

.memory-bubble-glasses {
  top: 395px;
  left: 18.5%;
}

.problem-section {
  padding: 78px 0 94px;
  background: #fff;
}

.problem-section h2,
.how-section h2,
.faq-section h2 {
  color: #2f3037;
  font-size: clamp(40px, 4.7vw, 56px);
  line-height: 1.12;
  text-align: center;
}

.problem-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card {
  position: relative;
  min-height: 218px;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  text-align: center;
}

.problem-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.problem-card > div {
  position: relative;
  z-index: 1;
}

.problem-card h3 {
  margin: 0;
  color: #2f3037;
  font-family: "Parkinsans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.22;
}

.problem-card p {
  margin: 16px 0 0;
  color: var(--coal);
}

.how-section {
  padding: 92px 0 110px;
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(64px, 9vw, 120px);
  align-items: center;
}

.how-section h2 {
  text-align: left;
}

.step-list {
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
}

.step-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 21px 23px;
  border: 1px solid rgba(28, 29, 33, 0.08);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  box-shadow: var(--shadow);
}

.step-card:hover {
  box-shadow: 0 18px 28px rgba(33, 34, 39, 0.12);
  transform: translateY(-2px);
}

.step-card:focus-visible {
  outline: 3px solid rgba(128, 76, 113, 0.35);
  outline-offset: 4px;
}

.step-card.is-active,
.step-card[aria-pressed="true"] {
  border: 2px solid var(--eggplant);
}

.step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(28, 29, 33, 0.04);
  color: var(--eggplant);
}

.step-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.person-question-icon-person {
  fill: currentColor;
  stroke: none;
}

.person-question-icon-mark {
  fill: none;
  stroke: currentColor;
}

.grid-icon-shape,
.bell-badge-icon-bell,
.bell-badge-icon-badge {
  fill: currentColor;
  stroke: none;
}

.step-card strong,
.step-card small {
  display: block;
}

.step-card strong {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
}

.step-card small {
  color: var(--coal);
  font-size: 16px;
  line-height: 1.42;
}

.phone-preview {
  position: relative;
  width: 390px;
  height: 715px;
  padding: 18px;
  overflow: hidden;
  border: 16px solid rgba(28, 29, 33, 0.08);
  border-radius: 68px;
  background: #fff;
  box-shadow: 0 28px 45px rgba(33, 34, 39, 0.12);
}

.phone-preview::after {
  position: absolute;
  inset: 48% 0 0;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(245, 245, 245, 0.94) 80%);
  pointer-events: none;
}

.phone-preview img {
  width: 100%;
  height: auto;
  border-radius: 43px;
  transition: opacity 160ms ease;
}

.phone-preview.is-changing img {
  opacity: 0.44;
}

.download-section {
  padding: 102px var(--page-gutter) 110px;
  background: var(--eggplant);
  color: #fff;
  text-align: center;
}

.download-content {
  max-width: 940px;
  margin: 0 auto;
}

.download-section h2 {
  color: #fff;
  font-size: clamp(46px, 6vw, 70px);
  line-height: 1.03;
}

.download-section p {
  margin: 34px auto 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
}

.download-section small {
  margin-top: 19px;
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.faq-section {
  padding: 108px 0 116px;
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
}

.faq-section h2 {
  text-align: left;
}

.faq-intro > p {
  margin: 22px 0 0;
  color: var(--coal);
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--background);
  transition: background-color 160ms ease;
}

.faq-list details[open] {
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-list summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 23px;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--eggplant);
  content: "";
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details p {
  margin: -3px 56px 22px 22px;
  color: var(--coal);
}

.faq-list details a {
  color: var(--eggplant);
  font-weight: 600;
}

.site-footer {
  padding: 44px var(--page-gutter) 24px;
  background: var(--eggplant);
  color: var(--eggplant-light);
}

.footer-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.brand-on-dark .brand-logo {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a {
  color: var(--eggplant-light);
  font-size: 17px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  width: min(100%, var(--max-width));
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.legal-body {
  background: #fff;
}

.legal-body .site-header {
  position: relative;
}

.legal-main {
  width: min(calc(100% - (var(--page-gutter) * 2)), 820px);
  margin: 0 auto;
  padding: 82px 0 110px;
}

.legal-kicker {
  margin: 0 0 16px;
  color: var(--eggplant);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1.04;
}

.legal-meta {
  margin: 20px 0 52px;
  color: var(--muted);
}

.legal-page section + section {
  margin-top: 48px;
}

.legal-page h2 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.legal-page p,
.legal-page li {
  color: var(--coal);
}

.legal-page ul {
  padding-left: 24px;
}

.legal-page a {
  color: var(--eggplant);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero {
    min-height: 1080px;
  }

  .hero-stage {
    height: 760px;
  }

  .hero-canvas {
    inset-inline: -9%;
  }

  .memory-bubble-left {
    right: 11%;
  }

  .memory-bubble-right {
    right: 7%;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .how-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .how-section h2,
  .faq-section h2 {
    text-align: center;
  }

  .phone-preview {
    justify-self: center;
  }

  .faq-intro {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 20px;
  }

  .site-header {
    top: 10px;
    min-height: 60px;
    margin-top: 10px;
    border-radius: 20px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-logo {
    width: 88px;
    height: 25px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    padding: 10px;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .primary-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-navigation a {
    padding: 13px 15px;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    min-height: 890px;
    padding-top: 56px;
    padding-bottom: 38px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .hero-copy > p {
    margin-top: 16px;
    font-size: 19px;
  }

  .hero-stage {
    height: 485px;
    margin-top: 28px;
  }

  .hero-mnemonic {
    width: 160px;
  }

  .hero-canvas {
    inset: 70px -37% auto;
  }

  .memory-bubble {
    padding: 10px 13px;
    border-radius: 19px;
    font-size: 18px;
  }

  .memory-bubble-left {
    top: 226px;
    left: 24%;
    right: auto;
  }

  .memory-bubble-mid {
    top: 41.32%;
    left: 34%;
  }

  .memory-bubble-right {
    top: 178px;
    right: 24%;
  }

  .memory-bubble-glasses {
    top: 390px;
    right: 24%;
    left: auto;
  }

  .problem-section,
  .how-section,
  .faq-section {
    padding-block: 72px;
  }

  .problem-grid {
    margin-top: 40px;
  }

  .problem-card {
    min-height: 180px;
    padding: 20px;
  }

  .problem-card h3 {
    font-size: 21px;
  }

  .how-layout {
    gap: 58px;
  }

  .step-list {
    margin-top: 36px;
  }

  .step-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border-radius: 25px;
  }

  .step-icon {
    width: 48px;
    height: 48px;
  }

  .step-card strong {
    font-size: 18px;
  }

  .step-card small {
    font-size: 15px;
  }

  .phone-preview {
    width: min(100%, 330px);
    height: 610px;
    border-width: 12px;
    border-radius: 57px;
  }

  .download-section {
    padding-block: 78px 82px;
  }

  .download-section h2 {
    font-size: 44px;
  }

  .download-section p {
    font-size: 18px;
  }

  .faq-layout {
    gap: 40px;
  }

  .faq-list summary {
    padding-left: 18px;
  }

  .faq-list details p {
    margin-left: 18px;
    margin-right: 38px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
  }

  .legal-navigation {
    position: static;
    display: flex;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .legal-navigation a {
    padding: 8px 7px;
    font-size: 12px;
  }

  .legal-main {
    padding-top: 58px;
  }
}

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

  .memory-bubble {
    will-change: auto;
  }

  .hero-mnemonic {
    will-change: auto;
  }

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