/* HireNova · Trionn-inspired editorial dark */

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

:root {
  --bg: #0B0B0F;
  --bg2: #121218;
  --ink: #F2EFEA;
  --muted: rgba(242, 239, 234, 0.55);
  --line: rgba(242, 239, 234, 0.1);
  --accent: #6E8BFF;
  --accent2: #9B7BFF;
  --font: "Be Vietnam Pro", system-ui, sans-serif;
  --display: "Be Vietnam Pro", system-ui, sans-serif;
  --serif: "Source Serif 4", "Be Vietnam Pro", Georgia, serif;
  --phone-r: 28px;
  --pad-x: clamp(1.1rem, 4vw, 3rem);
  --max: 1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

.font-preload {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }
.muted { color: var(--muted); }
.tiny { font-size: 0.85rem; }

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.loader-line {
  width: 140px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader-line i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.08s linear;
}
#loaderPct {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--muted);
}

/* Three + grain */
#three-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 64px;
  padding: 0 var(--pad-x);
  background: rgba(11, 11, 15, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 15, 0.92);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.brand img {
  border-radius: 0;
  background: transparent;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 0.85rem; }
.lang {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.35em 0.7em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.lang:hover { color: var(--ink); }
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* Shared */
.sec-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.sec-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 7rem var(--pad-x) 3.5rem;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-copy {
  min-width: 0;
}
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero h1 {
  margin-bottom: 1.25rem;
}
.brand-line {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 0.28em;
  color: #E8E4FF;
  white-space: nowrap;
}
.brand-line .char {
  display: inline-block;
  background-image: linear-gradient(105deg, #FFFFFF 0%, #A9BAFF 42%, #D2B4FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(0.4em);
}
body.ready .brand-line .char {
  animation: brandCharIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 45ms + 80ms);
}
@keyframes brandCharIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.sub-line {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.sub-line.italic {
  font-style: italic;
  color: rgba(242, 239, 234, 0.72);
}
.lede {
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7em 1.35em 0.7em 0.95em;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
  color: #111;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.65) inset,
    0 12px 28px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-play:hover {
  opacity: 0.96;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 16px 36px rgba(0,0,0,0.35);
}
.btn-play:not(.magnetic):hover { transform: translateY(-2px); }
.btn-play-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.btn-play-icon svg { display: block; }
.btn-play-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  text-align: left;
}
.btn-play-copy small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}
.btn-play-copy strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}
.btn-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn-play:hover::after { transform: translateX(120%); }
.btn-ghost {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15em;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--ink); }

.proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.proof li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 6.5rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.proof strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.proof span {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: min(520px, 70vw);
  perspective: 1000px;
  width: 100%;
  max-width: 100%;
}
.hero-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(110,139,255,0.28) 0%, rgba(155,123,255,0.12) 40%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
.hero-visual .tilt {
  width: min(260px, 52%);
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  flex-shrink: 0;
  position: relative;
}
.hero-visual .tilt-sm {
  width: min(180px, 38%);
  position: absolute;
  right: max(0%, 2%);
  bottom: 6%;
  z-index: 1;
}
.hero-visual .phone-lg,
.hero-visual .phone-sm {
  width: 100%;
}
.hero-visual .phone-sm {
  opacity: 0.94;
}
.hero-mstack {
  display: none;
}

/* Phone frame */
.phone {
  background: #050507;
  border-radius: var(--phone-r);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(0,0,0,0.4);
  transition: box-shadow 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}
.phone:hover {
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    0 50px 100px rgba(0,0,0,0.65),
    0 0 40px rgba(110, 139, 255, 0.12);
}
.phone img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone:hover img { transform: scale(1.03); }

.float { animation: floatY 5.5s ease-in-out infinite; }
.float-slow { animation: floatRot 7s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes floatRot {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-12px); }
}

.arrow-bounce {
  display: inline-block;
  animation: bounceY 1.6s ease-in-out infinite;
}
@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.magnetic { will-change: transform; }

