:root {
  --after-dark: #09090b;
  --surface: #111016;
  --surface-glass: rgba(13, 12, 17, 0.78);
  --ink: #f8f3e8;
  --quiet: rgba(248, 243, 232, 0.66);
  --faint: rgba(248, 243, 232, 0.42);
  --line: rgba(248, 243, 232, 0.13);
  --lime: #d7ff3f;
  --pink: #ff42a7;
  --purple: #9d6bff;
  --blue: #43dfff;
  --yellow: #ffe14d;
  --display: "Baloo 2", ui-rounded, sans-serif;
  --body: "Schibsted Grotesk", ui-sans-serif, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--after-dark);
  font-family: var(--body);
}

html.has-modal,
html.has-modal body {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: -20%;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 35% 18%, rgba(160, 68, 255, 0.4), transparent 32%),
    radial-gradient(circle at 72% 50%, rgba(255, 46, 158, 0.25), transparent 34%),
    radial-gradient(circle at 20% 95%, rgba(69, 27, 151, 0.3), transparent 30%);
  filter: blur(90px);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

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

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

.ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 66, 167, 0.5);
  border-radius: 50%;
  animation: ambient-ripple 5.2s ease-out infinite;
}

.ambient span:nth-child(1) { left: 10%; top: 24%; }
.ambient span:nth-child(2) { right: -3%; top: 34%; animation-delay: 1s; }
.ambient span:nth-child(3) { left: 20%; top: 72%; animation-delay: 2s; }
.ambient span:nth-child(4) { right: 20%; top: 78%; animation-delay: 3s; }
.ambient span:nth-child(5) { left: -5%; top: 52%; animation-delay: 4s; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  width: min(1180px, 100%);
  height: 76px;
  margin: 0 auto;
  padding: 0 40px;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  width: 100%;
  max-width: none;
  background: var(--surface-glass);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled > *:first-child {
  margin-left: max(0px, calc((100vw - 1100px) / 2));
}

.site-header.is-scrolled nav {
  margin-right: max(0px, calc((100vw - 1100px) / 2));
}

.wordmark img {
  display: block;
  width: 52px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-pill {
  height: 40px;
  padding: 0 16px;
  color: var(--quiet);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 14px var(--body);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-pill:hover,
.nav-pill:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(248, 243, 232, 0.25);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  color: #11120a;
  background: var(--lime);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(215, 255, 63, 0.22);
  font: 800 17px var(--display);
  white-space: nowrap;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(215, 255, 63, 0.42);
}

.button-small {
  min-height: 40px;
  padding: 0 17px;
  font-size: 14px;
}

.button-cream {
  background: var(--ink);
  box-shadow: 0 0 22px rgba(248, 243, 232, 0.12);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 138px);
  overflow-x: hidden;
  overflow-x: clip;
  padding: 26px 22px 12px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.stamp {
  color: var(--faint);
  font: 700 11px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stamp-loud {
  display: inline-block;
  padding: 7px 12px;
  color: #14160d;
  background: var(--lime);
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(215, 255, 63, 0.24);
  transform: rotate(-2deg);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 920px;
  margin: 11px auto 8px;
  font: 800 62px/0.98 var(--display);
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--lime);
}

.hero-copy > p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--quiet);
  font-size: 20px;
  line-height: 1.45;
}

.phone-stage {
  position: relative;
  width: 296px;
  height: 548px;
  margin: 18px auto 0;
  perspective: 1000px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 270px;
  height: 548px;
  background: #070709;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 46px;
  box-shadow: 0 34px 85px rgba(0, 0, 0, 0.68);
}

.phone::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 30;
  width: 86px;
  height: 22px;
  content: "";
  background: #050506;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-main {
  left: 13px;
  z-index: 3;
  border-color: rgba(255, 66, 167, 0.7);
}

.phone-side {
  top: 62px;
  z-index: 1;
  width: 224px;
  height: 454px;
  opacity: 0.66;
}

.phone-left {
  right: 198px;
  transform: rotate(-9deg);
}

.phone-right {
  left: 214px;
  transform: rotate(8deg);
}

.phone-screen,
.side-post {
  position: absolute;
  inset: 0;
}

