:root {
  --sr-primary: #7b2ff7;
  --sr-primary-strong: #6a1fe0;
  --sr-primary-tint: #efe6ff;
  --sr-accent: #c6ff3d;
  --sr-spark: #e8409e;
  --sr-ink: #1b1430;
  --sr-ink-2: #5b5470;
  --sr-ink-3: #938da8;
  --sr-bg: #f6f3fc;
  --sr-surface-2: #f1ecfa;
  --sr-border: #ece7f5;
  --sr-green: #16a34a;
  --sr-sky: #0ea5e9;
  --sr-white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(27, 20, 48, 0.12);
  --shadow-strong: 0 32px 80px rgba(10, 6, 24, 0.34);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sr-bg);
  color: var(--sr-ink);
  font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--sr-accent);
  color: var(--sr-ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--sr-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--sr-accent);
  color: var(--sr-ink);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(246, 243, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(236, 231, 245, 0.82);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 156px;
}

.brand-link img {
  width: 168px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--sr-ink-2);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--sr-primary);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--sr-white);
  border: 1px solid var(--sr-border);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(27, 20, 48, 0.06);
}

.language-switcher button {
  min-width: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sr-ink-2);
  cursor: pointer;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  padding: 8px 10px;
}

.language-switcher button.is-active {
  background: var(--sr-primary);
  color: var(--sr-white);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--sr-ink);
  color: var(--sr-white);
}

.route-thread {
  position: absolute;
  inset: -10% -14% auto auto;
  width: 760px;
  height: 420px;
  border-right: 16px solid rgba(255, 255, 255, 0.08);
  border-bottom: 16px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 220px 0;
  transform: rotate(-13deg);
  pointer-events: none;
}

.route-thread::before,
.route-thread::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.route-thread::before {
  width: 18px;
  height: 18px;
  right: -17px;
  bottom: 56px;
  background: var(--sr-spark);
  box-shadow: 0 0 0 10px rgba(232, 64, 158, 0.18);
}

.route-thread::after {
  width: 80px;
  height: 16px;
  right: 102px;
  bottom: -16px;
  background: repeating-linear-gradient(
    90deg,
    rgba(198, 255, 61, 0.82) 0 12px,
    transparent 12px 24px
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.94fr);
  gap: 58px;
  align-items: center;
  max-width: var(--max-width);
  min-height: 760px;
  margin: 0 auto;
  padding: 72px 24px 84px;
}

.hero-copy {
  max-width: 570px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sr-primary);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sr-accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 10ch;
  font-size: 72px;
  line-height: 0.95;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}

.hero-lede {
  max-width: 58ch;
  color: #d7d0e9;
  font-size: 19px;
  line-height: 1.6;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-button {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 184px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sr-white);
  padding: 13px 18px;
  text-align: left;
  cursor: not-allowed;
}

.store-icon {
  width: 25px;
  height: 25px;
  color: var(--sr-white);
  fill: currentColor;
  flex: none;
}

.store-icon-play {
  width: 24px;
  height: 24px;
}

.store-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.store-copy span {
  color: #b8b2ce;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.store-copy strong {
  color: var(--sr-white);
  font-size: 17px;
  line-height: 1.1;
}

.free-note {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 16px 0 0;
  color: #d7d0e9;
  font-size: 15px;
  font-weight: 800;
}

.free-note::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sr-accent);
  box-shadow: 0 0 0 6px rgba(198, 255, 61, 0.13);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 660px;
  place-items: center;
}

.speed-sign {
  position: absolute;
  top: 24px;
  left: 10px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border: 7px solid var(--sr-spark);
  border-radius: 50%;
  background: var(--sr-white);
  color: var(--sr-ink);
  box-shadow: 0 18px 44px rgba(10, 6, 24, 0.28);
  text-align: center;
}

.speed-sign span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.speed-sign strong {
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
}

.screen-shot {
  margin: 0;
  overflow: visible;
}

.screen-shot img {
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: var(--sr-white);
  box-shadow: var(--shadow-strong);
}

