/* Profit Over Promos — landing page */
:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --ink: #14161a;
  --ink-2: #434956;
  --ink-3: #5d6472;
  --line: #e1e4ea;
  --line-strong: #cfd3dc;
  --blue: #1f5bff;
  --blue-ink: #1444d6;
  --cyan: #19b8ff;
  --lava-1: #ffd166;
  --lava-2: #ff8a1f;
  --lava-3: #ff3d1f;
  --lava: linear-gradient(100deg, var(--lava-1), var(--lava-2) 40%, var(--lava-3) 70%, var(--lava-2) 88%, var(--lava-1));
  --dot-off: #e3e6ec;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow-1: 0 1px 2px rgba(17, 19, 24, 0.05), 0 8px 24px -12px rgba(17, 19, 24, 0.12);
  --shadow-2: 0 2px 4px rgba(17, 19, 24, 0.05), 0 24px 48px -24px rgba(17, 19, 24, 0.22);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- page backdrop: a dot grid with slow colour that travels as you scroll ---------- */
.backdrop { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: var(--bg);
  background-image: radial-gradient(circle at 1px 1px, rgba(17, 19, 24, 0.085) 1px, transparent 1.6px); background-size: 26px 26px; }
.backdrop i { position: absolute; border-radius: 50%; filter: blur(110px); will-change: transform; }
.backdrop .b1 { width: 62vmax; height: 62vmax; left: -22vmax; top: -30vmax; background: radial-gradient(circle, rgba(20, 71, 255, 0.30), rgba(25, 184, 255, 0.14) 55%, transparent 72%); transform: translate3d(calc(var(--s, 0) * 64vw), calc(var(--s, 0) * 70vh), 0); }
.backdrop .b2 { width: 56vmax; height: 56vmax; right: -20vmax; top: -26vmax; background: radial-gradient(circle, rgba(255, 138, 24, 0.30), rgba(255, 209, 102, 0.16) 55%, transparent 72%); transform: translate3d(calc(var(--s, 0) * -58vw), calc(var(--s, 0) * 86vh), 0); }
.backdrop .b3 { width: 50vmax; height: 50vmax; left: 30vw; top: 78vh; background: radial-gradient(circle, rgba(109, 74, 255, 0.16), transparent 68%); transform: translate3d(calc(var(--s, 0) * -30vw), calc(var(--s, 0) * -70vh), 0); }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--lava-1), var(--lava-2), var(--lava-3)); transform-origin: left center; transform: scaleX(var(--s, 0)); }

/* content rises into place once as it enters the viewport */
.js .rv { opacity: 0; transform: translate3d(0, 26px, 0); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 700ms ease, transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .backdrop i { transform: none !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap;
  padding: 16px 22px; border-radius: 12px; border: 0; cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2c63ff, var(--blue));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(13, 52, 196, 0.5), 0 10px 22px -8px rgba(31, 91, 255, 0.55);
}
.btn-ghost { color: var(--blue-ink); background: transparent; padding-inline: 8px; }
.btn-ghost span { border-bottom: 1.5px solid #b9c7ff; padding-bottom: 3px; transition: border-color 200ms ease; }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(13, 52, 196, 0.5), 0 16px 30px -8px rgba(31, 91, 255, 0.65); transform: translateY(-1px); }
  .btn:hover svg { transform: translateX(3px); }
  .btn-ghost:hover span { border-color: var(--blue); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(17, 19, 24, 0.07);
  box-shadow: var(--shadow-1);
}
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark img { height: 38px; width: auto; }
footer .wordmark img { height: 44px; }
.cmp .wordmark img { height: 40px; }
.nav-logo.wordmark { padding: 0 4px; }
.nav-logo.wordmark img { height: 35px; transform: translateY(calc(-15% + 1px)); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font: 500 15px/1 var(--text); padding: 10px 12px; border-radius: 8px; transition: color 150ms ease, background-color 150ms ease; }
@media (hover: hover) { .nav-links a:hover { color: var(--ink); background: rgba(17, 19, 24, 0.05); } }
.nav .btn { padding: 12px 16px; font-size: 15px; border-radius: 10px; }
@media (max-width: 820px) { .nav-links { display: none; } }
@media (max-width: 480px) { .nav { padding-left: 12px; } .nav .nav-logo.wordmark img { height: 30px; } .nav .btn { padding: 11px 12px; font-size: 14px; gap: 7px; } }

/* ---------- hero ---------- */
.hero { padding: 150px 0 0; text-align: center; position: relative; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4.6rem); margin-inline: auto; }
.hero h1 .l2 { display: block; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after {
  content: ""; position: absolute; z-index: -1; left: -0.06em; right: -0.06em; bottom: 0.04em; height: 0.34em;
  background: var(--lava); background-size: 220% 100%; border-radius: 0.08em;
  animation: lava 7s linear infinite;
  transform-origin: left center; transform: scaleX(var(--mark, 1));
}
@keyframes lava { to { background-position: -220% 0; } }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 56ch; margin: 26px auto 0; line-height: 1.5; text-wrap: pretty; }
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; display: flex; gap: 14px; justify-content: center; align-items: center; color: var(--ink-3); font-size: 14px; flex-wrap: wrap; }
.hero-note img { height: 56px; width: auto; }

