body.journey-page {
  --journey-ink: #211841;
  --journey-muted: #5a5071;
  --journey-paper: #fbf8ff;
  --journey-primary: #5924ff;
  --journey-soft: #ebe3ff;
  --journey-border: #ded4f0;
  --journey-yellow: #ffd65a;
  --journey-mint: #bae9d8;
  margin: 0;
  background: var(--journey-paper);
  color: var(--journey-ink);
  font-family: Barlow, Inter, sans-serif;
}

.journey-header-inner,
.journey-main {
  width: min(100% - 36px, 1080px);
  margin-inline: auto;
}

.journey-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding-inline: 3px;
  border-bottom: 1px solid var(--journey-border);
}

.journey-header .public-brand { gap: 10px; }
.journey-header .public-brand-mark { width: 34px; height: 34px; border-radius: 8px; }
.journey-header .public-brand-copy strong { font: 600 15px/1.1 Barlow, Inter, sans-serif; letter-spacing: 0; }
.journey-header .public-brand-copy small { display: none; }
.journey-header .public-brand-copy em { font-style: normal; }

.journey-login,
.journey-have-account {
  color: var(--journey-primary);
  font-weight: 600;
  text-decoration: none;
}
.journey-login { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; }
.journey-login:hover,
.journey-have-account:hover { text-decoration: underline; }
.journey-header a:focus-visible,
.journey-main a:focus-visible { outline: 2px solid var(--journey-primary); outline-offset: 3px; }

.journey-main { padding-top: 18px; }
.journey-choice, .journey-sample { max-width: 460px; padding-bottom: 48px; }
.journey-title {
  margin: 0;
  font: 700 clamp(25px, 7.5vw, 32px)/1.1 "Barlow Semi Condensed", Barlow, Inter, sans-serif;
  letter-spacing: -.02em;
}
.journey-copy { margin: 0; color: var(--journey-muted); font-size: 16px; line-height: 1.35; }

.journey-art {
  position: relative;
  display: grid;
  align-content: center;
  overflow: hidden;
  padding: clamp(25px, 6.4vw, 34px);
  border-radius: 18px;
}
.journey-art-home { background: var(--journey-ink); }
.journey-art-sample { margin-top: 16px; background: var(--journey-mint); }
.journey-trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.journey-trail path { fill: none; stroke: #69569a; stroke-width: 3; stroke-dasharray: .01 9.7; stroke-linecap: round; }
.journey-fan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 3vw, 24px);
}
.journey-fan-card { position: relative; display: block; min-width: 0; border-radius: 5px; }
.journey-fan-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  box-shadow: 3px 5px 0 #302553, 0 8px 15px #130d3240;
  pointer-events: none;
  transform: perspective(700px) translateY(var(--fan-rise, 0px)) rotateY(var(--fan-yaw, 0deg)) rotate(var(--fan-angle, 0deg));
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}
.journey-fan-card:nth-child(3n + 1) { --fan-angle: -5deg; --fan-yaw: 10deg; }
.journey-fan-card:nth-child(3n + 2) { --fan-rise: -5px; }
.journey-fan-card:nth-child(3n) { --fan-angle: 5deg; --fan-yaw: -10deg; }
.journey-art-home .journey-fan-card:focus-visible { outline-color: var(--journey-yellow); }
.journey-fan-card:focus-visible { z-index: 2; outline: 2px solid var(--journey-primary); outline-offset: 3px; }
.journey-fan-card:focus-visible img {
  transform: perspective(700px) translateZ(80px) scale(1.13);
  box-shadow: 0 14px 27px #130d325c;
}
@media (hover: hover) and (pointer: fine) {
  .journey-fan-card:hover { z-index: 2; }
  .journey-fan-card:hover img {
    transform: perspective(700px) translateZ(96px) scale(1.16);
    box-shadow: 0 16px 28px #130d3269;
  }
}
@media (hover: none) {
  .journey-art-sample .journey-fan-card:focus { z-index: 2; }
  .journey-art-sample .journey-fan-card:focus img {
    transform: perspective(700px) translateZ(80px) scale(1.13);
    box-shadow: 0 14px 27px #130d325c;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-fan-card img { transition: none; }
}

.journey-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--journey-yellow);
  color: var(--journey-ink);
  font-size: 13px;
  font-weight: 700;
}
.journey-art-home .journey-tag { position: relative; justify-self: start; margin-top: 22px; }

