/* SQL Wizard homepage. One design in SQL Wizard's own colours: the cream page, the app's violet for
   actions, and the column-type badge colours (cyan, green, amber, rose, gold) as whole section grounds. */

:root {
  --cream: #f7f3ec; --cream-2: #efe8dc;
  --ink: #1e1e3c; --ink-2: #3d3d5c; --muted: #5d5b74; --line: rgb(30 30 60 / .12);
  --violet: #7c3aed; --violet-d: #6425d6; --violet-deep: #3b1782; --violet-soft: #ede4ff;
  --cyan: #c9eef4;   --cyan-t: #0e5a6d;   --cyan-s: #16b2c2;
  --green: #d2efdc;  --green-t: #14662f;  --green-s: #2ea043;
  --amber: #fdebbd;  --amber-t: #7a4a00;  --amber-s: #e0a020;
  --rose: #fbdde4;   --rose-t: #9f1239;   --rose-s: #e5484d;
  --gold: #f2e6d2;   --gold-t: #6b4210;
  --blue-s: #2f7cf0;
  --r: 18px; --r-sm: 10px;
  --wrap: 1240px; --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 0 0 1px rgb(30 30 60 / .08), 0 30px 60px -30px rgb(30 30 60 / .35), 0 12px 24px -12px rgb(30 30 60 / .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 "IBM Plex Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
code { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons: the app's violet action, its white buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 12px; font: 500 16px/1 inherit; font-family: inherit; text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
       transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--lg { height: 54px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn--violet { background: var(--violet); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 8px 20px -8px rgb(124 58 237 / .7); }
.btn--violet:hover { background: var(--violet-d); transform: translateY(-2px); box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 14px 28px -10px rgb(124 58 237 / .75); }
.btn--white { background: #fff; color: var(--ink); border-color: rgb(30 30 60 / .14); box-shadow: 0 1px 2px rgb(30 30 60 / .06); }
.btn--white:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--violet-d); box-shadow: 0 10px 24px -12px rgb(30 30 60 / .3); }
.btn--ghost { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .45); }
.btn--ghost:hover { background: rgb(255 255 255 / .24); transform: translateY(-2px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgb(247 243 236 / .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.top.is-scrolled { border-color: var(--line); background: rgb(247 243 236 / .92); }
.top__bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.top__nav { display: flex; gap: 4px; margin-left: 12px; }
.top__nav a, .top__link, .lang { position: relative; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .2s, background-color .2s; }
.top__nav a:hover, .top__link:hover, .lang:hover { color: var(--ink); background: rgb(30 30 60 / .06); }
.top__nav a.is-on { color: var(--violet-d); background: var(--violet-soft); }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top__end .btn { margin-left: 6px; height: 42px; }
.lang { font-size: 13px; letter-spacing: .04em; border: 1px solid var(--line); padding: 5px 9px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { display: grid; gap: 2px; padding: 8px var(--gut) 20px; border-top: 1px solid var(--line); }
.sheet a:not(.btn) { padding: 14px 4px; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 14px; }
@media (max-width: 1080px) { .top__nav { display: none; } }
@media (max-width: 720px) { .top__link, .lang, .top__end > .btn { display: none; } .menu-btn { display: block; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; isolation: isolate; }
.hero__sky { position: absolute; inset: 0 0 30% 0; z-index: -1; overflow: hidden; }
.hero__sky i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: drift 18s ease-in-out infinite alternate; }
.hero__sky .b1 { width: 620px; height: 520px; left: -8%; top: -18%; background: #d8c6ff; }
.hero__sky .b2 { width: 560px; height: 460px; right: -6%; top: -10%; background: #b9ecf3; animation-delay: -6s; }
.hero__sky .b3 { width: 460px; height: 380px; left: 30%; top: 22%; background: #fde3b0; animation-delay: -11s; opacity: .6; }
.hero__sky .b4 { width: 420px; height: 360px; right: 18%; top: 38%; background: #fbd0dc; animation-delay: -3s; opacity: .55; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: -1; background: linear-gradient(transparent, var(--cream) 70%); }
.hero__text { text-align: center; display: grid; justify-items: center; gap: 22px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 99px; background: rgb(255 255 255 / .7); border: 1px solid rgb(124 58 237 / .25); color: var(--violet-d); font-weight: 500; font-size: 14px; box-shadow: 0 6px 18px -10px rgb(124 58 237 / .5); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 0 rgb(124 58 237 / .6); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgb(124 58 237 / 0); } }
.hero h1 { font-size: clamp(40px, 6.6vw, 84px); max-width: 15ch; letter-spacing: -0.04em; line-height: 1.02; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--violet) 10%, #0ea5c6 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 60ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero__fine { font-size: 14px; color: var(--muted); }
.hero__stage { position: relative; margin-top: 64px; padding-bottom: 96px; perspective: 1800px; }
.shot { margin: 0; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.shot img { width: 100%; }
.shot--hero { border-radius: 20px; transform-origin: 50% 0; }
.js .shot--hero { animation: rise 1.4s var(--ease) .25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(80px) rotateX(18deg) scale(.96); } }
.float { position: absolute; z-index: 2; will-change: transform; }
.float--a { left: -36px; top: 18%; width: 330px; }
.float--b { right: -36px; top: 44%; width: 320px; }
.float--c { left: 8%; bottom: 52px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.js .float { animation: pop 1s var(--ease) both; }
.js .float--a { animation-delay: 1s; } .js .float--b { animation-delay: 1.25s; } .js .float--c { animation-delay: 1.5s; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.94); } }
.float > * { animation: bob 7s ease-in-out infinite; }
.float--b > * { animation-delay: -3s; } .float--c > * { animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float--c .badge { box-shadow: 0 8px 18px -10px rgb(30 30 60 / .35); }

/* live UI cards, drawn like the app */
.live { background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 0 0 1px rgb(30 30 60 / .08), 0 24px 48px -20px rgb(30 30 60 / .45); font-size: 14px; line-height: 1.45; }
.live__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.live__head b { font-weight: 600; }
.live__row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.live__row b { color: var(--ink); font-weight: 600; }
.live__code { display: block; margin: 8px 0 4px; padding: 10px 12px; border-radius: 8px; background: #f6f4fb; font-size: 13px; color: var(--ink-2); }
.live__code .k { color: var(--violet-d); font-weight: 500; } .live__code .n { color: var(--amber-t); }
.live__note { font-size: 13.5px; color: var(--muted); }
.live__note b { color: var(--rose-t); }
.dot { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 inherit; font-style: normal; }
.dot--green { background: var(--green); color: var(--green-t); } .dot--rose { background: var(--rose); color: var(--rose-t); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.chip--amber { background: var(--amber); color: var(--amber-t); } .chip--rose { background: var(--rose); color: var(--rose-t); }
[data-steps] [data-s].is-off { opacity: 0; transform: translateY(6px); }

/* the app's column badges */
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 7px; font: 500 13.5px/1 "IBM Plex Mono", monospace; white-space: nowrap; border: 1px solid; }
.b-int  { background: #d2eff7; color: #155e75; border-color: #87d0e3; }
.b-uni  { background: #d2eff7; color: #155e75; border-color: #87d0e3; }
.b-txt, .b-ai { background: #d7f3e0; color: #14662f; border-color: #95d8ad; }
.b-date { background: #fef3c7; color: #8a5300; border-color: #fcd57a; }
.b-pk, .b-enum { background: #f2e6d2; color: #6b4210; border-color: #d8bd92; }
.b-nn   { background: #fde2e7; color: #9f1239; border-color: #f7a6b8; }
.b-fk   { background: #dfe9fd; color: #1f4fb0; border-color: #a9c4f5; }
.b-json { background: #ede4ff; color: #5b21b6; border-color: #c9b2fb; }
.b-idx  { background: #e7ebf0; color: #3b4656; border-color: #c2cad5; }
.b-word { background: #fff; color: var(--ink); border-color: var(--line); font-family: "IBM Plex Sans", sans-serif; font-size: 15px; height: 34px; padding: 0 16px; border-radius: 99px; }

/* ---------- ticker ---------- */
.ticker { display: grid; gap: 12px; padding: 8px 0 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; gap: 10px; width: max-content; animation: slide 46s linear infinite; }
.ticker__row--rev .ticker__track { animation-direction: reverse; animation-duration: 58s; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- coloured bands: the whole section takes the colour ---------- */
.band { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.band--rose { background: var(--rose); --k: var(--rose-t); --ks: var(--rose-s); }
.band--cyan { background: var(--cyan); --k: var(--cyan-t); --ks: var(--cyan-s); }
.band--green { background: var(--green); --k: var(--green-t); --ks: var(--green-s); }
.band--amber { background: var(--amber); --k: var(--amber-t); --ks: var(--amber-s); }
.band--violet { background: radial-gradient(80% 90% at 85% 0%, #6d3be0 0%, transparent 60%), radial-gradient(70% 80% at 0% 100%, #2f8fb0 0%, transparent 55%), var(--violet-deep); color: #fff; --k: #c9b2fb; }
.plain { padding: clamp(80px, 10vw, 130px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 "IBM Plex Mono", monospace; color: var(--k, var(--violet-d)); margin-bottom: 18px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--violet { color: var(--violet-d); }
.band__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 880px; }
.band__head h2, .faq__head h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.035em; }
.band__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.band__lead { font-size: 18px; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 900px) { .band__head--split { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- the scroll story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step { min-height: 62vh; display: grid; align-content: center; gap: 12px; padding: 24px 0; opacity: .38; transition: opacity .5s var(--ease); }
.story__step.is-on { opacity: 1; }
.story__n { font: 500 15px/1 "IBM Plex Mono", monospace; color: var(--k); }
.story__step h3 { font-size: clamp(28px, 3vw, 40px); }
.story__step p { font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.story__inline { display: none; }
.story__stage { position: sticky; top: calc(50vh - 260px); height: fit-content; }
.story__frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.story__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.03) translateY(14px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.story__frame img.is-on { opacity: 1; transform: none; }
.story__bar { margin-top: 18px; height: 4px; border-radius: 4px; background: rgb(159 18 57 / .14); overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 25%; background: var(--rose-s); border-radius: inherit; transition: transform .6s var(--ease); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__stage { display: none; }
  .story__step { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .story__inline { display: block; margin-top: 12px; }
}

/* ---------- tabs with real screens ---------- */
.tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.tabs__list button { position: relative; display: grid; gap: 6px; align-content: start; text-align: left; padding: 20px 22px 24px; border-radius: 16px; border: 1px solid rgb(30 30 60 / .1); background: rgb(255 255 255 / .45); color: var(--ink); font: inherit; cursor: pointer; overflow: hidden; transition: background-color .3s, transform .3s var(--ease), box-shadow .3s; }
.tabs__list button:hover { background: rgb(255 255 255 / .75); transform: translateY(-2px); }
.tabs__list button[aria-selected="true"] { background: #fff; box-shadow: 0 18px 36px -22px rgb(30 30 60 / .45); }
.tabs__list b { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.tabs__list span { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.tabs__prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ks); transform: scaleX(0); transform-origin: 0 50%; }
.tabs__list button[aria-selected="true"] .tabs__prog { transform: scaleX(var(--p, 1)); }
.tabs__stage { position: relative; }
.tabs__stage .shot { animation: swap .7s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@media (max-width: 900px) { .tabs__list { grid-template-columns: 1fr; } .tabs__list span { display: none; } .tabs__list button { padding: 16px 18px; } }

/* ---------- teams ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.pair .shot:nth-child(2) { margin-top: 64px; }
.facts { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.facts li { display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid rgb(122 74 0 / .25); }
.facts b { font-size: 19px; font-weight: 600; }
.facts span { color: var(--ink-2); }
@media (max-width: 900px) { .pair, .facts { grid-template-columns: 1fr; } .pair .shot:nth-child(2) { margin-top: 0; } }

/* ---------- trust on violet ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.trust h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.03em; margin-bottom: 40px; }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.trust__list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: rgb(255 255 255 / .82); }
.trust__list b { color: #fff; font-weight: 600; }
.trust__list svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgb(255 255 255 / .1); fill: none; stroke: #e2d6ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust__card .live { color: var(--ink); padding: 20px 22px; transform: rotate(-1.5deg); }
.grade { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--amber); color: var(--amber-t); font-weight: 700; font-size: 19px; }
.live__meter { margin-top: 12px; height: 8px; border-radius: 8px; background: #eee9f8; overflow: hidden; }
.live__meter i { display: block; height: 100%; width: 78%; border-radius: inherit; background: linear-gradient(90deg, var(--amber-s), var(--green-s)); transform-origin: 0 50%; }
.js .trust__card:not(.is-in) .live__meter i { transform: scaleX(0); }
.trust__card .live__meter i { transition: transform 1.6s var(--ease) .4s; }
@media (max-width: 960px) { .trust { grid-template-columns: 1fr; } .trust__list { grid-template-columns: 1fr; } .trust__card .live { transform: none; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 32px 28px 34px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s; }
.steps li:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgb(30 30 60 / .35); }
.steps__n { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font: 600 22px/1 inherit; margin-bottom: 10px; }
.steps li:nth-child(1) .steps__n { background: var(--cyan); color: var(--cyan-t); }
.steps li:nth-child(2) .steps__n { background: var(--green); color: var(--green-t); }
.steps li:nth-child(3) .steps__n { background: var(--amber); color: var(--amber-t); }
.steps h3 { font-size: 23px; }
.steps p { color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgb(30 30 60 / .35); }
.plan h3 { font-size: 22px; }
.plan__for { color: var(--muted); font-size: 15px; min-height: 46px; }
.plan__price { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 8px; }
.plan__price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__price--tbd { font-size: 20px; padding: 14px 0 12px; }
.plan ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.plan li { padding-left: 26px; position: relative; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--green-s); border-bottom: 2px solid var(--green-s); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan--hot { background: linear-gradient(170deg, #fff 30%, var(--violet-soft)); box-shadow: 0 0 0 2px var(--violet), 0 30px 50px -28px rgb(124 58 237 / .6); }
.plan--hot li::before { border-color: var(--violet); }
.plan__flag { position: absolute; top: -14px; left: 24px; padding: 5px 12px; border-radius: 99px; background: var(--violet); color: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq__head p:last-child { margin-top: 18px; color: var(--ink-2); }
.faq__head a { color: var(--violet-d); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%236425d6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- close ---------- */
.close { position: relative; overflow: hidden; isolation: isolate; padding: clamp(100px, 12vw, 160px) 0; background: linear-gradient(120deg, #5b21d6, #7c3aed 40%, #1aa6c4); color: #fff; text-align: center; }
.close__sky i { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; animation: drift 16s ease-in-out infinite alternate; }
.close__sky i:nth-child(1) { width: 480px; height: 420px; left: -6%; top: -30%; background: #9f6bff; }
.close__sky i:nth-child(2) { width: 420px; height: 380px; right: -4%; bottom: -40%; background: #36d1e8; animation-delay: -5s; }
.close__sky i:nth-child(3) { width: 300px; height: 260px; left: 45%; top: 40%; background: #ff9fb8; opacity: .5; animation-delay: -9s; }
.close__in { display: grid; justify-items: center; gap: 22px; }
.close h2 { font-size: clamp(36px, 5.4vw, 72px); letter-spacing: -0.04em; max-width: 16ch; }
.close p { font-size: 19px; color: rgb(255 255 255 / .88); }

/* ---------- footer ---------- */
.foot { padding: 72px 0 32px; background: var(--cream-2); }
.foot__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.foot__brand p { margin-top: 14px; color: var(--muted); max-width: 36ch; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot__cols h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.foot__cols a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; }
.foot__cols a:hover { color: var(--violet-d); }
.foot__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .foot__in { grid-template-columns: 1fr; } .foot__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- reveal on scroll ---------- */
.js [data-in] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-in].is-in { opacity: 1; transform: none; }
.js .hero [data-in] { animation: up .9s var(--ease) both; animation-delay: var(--d, 0s); opacity: 1; transform: none; transition: none; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .float--a { left: -8px; top: auto; bottom: -10px; width: 280px; }
  .float--b, .float--c { display: none; }
  .hero__stage { padding-bottom: 120px; margin-top: 44px; }
  .live { font-size: 13px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .float--a { width: 260px; left: 50%; margin-left: -130px; }
}

/* ---------- reduced motion: everything rests, nothing hidden ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-in] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.sheet[hidden] { display: none; }
@media (min-width: 721px) { .sheet { display: none; } }

/* =================== round 2 =================== */
:root { --bh: 260px; --deep: #3b1782; }
/* one ground for the hero, "Your data stays yours" and the close: the logo's deep violet with soft lights */
.hero, .band--violet, .close { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow i { position: absolute; border-radius: 50%; filter: blur(80px); animation: drift 20s ease-in-out infinite alternate; }
.glow i:nth-child(1) { width: 62vw; height: 60vh; right: -16vw; top: -24vh; background: #6d3be0; opacity: .9; }
.glow i:nth-child(2) { width: 54vw; height: 56vh; left: -18vw; bottom: -10vh; background: #2f8fb0; opacity: .75; animation-delay: -7s; }
.glow i:nth-child(3) { width: 30vw; height: 34vh; left: 40%; top: 30%; background: #8b5cf6; opacity: .35; animation-delay: -12s; }
.hero::after, .hero__sky, .close__sky { display: none; }

/* soft blends from one section's colour into the next */
.hero { background: linear-gradient(180deg, var(--deep) 0, var(--deep) calc(100% - var(--bh)), color-mix(in oklab, var(--deep) 45%, var(--rose)) 100%); }
#safety { --c: var(--rose); --from: color-mix(in oklab, var(--deep) 45%, var(--rose)); --to: color-mix(in oklab, var(--rose) 50%, var(--cyan)); }
#design { --c: var(--cyan); --from: color-mix(in oklab, var(--rose) 50%, var(--cyan)); --to: color-mix(in oklab, var(--cyan) 50%, var(--green)); }
#data { --c: var(--green); --from: color-mix(in oklab, var(--cyan) 50%, var(--green)); --to: color-mix(in oklab, var(--green) 50%, var(--amber)); }
#teams { --c: var(--amber); --from: color-mix(in oklab, var(--green) 50%, var(--amber)); --to: color-mix(in oklab, var(--amber) 55%, var(--deep)); }
#safety, #design, #data, #teams { background: linear-gradient(180deg, var(--from) 0, var(--c) var(--bh), var(--c) calc(100% - var(--bh)), var(--to) 100%); }
.band--violet { background: linear-gradient(180deg, color-mix(in oklab, var(--amber) 55%, var(--deep)) 0, var(--deep) var(--bh), var(--deep) calc(100% - var(--bh)), color-mix(in oklab, var(--deep) 45%, var(--cream)) 100%); }
#start { background: linear-gradient(180deg, color-mix(in oklab, var(--deep) 45%, var(--cream)) 0, var(--cream) var(--bh)); }
#faq { background: linear-gradient(180deg, var(--cream) 0, var(--cream) calc(100% - var(--bh)), color-mix(in oklab, var(--cream) 50%, var(--deep)) 100%); }
.close { background: linear-gradient(180deg, color-mix(in oklab, var(--cream) 50%, var(--deep)) 0, var(--deep) var(--bh), var(--deep) calc(100% - 180px), color-mix(in oklab, var(--deep) 40%, var(--cream-2)) 100%); }

/* hero text on violet */
.hero { padding-top: 88px; }
.hero h1 { color: #fff; }
.hero h1 em { background: linear-gradient(100deg, #c4b5fd 5%, #67e8f9 95%); -webkit-background-clip: text; background-clip: text; }
.hero__lead { color: rgb(255 255 255 / .82); }
.hero__fine { color: rgb(255 255 255 / .62); }
.pill { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .22); color: #fff; box-shadow: none; }
.pill__dot { background: #67e8f9; }
.shot--hero { box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 50px 100px -40px rgb(0 0 0 / .6), 0 0 120px -20px rgb(103 232 249 / .35); }
.hero .ticker { padding: 0 0 72px; }

/* 1. the pinned story: the title and the screen stay, the steps arrive one by one and stop */
.pin { height: 440vh; padding: 0; }
.pin__stick { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding-top: 72px; }
.pin__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 28px; }
.pin__head { grid-column: 1 / -1; max-width: 1000px; }
.pin__head .kicker { margin-bottom: 12px; }
.pin__head h2 { font-size: clamp(28px, 3.3vw, 46px); letter-spacing: -0.035em; }
.pin__steps { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 10px; }
.pin__step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgb(255 255 255 / .38); border: 1px solid rgb(159 18 57 / .1);
             transition: opacity .7s var(--ease), transform .7s var(--ease), background-color .4s, box-shadow .4s; }
.js .pin__step { opacity: 0; transform: translateY(70px); }
.js .pin__step.is-in { opacity: 1; transform: none; }
.pin__step.is-cur { background: #fff; box-shadow: 0 18px 36px -22px rgb(159 18 57 / .45); border-color: transparent; }
.pin__n { font: 500 15px/1 "IBM Plex Mono", monospace; color: var(--rose-t); padding-top: 5px; }
.pin__step h3 { font-size: 21px; margin-bottom: 4px; }
.pin__step p { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.pin__inline { display: none; grid-column: 1 / -1; }
.pin__stage { grid-column: 2; grid-row: 2; align-self: start; }
.pin__frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.pin__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(24px) scale(1.02); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.pin__frame img.is-on { opacity: 1; transform: none; }
@media (max-width: 900px), (max-height: 640px) {
  .pin { height: auto; padding: 96px 0; }
  .pin__stick { position: static; height: auto; padding: 0; }
  .pin__in { grid-template-columns: 1fr; }
  .pin__stage { display: none; }
  .js .pin__step { opacity: 1; transform: none; }
  .pin__step { grid-template-columns: 1fr; background: transparent; border: 0; padding: 0 0 40px; }
  .pin__inline { display: block; margin-top: 8px; }
}

/* 3. teams moves: the screens drift as you scroll, a member joins */
.pair { position: relative; }
.pair .shot { will-change: transform; }
.pair__live { position: absolute; z-index: 3; left: 50%; top: -34px; width: 300px; margin-left: -150px; }
.pair__live .live { animation: bob 7s ease-in-out infinite; }
@media (max-width: 900px) { .pair__live { position: static; margin: 0 auto 20px; } }

/* start: live mini cards and a line that draws across the three steps */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 58px; height: 2px; background: linear-gradient(90deg, var(--cyan-s), var(--green-s), var(--amber-s)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .3s; }
.steps.is-in::before { transform: none; }
.steps li { z-index: 1; }
.live--mini { margin-top: 14px; padding: 10px 14px; box-shadow: 0 0 0 1px var(--line); background: var(--cream); }
.live--mini .live__row:first-child { border-top: 0; }
.conn { flex: 1; height: 8px; border-radius: 8px; background: #e6e1d6; overflow: hidden; }
.conn i { display: block; height: 100%; width: 100%; background: var(--green-s); border-radius: inherit; transform-origin: 0 50%; animation: conn 4s var(--ease) infinite; }
@keyframes conn { 0% { transform: scaleX(0); } 45%, 100% { transform: scaleX(1); } }
.conn__t { white-space: nowrap; font-size: 13.5px; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 inherit; background: var(--violet-soft); color: var(--violet-d); border: 2px solid var(--cream); margin-right: -8px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.av--2 { background: var(--cyan); color: var(--cyan-t); } .av--3 { background: var(--green); color: var(--green-t); } .av--4 { background: var(--amber); color: var(--amber-t); }
.avs { gap: 0; }
[data-steps] .av.is-off { opacity: 0; transform: scale(.6); }

/* 4. the billing switch */
.pricehead { display: grid; gap: 18px; justify-items: start; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.switch button { position: relative; z-index: 1; height: 40px; padding: 0 22px; border: 0; border-radius: 99px; background: none; font: 500 15px/1 "IBM Plex Sans", sans-serif; color: var(--ink-2); cursor: pointer; transition: color .3s; }
.switch button[aria-checked="true"] { color: #fff; }
.switch__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--violet); transition: transform .45s var(--ease); }
.switch[data-y] .switch__pill { transform: translateX(100%); }
.plan__price span { display: inline-block; animation: swap .5s var(--ease) both; }
.plan__price span[hidden] { display: none; }
/* the featured plan's moving border light */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.plan--hot { background: none; isolation: isolate; box-shadow: 0 30px 50px -28px rgb(124 58 237 / .6); }
.plan--hot::before { content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: 22px; background: conic-gradient(from var(--a), #7c3aed, #67e8f9, #f472b6, #fbbf24, #7c3aed); animation: spin 6s linear infinite; }
.plan--hot::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 20px; background: linear-gradient(170deg, #fff 30%, var(--violet-soft)); }

/* 5. every feature, side by side */
.plain--tight { padding-top: 0; }
.cmp { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: clip; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cmp thead th, .cmp thead td { position: sticky; top: 72px; z-index: 2; background: #fff; padding: 18px 16px; font-size: 17px; font-weight: 600; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th.is-hot { color: var(--violet-d); }
.cmp th[scope="row"] { text-align: left; font-weight: 400; padding: 13px 24px; color: var(--ink); width: 40%; }
.cmp td { text-align: center; padding: 13px 16px; color: var(--ink-2); font-weight: 500; }
.cmp tbody tr:not(.grp) { border-top: 1px solid rgb(30 30 60 / .07); transition: background-color .2s; }
.cmp tbody tr:not(.grp):hover { background: #faf7ff; }
.cmp tbody td:nth-child(4) { background: rgb(124 58 237 / .05); }
.cmp .grp th { text-align: left; padding: 26px 24px 10px; font: 500 14px/1 "IBM Plex Mono", monospace; color: var(--violet-d); }
.yes, .no { display: inline-block; vertical-align: middle; }
.yes { width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.4 2.6 2.6L12 5.4' fill='none' stroke='%2314662f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.no { width: 14px; height: 2px; border-radius: 2px; background: rgb(30 30 60 / .22); }
@media (max-width: 720px) {
  .cmp { overflow-x: auto; }
  .cmp table { min-width: 620px; font-size: 14px; }
  .cmp thead th, .cmp thead td { top: 0; }
  .cmp th[scope="row"] { padding: 12px 14px; position: sticky; left: 0; background: #fff; }
}

/* FAQ answers open smoothly */
.faq__list { interpolate-size: allow-keywords; }
.faq__list details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq__list details[open]::details-content { height: auto; }

.close h2 { color: #fff; }

/* =================== round 3 =================== */
/* 1. the hero: the violet with the Visual Designer's own dotted canvas, a light main button, the marked words underlined */
.hero .glow { display: none; }
.canvas-dots { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / .16) 1.2px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 20%, #000 30%, transparent 80%); mask-image: radial-gradient(120% 80% at 50% 20%, #000 30%, transparent 80%); }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 38%; width: 1100px; height: 700px; margin-left: -550px; border-radius: 50%; background: radial-gradient(closest-side, rgb(103 232 249 / .22), transparent); pointer-events: none; }
.btn--light { background: #fff; color: var(--violet-deep); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .45); }
.btn--light:hover { transform: translateY(-2px); background: #f3eeff; }
.hero h1 em.u { background: none; color: #fff; -webkit-text-fill-color: #fff; position: relative; white-space: nowrap; }
.hero h1 em.u::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: .1em; background: #fbbf24; transform-origin: 0 50%; z-index: -1; }
.js .hero h1 em.u::after { animation: grow 1s var(--ease) 1.1s both; }
@keyframes grow { from { transform: scaleX(0); } }
.hero h1 { position: relative; z-index: 0; }
/* the rose section's head colour reads on its ground */
#safety .kicker { color: var(--rose-t); }

/* 2. the pinned story, scrubbed by the scroll: each block rises from the bottom of the screen and stops in its place */
.js .pin__step, .js .pin__stage { opacity: 1; transform: none; transition: background-color .4s, box-shadow .4s; will-change: transform; }
.pin__stage { grid-column: 2; grid-row: 2; }

/* 3-5, 8: blocks that move with the scroll */
.js [data-scrub] { will-change: transform, opacity; }

/* 6. "Your data stays yours" holds on screen while its points arrive */
.hold { height: 260vh; padding: 0; }
.hold__stick { position: sticky; top: 0; min-height: 100vh; display: grid; align-items: center; padding: 100px 0 60px; }
.js .hold [data-h] { opacity: .14; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .hold [data-h].is-on { opacity: 1; transform: none; }
.hold .live__meter i { transform: scaleX(var(--m, 0)); transition: transform .5s var(--ease); }
@media (max-width: 960px), (max-height: 640px) {
  .hold { height: auto; padding: 96px 0; }
  .hold__stick { position: static; min-height: 0; padding: 0; }
  .js .hold [data-h] { opacity: 1; transform: none; }
  .hold .live__meter i { transform: none; }
}

/* 7. start: no line; the boxes arrive one after another */
.steps::before { display: none; }
.js .steps > li { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s; }
.js .steps > li.is-on { opacity: 1; transform: none; }
.js .steps .is-off { opacity: 0; transform: translateY(6px); }
.steps .live__row, .steps .conn__t { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.conn i { animation: none; transform: scaleX(0); transition: transform 1.8s var(--ease); }
.conn.is-go i { transform: none; }

/* 9. the comparison opens on request */
.cmp__open { display: flex; justify-content: center; }
.cmp__open .btn svg { transition: transform .35s var(--ease); }
.cmp__open .btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.cmp { margin-top: 28px; }
.cmp.is-opening { animation: open .6s var(--ease) both; }
@keyframes open { from { opacity: 0; transform: translateY(-12px); } }

/* 10. no blend between Teams and "Your data stays yours", nor between Questions and the close */
#teams { --to: var(--amber); }
.band--violet { background: linear-gradient(180deg, var(--deep) 0, var(--deep) calc(100% - var(--bh)), color-mix(in oklab, var(--deep) 45%, var(--cream)) 100%); }
#faq { background: var(--cream); }
.close { background: linear-gradient(180deg, var(--deep) 0, var(--deep) calc(100% - 180px), color-mix(in oklab, var(--deep) 40%, var(--cream-2)) 100%); }

@media (prefers-reduced-motion: reduce) {
  .js .steps > li, .js .steps .is-off, .js .hold [data-h] { opacity: 1; transform: none; }
  .conn i { transform: none; }
}

/* =================== round 4 =================== */
/* buttons: solid colours only, the same everywhere */
.btn--white { background: #ffffff; color: #1e1e3c; border-color: #d9d5e4; box-shadow: none; }
.btn--white:hover { background: #ffffff; border-color: #7c3aed; color: #6425d6; box-shadow: none; }
.btn--violet { background: #7c3aed; color: #ffffff; box-shadow: none; }
.btn--violet:hover { background: #6425d6; box-shadow: none; }
.btn--deep { background: #5b2fc9; color: #ffffff; border-color: #5b2fc9; }
.btn--deep:hover { background: #4c22b5; border-color: #4c22b5; transform: translateY(-2px); }

/* 1. the hero on the cream ground, one colour for the marked words */
.hero { background: linear-gradient(180deg, #f7f3ec 0, #f7f3ec calc(100% - var(--bh)), color-mix(in oklab, #f7f3ec 50%, #fbdde4) 100%); color: #1e1e3c; }
.hero::before, .hero .glow, .canvas-dots { display: none; }
.hero h1 { color: #1e1e3c; }
.hero h1 em.u { color: #7c3aed; -webkit-text-fill-color: #7c3aed; }
.hero h1 em.u::after { display: none; }
.hero__lead { color: #3d3d5c; }
.hero__fine { color: #5d5b74; }
.pill { background: #ede4ff; border-color: #d6c4fb; color: #5b21b6; }
.pill__dot { background: #7c3aed; }
.shot--hero { box-shadow: 0 0 0 1px #e4dfd4, 0 50px 90px -40px #b9aec9; }
#safety { --from: color-mix(in oklab, #f7f3ec 50%, #fbdde4); }

/* 8. the close: one solid violet */
.close { background: #3b1782; }
.close .glow { display: none; }

/* 2. Design and Data hold while their three tools arrive one by one from the side, each with its screen */
.slide { height: 330vh; padding: 0; }
.slide__stick { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding-top: 72px; overflow: clip; }
.slide .band__head { margin-bottom: 32px; }
.slide .tabs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.slide .tabs__list { grid-template-columns: 1fr; gap: 12px; margin: 0; }
.slide .tabs__list button[aria-selected="true"] { background: #ffffff; }
.slide .tabs__list button { background: color-mix(in oklab, var(--c) 60%, #ffffff); }
.slide .tabs__stage { position: relative; aspect-ratio: 16 / 10; max-height: calc(100vh - 340px); justify-self: end; width: 100%; }
.slide .tabs__stage .shot { position: absolute; inset: 0; animation: none; will-change: transform; }
.slide .tabs__stage .shot img { width: 100%; height: 100%; object-fit: contain; background: #ffffff; }
@media (max-width: 900px), (max-height: 640px) {
  .slide { height: auto; padding: 96px 0; }
  .slide__stick { position: static; height: auto; padding: 0; overflow: visible; }
  .slide .tabs { grid-template-columns: 1fr; }
  .slide .tabs__stage { aspect-ratio: auto; max-height: none; display: grid; gap: 16px; }
  .slide .tabs__stage .shot { position: static; }
}

/* 3. "Your data stays yours": each point slides up whole and stays; no dimmed state */
.js .hold [data-h] { opacity: 0; transform: translateY(34px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .hold [data-h].is-on { opacity: 1; transform: none; }
.hold { height: 300vh; }

/* 6. the comparison: the button under the heading's text */
.cmp__open { justify-content: flex-start; margin-top: 24px; }
.cmp__lead { margin-top: 16px; }

/* 7. one cream from Start to the end of Questions */
#start, #pricing, #compare, #faq { background-color: #f7f3ec; }
/* the held section must not clip, or it cannot stay on screen; its lights clip themselves */
.band--violet.hold { overflow: visible; }
.hold .glow { overflow: hidden; }
.slide .tabs__list button { box-shadow: inset 4px 0 0 transparent; transition: background-color .35s, box-shadow .35s, transform .35s var(--ease), opacity .35s; }
.slide .tabs__list button[aria-selected="false"] { opacity: .62; }
.slide .tabs__list button[aria-selected="true"] { background: #ffffff; opacity: 1; box-shadow: inset 4px 0 0 var(--ks), 0 18px 36px -22px #8a8aa8; transform: translateX(6px); }
.slide .tabs__list button[aria-selected="true"] b { color: var(--k); }
.slide .tabs__list { position: relative; z-index: 2; }
/* Data: its screens slide in inside their own frame, never under the list */
#data .tabs__stage { overflow: hidden; border-radius: var(--r); }
/* Questions on a ground of its own: the app's soft violet, the close's violet below it */
#faq { background: #ece5fb; }
#faq .faq__list details { border-color: #d6c9f3; }
#faq .faq__list summary::after { background-color: #ffffff; }

/* =================== round 7 =================== */
/* the hero on load: later and slower */
.js .hero [data-in] { animation-duration: 1.4s; }
.js .shot--hero { animation-duration: 1.9s; animation-delay: 1.15s; }
.js .float { animation-duration: 1.3s; }
.js .float.float--a { animation-delay: 2.5s; } .js .float.float--b { animation-delay: 2.85s; } .js .float.float--c { animation-delay: 3.2s; }

/* =================== round 6 =================== */
/* the hero stays cream to its foot; the requirements carry the blend into the rose */
.hero { background: #f7f3ec; }
.req { background: linear-gradient(180deg, #f7f3ec 0, #f7f3ec calc(100% - var(--bh)), color-mix(in oklab, #f7f3ec 50%, #fbdde4) 100%); padding-top: 40px; }
.req__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.req__dbs { display: grid; gap: 16px; align-content: start; }
.req__db { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding: 24px; border-radius: 20px; background: #ffffff; border: 1px solid #e4dfd4; }
.req__db img { width: 56px; height: 56px; padding: 10px; border-radius: 14px; background: #f3f0ea; }
.req__db h3 { font-size: 22px; margin-bottom: 4px; }
.req__db p { color: #5d5b74; font-size: 15.5px; }
.req__where { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req__where li { display: grid; gap: 6px; align-content: start; padding: 22px 24px; border-radius: 20px; background: #ffffff; border: 1px solid #e4dfd4; }
.req__where li:nth-child(1) { background: #c9eef4; border-color: #9fdbe6; }
.req__where li:nth-child(2) { background: #d2efdc; border-color: #a9dcbb; }
.req__where li:nth-child(3) { background: #fdebbd; border-color: #f3d68a; }
.req__where li:nth-child(4) { background: #fbdde4; border-color: #f2b8c6; }
.req__where b { font-size: 19px; font-weight: 600; }
.req__where span { color: #3d3d5c; font-size: 15.5px; }
.req__need { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 22px 24px; border-radius: 20px; background: #ffffff; border: 1px solid #e4dfd4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.req__need li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15.5px; color: #3d3d5c; }
.req__need li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #ede4ff; color: #5b21b6; font-weight: 600; font-size: 14px; }
@media (max-width: 1000px) { .req__grid { grid-template-columns: 1fr; } .req__need { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .req__where, .req__need { grid-template-columns: 1fr; } }

/* Data: the list on the right, the screens arrive from the left edge of the screen */
#data .tabs { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
#data .tabs__list { order: 2; }
#data .tabs__stage { order: 1; overflow: visible; justify-self: start; }
#data .tabs__list button[aria-selected="true"] { transform: translateX(-6px); box-shadow: inset -4px 0 0 var(--ks), 0 18px 36px -22px #8a8aa8; }
@media (max-width: 900px), (max-height: 640px) { #data .tabs__list { order: 0; } }

/* What you need: holds on screen while its boxes rise into place; every box one height */
.rv { height: 230vh; padding: 0; }
.rv__stick { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding-top: 72px; overflow: clip; }
.rv .band__head { margin-bottom: 28px; }
.req__db { grid-template-columns: 1fr; align-content: center; }
.req__dbs { grid-template-rows: 1fr 1fr; }
.req__where { grid-auto-rows: 1fr; }
.req__db, .req__where li { min-height: 132px; }
.req__need { display: block; }
.req__need ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.req__need li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15.5px; color: #3d3d5c; }
.req__title { font: 500 14px/1 "IBM Plex Mono", monospace; color: #5b21b6; margin-bottom: 16px; }
@media (max-width: 1000px) { .req__need ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .req__need ol { grid-template-columns: 1fr; } }
@media (max-width: 900px), (max-height: 700px) {
  .rv { height: auto; padding: 72px 0 96px; }
  .rv__stick { position: static; height: auto; padding: 0; overflow: visible; }
}
/* Pricing holds until all four plans stand level, then scrolls on */
.rv--price { height: 240vh; background: #f7f3ec; }
.rv--price .band__head { margin-bottom: 36px; }
/* Teams holds until all three facts have risen into place */
.rv--teams { height: 220vh; }
.rv--teams .band__head { margin-bottom: 28px; }
.rv--teams .pair .shot:nth-child(2) { margin-top: 0; } .rv--teams .pair .shot:nth-child(3) { margin-top: 32px; }
.rv--teams .facts { margin-top: 32px; }
.rv--teams .pair__live { top: 38%; }

/* =================== phones =================== */
:root { color-scheme: only light; }
html, body { background: #f7f3ec; }
/* every held section lets go at the same size */
@media (max-width: 900px), (max-height: 700px) {
  .pin, .slide, .hold, .rv { height: auto !important; }
  .pin__stick, .slide__stick, .hold__stick, .rv__stick { position: static !important; height: auto !important; min-height: 0 !important; overflow: visible !important; padding: 0 !important; }
  .pin, .slide, .hold, .rv { padding: 88px 0 !important; }
  .pin__in { grid-template-columns: 1fr !important; }
  .pin__stage { display: none !important; }
  .pin__step { grid-template-columns: 1fr !important; background: transparent !important; border: 0 !important; padding: 0 0 40px !important; box-shadow: none !important; }
  .pin__inline { display: block !important; margin-top: 8px; }
  .slide .tabs { grid-template-columns: 1fr !important; }
  .slide .tabs__list button { opacity: 1 !important; box-shadow: none !important; background: #ffffff !important; }
  .slide .tabs__stage { aspect-ratio: auto !important; max-height: none !important; display: grid; gap: 16px; overflow: visible !important; }
  .slide .tabs__stage .shot { position: static !important; }
  .js .hold [data-h] { opacity: 1; }

  .hold .live__meter i { transform: none; }
}
@media (max-width: 900px), (max-height: 700px) { .js .hold [data-h] { opacity: 1; transform: none; } }

/* =================== phones, round 2 =================== */
@media (max-width: 900px), (max-height: 700px) {
  /* Design and Data: each tool right above its own screen */
  .slide .tabs { display: grid; grid-template-columns: 1fr !important; gap: 14px; }
  .slide .tabs__list, .slide .tabs__stage { display: contents !important; }
  .slide .tabs__list button:nth-child(1) { order: 1; } .slide .tabs__stage .shot:nth-child(1) { order: 2; margin-bottom: 26px; }
  .slide .tabs__list button:nth-child(2) { order: 3; } .slide .tabs__stage .shot:nth-child(2) { order: 4; margin-bottom: 26px; }
  .slide .tabs__list button:nth-child(3) { order: 5; } .slide .tabs__stage .shot:nth-child(3) { order: 6; }
  .slide .tabs__list button[aria-selected] { box-shadow: none; }

  /* every section's heading stops under the bar while its content scrolls up, and lets go at the section's end */
  .band__head--split { display: contents; }
  .band__head--split > .band__lead, .band__head--split > .pricehead { display: block; margin: 0 0 24px; }
  .band__head:not(.band__head--split):not(#compare .band__head), .band__head--split > div:first-child, .pin__head, .faq__head, .trust h2 {
    position: sticky; top: 72px; z-index: 4; padding: 14px 0 16px; margin-bottom: 18px;
    background: var(--hb, #f7f3ec); box-shadow: 0 0 0 100vmax var(--hb, #f7f3ec); clip-path: inset(0 -100vmax);
  }
  .band__head h2, .pin__head h2, .faq__head h2 { font-size: 30px; }
  .trust h2 { font-size: 28px; margin-bottom: 26px; }
  .kicker { margin-bottom: 10px; }
  #safety { --hb: #fbdde4; } #design { --hb: #c9eef4; } #data { --hb: #d2efdc; } #teams { --hb: #fdebbd; }
  #trust { --hb: #3b1782; } #faq { --hb: #ece5fb; }
  .faq__head p:last-child { margin-top: 8px; }
}
