/* Page CSS for pepetravels.com. Only what sits inside a visual (the Studio mocks), the app-frame recipe,
   the waitlist form row, the founder frame and one --p-h per card group. Tokens come from system.css. */

/* Studio's own look inside every mock: the app's dark surfaces, white ink, system type */
.ui {
  --fx-bg: #1c1c1e; --fx-ink: #ffffff; --fx-muted: #98989f; --fx-accent: #ffffff; --fx-accent-ink: #000000;
  --ui-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --st-2: #2c2c2e; --st-3: #3a3a3c; --st-up: #30d158; --st-down: #ff6961;
}
.st-up { color: var(--st-up); }
.st-down { color: var(--st-down); }

/* reel thumbnails: a 9:16 tile with the reel's own on-screen text, the way a feed shows it */
.st-thumb { position: relative; flex: none; width: 36px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden;
  background: var(--t, #3a3a3c); display: grid; place-items: end start; padding: 3px; }
.st-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgb(255 255 255 / .18), transparent 55%), linear-gradient(transparent 40%, rgb(0 0 0 / .45)); }
.st-thumb > b { position: relative; font-size: 6px; line-height: 7px; font-weight: 600; color: #fff; }
.st-t1 { --t: #a0522d; } .st-t2 { --t: #5e7a8c; } .st-t3 { --t: #6b6b47; } .st-t4 { --t: #2f6f73; } .st-t5 { --t: #8c5e7a; } .st-t6 { --t: #7a6a4f; }

/* ---------------------------------------------------------------- hero window (collage recipe, dark) */
.hero__art { --ground-bg: #2c2c2e; }
.d-win { background: #1c1c1e; color: #fff; border-radius: 12px; overflow: hidden; font: 400 14px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 30px 70px -30px rgb(0 0 0 / .8); }
.d-win__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(255 255 255 / .08); font-size: 13px; color: #98989f; }
.d-win__dots { display: flex; gap: 6px; } .d-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3c; }
.d-win__body { display: grid; grid-template-columns: 150px 1fr; min-height: 420px; }
.d-side { padding: 14px 10px; border-right: 1px solid rgb(255 255 255 / .08); display: grid; align-content: start; gap: 2px; font-size: 13px; color: #98989f; }
.d-side > span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 8px; white-space: nowrap; }
.d-side > span.is-on { background: #2c2c2e; color: #fff; font-weight: 500; }
.d-side > span i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .35; flex: none; }
.d-main { padding: 16px 18px; padding-right: var(--ly-cut-room); display: grid; align-content: start; gap: 12px; min-width: 0; }
.d-main__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.d-main__head h4 { font: 600 18px/1.2 var(--font-text); letter-spacing: -0.01em; margin: 0; color: inherit; }
.d-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #2c2c2e; color: #fff; font-size: 13px; font-weight: 500; }
.d-tabs { display: flex; gap: 4px; font-size: 13px; } .d-tabs span { padding: 4px 10px; border-radius: 99px; color: #98989f; white-space: nowrap; } .d-tabs span.is-on { background: #fff; color: #000; font-weight: 500; }
.d-rows { display: grid; }
.d-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 62px 118px; align-items: center; gap: 12px; padding: 8px 2px; border-top: 1px solid rgb(255 255 255 / .07); font-size: 13px; }
.d-row .d-thumb { width: 22px; aspect-ratio: 9 / 16; border-radius: 5px; background: var(--t); }
.d-row b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-row small { display: block; color: #98989f; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-row .num { text-align: right; font-variant-numeric: tabular-nums; color: #ebebf5; white-space: nowrap; }
.d-chip { justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 500; background: #2c2c2e; color: #fff; white-space: nowrap; }
.d-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.d-chip.st-chip--on { background: #fff; color: #000; }
.st-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.st-strip > div { background: #2c2c2e; border-radius: 12px; padding: 10px 12px; min-width: 0; }
.st-strip small { display: block; font-size: 12px; line-height: 16px; color: #98989f; white-space: nowrap; }
.st-strip b { display: block; font-size: 17px; line-height: 24px; font-weight: 600; }
.st-strip em { font-style: normal; font-size: 12px; }
.d-card { background: #2c2c2e; color: #fff; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text); text-align: left;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 18px 44px -20px rgb(0 0 0 / .7); }
.d-card h5 { margin: 0 0 4px; font: 600 14px/1.3 var(--font-text); color: #fff; }
.d-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #ebebf5; border-top: 1px solid rgb(255 255 255 / .08); }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgb(48 209 88 / .2); color: #30d158; font-style: normal; font-size: 12px; font-weight: 700; }
.d-note__line b { font-weight: 600; color: #fff; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }
@media (max-width: 639px) { .d-win__body { grid-template-columns: 1fr; } .d-side { display: none; } .d-row { grid-template-columns: 22px minmax(0, 1fr) 118px; } .d-row .num { display: none; } .st-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- the waitlist form */
.wl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-3) var(--s-5); margin-top: var(--s-6); }
.wl > .btn-row, .wl > .form__status, .wl > .wl__note { grid-column: 1 / -1; }
.wl .btn-row { margin: 0; }
.wl .field :is(input) { background: #1c1c1e; color: #fff; border-color: rgb(255 255 255 / .16); }
.wl .field label .muted { font-weight: 400; }
.wl__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl .form__status { min-height: 24px; margin: 0; font-size: var(--t-body); }
.wl .form__status .link { margin-left: var(--s-2); background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.wl__note { margin: 0; }
@media (max-width: 639px) {
  .wl, .closing .wl { grid-template-columns: minmax(0, 1fr); }
  .wl .btn { width: 100%; }
}

/* ---------------------------------------------------------------- app-frame (sections-library app-frame) */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
#insights .ui-win__row .st-thumb { width: 24px; border-radius: 5px; }
#insights .ui-win__row .st-thumb > b { display: none; }

/* the open post (post detail) */
.st-post { padding: 20px 24px 32px; }
.st-post__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.st-post__head .st-thumb { width: 40px; }
.st-post__head div b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.st-post__head small { display: block; font-size: 12px; color: var(--u-muted); }
.st-post__head .st-chip { margin-left: auto; }
.st-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.st-tile { background: var(--st-2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.st-tile small { display: block; font-size: 12px; line-height: 16px; color: var(--u-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-tile b { display: block; font-size: 17px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-tile em { display: block; font-style: normal; font-size: 12px; line-height: 16px; }
.st-tile.is-key { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
.st-block { margin-top: 16px; background: var(--st-2); border-radius: 12px; padding: 12px 14px; }
.st-block__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.st-block__head span { font-weight: 400; color: var(--u-muted); font-size: 12px; }
.st-curve { display: block; width: 100%; height: auto; overflow: visible; }
.st-curve .grid { stroke: rgb(255 255 255 / .08); stroke-width: 1; }
.st-curve .mark3 { stroke: rgb(255 255 255 / .35); stroke-dasharray: 3 3; }
.st-curve .line { fill: none; stroke: #fff; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.st-curve .avg { fill: none; stroke: rgb(255 255 255 / .35); stroke-width: 1.5; stroke-dasharray: 4 4; }
.st-curve .area { fill: rgb(255 255 255 / .08); }
.st-curve text { fill: var(--u-muted); font-size: 11px; font-family: var(--ui-font); }
.st-frames { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.st-frames i { display: block; aspect-ratio: 9 / 12; border-radius: 6px; background: var(--t); position: relative; overflow: hidden; }
.st-frames i::before { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgb(255 255 255 / .2), transparent 60%); }
.st-ost { font-size: 13px; line-height: 20px; }
.st-ost q { quotes: "\201C" "\201D"; }
.st-rate { font-size: 13px; line-height: 20px; }
.st-rate b { font-weight: 600; }

/* ---------------------------------------------------------------- bento (how it works) */
#how .panel { --p-h: 300px; }
#how .section-head p { max-width: 62ch; }
#how .panel.panel--flat { background: #2c2c2e; }

.st-card { position: absolute; background: #1c1c1e; color: #fff; border: 1px solid rgb(255 255 255 / .12); border-radius: 12px; box-shadow: 0 24px 48px -20px rgb(0 0 0 / .55); font: 13px/20px var(--ui-font); }

/* lab grid: clips across, on-screen texts down */
.st-lab { padding: 16px; padding-right: 64px; }
.st-lab__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.st-lab__head b { font-size: 15px; font-weight: 600; }
.st-lab__head small { display: block; font-size: 12px; color: #98989f; }
.st-lab__grid { display: grid; grid-template-columns: 112px repeat(3, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.st-lab__grid > span { font-size: 12px; line-height: 16px; color: #98989f; padding: 6px 8px; }
.st-lab__grid > .st-clip { display: flex; align-items: center; gap: 8px; color: #fff; }
.st-clip i { width: 18px; aspect-ratio: 9/16; border-radius: 4px; background: var(--t); flex: none; }
.st-lab__grid > .st-ost-row { color: #ebebf5; border-left: 2px solid #48484a; border-radius: 0; }
.st-cell { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 8px; background: #2c2c2e; font-size: 12px; color: #98989f; }
.st-cell svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; }
.st-lab__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: #98989f; }
.st-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: #fff; color: #000; font-size: 13px; font-weight: 600; }
.st-btn--quiet { background: #3a3a3c; color: #fff; }

/* connect */
.st-connect { padding: 18px; display: grid; gap: 10px; }
.st-connect b { font-size: 15px; font-weight: 600; }
.st-connect p { margin: 0; color: #c7c7cc; font-size: 13px; line-height: 19px; }
.st-steps { display: grid; gap: 6px; }
.st-steps span { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c7c7cc; }
.st-steps span i { width: 16px; height: 16px; border-radius: 50%; background: #3a3a3c; display: grid; place-items: center; font-style: normal; font-size: 10px; }

/* publish */
.st-pub { padding: 16px; display: grid; gap: 10px; }
.st-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #2c2c2e; border-radius: 10px; }
.st-toggle b { display: block; font-size: 13px; font-weight: 500; }
.st-toggle small { display: block; font-size: 12px; color: #98989f; line-height: 16px; }
.st-switch { flex: none; width: 36px; height: 22px; border-radius: 999px; background: #30d158; position: relative; }
.st-switch::after { content: ""; position: absolute; top: 2px; left: 16px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.st-seg { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #3a3a3c; padding: 0; font-size: 12px; text-align: center; color: #98989f; }
.st-seg span { padding: 4px 0; }
.st-seg span.is-on { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 #fff; }
.st-bar { height: 6px; border-radius: 999px; background: #3a3a3c; overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 66%; background: #fff; border-radius: inherit; transform-origin: left; }

/* compare */
.st-cmp { padding: 14px; }
.st-cmp__cols { display: grid; grid-template-columns: 84px 1fr 1fr; gap: 6px; font-size: 12px; }
.st-cmp__cols > * { padding: 6px 8px; border-radius: 8px; }
.st-cmp__cols > .h { color: #98989f; }
.st-cmp__cols > .v { background: #2c2c2e; font-variant-numeric: tabular-nums; }
.st-cmp__cols > .v.win { background: #fff; color: #000; font-weight: 600; }
.st-cmp__cols > .p { display: flex; gap: 6px; align-items: center; font-weight: 500; }
.st-cmp__cols > .p i { width: 16px; aspect-ratio: 9/16; border-radius: 3px; background: var(--t); }

/* decide (concepts) */
.st-dec { padding: 14px; display: grid; gap: 10px; }
.st-dec b { font-size: 13px; font-weight: 600; }
.st-dec small { color: #98989f; font-size: 12px; display: block; }
.st-dec__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.st-dec__opts span { height: 34px; display: grid; place-items: center; border-radius: 999px; background: #2c2c2e; font-size: 13px; font-weight: 500; }

/* ---------------------------------------------------------------- footage library (split) */
.st-foot { padding: 16px; }
.st-foot__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.st-foot__head b { font-size: 15px; font-weight: 600; }
.st-search { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: #2c2c2e; color: #98989f; font-size: 12px; min-width: 180px; }
.st-search svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.st-foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-clipcard { border-radius: 10px; overflow: hidden; background: #2c2c2e; }
.st-clipcard i { display: block; aspect-ratio: 4 / 5; background: var(--t); position: relative; }
.st-clipcard i::before { content: ""; position: absolute; inset: 0; background: linear-gradient(165deg, rgb(255 255 255 / .2), transparent 60%); }
.st-clipcard div { padding: 6px 8px 8px; }
.st-clipcard b { display: block; font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-clipcard small { display: block; font-size: 11px; line-height: 15px; color: #98989f; }
.st-clipcard .st-flag { display: inline-flex; margin-top: 4px; height: 20px; align-items: center; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #3a3a3c; color: #fff; }
.st-clipcard .st-flag--used { background: #fff; color: #000; }

/* ---------------------------------------------------------------- metrics (split): the big curve */
.st-big { padding: 20px 24px; }
.st-big .st-block__head { font-size: 15px; }
.st-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: #98989f; }
.st-legend span { display: inline-flex; align-items: center; gap: 6px; }
.st-legend i { width: 16px; height: 2px; background: #fff; }
.st-legend i.d { background: none; border-top: 2px dashed rgb(255 255 255 / .45); height: 0; }
.st-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.metric-list { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.metric-list { margin-block: var(--s-6) 0; }
.metric-list dt { margin: 0 0 var(--s-1); font-size: var(--t-card); font-weight: 500; }
.metric-list dd { margin: 0; }

/* ---------------------------------------------------------------- founder */
.founder__frame { background: #1c1c1e; --ratio: 80%; }
.founder__frame img { width: 400px; max-width: 64%; height: auto; }
.founder__sign { margin-top: var(--s-5); }

/* ---------------------------------------------------------------- CSS loops ([data-m-loop], motion.md) */
@keyframes st-draw { 0%, 6% { stroke-dashoffset: 0; } 10% { stroke-dashoffset: 1; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes st-fill { 0%, 6% { opacity: 1; } 10%, 18% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes st-key { 0%, 6% { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55); } 10%, 55% { box-shadow: inset 0 0 0 1px transparent; } 62%, 100% { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55); } }
@keyframes st-pop { 0%, 6% { opacity: 1; transform: none; } 10%, 22% { opacity: .3; transform: scale(.9); } 30%, 100% { opacity: 1; transform: none; } }
@keyframes st-pop2 { 0%, 6% { opacity: 1; transform: none; } 10%, 36% { opacity: .3; transform: scale(.9); } 44%, 100% { opacity: 1; transform: none; } }
@keyframes st-pop3 { 0%, 6% { opacity: 1; transform: none; } 10%, 50% { opacity: .3; transform: scale(.9); } 58%, 100% { opacity: 1; transform: none; } }
@keyframes st-in { 0%, 6% { opacity: 1; transform: none; } 10% { opacity: 0; transform: translateY(6px); } 22%, 100% { opacity: 1; transform: none; } }
@keyframes st-grow { 0%, 6% { transform: none; } 10% { transform: scaleX(.05); } 70%, 100% { transform: none; } }
@keyframes st-knob { 0%, 6% { transform: none; } 10%, 30% { transform: translateX(-14px); } 40%, 100% { transform: none; } }
@keyframes st-sw { 0%, 6% { background: #30d158; } 10%, 30% { background: #3a3a3c; } 40%, 100% { background: #30d158; } }
@keyframes st-win { 0%, 6% { background: #fff; color: #000; } 10%, 45% { background: #2c2c2e; color: #fff; } 55%, 100% { background: #fff; color: #000; } }
@keyframes st-choose { 0%, 6% { background: #fff; color: #000; } 10%, 50% { background: #2c2c2e; color: #fff; } 60%, 100% { background: #fff; color: #000; } }
@keyframes st-flag { 0%, 6% { background: #fff; color: #000; } 10%, 40% { background: #3a3a3c; color: #fff; } 50%, 100% { background: #fff; color: #000; } }

[data-m-loop] .st-curve .line, [data-m-loop] .st-curve .draw { stroke-dasharray: 1; animation: st-draw var(--m-cycle) var(--m-ease-enter, ease-out) infinite; }
[data-m-loop] .st-curve .area { animation: st-fill var(--m-cycle) linear infinite; }
[data-m-loop] .st-tile.is-key { animation: st-key var(--m-cycle) linear infinite; }
[data-m-loop] .st-cell.is-done { animation: st-pop var(--m-cycle) var(--m-ease-enter, ease-out) infinite; }
[data-m-loop] .st-cell.is-done.d2 { animation-name: st-pop2; }
[data-m-loop] .st-cell.is-done.d3 { animation-name: st-pop3; }
[data-m-loop] .st-bar i { animation: st-grow var(--m-cycle) var(--m-ease-enter, ease-out) infinite; }
[data-m-loop] .st-switch { animation: st-sw var(--m-cycle) linear infinite; }
[data-m-loop] .st-switch::after { animation: st-knob var(--m-cycle) var(--m-ease-enter, ease-out) infinite; }
[data-m-loop] .st-seg span.is-on { animation: st-tab var(--m-cycle) linear infinite; }
@keyframes st-tab { 0%, 6% { box-shadow: inset 0 -2px 0 #fff; } 10%, 50% { box-shadow: inset 0 -2px 0 transparent; } 60%, 100% { box-shadow: inset 0 -2px 0 #fff; } }
[data-m-loop] .st-cmp__cols > .v.win { animation: st-win var(--m-cycle) linear infinite; }
[data-m-loop] .st-dec__opts span.is-on { animation: st-choose var(--m-cycle) linear infinite; background: #fff; color: #000; }
[data-m-loop] .st-flag--used { animation: st-flag var(--m-cycle) linear infinite; }
[data-m-loop] .st-steps span { animation: st-in var(--m-cycle) var(--m-ease-enter, ease-out) infinite; }
[data-m-loop] .st-steps span:nth-child(2) { animation-name: st-pop2; }
[data-m-loop] .st-steps span:nth-child(3) { animation-name: st-pop3; }
[data-m-loop] .st-connect .st-btn { animation: st-choose var(--m-cycle) linear infinite; }

/* lists inside the step mocks */
.st-list { display: grid; gap: 4px; }
.st-list span { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: #2c2c2e; font-size: 12px; line-height: 16px; white-space: nowrap; }
.st-list span i { width: 14px; aspect-ratio: 9 / 16; border-radius: 3px; background: var(--t); }
.st-list span em { font-style: normal; color: #98989f; }
.st-list span em.q { color: #fff; }
.st-cmp__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.st-cmp__top b { font-size: 13px; font-weight: 600; }
.st-seg--2 { grid-template-columns: repeat(2, auto); }
.st-seg--2 span { padding: 3px 10px; }
.statement .mo-wh__text { font-size: clamp(30px, 1.6vw + 24px, 56px); line-height: 1.12; max-width: 22ch; }
@media (min-width: 1024px) { .statement .mo-wh__text { max-width: 24ch; } }

/* ---------------------------------------------------------------- tablet and small laptop fits */
@media (min-width: 1024px) and (max-width: 1279px) {
  #how .grid > .card.span-4:has(> .panel) { grid-column: auto / span 4; }
  #how .grid > .card.span-8:has(> .panel) { grid-column: auto / span 8; }
  #how .panel { --p-h: 240px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  /* the five steps: words left, the panel right, so the section keeps its two screens */
  #how .card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-auto-rows: min-content; column-gap: var(--s-6); align-content: start; }
  #how .card > :is(h3, p) { grid-column: 1; }
  #how .card > .panel { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; --p-h: 240px; }
  #pricing .pr-a > div:first-child { grid-column: 1 / -1; }
  .st-review { display: none; }
  #pricing .card--plan { grid-column: auto / span 6; }
  .founder__frame { --ratio: 42%; }
  .founder__frame img { width: 280px; }
  #metrics .metric-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
  #metrics .frame--split { --ratio: 58%; }
}
@media (max-width: 639px) {
  #how .panel { --p-h: 132px; }
  #how .card > p { margin-bottom: 0; }
  /* the hero form fits the first screen: the two fields side by side, the status line takes room only when it speaks */
  .hero .wl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2) var(--s-3); margin-top: var(--s-5); }
  .hero .wl .field { font-size: 13px; }
  .hero .wl .form__status { min-height: 0; }
  .hero .wl .form__status:empty { display: none; }
}
@media (max-width: 639px) {
  .st-post { padding: 16px; }
  .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-tiles > .st-tile:nth-child(2), .st-tiles > .st-tile:nth-child(n+6) { display: none; }
  .st-kpis .st-tile { padding: 8px; }
  .st-kpis .st-tile small, .st-kpis .st-tile em { font-size: 11px; }
}

.card > h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
.card--plan h3 { font-family: var(--font-display); }
.faq .faq__item > h3 { font-family: var(--font-display); font-weight: 400; }
@media (max-width: 639px) {
  .d-main__head .d-btn { display: none; }
  .st-strip > div:nth-child(n+3) { display: none; }
  .st-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.st-review, .st-plan { position: relative; padding: 16px; display: grid; gap: 12px; margin-top: var(--s-6); max-width: 420px; box-shadow: none; }
.st-review__row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.st-review__row b { display: block; font-size: 13px; font-weight: 600; }
.st-review__row small { display: block; font-size: 12px; color: #98989f; }
[data-m-loop].st-review .st-steps span { animation: st-in var(--m-cycle) var(--m-ease-enter, ease-out) infinite; }
[data-m-loop].st-review .st-steps span:nth-child(2) { animation-name: st-pop2; }
[data-m-loop].st-review .st-steps span:nth-child(3) { animation-name: st-pop3; }
[data-m-loop].st-plan .st-bar i { animation: st-grow var(--m-cycle) var(--m-ease-enter, ease-out) infinite; }
@media (max-width: 639px) { .d-tabs span:nth-child(3) { display: none; } }
@media (min-width: 640px) {
  #pricing > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter, 24px); align-content: start; }
  #pricing .pr-a, #pricing .pr-b { display: contents; }
}
@media (max-width: 639px) { #pricing .st-plan { margin-top: var(--s-3); } #pricing .card--plan .checks { gap: var(--s-2); } }
@media (min-width: 1024px) and (max-width: 1279px) {
  #questions .faq > .faq__item { padding-block: var(--s-3); }
  #questions .faq > .faq__item:first-child { padding-top: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  #questions .st-review { display: none; }
  #questions .faq > .faq__item { padding-block: var(--s-2) var(--s-3); gap: var(--s-1); }
}
@media (min-width: 640px) and (max-width: 1279px) { #questions .st-review { display: none; } }
@media (min-width: 1024px) and (max-width: 1279px) { #questions .faq > .faq__item { gap: 0; } }
@media (max-width: 639px) { #questions .st-review .st-steps { display: none; } #questions .st-review { margin-top: var(--s-4); } }
@media (max-width: 639px) { #pricing .card--plan > p.t-small:not(.pr-year) { display: none; } #pricing .card--plan { gap: var(--s-3); } }

/* the hero window's own loop (it runs on a phone too, where the small card is hidden): a reel moves from
   Ready to review to Reviewed, then back, and the follower trend lights up */
@keyframes st-rev { 0%, 6% { background: #fff; color: #000; } 10%, 45% { background: #2c2c2e; color: #fff; } 55%, 100% { background: #fff; color: #000; } }
@keyframes st-glow { 0%, 6% { opacity: 1; } 10%, 30% { opacity: .35; } 45%, 100% { opacity: 1; } }
.d-main[data-m-loop] { padding-bottom: 16px; }
.d-main[data-m-loop] .d-row:first-child .d-chip { animation: st-rev var(--m-cycle) linear infinite; }
.d-main[data-m-loop] .st-strip em { animation: st-glow var(--m-cycle) linear infinite; }
.d-main[data-m-loop] .d-tabs span.is-on { animation: st-rev var(--m-cycle) linear infinite; animation-delay: -1.6s; }
[data-m-loop].st-review .st-chip { animation: st-choose var(--m-cycle) linear infinite; }
@media (max-width: 639px) {
  #how .st-connect p, #how .st-lab__head small { display: none; }
  #how .stage > div { --ay-sm: 12px; }
  #how .st-connect { gap: 6px; padding: 12px; }
  #how .st-lab { padding: 12px; }
}