.journey-action {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--journey-primary);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}
.journey-action:hover { filter: brightness(.92); }
.journey-action-soft { background: var(--journey-soft); color: var(--journey-ink); }
.journey-action-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 12px;
  border: 1px solid #747775;
  background: #fff;
  color: #1f1f1f;
  font: 500 15px/20px "Google Sans", Inter, sans-serif;
}
.journey-action-google img { flex: 0 0 18px; width: 18px; height: auto; }
.journey-action-google:hover { filter: none; box-shadow: 0 2px 7px #1f1f1f24; }
.journey-action-google:focus-visible { outline: 2px solid var(--journey-primary); outline-offset: 3px; }

.journey-home-nav, .journey-home-features { display: none; }
.journey-home-copy { margin-top: 20px; }
.journey-home-copy .journey-title span { display: block; }
.journey-home-copy .journey-copy { margin-top: 15px; }
.journey-home-actions { display: grid; gap: 10px; margin-top: 26px; }
.journey-home .landing-details { padding-top: 26px; }

.journey-sample-create { max-width: 460px; margin: 18px auto 0; }
.journey-sample-preview { margin-top: 28px; }
.journey-sample-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.journey-sample-heading h2 { margin: 0; font: 700 24px/1.2 "Barlow Semi Condensed", Barlow, Inter, sans-serif; }
.journey-sample-preview > .journey-copy { font-size: 15px; }
.journey-sample-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.journey-sample-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 5px;
  border: 1px solid var(--journey-border);
  border-radius: 10px;
  background: #fff;
}
.journey-sample-card button { display: block; width: 100%; padding: 0; border: 0; border-radius: 5px; background: var(--journey-soft); cursor: zoom-in; }
.journey-sample-card img, .journey-sample-missing { display: block; width: 100%; height: auto; aspect-ratio: 63 / 88; object-fit: contain; border-radius: inherit; }
.journey-sample-missing { display: grid; place-items: center; padding: 5px; background: var(--journey-soft); color: var(--journey-muted); font-size: 12px; text-align: center; }
.journey-sample-card strong { margin: 6px 1px 2px; font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.journey-sample-card small { margin: 0 1px 2px; color: var(--journey-muted); font-size: 11px; line-height: 1.25; }
.journey-sample-dialog { max-width: calc(100% - 32px); margin: auto; padding: 12px; border: 0; border-radius: 15px; background: var(--journey-paper); }
.journey-sample-dialog::backdrop { background: #17112ac9; }
.journey-sample-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.journey-sample-dialog button { width: 44px; height: 44px; border: 1px solid var(--journey-border); border-radius: 50%; background: #fff; color: var(--journey-ink); font: 600 26px/1 Barlow, Inter, sans-serif; cursor: pointer; }
.journey-sample-dialog img { display: block; max-width: 100%; max-height: min(680px, 100dvh - 100px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }

.journey-offer {
  display: flex;
  align-items: center;
  gap: clamp(14px, 4vw, 22px);
  margin-top: 29px;
  padding: 17px 16px;
  border-radius: 18px;
  background: var(--journey-yellow);
}
.journey-binder {
  position: relative;
  flex: 0 0 clamp(59px, 18vw, 80px);
  aspect-ratio: 43 / 61;
  display: grid;
  place-items: center;
  background: var(--journey-ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 #e5daf8;
}
.journey-binder::before {
  content: "";
  position: absolute;
  inset: 7% 10%;
  border: 1px solid #8b76b9;
  border-radius: 5px;
}
.journey-binder::after { content: ""; position: absolute; inset: 8% auto 8% 17%; border-left: 1px solid #8b76b9; }
.journey-binder img { position: relative; z-index: 1; width: 76%; max-height: 58%; object-fit: contain; }
.journey-offer strong { font-size: clamp(18px, 5vw, 22px); line-height: 1.23; font-weight: 600; }
.journey-choice-actions { display: grid; gap: 15px; margin-top: 36px; }
.journey-have-account { display: inline-block; margin-top: 21px; font-size: 15px; }
.journey-have-account .public-brand-copy { display: inline; }

.journey-onboarding-page .journey-header-inner,
.journey-onboarding {
  max-width: 440px;
}

.journey-onboarding {
  padding-top: 21px;
  padding-bottom: 34px;
}

.journey-onboarding .journey-title {
  font-size: clamp(26px, 7.4vw, 34px);
  text-wrap: balance;
}

.journey-google-brand,
.journey-profile-panel {
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 19px;
}

.journey-google-brand {
  gap: 14px;
  min-height: clamp(166px, 48vw, 222px);
  margin: 29px 0 25px;
  padding: 20px;
  background: var(--journey-mint);
  color: var(--journey-ink);
}

.journey-google-brand img {
  width: clamp(70px, 21vw, 96px);
  height: auto;
  border-radius: 16px;
}

.journey-google-brand .public-brand-copy { display: inline; font-size: 20px; font-weight: 700; }
.journey-google-intro > .journey-action { margin-top: 25px; }

.journey-onboarding-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--journey-primary);
  font: 600 15px/1.3 Barlow, Inter, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.journey-onboarding-link:hover { text-decoration: underline; }
.journey-onboarding :is(input, button):focus-visible {
  outline: 2px solid var(--journey-primary);
  outline-offset: 2px;
}

.journey-confirmed-email {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 19px 0 16px;
  padding: 5px 10px;
  border-radius: 9px;
  background: var(--journey-mint);
  color: var(--journey-ink);
  font-size: 13px;
  font-weight: 700;
}

.journey-form {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.journey-form label { font-size: 14px; font-weight: 600; }
.journey-form :is(label > input:not([type="checkbox"]), .journey-password-control > input, .journey-code-entry > input) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 4px 0 0;
  padding: 9px 11px;
  box-sizing: border-box;
  border: 1px solid var(--journey-border);
  border-radius: 11px;
  background: #fff;
  color: var(--journey-ink);
  font: 400 16px/1.3 Barlow, Inter, sans-serif;
}

.journey-form input[type="date"] { appearance: none; }
.journey-form :is(.auth-hint, .journey-copy) {
  margin: 0;
  color: var(--journey-muted);
  font-size: 14px;
  line-height: 1.4;
}
.journey-birth-date .auth-hint { margin-top: 8px; }

.journey-consents {
  display: grid;
  min-width: 0;
  gap: 3px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.journey-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 40px;
  line-height: 1.4;
}

.journey-checkbox > input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--journey-primary);
}

.journey-checkbox a { color: var(--journey-primary); text-underline-offset: 2px; }
.journey-checkbox small { color: var(--journey-muted); font-weight: 400; white-space: nowrap; }
.journey-form > .journey-action {
  width: 100%;
  margin-top: 18px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.journey-profile-panel {
  min-height: clamp(126px, 34vw, 164px);
  margin: 20px 0 25px;
  background: var(--journey-yellow);
}

.journey-profile-panel > span {
  display: grid;
  place-items: center;
  width: clamp(66px, 21vw, 90px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: var(--journey-ink);
}

.journey-profile-panel svg { width: 24px; height: 24px; }
:is(.journey-google-name, .journey-email-name) .journey-form > .journey-action { margin-top: 21px; }
:is(.journey-google-name, .journey-email-name) .journey-form .journey-onboarding-link { margin-top: 0; }
.journey-onboarding .journey-review-link { margin-top: 0; color: var(--journey-muted); }

.journey-email-account > .journey-form { margin-top: 21px; }
.journey-password-control { position: relative; }
.journey-form .journey-password-control > input { padding-inline-end: 80px; }
.journey-password-control .auth-pw-toggle {
  min-width: 64px;
  min-height: 36px;
  right: 5px;
  border-radius: 8px;
  color: var(--journey-muted);
  font: 600 13px Barlow, Inter, sans-serif;
  cursor: pointer;
}
.journey-verification-address { margin: 18px 0; overflow-wrap: anywhere; }
.journey-verification-address strong { color: var(--journey-ink); }
.journey-code-entry { position: relative; }
.journey-code-entry[data-ready] > input {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: text;
}
.journey-code-slots:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(5px, 1.7vw, 9px);
}
.journey-code-slots > span {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 1px solid var(--journey-border);
  border-radius: 9px;
  background: #fff;
  color: var(--journey-ink);
  font: 700 23px/1 Barlow, Inter, sans-serif;
  font-variant-numeric: tabular-nums;
}
.journey-code-entry:focus-within .active {
  border-color: var(--journey-primary);
  box-shadow: 0 0 0 2px var(--journey-soft);
}
.journey-code-resend { margin-top: 13px; }
.journey-code-resend .journey-onboarding-link,
.journey-email-verification > .journey-onboarding-link { margin-top: 0; }
.journey-code-resend button:disabled { color: var(--journey-muted); cursor: default; text-decoration: none; }
.journey-email-verification #signupCodeHint { font-size: 14px; margin-top: 6px; }

.journey-access-page .journey-header-inner,
.journey-access { width: min(100% - 26px, 440px); }
.journey-access .journey-title { font-size: clamp(23px, 7.3vw, 31px); text-wrap: wrap; }
.access-form { margin-top: 22px; }
.access-form > label[for] + .journey-password-control { margin-top: -10px; }
.access-form input::placeholder { color: #6b607e; opacity: 1; }
.access-form .journey-password-control > input { padding-inline-end: 62px; }
.access-form .auth-pw-toggle { min-width: 50px; }
.access-form > .journey-action { margin-top: 15px; }
.access-form .access-forgot { margin: 0; }
.access-form .access-forgot + .journey-action { margin-top: 5px; }
.access-google { margin-top: 13px; }
.access-create { margin-top: 8px; }
.access-intro { margin-top: 22px; }
.access-explanation { margin-top: 20px; font-size: 15px; }
.access-reset-form { margin-top: 0; }
.access-reset-form > .journey-action { margin-top: 23px; }
.access-helper { margin: 5px 0 0; color: var(--journey-muted); font-size: 13px; line-height: 1.35; }
.journey-access #recoveryCodeHint { margin-top: 11px; }
.journey-access .access-change-email { margin-top: 0; }

@media (max-width: 325px) {
  .journey-access-page .journey-header-inner,
  .journey-access { width: calc(100% - 20px); }
}

@media (min-width: 720px) {
  .journey-home-page .journey-header-inner,
  .journey-home {
    width: min(100% - clamp(40px, 7vw, 144px), 1440px);
  }
  .journey-header-inner { min-height: 73px; }
  .journey-header .public-brand-mark { width: 40px; height: 40px; }
  .journey-header .public-brand-copy strong { font-size: 19px; }
  .journey-main { padding-top: 24px; }
  .journey-home-nav { display: flex; gap: clamp(18px, 3.5vw, 48px); }
  .journey-home-nav a { padding: 10px 2px; color: var(--journey-ink); text-decoration: none; font-weight: 600; }
  .journey-home-nav a:hover { color: var(--journey-primary); }
  .journey-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 3vw, 52px);
    min-height: clamp(330px, 38vw, 540px);
    padding: clamp(26px, 3.8vw, 64px);
    border-radius: 24px;
    background: var(--journey-ink);
    color: #fff;
  }
  .journey-home-copy { grid-column: 1; grid-row: 1; margin: 0; }
  .journey-home-copy .journey-title { font-size: clamp(32px, 4.05vw, 72px); }
  .journey-home-copy .journey-title span { color: var(--journey-yellow); }
  .journey-home-copy .journey-copy { max-width: 43ch; color: #eee2fc; font-size: clamp(16px, 1.15vw, 21px); }
  .journey-art-home {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: min(100%, 680px);
    padding-inline: clamp(20px, 2vw, 26px);
    background: transparent;
  }
  .journey-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: clamp(22px, 2.2vw, 34px); }
  .journey-home-actions .journey-action { padding-inline: clamp(14px, 1.35vw, 24px); }
  .journey-home-actions .journey-action:first-child { background: var(--journey-yellow); color: var(--journey-ink); }
  .journey-home-actions .journey-action-soft { background: transparent; color: #fff; outline: 1px solid #ffffff59; outline-offset: -1px; }
  .journey-home-actions .journey-action:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .journey-home-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 20px); margin-top: 18px; }
  .journey-home-features a { display: flex; align-items: center; gap: 12px; padding: clamp(13px, 1.1vw, 20px); border-radius: 12px; color: var(--journey-ink); text-decoration: none; background: var(--journey-yellow); }
  .journey-home-features a:nth-child(2) { background: var(--journey-mint); }
  .journey-home-features a:nth-child(3) { background: #cbe6fc; }
  .journey-home-features svg { width: 22px; height: 22px; flex: 0 0 22px; }
  .journey-home-features small { display: block; margin-top: 2px; }
  .journey-home .landing-details { padding-top: 0; }
  .journey-home .landing-section:first-child { padding-top: clamp(40px, 4vw, 68px); }
}

@media (min-width: 1200px) {
  .journey-home-hero {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(10px, 1.4vw, 24px);
  }
  .journey-home-copy .journey-title { font-size: clamp(42px, 3.85vw, 66px); }
  .journey-sample { max-width: 960px; }
  .journey-sample-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  :is(.journey-art-home, .journey-art-sample) .journey-fan {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(10px, 1vw, 16px);
  }
  :is(.journey-art-home, .journey-art-sample) .journey-fan-card:nth-child(1) { --fan-angle: -8deg; --fan-yaw: 14deg; --fan-rise: 13px; }
  :is(.journey-art-home, .journey-art-sample) .journey-fan-card:nth-child(2) { --fan-angle: -5deg; --fan-yaw: 8deg; --fan-rise: -1px; }
  :is(.journey-art-home, .journey-art-sample) .journey-fan-card:nth-child(3) { --fan-angle: -2deg; --fan-yaw: 4deg; --fan-rise: -10px; }
  :is(.journey-art-home, .journey-art-sample) .journey-fan-card:nth-child(4) { --fan-angle: 2deg; --fan-yaw: -4deg; --fan-rise: -10px; }
  :is(.journey-art-home, .journey-art-sample) .journey-fan-card:nth-child(5) { --fan-angle: 5deg; --fan-yaw: -8deg; --fan-rise: -1px; }
  :is(.journey-art-home, .journey-art-sample) .journey-fan-card:nth-child(6) { --fan-angle: 8deg; --fan-yaw: -14deg; --fan-rise: 13px; }
}