/* Strip */
.strip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
}
.strip-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track span {
  position: relative;
  transition: color 0.3s;
}
.strip-track span:hover { color: var(--ink); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* About */
.about {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--pad-x);
  width: 100%;
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.8;
  color: rgba(110, 139, 255, 0.35);
  margin: 0.25rem 0 0.5rem;
  user-select: none;
}
.about h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}
.about-body {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.7;
}

/* Work — editorial step + stage */
.work {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad-x) clamp(4rem, 9vw, 7rem);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.work-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.work-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  padding: 0;
}
.work-list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.work-item button {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1.1rem;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 1.05rem 0.5rem 1.05rem 0;
  cursor: pointer;
  opacity: 0.38;
  transition: opacity 0.35s ease;
}
.work-item.on button,
.work-item button:hover { opacity: 1; }
.work-item-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg);
  position: relative;
  z-index: 1;
  transition: border-color 0.35s, background 0.35s, color 0.35s, box-shadow 0.35s;
}
.work-item.on .work-item-num {
  color: var(--ink);
  border-color: rgba(110, 139, 255, 0.55);
  background: linear-gradient(165deg, rgba(110,139,255,0.22), rgba(155,123,255,0.1));
  box-shadow: 0 0 22px rgba(110, 139, 255, 0.22);
}
.work-item-copy strong {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.28rem;
  padding-top: 0.35rem;
}
.work-item-copy p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 22rem;
}

.work-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.work-glow {
  position: absolute;
  width: 78%;
  height: 70%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(110,139,255,0.22) 0%, rgba(155,123,255,0.08) 42%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.work-rail {
  position: relative;
  width: min(268px, 100%);
  z-index: 1;
}
.shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.97);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.5s;
  pointer-events: none;
}
.shot.active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.shot .phone {
  width: 100%;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}
.shot.active .phone {
  border-color: rgba(255,255,255,0.18);
}
.shot-cap { display: none; }

.work-dots {
  display: none;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}