.wall { margin-top: 56px; height: clamp(360px, 46vw, 600px); overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 62%, transparent 100%); }
.wall-inner { transform: translate3d(0, calc(var(--hero, 0) * -90px), 0); will-change: transform; display: flex; justify-content: center; gap: clamp(10px, 1.6vw, 22px); width: max(100%, 1100px); margin-left: 50%; translate: -50% 0; }
.wall-col { flex: 0 0 clamp(120px, 13vw, 190px); display: flex; flex-direction: column; gap: clamp(10px, 1.6vw, 22px); animation: drift var(--dur, 70s) linear infinite; will-change: transform; }
.wall-col:nth-child(even) { animation-direction: reverse; }
.wall-col img { width: 100%; border-radius: 10px; box-shadow: 0 1px 2px rgba(17, 19, 24, 0.08), 0 18px 34px -18px rgba(17, 19, 24, 0.35); background: #fff; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* ---------- proof strip ---------- */
.proof { padding: 28px 0 0; position: relative; z-index: 2; margin-top: -70px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-2); }
.stat { padding: 30px 32px 28px; text-align: left; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(2.3rem, 4.4vw, 3.5rem)/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; max-width: 28ch; }
.stat small { display: block; margin-top: 10px; color: var(--ink-3); font-size: 12.5px; }
.logos { margin: 54px 0 0; }
.logos p { text-align: center; color: var(--ink-3); font-size: 14.5px; }
.logos ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 52px; }
.logos img { height: 26px; width: auto; opacity: 0.72; filter: brightness(0); }
.logos img.raw { filter: grayscale(1); opacity: 0.85; height: 44px; }
.logos img.tall { height: 46px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 24px; }
}

