/* Vidz · soft edition (vidzmojo.twinbitapi.com)
 * Light and calm: warm cream paper, one pastel per feature row, soft blobs, rounded reels.
 * Vidz orange stays the action colour. Unbounded for headings, Geist for everything else.
 */
@font-face { font-family: "Unbounded"; src: url("/fonts/Unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f7f1e8;
  --paper-2: #efe6d9;
  --ink: #1d1b19;
  --ink-2: #57514b;
  --ink-3: #847c74;
  --line: #e3d9cb;
  --orange: #ff5f1f;
  --orange-soft: #ffb08a;
  --peach: #ffd9c6;
  --lavender: #e2e0ff;
  --mint: #c8efe3;
  --butter: #ffeaa8;
  --sky: #d6e9ff;
  --blob-peach: #ffb995;
  --blob-mint: #8fe0c8;
  --blob-blue: #7da2ff;
  --blob-sun: #ffcf4a;
  --night: #161514;
  --night-2: #23211f;
  --white: #fffdf9;

  --f-head: "Unbounded", ui-sans-serif, sans-serif;
  --f-body: "Geist", ui-sans-serif, sans-serif;
  --h1: clamp(2.6rem, 5.2vw, 4.6rem);
  --h2: clamp(1.9rem, 3.2vw, 3rem);
  --h3: clamp(1.6rem, 2.5vw, 2.4rem);

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem; --s-6: 1.5rem;
  --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem; --s-24: 6rem; --s-32: 8rem;
  --gutter: clamp(1rem, 5vw, 5rem);
  --max: 76rem;
  --r-reel: 18px; --r-panel: 36px; --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --d-1: 140ms; --d-2: 260ms; --d-3: 700ms;
  --shadow: 0 30px 60px -28px rgb(60 40 20 / 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { overflow-x: clip; margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: var(--s-4); top: -4rem; z-index: 50; padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: var(--ink); color: var(--white); }
.skip:focus { top: var(--s-4); }
.h2 { font: 500 var(--h2)/1.12 var(--f-head); letter-spacing: -0.035em; }
.h3 { font: 500 var(--h3)/1.12 var(--f-head); letter-spacing: -0.03em; }
.sub { color: var(--ink-2); font-size: 1.125rem; max-width: 46ch; }
.center { text-align: center; margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s-6); border-radius: var(--r-pill); border: 0; font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--d-1) var(--ease), background-color var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: default; transform: none; }
.btn--peach { background: var(--orange); color: var(--white); }
.btn--peach:hover { background: #ec4f12; box-shadow: 0 10px 24px -10px rgb(255 95 31 / 0.6); }
.btn--mint { background: #1f9e85; color: var(--white); }
.btn--mint:hover { background: #188a74; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.badge { display: inline-block; border-radius: 10px; transition: transform var(--d-1) var(--ease); }
.badge img { height: 52px; width: auto; }
.badge:hover { transform: translateY(-2px); }
.badge:active { transform: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); height: 4.5rem; padding: 0 var(--gutter); background: rgb(247 241 232 / 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow var(--d-2) var(--ease); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; font: 700 1.25rem/1 var(--f-head); letter-spacing: -0.04em; }
.brand img { border-radius: 9px; }
.nav__links { display: flex; gap: var(--s-8); margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap; transition: color var(--d-1) var(--ease); }
.nav__links a:hover { color: var(--ink); }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: var(--s-12) var(--gutter) var(--s-16); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "copy art" "stats art"; column-gap: var(--s-12); row-gap: var(--s-12); align-items: center; }
.hero__copy { grid-area: copy; display: grid; gap: var(--s-6); justify-items: start; }
.hero__title { font: 500 var(--h1)/1.04 var(--f-head); letter-spacing: -0.045em; max-width: 11ch; }
.mark { position: relative; white-space: nowrap; color: var(--orange); }
.mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.06em; height: 0.22em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 45 4, 120 3, 197 9' fill='none' stroke='%23ffcf4a' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; z-index: -1; }
.hero__lede { color: var(--ink-2); font-size: 1.1875rem; max-width: 40ch; text-wrap: pretty; }
.hero__art { grid-area: art; position: relative; min-height: 34rem; display: grid; place-items: center; }
.blob { position: absolute; pointer-events: none; }
.blob path { fill: currentColor; }
.blob--peach { color: var(--blob-peach); width: 88%; left: 6%; top: 4%; }
.blob--mint { color: var(--blob-mint); width: 30%; right: -4%; bottom: -2%; }
.hero__reels { position: relative; width: 100%; height: 100%; min-height: 34rem; }
.float { position: absolute; width: clamp(6.5rem, 9vw, 8.75rem); }
.float .reel { box-shadow: var(--shadow); }
.float--1 { left: 50%; top: 50%; width: clamp(9rem, 13vw, 12rem); transform: translate(-50%, -50%) rotate(-3deg); z-index: 5; }
.float--2 { left: 6%; top: 14%; transform: rotate(-9deg); z-index: 2; }
.float--3 { right: 6%; top: 6%; transform: rotate(8deg); z-index: 2; }
.float--4 { left: 16%; bottom: 4%; transform: rotate(6deg); z-index: 6; width: clamp(5.5rem, 7.5vw, 7rem); }
.float--5 { right: 12%; bottom: 2%; transform: rotate(-7deg); z-index: 6; width: clamp(5.5rem, 7.5vw, 7rem); }
@media (prefers-reduced-motion: no-preference) {
  .float > .reel { animation: bob 7s ease-in-out infinite; }
  .float--2 > .reel { animation-delay: -2s; animation-duration: 8s; }
  .float--3 > .reel { animation-delay: -4s; animation-duration: 9s; }
  .float--4 > .reel { animation-delay: -1s; }
  .float--5 > .reel { animation-delay: -3s; animation-duration: 8.5s; }
}
@keyframes bob { 50% { transform: translateY(-10px); } }
.stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-6) var(--s-10); }
.stats dt { font: 500 2rem/1 var(--f-head); letter-spacing: -0.04em; display: flex; align-items: baseline; gap: var(--s-1); }
.stats dt i { font-style: normal; font-size: 0.7em; color: var(--blob-sun); -webkit-text-stroke: 1px #e0a800; }
.stats dd { margin-top: var(--s-2); color: var(--ink-3); font-size: 0.9375rem; white-space: nowrap; }

/* reels */
.reel { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--r-reel); overflow: hidden; background: var(--paper-2); cursor: pointer; transition: transform var(--d-2) var(--ease); }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity var(--d-2) var(--ease); }
.reel.is-playing video { opacity: 1; }
.reel::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgb(255 253 249 / 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M12 9.5l9 5.5-9 5.5z' fill='%231d1b19'/%3E%3C/svg%3E") center / 100% no-repeat; transition: opacity var(--d-2) var(--ease); }
.reel.is-playing::after { opacity: 0; }
.reel:hover { transform: translateY(-4px); }
.reel:active { transform: scale(0.98); }

/* tour */
.tour { padding: var(--s-8) var(--gutter); }
.tour__panel { max-width: var(--max); margin: 0 auto; position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--orange-soft); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-12); padding: clamp(2rem, 6vw, 5rem); }
.tour__panel::before { content: ""; position: absolute; width: 52rem; height: 52rem; right: -18rem; top: -20rem; border-radius: 50%; background: #ffc3a6; }
.tour__text { position: relative; display: grid; gap: var(--s-5); }
.tour__frame { position: relative; width: clamp(15rem, 24vw, 20rem); border-radius: 28px; overflow: hidden; background: var(--night); box-shadow: 0 40px 80px -30px rgb(120 40 0 / 0.45); }
.tour__video { width: 100%; height: auto; aspect-ratio: 9 / 16; }

/* reviews */
.reviews { margin-top: var(--s-24); padding: var(--s-24) 0 var(--s-16); background: var(--orange-soft); overflow: hidden; }
.reviews__head { display: grid; gap: var(--s-5); justify-items: center; text-align: center; padding: 0 var(--gutter); margin-bottom: var(--s-12); }
.pill-rating { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-5); border-radius: var(--r-pill); background: var(--white); font-weight: 600; }
.pill-rating span { color: #f2b300; letter-spacing: 0.08em; }
.reviews__marquee { display: flex; width: max-content; }
.reviews__row { display: flex; gap: var(--s-5); padding-right: var(--s-5); animation: slide 60s linear infinite; }
.reviews__marquee:hover .reviews__row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .reviews__marquee { width: auto; overflow-x: auto; padding: 0 var(--gutter); } .reviews__row { animation: none; } .reviews__row[aria-hidden] { display: none; } }
.review { flex: none; width: 21rem; padding: var(--s-6); border-radius: 22px; background: var(--white); display: grid; gap: var(--s-2); align-content: start; }
.review__stars { color: #f2b300; letter-spacing: 0.08em; }
.review__title { font-weight: 600; }
.review__text { color: var(--ink-2); }
.review__from { margin-top: var(--s-3); font-size: 0.8125rem; color: var(--ink-3); }
.reviews__note { text-align: center; margin-top: var(--s-10); }
.reviews__note a { font-weight: 600; text-underline-offset: 4px; }

/* feature rows */
.intro { padding: var(--s-32) var(--gutter) var(--s-12); display: grid; gap: var(--s-5); }
.row { max-width: var(--max); margin: 0 auto var(--s-8); width: calc(100% - 2 * var(--gutter)); border-radius: var(--r-panel); padding: clamp(2rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s-12); overflow: hidden; }
.row--flip .row__art { order: 2; }
.row--lavender { background: var(--lavender); }
.row--mint { background: var(--mint); }
.row--cream { background: var(--paper-2); }
.row--butter { background: var(--butter); }
.row--peach { background: var(--peach); }
.row--sky { background: var(--sky); }
.row__text { display: grid; gap: var(--s-5); max-width: 30rem; }
.row__text p { color: var(--ink-2); font-size: 1.125rem; }
.row__art { display: flex; justify-content: center; align-items: center; gap: var(--s-4); min-height: 24rem; }
.row__art .reel--sm { width: clamp(7rem, 12vw, 10.5rem); box-shadow: var(--shadow); }
.row__art .reel--sm:nth-child(1) { transform: rotate(-6deg) translateY(12px); }
.row__art .reel--sm:nth-child(2) { width: clamp(8.5rem, 14vw, 12.5rem); z-index: 1; }
.row__art .reel--sm:nth-child(3) { transform: rotate(6deg) translateY(12px); }
.row__art .reel--sm:hover { transform: translateY(-4px); }
.phone-clip { width: clamp(11rem, 17vw, 15rem); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: var(--night); box-shadow: var(--shadow); }
.phone-clip img, .phone-clip video { width: 100%; height: 100%; object-fit: cover; }
.row__art--pair { position: relative; }
.row__art--pair .phone-clip { transform: rotate(-4deg); z-index: 1; }
.row__art--pair .phone-clip--back { position: relative; margin-left: -4rem; transform: rotate(6deg) translateY(1.5rem); z-index: 0; }
.swatches { display: flex; gap: var(--s-3); }
.swatches li { width: 34px; height: 34px; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); }