.work-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(242, 239, 234, 0.2);
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}
.work-dots button.on {
  width: 22px;
  background: var(--ink);
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x);
  border-top: 1px solid var(--line);
  width: 100%;
}
.feat {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.feat::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.7s ease;
}
.feat.in::before,
.feat.reveal.in::before { width: 40%; }
.feat-b .feat-copy { order: 2; }
.feat-b .feat-media { order: 1; }
.feat-copy { min-width: 0; }
.feat-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.feat-copy h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  background: linear-gradient(100deg, #F2EFEA 0%, #9EB0FF 45%, #C9B0FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  line-height: 1.2;
}
.feat-copy p {
  color: var(--muted);
  max-width: 26rem;
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  line-height: 1.65;
}
.feat-media {
  display: flex;
  justify-content: center;
  position: relative;
  min-width: 0;
  width: 100%;
}
.feat-media .phone {
  width: min(260px, 72%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat-media.twin {
  min-height: 380px;
  max-width: 100%;
}
.feat-media.twin .phone {
  width: min(220px, 58%);
  position: relative;
  z-index: 2;
}
.feat-media.twin .phone-back {
  position: absolute;
  width: min(200px, 48%);
  right: 6%;
  top: 8%;
  z-index: 1;
  transform: rotate(8deg);
  opacity: 0.88;
  animation: twinFloat 6s ease-in-out infinite;
}

/* Centered 3-phone fan (Interview + Job Match) */
.feat-media.phone-stack {
  --stack-w: min(200px, 46%);
  --stack-c: min(228px, 54%);
  min-height: 460px;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
  justify-self: center;
}
.feat-media.phone-stack .phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--stack-w);
  margin: 0;
}
.feat-media.phone-stack .phone-left {
  z-index: 1;
  transform: translate(-98%, -46%) rotate(-9deg);
  opacity: 0.92;
  animation: stackLeft 6.2s ease-in-out infinite;
}
.feat-media.phone-stack .phone-center {
  z-index: 3;
  width: var(--stack-c);
  transform: translate(-50%, -50%);
  animation: stackCenter 5.6s ease-in-out infinite;
  box-shadow: 0 36px 70px rgba(0,0,0,0.55);
}
.feat-media.phone-stack .phone-right {
  z-index: 2;
  transform: translate(-2%, -46%) rotate(9deg);
  opacity: 0.92;
  animation: stackRight 6.2s ease-in-out infinite;
}
@keyframes stackLeft {
  0%, 100% { transform: translate(-98%, -46%) rotate(-9deg); }
  50% { transform: translate(-98%, calc(-46% - 8px)) rotate(-9deg); }
}
@keyframes stackCenter {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 12px)); }
}
@keyframes stackRight {
  0%, 100% { transform: translate(-2%, -46%) rotate(9deg); }
  50% { transform: translate(-2%, calc(-46% - 8px)) rotate(9deg); }
}
@keyframes twinFloat {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-10px); }
}
.phone-tilt {
  transform: rotate(-3deg);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat:hover .phone-tilt { transform: rotate(0deg) translateY(-10px) scale(1.02); }

/* Pricing */
.pricing {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x);
  border-top: 1px solid var(--line);
  width: 100%;
}
.trial {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.02);
}
.trial strong {
  font-family: var(--display);
  font-size: 1.1rem;
}
.trial span { color: var(--muted); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.plan {
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.015);
  min-width: 0;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.plan:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 239, 234, 0.22);
  background: rgba(255,255,255,0.04);
}
.plan-best {
  border-color: rgba(242, 239, 234, 0.22);
  background: rgba(255,255,255,0.035);
  position: relative;
}
.best-tag {
  position: absolute;
  top: -0.7rem;
  left: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 0.25em 0.7em;
  border-radius: 999px;
}
.plan-name {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.plan-amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.plan-amt small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.save {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.plan .muted { margin-bottom: 1.25rem; font-size: 0.92rem; }
.plan ul { list-style: none; display: grid; gap: 0.55rem; }
.plan li {
  font-size: 0.92rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
}
.plan li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgba(242,239,234,0.25);
}
.plan ul.ok li::before {
  content: "✓";
  color: var(--accent);
}

.price-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--pad-x) 2rem;
  border-top: 1px solid var(--line);
  width: 100%;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand img {
  border-radius: 0;
  background: transparent;
}
.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
}
.footer-brand .muted { font-size: 0.88rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }
.copy { font-size: 0.8rem; }

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }

/* Cursor + progress + orbs */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 234, 0.45);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transition: width 0.25s, height 0.25s, margin 0.25s, background 0.25s, opacity 0.3s;
  opacity: 0;
}
.cursor.on { opacity: 1; }
.cursor.grow {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: rgba(242, 239, 234, 0.12);
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, #6E8BFF, #9B7BFF, #F2EFEA);
  pointer-events: none;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  animation: orbDrift 18s ease-in-out infinite alternate;
  max-width: 50vw;
  max-height: 50vw;
}
.orb-a {
  width: 420px;
  height: 420px;
  background: #3a3d8a;
  top: 10%;
  left: -8%;
}
.orb-b {
  width: 360px;
  height: 360px;
  background: #4a2f78;
  bottom: 5%;
  right: -6%;
  animation-duration: 22s;
  animation-delay: -4s;
}
@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -50px) scale(1.15); }
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .brand-line .char {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .work-board {
    gap: 1.75rem;
  }
  .work-rail { width: min(240px, 100%); }
}