/* ---------- sections ---------- */
section { padding: clamp(84px, 10vw, 140px) 0 0; }
.head { max-width: 820px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(2rem, 4.2vw, 3.35rem); }
.head h2 em { font-style: normal; color: var(--ink-3); }
.head p { margin-top: 20px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.head.center p { margin-inline: auto; }

/* ---------- the gap diagram ---------- */
.gap { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-1); }
.gap-track { display: grid; grid-template-columns: 1fr 2.6fr; gap: 0; position: relative; }
.seg { position: relative; padding: 0 0 0 0; }
.seg-owner { min-height: 86px; padding-right: 18px; }
.seg-owner b { display: block; font: 600 17px/1.25 var(--display); letter-spacing: -0.01em; }
.seg-owner span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-3); max-width: 26ch; }
.seg-bar { height: 14px; border-radius: 99px; margin-right: 6px; position: relative; overflow: hidden; }
.seg-ads .seg-bar { background: #d7dae2; }
.seg-ads .seg-bar i { position: absolute; inset: 0; background: var(--ink); border-radius: 99px; transform-origin: left center; }
.seg-first .seg-bar { background: #c9cdd6; }
.seg-gap .seg-bar { background: repeating-linear-gradient(-45deg, #e9ebf0 0 7px, #d7dae2 7px 9px); margin-right: 0; }
.seg-gap .seg-bar i { position: absolute; inset: 0; background: var(--lava); background-size: 220% 100%; border-radius: 99px; transform-origin: left center; }
.seg-points { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.seg-points b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.seg-owner span { max-width: 34ch; }
.seg-marks { position: relative; height: 40px; }
.seg-marks span { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); display: block; text-align: center; }
.seg-marks span:first-child { transform: none; text-align: left; }
.seg-marks span:last-child { transform: translateX(-100%); text-align: right; }
.seg-marks b { display: block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.seg-marks .node { position: absolute; top: -18px; left: 50%; margin: 0 0 0 -11px; display: block; }
.seg-marks span:first-child .node { left: 0; margin-left: 0; }
.seg-marks span:last-child .node { left: auto; right: 0; margin: 0; }
.seg-marks .node.hot { border-color: var(--lava-3); }
.gap .seg-marks .node { opacity: 1; }
/* the path plays on a loop: ad click to first order, then on through the orders we own */
.js .gap.is-in .seg-ads .seg-bar i { animation: path-ads 9s linear infinite; }
.js .gap.is-in .seg-gap .seg-bar i { animation: path-gap 9s linear infinite; }
.js .gap.is-in .seg-marks .node.hot { animation: 9s linear infinite; }
.js .gap.is-in .seg-marks span:nth-child(2) .node { animation-name: pop-2; }
.js .gap.is-in .seg-marks span:nth-child(3) .node { animation-name: pop-3; }
.js .gap.is-in .seg-marks span:nth-child(4) .node { animation-name: pop-4; }
.js .gap.is-in .seg-marks span:nth-child(n + 2) b { animation: 9s linear infinite; }
.js .gap.is-in .seg-marks span:nth-child(2) b { animation-name: lab-2; }
.js .gap.is-in .seg-marks span:nth-child(3) b { animation-name: lab-3; }
.js .gap.is-in .seg-marks span:nth-child(4) b { animation-name: lab-4; }
@keyframes path-ads { 0% { transform: scaleX(0); opacity: 1; } 14%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes path-gap { 0%, 15% { transform: scaleX(0); opacity: 1; } 57%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pop-2 { 0%, 33% { transform: scale(0.3); opacity: 0; } 37% { transform: scale(1.25); opacity: 1; } 40%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes pop-3 { 0%, 44% { transform: scale(0.3); opacity: 0; } 48% { transform: scale(1.25); opacity: 1; } 51%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes pop-4 { 0%, 55% { transform: scale(0.3); opacity: 0; } 59% { transform: scale(1.25); opacity: 1; } 62%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes lab-2 { 0%, 33% { opacity: 0.3; } 38%, 92% { opacity: 1; } 100% { opacity: 0.3; } }
@keyframes lab-3 { 0%, 44% { opacity: 0.3; } 49%, 92% { opacity: 1; } 100% { opacity: 0.3; } }
@keyframes lab-4 { 0%, 55% { opacity: 0.3; } 60%, 92% { opacity: 1; } 100% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .gap .seg-bar i, .gap .seg-marks .node, .gap .seg-marks b { animation: none !important; } }
.node { position: absolute; top: 86px; width: 22px; height: 22px; margin: -4px 0 0 -11px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); z-index: 2; }
.node.n1 { left: 0; margin-left: 0; }
.seg-marks .node { top: -18px; }
.gap-claim { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.gap-claim > div { padding: 28px 28px 0 0; }
.gap-claim > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.gap-claim h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.15; }
.gap-claim p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 800px) {
  .gap-track { grid-template-columns: 1fr; gap: 26px; }
  .seg-owner { min-height: 0; padding-bottom: 12px; }
  .seg-ads .node { display: none; }
  .seg-marks b { font-size: 12.5px; }
  .gap-claim { grid-template-columns: 1fr; }
  .gap-claim > div, .gap-claim > div + div { padding: 22px 0 0; border-left: 0; }
  .gap-claim > div + div { border-top: 1px solid var(--line); margin-top: 22px; }
}

/* ---------- method bento ---------- */
.bento { margin-top: 56px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.cell-copy { padding: 30px 32px 0; }
.cell h3 { font-size: 1.55rem; letter-spacing: -0.025em; }
.cell p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }
.vig { margin-top: 26px; flex: 1; position: relative; min-height: 250px; background: linear-gradient(180deg, #f7f8fa, #eef0f4); border-top: 1px solid var(--line); overflow: hidden; }
.vig-tag { position: absolute; right: 12px; bottom: 10px; font-size: 11.5px; color: var(--ink-3); background: rgba(255, 255, 255, 0.8); padding: 3px 8px; border-radius: 99px; z-index: 3; }

/* popup vignette */
.v-pop { display: grid; place-items: center; padding: 26px; }
.v-site { position: absolute; inset: 22px 22px -30px; border-radius: 12px 12px 0 0; background: #fff; border: 1px solid var(--line); opacity: 0.9; }
.v-site::before { content: ""; position: absolute; left: 14px; top: 12px; width: 44px; height: 8px; border-radius: 9px; background: var(--dot-off); box-shadow: 58px 0 0 var(--dot-off), 116px 0 0 var(--dot-off); }
.v-site::after { content: ""; position: absolute; inset: 44px 14px 0; border-radius: 8px; background: repeating-linear-gradient(90deg, #f1f2f5 0 31%, transparent 31% 34.5%); }
.v-popup { position: relative; z-index: 2; width: min(300px, 86%); background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -24px rgba(17, 19, 24, 0.45), 0 0 0 1px rgba(17, 19, 24, 0.06); text-align: left;
  transform: translateY(14px) scale(0.96); opacity: 0; transition: transform 600ms var(--ease-out), opacity 400ms ease; }
.is-in .v-popup { transform: none; opacity: 1; }
.v-popup b { font: 700 20px/1.1 var(--display); letter-spacing: -0.02em; display: block; }
.v-popup span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.v-field { margin-top: 14px; height: 40px; border-radius: 9px; border: 1px solid var(--line-strong); display: flex; align-items: center; padding: 0 12px; font-size: 13.5px; color: var(--ink-3); }
.v-field i { width: 1.5px; height: 17px; background: var(--blue); margin-left: 2px; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.v-go { margin-top: 8px; height: 40px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 13.5px var(--text); }

/* flow vignette */
.v-flow { display: flex; gap: 14px; padding: 26px 26px 0; align-items: flex-start; }
.v-step { flex: 1; min-width: 0; transition: transform 700ms var(--ease-out), opacity 500ms ease; transition-delay: calc(var(--i) * 70ms); }
.js .v-step { transform: translateY(18px); opacity: 0; }
.js .is-in .v-step { transform: none; opacity: 1; }
.v-step em { font-style: normal; display: block; font: 600 12.5px/1.2 var(--text); color: var(--ink); }
.v-step small { display: block; font-size: 11.5px; color: var(--ink-3); margin: 2px 0 8px; }
.v-flow { align-items: stretch; }
.v-step { display: flex; flex-direction: column; }
.v-step div { border-radius: 8px 8px 0 0; overflow: hidden; flex: 1 1 190px; min-height: 190px; box-shadow: 0 10px 22px -12px rgba(17, 19, 24, 0.4); background: #fff; }
.v-line { position: absolute; left: 26px; right: 26px; top: 66px; height: 0; }

/* calendar vignette */
.v-cal { padding: 26px; display: grid; gap: 10px; align-content: center; }
.v-week { display: grid; grid-template-columns: 62px repeat(5, 1fr); gap: 8px; align-items: center; }
.v-week > span { font-size: 12px; color: var(--ink-3); }
.v-day { height: 58px; border-radius: 8px; background: #fff; border: 1px solid var(--line); position: relative; }
.v-day b { position: absolute; inset: 6px; border-radius: 5px; display: flex; align-items: center; padding: 0 8px; font: 600 11.5px/1 var(--text); color: #fff; white-space: nowrap; overflow: hidden;
  transition: transform 500ms var(--ease-out), opacity 300ms ease; transition-delay: calc(var(--i) * 60ms); }
.js .v-day b { transform: scale(0.9); opacity: 0; }
.js .is-in .v-day b { transform: none; opacity: 1; }
.c-violet { background: #6d4aff; }
.c-blue { background: var(--blue); } .c-ink { background: var(--ink); } .c-cyan { background: #0875ad; } .c-lava { background: linear-gradient(100deg, #d9480f, #c42a00); }

/* scorecard vignette */
.v-score { padding: 22px 26px 26px; display: grid; gap: 0; align-content: start; }
.v-rep-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; }
.v-rep-head b { font: 600 15px/1.2 var(--display); letter-spacing: -0.01em; }
.v-rep-head span { font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px 10px; background: #fff; }
.v-row { display: grid; grid-template-columns: 1fr 92px 84px; gap: 12px; align-items: baseline; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-bottom: 0; font-size: 14px; }
.v-row:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.v-row-h { border-radius: 10px 10px 0 0; background: #fafbfc; font-size: 12px; color: var(--ink-3); }
.v-row span { color: var(--ink); font-weight: 500; }
.v-row-h span, .v-row-h u { color: var(--ink-3); font-weight: 500; }
.v-row u { text-decoration: none; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.v-row u:last-child { color: var(--ink-3); font-weight: 500; font-size: 13px; }
.ways { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1px solid var(--line-strong); }
.ways li { padding: 22px 0 0; font: 500 1.08rem/1.4 var(--display); letter-spacing: -0.01em; color: var(--ink); max-width: 32ch; text-wrap: pretty; }
.cell-note { margin: 0; padding: 11px 32px 13px; font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line); background: #fafbfc; }
.cell p.cell-note { margin-top: 0; max-width: none; font-size: 12.5px; color: var(--ink-3); }
.v-shot { display: grid; place-items: center; padding: 26px; min-height: 0; width: 100%; border: 0; border-top: 1px solid var(--line); cursor: zoom-in; font: inherit; }
.v-shot img { width: 100%; border-radius: 12px; box-shadow: 0 24px 46px -24px rgba(17, 19, 24, 0.5), 0 0 0 1px rgba(17, 19, 24, 0.06); transition: transform 700ms var(--ease-out), opacity 450ms ease; }
.js .v-shot img { transform: translateY(14px) scale(0.97); opacity: 0; }
.js .is-in .v-shot img { transform: none; opacity: 1; }
.v-popstat { padding: 26px 32px 28px; display: flex; flex-direction: column; min-height: 0; }
.ps-top { display: flex; align-items: flex-end; gap: 18px; }
.ps-top b { font: 700 clamp(2.8rem, 5vw, 4.2rem)/0.9 var(--display); letter-spacing: -0.035em; }
.cell .ps-top p { margin: 0 0 4px; font-size: 14.5px; color: var(--ink-2); max-width: 30ch; }
.ps-shot { margin-top: 0; padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.ps-shot img { width: 100%; border-radius: 12px; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.07), 0 22px 40px -24px rgba(17, 19, 24, 0.4); }
@media (max-width: 520px) { .v-popstat { padding: 22px 20px 24px; } .ps-top { flex-direction: column; align-items: flex-start; gap: 8px; } }
.lb-cap { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); margin: 0; z-index: 2; color: #fff; font-size: 14px; background: rgba(17, 19, 24, 0.7); padding: 7px 14px; border-radius: 99px; white-space: nowrap; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .ways li { max-width: none; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .v-flow { gap: 8px; padding-inline: 16px; }
  .v-step em { font-size: 11.5px; white-space: nowrap; }
  .v-week { grid-template-columns: 50px repeat(3, 1fr); gap: 6px; }
  .v-day:not(:has(b)) { display: none; }
  .v-day b { font-size: 11.5px; }
  .v-shot { padding: 16px; }
  .v-shot img { height: 190px; object-fit: cover; object-position: 18% 50%; }
  .v-row { grid-template-columns: 1fr 64px 62px; padding-inline: 10px; font-size: 13px; }
  .cell-note { padding-inline: 20px; }
  .lb-cap { font-size: 12.5px; }
}

/* ---------- case files ---------- */
.cases { margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-2); overflow: hidden; }
.case-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; background: #fafbfc; }
.case-tabs::-webkit-scrollbar { display: none; }
.case-tab { flex: 1 0 auto; border: 0; background: transparent; cursor: pointer; padding: 14px 18px; border-radius: 14px; text-align: left; font: 600 15.5px/1.2 var(--text); color: var(--ink-2); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.case-tab small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.case-tab[aria-selected="true"] { background: #fff; color: var(--blue-ink); box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(17, 19, 24, 0.2); }
@media (hover: hover) { .case-tab:not([aria-selected="true"]):hover { background: rgba(17, 19, 24, 0.04); } }
.case-body { display: grid; grid-template-columns: 1fr 1.08fr; }
.case-text { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; }
.case-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
.case-text > p { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; max-width: 46ch; text-wrap: pretty; }
.tiles { margin-top: 30px; margin-bottom: 4px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.tile { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tile span { color: var(--ink-2); font-size: 14.5px; }
.tile b { font: 700 1.35rem/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.case-src { margin-top: auto; padding-top: 22px; font-size: 12.5px; color: var(--ink-3); max-width: 60ch; }
.case-viz { border-left: 1px solid var(--line); padding: clamp(24px, 3.6vw, 44px); background: linear-gradient(180deg, #fbfbfc, #f4f5f8); display: flex; flex-direction: column; }
.viz-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 16px; }
.viz-top p { font-size: 14px; color: var(--ink-3); flex: 1 1 170px; max-width: 30ch; }
.viz-big { font: 700 clamp(3rem, 6.2vw, 5.2rem)/0.9 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.viz-big sup { font-size: 0.42em; letter-spacing: -0.02em; vertical-align: top; position: relative; top: 0.1em; margin-left: 2px; }
.dots { margin-top: 26px; display: grid; grid-template-columns: repeat(20, 1fr); gap: clamp(3px, 0.5vw, 6px); }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--dot-off); transition: background-color 260ms ease, transform 260ms var(--ease-out); }
.dots i.on { background: var(--c); transform: scale(1.06); animation: wave 3s ease-in-out infinite; animation-delay: calc(var(--k) * -40ms); }
.dots i.base { background: var(--ink); animation: none; }
@keyframes wave { 50% { filter: brightness(1.16) saturate(1.15); } }
.dots-key { margin-top: 14px; display: flex; gap: 18px; font-size: 12.5px; color: var(--ink-3); }
.dots-key span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; background: var(--dot-off); vertical-align: 0; }
.dots-key span.k-on::before { background: linear-gradient(100deg, var(--lava-2), var(--lava-3)); }
.dots-key span.k-base::before { background: var(--ink); }
.dots-key { flex-wrap: wrap; row-gap: 6px; }
.scrub { margin-top: auto; padding-top: 30px; }
.scrub-labels { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.scrub-labels button { border: 0; background: none; padding: 4px 0; cursor: pointer; font: 600 13.5px/1.2 var(--text); color: var(--ink-3); text-align: left; transition: color 150ms ease; }
.scrub-labels button:last-child { text-align: right; }
.scrub-labels button { color: var(--blue-ink); }
.scrub-labels button.is-on { color: var(--ink); }
.scrub-labels button small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.scrub input { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 0; cursor: grab; touch-action: pan-y; }
.scrub input:active { cursor: grabbing; }
.scrub input::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--lava-2), var(--lava-3)) 0 / var(--p, 0%) 100% no-repeat, var(--dot-off); }
.scrub input::-moz-range-track { height: 10px; border-radius: 99px; background: var(--dot-off); }
.scrub input::-moz-range-progress { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--lava-2), var(--lava-3)); }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.1), 0 6px 14px -4px rgba(17, 19, 24, 0.35), inset 0 0 0 9px #fff, inset 0 0 0 17px var(--blue); transition: transform 160ms var(--ease-out); }
.scrub input::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); border: 9px solid #fff; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.1), 0 6px 14px -4px rgba(17, 19, 24, 0.35); }
.scrub input:active::-webkit-slider-thumb { transform: scale(1.12); }
.scrub-hint { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.scrub-hint svg { width: 15px; height: 15px; }
@media (max-width: 880px) {
  .case-body { grid-template-columns: 1fr; }
  .case-viz { border-left: 0; border-bottom: 1px solid var(--line); order: -1; }
  .case-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .case-tab { padding: 12px 14px; }
}

.case-list { margin-top: 48px; display: grid; gap: 22px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-2); overflow: hidden; display: grid; grid-template-columns: 1fr 1.08fr; }
.case:nth-child(even) .case-viz { order: -1; border-left: 0; border-right: 1px solid var(--line); }
.case-by { margin-top: 14px !important; font-weight: 600; font-size: 15px !important; color: var(--ink) !important; }
.case-by span { font-weight: 400; color: var(--ink-3); margin-left: 8px; }
.phase { margin-top: auto; padding-top: 30px; }
.phase-labels { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.phase-labels span { font: 600 13.5px/1.2 var(--text); color: var(--ink-3); transition: color 200ms ease; }
.phase-labels span:last-child { text-align: right; }
.phase-labels span.is-on { color: var(--ink); }
.phase-labels small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.phase-track { height: 10px; border-radius: 99px; background: var(--dot-off); overflow: hidden; }
.phase-track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--lava-2), var(--lava-3)); transform-origin: left center; transform: scaleX(var(--p, 0)); }
@media (max-width: 880px) {
  .case { grid-template-columns: 1fr; }
  .case .case-viz, .case:nth-child(even) .case-viz { order: -1; border: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- comparison ---------- */
.cmp { margin-top: 52px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-1); overflow: hidden; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; padding: 18px 24px; vertical-align: top; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.cmp thead th { font: 600 15px/1.2 var(--text); color: var(--ink-3); padding-top: 22px; padding-bottom: 16px; border-bottom: 2px solid var(--line-strong); }
.cmp thead .us { box-shadow: inset 1px 0 0 #dbe4ff, inset -1px 0 0 #dbe4ff; }
.cmp tbody th { font: 600 15.5px/1.3 var(--text); color: var(--ink); width: 21%; }
.cmp td { color: var(--ink-3); width: 24%; }
.cmp .us { background: #f4f7ff; color: var(--ink); font-weight: 500; width: 31%; box-shadow: inset 1px 0 0 #dbe4ff, inset -1px 0 0 #dbe4ff; }
.cmp thead .us { color: var(--blue-ink); }
.cmp thead .us img { height: 42px; }
@media (max-width: 760px) {
  .cmp table, .cmp tbody, .cmp tr, .cmp td, .cmp th { display: block; width: auto !important; }
  .cmp thead { display: none; }
  .cmp tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .cmp tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { padding: 0; border: 0; }
  .cmp tbody th { font-size: 17px; font-family: var(--display); margin-bottom: 10px; }
  .cmp td { padding: 9px 0 9px 0; font-size: 15px; }
  .cmp td::before { content: attr(data-l); display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; margin-bottom: 2px; }
  .cmp .us { padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px #dbe4ff; margin-bottom: 4px; }
  .cmp .us::before { color: var(--blue-ink); }
}

/* ---------- gallery ---------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--blue); transition: transform 160ms var(--ease-out), border-color 150ms ease; }
.rail-nav button svg { width: 18px; height: 18px; }
.rail-nav button:active { transform: scale(0.94); }
@media (hover: hover) { .rail-nav button:hover { border-color: var(--blue); } }
.rail { margin-top: 40px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px max(20px, calc((100vw - var(--wrap)) / 2)) 34px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 clamp(230px, 24vw, 290px); scroll-snap-align: center; border: 0; padding: 0; background: none; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }
.shot-frame { display: block; height: clamp(440px, 46vw, 560px); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.07), 0 26px 44px -26px rgba(17, 19, 24, 0.45); position: relative; }
.shot-frame img { width: 100%; transition: transform var(--t, 6s) linear; will-change: transform; }
@media (hover: hover) and (pointer: fine) { .shot:hover .shot-frame img { transform: translateY(var(--y, 0)); } }
.shot-name { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 14.5px/1.2 var(--text); }
.shot-name i { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 99px; padding: 2px 8px; }
.rail-note { text-align: center; font-size: 13.5px; color: var(--ink-3); }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; }
dialog.lightbox::backdrop { background: rgba(17, 19, 24, 0.72); backdrop-filter: blur(6px); }
.lb-scroll { height: 100%; overflow-y: auto; padding: 64px 16px 80px; overscroll-behavior: contain; }
.lb-scroll img.lb-wide { width: min(1000px, 100%); margin-top: 2vh; }
.lb-scroll img { width: min(600px, 100%); margin-inline: auto; border-radius: 12px; box-shadow: 0 40px 80px -30px #000; }
.lb-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-2); }
.lb-close svg { width: 18px; height: 18px; }

/* ---------- quotes ---------- */
.quotes { margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.quote blockquote { margin: 0; font: 500 clamp(1.15rem, 1.7vw, 1.4rem)/1.38 var(--display); letter-spacing: -0.015em; text-wrap: pretty; }
.quote blockquote b { font-weight: 500; background: linear-gradient(180deg, transparent 62%, #e4e8f1 62%); }
.quote figcaption { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--ink-3); }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder-photo { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 1; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.founder p { margin-top: 18px; color: var(--ink-2); font-size: 17.5px; max-width: 58ch; text-wrap: pretty; }
.founder .sig { margin-top: 24px; color: var(--ink); font-weight: 600; font-size: 16px; }
.founder .sig span { display: block; font-weight: 400; color: var(--ink-3); font-size: 14.5px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder-photo { width: 200px; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 1.15rem/1.3 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--blue); transition: transform 250ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 16px; max-width: 62ch; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* ---------- close ---------- */
.close { margin-top: clamp(84px, 10vw, 140px); padding: 0; }
.close-in { border-radius: 32px; padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 88px); color: #fff; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 12% 0%, #2a5cf2 0%, #1c4fe6 42%, #1238b8 100%); box-shadow: 0 40px 80px -40px rgba(31, 91, 255, 0.65); }
.close h2 { font-size: clamp(2.1rem, 5vw, 4rem); max-width: 16ch; margin-inline: auto; }
.close p { margin: 22px auto 0; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: #f1f4ff; max-width: 52ch; }
.close .btn { margin-top: 36px; background: #fff; color: var(--blue-ink); padding: 19px 28px; font-size: 17px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
.close .btn:focus-visible { outline-color: #fff; }
.close small { display: block; margin-top: 18px; color: #e4eaff; font-size: 13.5px; }

footer { padding: 56px 0 44px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.foot img { height: 30px; width: auto; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); text-decoration: none; }
@media (hover: hover) { .foot a:hover { color: var(--ink); text-decoration: underline; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall-col, .dots i.on, .mark::after { animation: none; }
  .v-step, .v-day b { transition-duration: 1ms; transition-delay: 0ms; }
  .shot-frame img { transition: none; }
}
