:root {
  --ink: #15104f;
  --ink-soft: #504b86;
  --muted: #8a86b1;
  --line: rgba(102, 76, 202, 0.14);
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --lavender: #f4efff;
  --lavender-strong: #e9ddff;
  --violet: #6f3df2;
  --purple: #8d5cf6;
  --blue: #37c4ff;
  --shadow: 0 22px 60px rgba(48, 34, 110, 0.16);
  --shadow-soft: 0 14px 35px rgba(74, 53, 150, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f8f5ff;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(83, 198, 255, 0.22), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(160, 100, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #fbfaff 0%, #f1ecff 44%, #fafcff 100%);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button,
a,
article[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(280px, 520px) auto;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 76px);
  padding: 42px;
  isolation: isolate;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 14%;
  background: rgba(129, 93, 255, 0.18);
}

.ambient-two {
  width: 300px;
  height: 300px;
  right: 10%;
  bottom: 8%;
  background: rgba(52, 200, 255, 0.14);
}

.ambient-three {
  width: 220px;
  height: 220px;
  left: 45%;
  top: 7%;
  background: rgba(198, 156, 255, 0.2);
}

.desktop-story {
  max-width: 490px;
  padding: 18px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand-lockup p {
  margin: 0;
  color: var(--violet);
  font-weight: 800;
  letter-spacing: 0;
}

.desktop-story h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.desktop-story > p {
  max-width: 430px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.desktop-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.desktop-highlights span {
  padding: 11px 14px;
  border: 1px solid rgba(111, 61, 242, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 750;
}

.phone-frame {
  width: min(100%, 430px);
  justify-self: center;
}

.phone-hardware {
  position: relative;
  width: 100%;
  aspect-ratio: 430 / 872;
  padding: 12px;
  border-radius: 54px;
  background:
    linear-gradient(145deg, #1d1c25, #050507 45%, #36323e);
  box-shadow:
    0 36px 80px rgba(26, 20, 58, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.phone-hardware::before,
.phone-hardware::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 4px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(#2b2933, #111018);
}

.phone-hardware::before {
  top: 134px;
  height: 54px;
}

.phone-hardware::after {
  top: 210px;
  height: 86px;
}

.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 8%, rgba(148, 107, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #fcfbff 0%, #f6f2ff 46%, #fbfaff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
}

.status-bar {
  position: relative;
  z-index: 9;
  display: grid;
  grid-template-columns: 1fr 116px 1fr;
  align-items: center;
  padding: 14px 29px 8px;
  color: #090816;
  font-size: 15px;
  font-weight: 800;
}

.dynamic-island {
  justify-self: center;
  width: 110px;
  height: 31px;
  border-radius: 999px;
  background: #050507;
  box-shadow: inset -24px 0 28px rgba(72, 74, 145, 0.24);
}

.status-icons {
  display: flex;
  justify-self: end;
  align-items: flex-end;
  gap: 4px;
}

.status-icons span {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: #090816;
}

.status-icons span:nth-child(1) {
  height: 9px;
}

.status-icons span:nth-child(2) {
  height: 12px;
}

.status-icons span:nth-child(3) {
  width: 18px;
  height: 9px;
  border: 2px solid #090816;
  background: transparent;
}

.demo-ribbon {
  position: absolute;
  top: 54px;
  left: 50%;
  z-index: 8;
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 1px solid rgba(111, 61, 242, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  backdrop-filter: blur(18px);
}

.legal-link {
  position: absolute;
  top: 54px;
  right: 22px;
  z-index: 25;
  padding: 7px 10px;
  border: 1px solid rgba(111, 61, 242, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.legal-link:hover {
  color: var(--violet);
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-1px);
}

.app-scroll {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
  overflow-y: auto;
  padding: 46px 20px 104px;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.screen.active {
  display: block;
  animation: screenIn 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.screen-header.spaced {
  justify-content: space-between;
}

.screen-header h2,
.section-title h2,
.coach-headline h2,
.centered-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: 0;
}

.screen-header p,
.section-title p,
.coach-headline p,
.centered-header p,
.content-card p,
.desktop-story p {
  letter-spacing: 0;
}

.screen-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.jouny-logo {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at 72% 20%, rgba(43, 226, 255, 0.9), transparent 19%),
    radial-gradient(circle at 29% 72%, rgba(255, 55, 225, 0.76), transparent 22%),
    radial-gradient(circle at 36% 34%, rgba(112, 66, 255, 0.9), transparent 30%),
    #080531;
  box-shadow:
    0 10px 26px rgba(99, 64, 230, 0.34),
    inset 0 0 16px rgba(255, 255, 255, 0.18);
  color: white;
  text-align: center;
}

.jouny-logo::before,
.jouny-logo::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  box-shadow:
    16px 8px 0 rgba(255, 255, 255, 0.9),
    -14px 14px 0 rgba(255, 255, 255, 0.74),
    6px -16px 0 rgba(255, 255, 255, 0.8),
    21px -12px 0 rgba(255, 255, 255, 0.56),
    -20px -7px 0 rgba(255, 255, 255, 0.74);
}

.jouny-logo::after {
  transform: rotate(34deg) scale(0.72);
}

.jouny-logo strong,
.jouny-logo small,
.logo-case {
  position: relative;
  z-index: 1;
}

.logo-case {
  position: absolute;
  top: 12px;
  width: 26px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-top-width: 3px;
  border-radius: 4px 4px 2px 2px;
}

.logo-case::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -8px;
  width: 10px;
  height: 7px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.jouny-logo strong {
  align-self: end;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
}

.jouny-logo small {
  align-self: start;
  margin-top: 2px;
  font-size: 6px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.96;
}

.jouny-logo.small {
  width: 45px;
  height: 45px;
  border-width: 2px;
}

.jouny-logo.small .logo-case,
.jouny-logo.tiny .logo-case {
  display: none;
}

.jouny-logo.small strong,
.jouny-logo.tiny strong {
  align-self: center;
  margin: 0;
  font-size: 19px;
}

.jouny-logo.small small,
.jouny-logo.tiny small {
  display: none;
}

.jouny-logo.tiny {
  width: 36px;
  height: 36px;
  border-width: 2px;
}

.jouny-logo.large {
  width: 74px;
  height: 74px;
}

.welcome-hero {
  position: relative;
  min-height: 430px;
  padding-top: 8px;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-badge {
  display: inline-flex;
  margin-top: 134px;
  padding: 8px 12px;
  border: 1px solid rgba(111, 61, 242, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--violet);
  font-size: 12px;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

.welcome-hero h1 {
  max-width: 330px;
  margin: 16px 0 0;
  font-size: 39px;
  line-height: 0.98;
  letter-spacing: 0;
}

.welcome-hero > p {
  max-width: 330px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
}

.orbit-card {
  position: absolute;
  z-index: 1;
  width: 152px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(111, 61, 242, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  animation: floatCard 4.8s ease-in-out infinite;
}

.orbit-card span {
  display: block;
  color: var(--violet);
  font-size: 18px;
  font-weight: 900;
}

.orbit-one {
  top: 115px;
  left: 4px;
}

.orbit-two {
  top: 90px;
  right: 2px;
  animation-delay: -1.2s;
}

.orbit-three {
  top: 205px;
  right: 18px;
  animation-delay: -2.1s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-actions,
.sticky-actions,
.detail-actions {
  display: grid;
  gap: 10px;
}

.primary-button,
.secondary-button,
.light-button,
.text-button {
  min-height: 54px;
  border-radius: 18px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, #9b63ff, #5d32e7);
  box-shadow: 0 16px 28px rgba(94, 54, 231, 0.28);
}

.secondary-button {
  border: 1px solid rgba(111, 61, 242, 0.26);
  color: var(--violet);
  background: rgba(255, 255, 255, 0.74);
}

.light-button {
  color: var(--violet);
  background: rgba(255, 255, 255, 0.92);
}

.text-button {
  min-height: 36px;
  color: var(--violet);
  background: transparent;
}

.primary-button:active,
.secondary-button:active,
.light-button:active,
.text-button:active,
.choice-card:active,
.job-card:active,
.help-card:active,
.category-card:active,
.nav-item:active,
.filter-chip:active,
.icon-button:active {
  transform: scale(0.97);
}

.mini-dashboard {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.glass-card,
.panel-card,
.content-card,
.timeline-card,
.progress-panel,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.glass-card.compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.glass-card strong,
.content-card h3,
.panel-card h3,
.timeline-card h3,
.cta-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.glass-card p,
.panel-card p,
.cta-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  color: var(--violet);
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.icon-button.subtle {
  border: 1px solid rgba(111, 61, 242, 0.12);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-soft);
}

.centered-header {
  text-align: center;
}

.step-label {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.progress-dots {
  display: grid;
  width: 134px;
  margin: 0 auto 22px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 8px;
}

.progress-dots span {
  height: 8px;
  border-radius: 999px;
  background: #ddd7ee;
}

.progress-dots span.done,
.progress-dots span.active {
  background: linear-gradient(135deg, #8f63ff, #5b36ee);
  box-shadow: 0 0 0 4px rgba(111, 61, 242, 0.12);
}

.compass-visual {
  position: relative;
  width: 140px;
  height: 112px;
  margin: 0 auto 14px;
}

.compass-visual::before {
  content: "";
  position: absolute;
  inset: 16px 17px 5px;
  border: 1px solid rgba(111, 61, 242, 0.11);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.compass-visual::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 26px;
  width: 46px;
  height: 11px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(90deg, rgba(107, 66, 238, 0.2), transparent);
  transform: rotate(-35deg);
}

.compass-core {
  position: absolute;
  inset: 20px 33px 18px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(204, 186, 255, 0.55)),
    radial-gradient(circle, rgba(111, 61, 242, 0.2), transparent 62%);
  box-shadow: 0 18px 30px rgba(111, 61, 242, 0.18);
}

.compass-core::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 17px;
  width: 18px;
  height: 42px;
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  background: linear-gradient(180deg, #6c42ff, #bba4ff);
  transform: rotate(42deg);
}

.centered-header h2 {
  font-size: 29px;
}

.centered-header p {
  margin: 10px auto 24px;
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.form-block {
  margin-top: 18px;
}

.form-block h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.choice-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 84px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 7px;
  padding: 13px 10px;
  border: 1px solid rgba(111, 61, 242, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 780;
  text-align: left;
  transition: border-color 170ms ease, background 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.choice-card.selected {
  border-color: rgba(111, 61, 242, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(242, 236, 255, 0.82));
  box-shadow: 0 16px 30px rgba(103, 67, 238, 0.14);
}

.checkmark {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9c69ff, #5a35e8);
}

.checkmark::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 7px;
  height: 4px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.choice-card.selected .checkmark {
  display: block;
}

.choice-icon,
.card-icon,
.category-icon,
.modal-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(234, 225, 255, 0.9), rgba(255, 255, 255, 0.72));
  color: var(--violet);
}

.choice-icon {
  width: 26px;
  height: 26px;
}

.card-icon {
  width: 44px;
  height: 44px;
}

.category-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}

.modal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
}

.choice-icon::before,
.choice-icon::after,
.card-icon::before,
.card-icon::after,
.category-icon::before,
.category-icon::after,
.modal-icon::before,
.modal-icon::after,
.filter-symbol::before,
.filter-symbol::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-chip::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-chip::after {
  width: 22px;
  height: 22px;
  border: 2px dashed currentColor;
  border-radius: 5px;
  opacity: 0.38;
}

.icon-people::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -8px 5px 0 -2px currentColor, 8px 5px 0 -2px currentColor;
  opacity: 0.72;
}

.icon-people::after {
  width: 24px;
  height: 12px;
  bottom: 6px;
  border-radius: 14px 14px 8px 8px;
  background: currentColor;
  opacity: 0.28;
}

.icon-bars::before {
  bottom: 7px;
  left: 7px;
  width: 5px;
  height: 10px;
  border-radius: 4px;
  background: currentColor;
  box-shadow: 7px -5px 0 currentColor, 14px -10px 0 currentColor;
  opacity: 0.6;
}

.icon-tools::before {
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: currentColor;
  transform: rotate(45deg);
}

.icon-tools::after {
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: currentColor;
  transform: rotate(-45deg);
  opacity: 0.56;
}

.icon-palette::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 44% 56%;
}

.icon-palette::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -5px -3px 0 currentColor, 5px -3px 0 currentColor, -1px 5px 0 currentColor;
}

.icon-video::before {
  width: 17px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-video::after {
  left: 15px;
  width: 9px;
  height: 10px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: currentColor;
}

.icon-briefcase::before {
  width: 19px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-briefcase::after {
  top: 7px;
  width: 10px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.icon-user::before {
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.72;
}

.icon-user::after {
  bottom: 6px;
  width: 18px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 12px 12px 6px 6px;
}

.icon-grad::before {
  top: 7px;
  width: 22px;
  height: 13px;
  clip-path: polygon(50% 0, 100% 35%, 50% 70%, 0 35%);
  background: currentColor;
  opacity: 0.64;
}

.icon-grad::after {
  bottom: 5px;
  width: 14px;
  height: 7px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.icon-book::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-book::after {
  width: 2px;
  height: 16px;
  background: currentColor;
  opacity: 0.52;
}

.icon-pin::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.icon-pin::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.icon-clock::before {
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-clock::after {
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(2px, -2px);
}

.icon-grid::before {
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  box-shadow: 10px 0 0 -2px transparent, 10px 0 0 0 currentColor, 0 10px 0 0 currentColor, 10px 10px 0 0 currentColor;
}

.icon-spark::before {
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
}

.icon-doc::before,
.icon-pen::before,
.icon-id::before {
  width: 18px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-doc::after {
  width: 10px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}

.icon-pen::after {
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: currentColor;
  transform: rotate(-38deg);
}

.icon-id::after {
  width: 8px;
  height: 8px;
  top: 12px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 8px 0 4px rgba(111, 61, 242, 0.18);
}

.icon-chat::before {
  width: 22px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.icon-chat::after {
  bottom: 9px;
  left: 13px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-20deg);
}

.icon-light::before {
  top: 8px;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-light::after {
  bottom: 6px;
  width: 10px;
  height: 5px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon-list::before {
  width: 17px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.select-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.select-field,
.filter-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(111, 61, 242, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
  font-weight: 760;
}

.select-field {
  min-height: 52px;
  padding: 0 14px;
  text-align: left;
}

.chevron {
  position: relative;
  width: 12px;
  height: 12px;
  margin-left: auto;
  transform: rotate(45deg);
}

.chevron::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.54;
}

.sticky-actions {
  margin-top: 18px;
}

.search-bar {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid rgba(111, 61, 242, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  backdrop-filter: blur(18px);
}

.search-bar svg {
  width: 20px;
  height: 20px;
}

.search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.search-bar input::placeholder {
  color: var(--muted);
}

.filter-symbol {
  position: relative;
  width: 20px;
  height: 20px;
  color: var(--violet);
}

.filter-symbol::before,
.filter-symbol::after {
  left: 3px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor;
}

.filter-symbol::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: white;
  box-shadow: 8px 7px 0 white;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.filter-chip {
  min-height: 42px;
  justify-content: center;
  padding: 0 10px;
  font-size: 13px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 12px;
}

.section-title.inline {
  margin: 0 0 12px;
}

.section-title h3 {
  margin: 0;
  font-size: 16px;
}

.section-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-card {
  display: grid;
  min-height: 104px;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.job-card:hover,
.category-card:hover,
.help-card:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 61, 242, 0.25);
  box-shadow: 0 18px 36px rgba(70, 48, 145, 0.14);
}

.company-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(111, 61, 242, 0.1);
  border-radius: 14px;
  background: white;
  color: var(--violet);
  font-weight: 950;
}

.code-mark {
  background:
    radial-gradient(circle at 72% 20%, rgba(90, 218, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #120a4e, #06051f);
  color: white;
  font-size: 28px;
  letter-spacing: 0;
}

.image-mark {
  background:
    linear-gradient(135deg, rgba(175, 91, 255, 0.68), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #2a1555 0 32%, #d6c7ff 32% 61%, #6f4ed9 61% 100%);
}

.image-mark::before {
  content: "";
  width: 34px;
  height: 22px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, transparent 44%, white 45% 55%, transparent 56%),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 9px 0 -2px rgba(20, 13, 64, 0.28);
}

.text-mark {
  color: #1656ad;
  font-size: 24px;
}

.text-mark.red {
  color: #e53935;
  font-size: 30px;
}

.text-mark.yellow {
  color: #164b9b;
  background: linear-gradient(135deg, #ffe157, #fff7b0);
  font-size: 15px;
}

.text-mark.orange {
  color: #ff6c22;
  font-size: 18px;
}

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

.job-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.16;
}

.job-copy p,
.job-copy small {
  display: block;
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.job-copy small {
  color: var(--muted);
  font-size: 11px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tag-row span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(111, 61, 242, 0.09);
  color: var(--violet);
  font-size: 10px;
  font-weight: 850;
}

.match-ring {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  align-content: center;
  border: 2px solid #8259ff;
  border-left-color: rgba(130, 89, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.match-ring strong {
  font-size: 13px;
  line-height: 1;
}

.match-ring span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
}

.large-ring {
  width: 62px;
  height: 62px;
}

.large-ring strong {
  font-size: 16px;
}

.company-strip {
  margin-top: 22px;
}

.company-row,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.company-row span,
.partner-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(111, 61, 242, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.partner-grid {
  grid-template-columns: repeat(2, 1fr);
}

.partner-grid span {
  min-height: 54px;
}

.partner-grid.current-partners {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-grid.current-partners span {
  min-height: 58px;
  padding: 10px 8px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.18;
  text-align: center;
}

.partner-grid.current-partners span:nth-child(3n + 1) {
  color: #174f9f;
}

.partner-grid.current-partners span:nth-child(3n + 2) {
  color: #6b3cf0;
}

.partner-grid.current-partners span:nth-child(3n) {
  color: #2f876f;
}

.partner-grid.current-partners .partner-cta {
  color: white;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #9b63ff, #5d32e7);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-card {
  display: block;
  min-height: 178px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card h3 {
  margin: 0;
  font-size: 17px;
}

.category-card p {
  margin: 6px 0 2px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.category-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.panel-card {
  margin-top: 14px;
  padding: 16px;
}

.two-col-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.two-col-mini article {
  min-width: 0;
}

.tiny-link {
  margin-top: 10px;
  padding: 0;
  color: var(--violet);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
}

.detail-hero {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.detail-hero h2 {
  margin: 0;
  font-size: 23px;
}

.detail-hero p,
.detail-hero small {
  display: block;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.detail-hero small {
  color: var(--muted);
  font-size: 12px;
}

.detail-tags {
  margin: 12px 0;
}

.content-card {
  margin-top: 10px;
  padding: 16px;
}

.content-card p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.48;
}

.reason-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.reason-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid rgba(111, 61, 242, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.reason-list strong {
  font-size: 13px;
}

.reason-list p {
  margin: 2px 0 0;
  font-size: 12px;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(-45deg);
}

.detail-actions {
  margin-top: 14px;
}

.bookmark-trigger.saved {
  border-color: rgba(111, 61, 242, 0.4);
  color: white;
  background: linear-gradient(135deg, #9b63ff, #5d32e7);
}

.timeline-card {
  position: relative;
  display: grid;
  gap: 0;
  padding: 10px;
}

.timeline-card article {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 8px;
}

.timeline-card article:not(:last-child) {
  border-bottom: 1px solid rgba(111, 61, 242, 0.08);
}

.timeline-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(111, 61, 242, 0.2);
  border-radius: 50%;
  background: white;
}

.timeline-dot.active {
  border-color: var(--violet);
  box-shadow: 0 0 0 6px rgba(111, 61, 242, 0.09);
}

.timeline-card h3 {
  font-size: 13px;
  line-height: 1.25;
}

.timeline-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.timeline-card strong {
  color: var(--violet);
  font-size: 11px;
}

.progress-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
}

.progress-item > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 820;
}

.progress-line {
  height: 9px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(111, 61, 242, 0.1);
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9b63ff, #4a96ff);
}

.cta-card {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
}

.cta-card.purple {
  grid-template-columns: 50px 1fr;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 255, 255, 0.3), transparent 26%),
    linear-gradient(135deg, #9c67ff, #6537ee);
}

.cta-card.purple h3,
.cta-card.purple p {
  color: white;
}

.cta-card.purple .light-button {
  grid-column: 1 / -1;
}

.coach-headline {
  margin: 20px 0 18px;
}

.coach-headline h2 {
  max-width: 310px;
}

.coach-headline p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

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

.help-card {
  display: grid;
  min-height: 66px;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.help-card strong {
  display: block;
  font-size: 14px;
}

.help-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.help-card em {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(111, 61, 242, 0.09);
  color: var(--violet);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(111, 61, 242, 0.1);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(24px);
}

.nav-item {
  display: grid;
  min-width: 0;
  min-height: 58px;
  place-items: center;
  gap: 3px;
  border-radius: 18px;
  background: transparent;
  color: #8a86b1;
  font-size: 10px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-item svg {
  width: 22px;
  height: 22px;
}

.nav-item.active {
  color: var(--violet);
  background: rgba(111, 61, 242, 0.1);
}

.nav-item.active svg {
  fill: rgba(111, 61, 242, 0.16);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid rgba(111, 61, 242, 0.16);
  border-radius: 16px;
  background: rgba(24, 18, 70, 0.88);
  box-shadow: var(--shadow);
  color: white;
  font-weight: 760;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(18px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 10, 50, 0.28);
  backdrop-filter: blur(12px);
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 160ms ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  position: relative;
  width: min(360px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.modal h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.modal p {
  margin: 10px 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(111, 61, 242, 0.09);
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.coach-modal {
  text-align: left;
}

.coach-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.coach-message h2 {
  font-size: 20px;
}

.coach-message p {
  margin-bottom: 0;
}

.coach-options {
  display: grid;
  gap: 8px;
}

.coach-options button {
  min-height: 44px;
  padding: 0 13px;
  border-radius: 14px;
  background: rgba(111, 61, 242, 0.09);
  color: var(--violet);
  font-weight: 850;
  text-align: left;
}

.coach-answer {
  display: none;
  margin-top: 12px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(111, 61, 242, 0.08);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 720;
}

.coach-answer.show {
  display: block;
}

.legal-body {
  min-height: 100vh;
}

.legal-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.legal-card {
  width: min(100%, 680px);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(111, 61, 242, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.legal-brand p {
  margin: 0 0 4px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.legal-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1;
}

.legal-card section {
  padding: 18px 0;
  border-top: 1px solid rgba(111, 61, 242, 0.12);
}

.legal-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.legal-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.legal-card a:not(.legal-back) {
  color: var(--violet);
  font-weight: 800;
}

.legal-back {
  display: inline-grid;
  min-width: 190px;
  place-items: center;
  margin-top: 10px;
  text-decoration: none;
}

@media (max-width: 920px) {
  .page-shell {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .desktop-story {
    display: none;
  }

  .phone-frame {
    width: min(100%, 430px);
  }
}

@media (max-width: 560px) {
  body {
    background: #fbfaff;
  }

  .page-shell {
    display: block;
    min-height: 100vh;
    padding: 0;
  }

  .ambient,
  .demo-ribbon {
    display: none;
  }

  .legal-link {
    top: max(52px, calc(env(safe-area-inset-top) + 42px));
    right: 16px;
  }

  .phone-frame,
  .phone-hardware {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    aspect-ratio: auto;
  }

  .phone-hardware {
    height: 100vh;
    height: 100dvh;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .phone-hardware::before,
  .phone-hardware::after {
    display: none;
  }

  .phone-screen {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
  }

  .legal-page {
    align-items: start;
    padding: 18px;
  }

  .legal-card {
    border-radius: 24px;
  }

  .status-bar {
    padding-top: max(12px, env(safe-area-inset-top));
  }
}

@media (max-width: 390px) {
  .screen {
    padding-right: 16px;
    padding-left: 16px;
  }

  .choice-grid.three,
  .choice-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .welcome-hero h1 {
    font-size: 34px;
  }

  .orbit-card {
    width: 138px;
  }

  .orbit-two {
    right: -4px;
  }

  .orbit-three {
    right: 8px;
  }

  .category-grid,
  .two-col-mini {
    grid-template-columns: 1fr;
  }

  .job-card {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
  }

  .company-mark {
    width: 58px;
    height: 58px;
  }

  .nav-item span {
    font-size: 9px;
  }
}

@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;
  }
}