/* library */
.library { padding: var(--s-24) var(--gutter) var(--s-16); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; display: grid; gap: var(--s-5); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin: var(--s-6) 0 var(--s-8); }
.tab { min-height: 40px; padding: 0 var(--s-5); border-radius: var(--r-pill); border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9375rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color var(--d-1) var(--ease), color var(--d-1) var(--ease); }
.tab span { margin-left: var(--s-1); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tab:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.tab:active { transform: scale(0.98); }
.tab:disabled { opacity: 0.4; }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.tab[aria-pressed="true"] span { color: #bdb4aa; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: var(--s-8) var(--s-5); }
.cell { display: grid; gap: var(--s-3); min-width: 0; }
.cell[hidden] { display: none; }
.cell__meta { display: flex; justify-content: space-between; gap: var(--s-2); font-size: 0.8125rem; color: var(--ink-3); }
.cell__meta span:first-child { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell__meta span:last-child { white-space: nowrap; }
.more { justify-self: center; margin-top: var(--s-6); }

/* plans */
.plans { padding: var(--s-24) var(--gutter); display: grid; gap: var(--s-12); }
.plans__row { display: grid; grid-template-columns: repeat(2, minmax(0, 24rem)); justify-content: center; gap: var(--s-6); }
.plan { border-radius: 28px; padding: var(--s-10) var(--s-8); display: grid; gap: var(--s-6); align-content: start; }
.plan--free { background: var(--mint); }
.plan--extra { background: var(--peach); }
.plan__name { font: 500 1.75rem/1 var(--f-head); letter-spacing: -0.04em; }
.plan--free .plan__name b { color: #138a72; font-weight: 600; }
.plan--extra .plan__name b { color: #e04a0e; font-weight: 600; }
.plan ul { display: grid; gap: var(--s-3); }
.plan li { position: relative; padding-left: var(--s-8); color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%231d1b19' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan .btn { justify-self: start; margin-top: var(--s-2); }

/* cta */
.cta { position: relative; overflow: hidden; padding: var(--s-32) var(--gutter); display: grid; justify-items: center; gap: var(--s-5); text-align: center; }
.blob--cta-a { color: var(--blob-blue); width: 26rem; left: -8rem; top: -4rem; transform: rotate(20deg); }
.blob--cta-b { color: var(--blob-sun); width: 22rem; right: -6rem; bottom: -7rem; }
.cta > :not(.blob) { position: relative; }
.cta__icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: var(--s-4); }
.cta .badge { margin-top: var(--s-4); }

/* footer */
.foot { background: var(--night); color: #d9d2c9; padding: var(--s-16) var(--gutter) var(--s-10); border-radius: var(--r-panel) var(--r-panel) 0 0; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-12); padding-bottom: var(--s-12); border-bottom: 1px solid var(--night-2); }
.brand--light { color: var(--white); }
.foot__brand { display: grid; gap: var(--s-4); align-content: start; }
.foot__brand p { color: #a39c94; }
.foot__cols { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s-16); }
.foot__cols > div { display: grid; gap: var(--s-3); align-content: start; }
.foot__h { color: var(--white); font-weight: 600; margin-bottom: var(--s-1); }
.foot__cols a { color: #a39c94; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s-2); transition: color var(--d-1) var(--ease); }
.foot__cols a:hover { color: var(--white); }
.social { display: grid; gap: var(--s-3); }
.social svg { width: 15px; height: 15px; fill: currentColor; }
.foot__legal { padding-top: var(--s-8); display: grid; gap: var(--s-3); font-size: 0.8125rem; color: #847c74; max-width: 92ch; }

/* reveal on scroll */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--d-3) var(--ease), transform var(--d-3) var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* responsive */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "art" "stats"; }
  .hero__art, .hero__reels { min-height: 30rem; }
  .tour__panel { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .tour__text .sub { margin-inline: auto; }
  .row { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .row--flip .row__art { order: 0; }
  .row__text { justify-items: center; margin-inline: auto; }
  .foot__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .nav .btn { padding: 0 var(--s-4); font-size: 0.875rem; }
  .hero { padding-top: var(--s-6); }
  .hero__art, .hero__reels { min-height: 24rem; }
  .float--1 { width: 8.5rem; }
  .stats { grid-template-columns: repeat(2, auto); }
  .float--2 { width: 6rem; }
  .float--3 { width: 6rem; }
  .float--4, .float--5 { width: 5rem; }
  .row__art { min-height: 18rem; }
  .row__art .reel--sm { width: 6.5rem; }
  .row__art .reel--sm:nth-child(2) { width: 8rem; }
  .plans__row { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-3); }
  .foot__cols { grid-template-columns: repeat(2, auto); gap: var(--s-8); }
  .review { width: 17rem; }
}