@media (max-width: 980px) {
  .plan:hover { transform: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5.25rem;
    padding-bottom: 2rem;
    gap: 1.75rem;
  }
  .hero-copy {
    order: 1;
    text-align: center;
    max-width: 34rem;
    margin: 0 auto;
  }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .proof { justify-content: center; }
  .hero-visual {
    order: 0;
    min-height: 360px;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-visual .tilt { width: min(210px, 58%); }
  .hero-visual .tilt-sm { width: min(145px, 40%); right: 0; }
  .float { animation-duration: 7s; }

  .feat,
  .feat-b {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .feat-b .feat-copy,
  .feat-b .feat-media { order: unset; }
  .feat-copy p { margin: 0 auto; }
  .feat-media .phone { width: min(250px, 70%); }
  .feat-media.twin {
    min-height: 340px;
    justify-content: center;
  }
  .feat-media.twin .phone { width: min(210px, 56%); }
  .feat-media.twin .phone-back { width: min(180px, 44%); }
  .feat-media.phone-stack {
    --stack-w: min(160px, 38%);
    --stack-c: min(184px, 44%);
    min-height: 380px;
    max-width: 340px;
  }

  .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .price-cta { align-items: center; }
  .nav-links { display: none; }
  .nav-cta { font-size: 0.78rem; padding: 0.5em 0.95em; white-space: nowrap; }
  .brand span { font-size: 0.95rem; }
  .about { text-align: center; }
  .about-body { margin-inline: auto; }
  .sec-head { text-align: center; margin-inline: auto; }

  .work-board {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .work-list { max-width: 36rem; margin-inline: auto; }
  .work-rail { width: min(230px, 56vw); }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .nav {
    height: 56px;
    padding-inline: 1rem;
  }
  .brand img { width: 24px; height: 24px; }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    padding: 0.45em 0.9em;
  }
  .nav-right { gap: 0.55rem; }
  .lang { padding: 0.3em 0.55em; font-size: 0.7rem; }
  .mobile-cta { display: none !important; }

  .hero {
    padding-top: 4.75rem;
    gap: 1.35rem;
  }
  .reveal {
    filter: none;
    transform: translateY(20px);
  }
  .hero-visual,
  .feat,
  .work-board {
    overflow: visible;
  }
  .brand-line {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
  }
  .sub-line {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
    line-height: 1.28;
  }
  .lede {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  .proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1.25rem;
  }
  .proof li {
    min-width: 0;
    padding: 0.65rem 0.45rem;
    align-items: center;
    text-align: center;
  }
  .proof strong { font-size: 0.92rem; }
  .proof span { font-size: 0.68rem; }

  .hero-visual {
    min-height: min(320px, 88vw);
    max-width: min(340px, 92vw);
    width: 100%;
    margin-inline: auto;
    padding: 0.4rem 0 0.5rem;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  .hero-desk {
    display: none;
  }
  .hero-mstack {
    display: block;
    position: relative;
    width: 100%;
    height: min(300px, 80vw);
    margin: 0 auto;
  }
  .hero-mstack .phone {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    width: min(118px, 31vw);
    box-shadow: 0 18px 36px rgba(0,0,0,0.5);
  }
  .hero-mstack .hm-center {
    width: min(152px, 40vw);
    z-index: 5;
    transform: translate(-50%, -50%);
    box-shadow: 0 26px 50px rgba(0,0,0,0.55);
  }
  .hero-mstack .hm-left {
    z-index: 3;
    transform: translate(-108%, -46%) rotate(-9deg);
    opacity: 0.94;
  }
  .hero-mstack .hm-right {
    z-index: 3;
    transform: translate(8%, -46%) rotate(9deg);
    opacity: 0.94;
  }
  .hero-glow {
    width: 100%;
    height: 90%;
    opacity: 0.95;
  }
  .phone { border-radius: 24px; }
  .phone:hover img { transform: none; }
  .btn-ghost { width: 100%; text-align: center; border-bottom: none; }

  .btn-play {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .work-list { display: none; }
  .work-glow { display: none; }
  .work-board {
    display: block;
    overflow: visible;
  }
  .work-stage {
    display: block;
    width: 100%;
    overflow: visible;
  }
  .work-rail {
    display: flex;
    width: auto;
    max-width: none;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding: 0.25rem 0 0.5rem;
    margin: 0 calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .work-rail::-webkit-scrollbar { display: none; }
  .shot,
  .shot.active {
    position: relative;
    inset: auto;
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }
  .shot .phone {
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.5);
  }
  .shot-cap {
    display: block;
    text-align: center;
  }
  .shot-cap span {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 0.2rem;
  }
  .shot.active .shot-cap span { color: var(--accent); }
  .shot-cap strong {
    display: block;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
  }
  .shot-cap p {
    font-size: 0.85rem;
    color: var(--muted);
  }
  .work-dots { display: flex; }

  .feat {
    padding: 2.5rem 0 3.25rem;
    text-align: center;
    gap: 2rem;
  }
  .feat-copy {
    order: 0;
  }
  .feat-copy h3 {
    margin-inline: auto;
    font-size: 1.35rem;
  }
  .feat-copy p {
    margin-inline: auto;
    font-size: 0.92rem;
  }
  .feat-num {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }
  .feat-media {
    order: 1;
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
  }

  /* Keep 3-phone fan on mobile (same layout as web, scaled) */
  .feat-media.phone-stack {
    --stack-w: min(118px, 30vw);
    --stack-c: min(138px, 36vw);
    min-height: min(300px, 78vw);
    max-width: min(320px, 92vw);
    width: 100%;
    margin-inline: auto;
  }
  .feat-media.phone-stack .phone-left,
  .feat-media.phone-stack .phone-right {
    display: block;
    opacity: 0.95;
  }
  .feat-media.phone-stack .phone-center {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    width: var(--stack-c);
    transform: translate(-50%, -50%);
    animation: stackCenter 5.6s ease-in-out infinite;
    box-shadow: 0 22px 44px rgba(0,0,0,0.5);
  }
  .feat-media.phone-stack .phone-left {
    transform: translate(-102%, -46%) rotate(-8deg);
    animation: stackLeftMobile 6.2s ease-in-out infinite;
  }
  .feat-media.phone-stack .phone-right {
    transform: translate(2%, -46%) rotate(8deg);
    animation: stackRightMobile 6.2s ease-in-out infinite;
  }
  @keyframes stackLeftMobile {
    0%, 100% { transform: translate(-102%, -46%) rotate(-8deg); }
    50% { transform: translate(-102%, calc(-46% - 6px)) rotate(-8deg); }
  }
  @keyframes stackRightMobile {
    0%, 100% { transform: translate(2%, -46%) rotate(8deg); }
    50% { transform: translate(2%, calc(-46% - 6px)) rotate(8deg); }
  }

  /* Twin phones keep fan on mobile */
  .feat-media.twin {
    min-height: min(290px, 74vw);
    max-width: min(280px, 86vw);
    margin-inline: auto;
    position: relative;
  }
  .feat-media.twin .phone,
  .feat-media.twin .phone.phone-tilt,
  .feat:hover .feat-media.twin .phone.phone-tilt {
    width: min(150px, 42vw);
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-72%, -50%) rotate(-6deg);
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  }
  .feat-media.twin .phone-back {
    display: block;
    width: min(150px, 42vw);
    left: 50%;
    top: 50%;
    right: auto;
    transform: translate(-28%, -48%) rotate(7deg);
    opacity: 0.95;
    z-index: 2;
    animation: none;
  }

  .phone-tilt { transform: none; }
  .feat:hover .phone-tilt { transform: none; }

  .about-quote { font-size: 3.5rem; }
  .about h2 { font-size: 1.5rem; }
  .sec-head h2 { font-size: 1.5rem; }
  .trial {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    align-items: center;
  }
  .footer {
    padding-bottom: 1.5rem;
  }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 1rem; }
  .orb { display: none; }
  .cursor { display: none !important; }
}

@media (max-width: 400px) {
  .proof { grid-template-columns: 1fr 1fr 1fr; }
  .brand-line { font-size: 2.2rem; }
  .sub-line { font-size: 1.25rem; }
  .hero-visual {
    min-height: min(290px, 86vw);
    max-width: min(310px, 94vw);
  }
  .hero-mstack {
    height: min(270px, 78vw);
  }
  .hero-mstack .phone { width: min(104px, 28vw); }
  .hero-mstack .hm-center { width: min(136px, 38vw); }
  .feat-media.phone-stack {
    --stack-w: min(104px, 28vw);
    --stack-c: min(122px, 34vw);
    min-height: min(270px, 76vw);
  }
}