.app-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 34px 16px 18px;
  background: linear-gradient(#09090b, transparent);
}

.app-header img {
  width: 42px;
  margin: 0 auto;
}

.round-button {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  background: rgba(5, 3, 13, 0.78);
  border: 1px solid var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(157, 107, 255, 0.65);
  font-weight: 700;
}

.round-button-pink {
  color: var(--ink);
  border-color: var(--pink);
  box-shadow: 0 0 12px rgba(255, 66, 167, 0.7);
  font-size: 26px;
}

.post-slides {
  position: absolute;
  inset: 0;
}

.post-slide,
.side-post {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 86px 25px 118px;
  opacity: 0;
  transition: opacity 600ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
  transform: translateY(14px) scale(1.02);
}

.post-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.post-slide p,
.side-post p {
  margin: 24px 0 0;
  color: white;
  font: 800 35px/1.03 var(--display);
  letter-spacing: -0.035em;
  text-align: center;
  text-shadow: 0 3px 13px rgba(0, 0, 0, 0.55);
}

.post-label {
  align-self: flex-start;
  padding: 7px 11px;
  color: #14160d;
  background: var(--lime);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(215, 255, 63, 0.45);
  font: 700 9px var(--mono);
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
}

.post-one { background: linear-gradient(145deg, #8f173d, #4d0b5e 54%, #111327); }
.post-two { background: linear-gradient(155deg, #427615, #184537 54%, #0e1827); }
.post-three { background: radial-gradient(circle at 78% 24%, #d558b6, transparent 25%), linear-gradient(145deg, #30144f, #09162e); }
.post-four { background: linear-gradient(150deg, #c16c1a, #b32855 52%, #331548); }
.side-post { opacity: 1; }
.side-post-pink { background: linear-gradient(150deg, #a71954, #4c145f 58%, #101429); }
.side-post-lime { background: linear-gradient(150deg, #6e8e12, #14594b 56%, #10152c); }

.action-shell {
  position: absolute;
  right: 14px;
  bottom: 17px;
  left: 14px;
  z-index: 22;
  height: 76px;
  overflow: hidden;
  padding: 2px;
  border-radius: 40px;
  box-shadow: 0 0 16px rgba(163, 78, 255, 0.72);
}

.action-shell::before {
  position: absolute;
  inset: -170%;
  content: "";
  background: conic-gradient(var(--purple), var(--pink), var(--yellow), var(--blue), var(--purple));
  animation: border-spin 12s linear infinite, border-hue 24s ease-in-out infinite;
}

.action-bar {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(5, 3, 13, 0.96);
  border-radius: 38px;
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: var(--pink);
}

.action:nth-child(2) { color: var(--purple); }
.action-boost { color: var(--yellow); }
.action-freeze { color: var(--blue); }

.action b {
  font-size: 25px;
  line-height: 1;
  text-shadow: 0 0 9px currentColor;
}

.action small {
  color: currentColor;
  font: 700 9px var(--mono);
  letter-spacing: 0.06em;
}

.heart-icon {
  font-family: sans-serif;
}

.store-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mobile-hero-buttons {
  display: none;
}

footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(1180px, 100%);
  min-height: 66px;
  margin: 0 auto;
  padding: 12px 40px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.footer-links a {
  color: var(--quiet);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--ink);
}

.sticky-download {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--surface-glass);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.modal {
  width: min(760px, calc(100% - 40px));
  max-height: 88vh;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: #0d0e0c;
  border: 1px solid rgba(215, 255, 63, 0.4);
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
}

.modal[open] {
  display: flex;
  flex-direction: column;
  animation: modal-rise 320ms cubic-bezier(.2,.8,.2,1);
}

.modal::backdrop {
  background: rgba(6, 8, 4, 0.76);
  backdrop-filter: blur(10px);
}

.modal-topbar {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: 46px 46px 0;
  text-align: center;
}

.modal-content {
  min-height: 0;
  padding: 16px 46px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 40px;
  height: 40px;
  color: var(--quiet);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: 400 30px/1 var(--body);
  cursor: pointer;
}

.modal-content h2 {
  max-width: 570px;
  margin: 0 auto;
  font: 800 42px/1.02 var(--display);
  letter-spacing: -0.035em;
  text-align: center;
}

.modal-topbar > .stamp,
.modal-content > .spark {
  display: block;
  text-align: center;
}

.spark {
  margin-bottom: 5px;
  color: var(--pink);
  font-size: 25px;
  text-shadow: 0 0 12px var(--pink);
}

.travel-graphic {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 28px auto;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one { width: 100%; height: 100%; }
.orbit-two { width: 72%; height: 72%; }
.orbit-three { width: 44%; height: 44%; border-color: rgba(215, 255, 63, 0.5); }

.pulse-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--pink);
  background: #09090b;
  border-radius: 50%;
  box-shadow: 0 0 18px var(--pink);
  transform: translate(-50%, -50%);
  animation: heart-pulse 2.4s ease-in-out infinite;
}

.steps,
.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 34px;
}

.steps article,
.promises article {
  padding-top: 15px;
  text-align: left;
  border-top: 2px solid var(--lime);
}

.steps h3 {
  margin: 12px 0 8px;
  font: 700 21px/1.06 var(--display);
}

.steps p,
.promises p {
  margin: 10px 0 0;
  color: var(--quiet);
  font-size: 15px;
  line-height: 1.5;
}

.promises p {
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
}

@keyframes ambient-ripple {
  0% { opacity: 0; transform: scale(0.2); }
  22% { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes border-spin {
  to { transform: rotate(360deg); }
}

@keyframes border-hue {
  0%, 100% { filter: saturate(0.8) hue-rotate(0deg); }
  50% { filter: saturate(1.15) hue-rotate(50deg); }
}

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heart-pulse {
  50% { transform: translate(-50%, -50%) scale(1.16); }
}

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

@media (max-width: 899px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .site-header {
    height: 66px;
    padding: 0 20px;
  }

  .site-header.is-scrolled > *:first-child {
    margin-left: 0;
  }

  .site-header.is-scrolled nav {
    margin-right: 0;
  }

  .wordmark img {
    width: 45px;
  }

  .nav-pill {
    height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .desktop-download {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(38px, 10vw, 50px);
    line-height: 1;
  }

  .hero-copy > p {
    max-width: 450px;
    font-size: 17px;
  }

  .phone-stage {
    width: 230px;
    height: 474px;
    margin-top: 14px;
  }

  .phone-main {
    left: 2px;
    width: 226px;
    height: 458px;
    border-radius: 38px;
  }

  .phone-side {
    top: 68px;
    width: 174px;
    height: 354px;
  }

  .phone-left { right: 164px; }
  .phone-right { left: 168px; }

  .post-slide p,
  .side-post p {
    font-size: 29px;
  }

  .app-header {
    padding: 32px 14px 15px;
  }

  .app-header img {
    width: 36px;
  }

  .round-button {
    width: 34px;
  }

  .action-shell {
    right: 11px;
    bottom: 14px;
    left: 11px;
    height: 68px;
  }

  .action b {
    font-size: 22px;
  }

  .mobile-hero-buttons {
    display: flex;
    max-width: 430px;
    margin: 18px auto 22px;
  }

  .mobile-hero-buttons .button {
    flex: 1;
    padding: 0 12px;
    font-size: 15px;
  }

  footer {
    justify-content: center;
    min-height: 54px;
    padding: 12px 20px;
  }

  .footer-downloads {
    display: none;
  }

  .footer-links {
    margin-left: 0;
  }

  .sticky-download {
    display: flex;
    transform: translateY(0);
  }

  .sticky-download .button {
    flex: 1;
    min-height: 48px;
    padding: 0 12px;
    font-size: 15px;
  }

  .modal {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: max(10px, env(safe-area-inset-top)) 16px 10px 22px;
    background: rgba(13, 14, 12, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .modal-close {
    position: static;
    flex: 0 0 auto;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
  }

  .modal-content {
    padding: 22px 22px calc(32px + env(safe-area-inset-bottom));
  }

  .modal-content h2 {
    font-size: 31px;
  }

  .steps,
  .promises {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .travel-graphic {
    width: 230px;
    height: 230px;
  }
}

@media (max-width: 430px) {
  .nav-pill {
    min-width: 0;
    padding: 0 9px;
  }

  .phone-side {
    opacity: 0.35;
  }
}