.screen-shot-main {
  position: relative;
  z-index: 3;
  transform: translateX(-26px) rotate(-1.5deg);
}

.screen-shot-main img {
  width: 326px;
}

.screen-shot-side {
  position: absolute;
  z-index: 2;
  right: 4px;
  bottom: 46px;
  transform: rotate(4deg);
}

.screen-shot-side img {
  width: 224px;
  opacity: 0.98;
}

.intro-band {
  background: var(--sr-white);
  border-bottom: 1px solid var(--sr-border);
}

.intro-band-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 26px 24px;
}

.intro-band p {
  max-width: 760px;
  margin: 0;
  color: var(--sr-ink-2);
  font-size: 18px;
  font-weight: 700;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 92px 24px;
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading h2,
.route-copy h2 {
  color: var(--sr-ink);
}

.section-heading p:not(.eyebrow),
.route-copy p:not(.eyebrow) {
  color: var(--sr-ink-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-section {
  padding-bottom: 60px;
}

.feature-card {
  min-height: 276px;
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  background: var(--sr-white);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(27, 20, 48, 0.06);
}

.feature-token {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--sr-primary-tint);
  color: var(--sr-primary);
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 20px;
  font-weight: 500;
}

.feature-token-pink {
  background: #fde8f3;
  color: var(--sr-spark);
}

.feature-token-green {
  background: #e6f7ec;
  color: var(--sr-green);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--sr-ink-2);
}

.route-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 72px;
}

.route-copy {
  position: sticky;
  top: 104px;
}

.route-copy p:last-child {
  font-size: 18px;
}

.route-steps {
  display: grid;
  gap: 12px;
}

.route-steps article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  background: var(--sr-white);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(27, 20, 48, 0.05);
}

.route-steps span {
  display: inline-grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sr-ink);
  color: var(--sr-accent);
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  font-weight: 500;
}

.route-steps h3 {
  margin-bottom: 5px;
}

.route-steps p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--sr-ink-2);
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 38px 24px 48px;
  color: var(--sr-ink-2);
}

.site-footer img {
  width: 154px;
  height: auto;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.footer-links a {
  color: var(--sr-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 1060px) {
  .site-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 700px;
  }

  h1 {
    max-width: 11ch;
    font-size: 62px;
  }

  .hero-visual {
    min-height: 650px;
  }

  .screen-shot-main {
    transform: translateX(-70px) rotate(-1deg);
  }

  .screen-shot-side {
    right: 76px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-section {
    grid-template-columns: 1fr;
  }

  .route-copy {
    position: static;
  }

}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-link img {
    width: 142px;
  }

  .language-switcher button {
    min-width: 38px;
    padding: 7px 9px;
  }

  .hero-inner {
    gap: 32px;
    padding: 46px 18px 62px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lede,
  .intro-band p,
  .route-copy p:last-child {
    font-size: 16px;
  }

  .route-thread {
    display: none;
  }

  .hero .store-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero .store-button {
    width: auto;
    min-width: 0;
    padding: 12px 14px;
  }

  .hero-visual {
    min-height: 540px;
    overflow: hidden;
  }

  .speed-sign {
    left: 0;
    top: 8px;
    width: 100px;
    height: 100px;
    border-width: 6px;
  }

  .speed-sign strong {
    font-size: 34px;
  }

  .screen-shot-main {
    transform: translateX(18px) rotate(-1deg);
  }

  .screen-shot-main img {
    width: 280px;
  }

  .screen-shot-side {
    right: auto;
    left: 0;
    bottom: 26px;
  }

  .screen-shot-side img {
    width: 172px;
  }

  .intro-band-inner,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 70px 18px;
  }

  .feature-section {
    padding-bottom: 42px;
  }

  .route-section {
    padding-top: 42px;
    padding-bottom: 56px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .route-steps article {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .brand-link img {
    width: 126px;
  }

  .language-switcher button {
    min-width: 34px;
    font-size: 16px;
    padding: 7px 8px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .screen-shot-main img {
    width: 248px;
  }

  .screen-shot-side img {
    width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
